Itemstack Question

Discussion in 'Spigot Help' started by CHAlessio, Dec 29, 2020.

  1. Good day, I have started for a spigot report system. However, I have a question how I have to do that number of reports (MySQL - database) is loaded in the inventory or in other words that inv. setitem(report) how I have to do that? Thanks for a reply LG Alessio
     
  2. You want save to player inventories in database? so you can restore them?
     
  3. No this is a Report System
    A Report Gui i need code for load the Reports on Inventory
     
  4. You can save it using byte output stream with BukkitObjectOutputStream or maybe with a simple text and them using a method to separate the string