Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by Sad_Man, Sep 11, 2019.
Remove the . after Items in the getConfigurationSection("") bit
You also need to put the data type before your variables, so It would look like this:
String itemId = /* code goes here */
List<String> itemLore = /* code goes here */
int itemFoodLevel = /* code goes here */
By learning Java? OOP belongs to basic Java and I know you have no clue about it when I see your code. That makes it for me and others hard to help you. You should delete your complete code, follow any Java tutorial on the internet (there are thousands...) and recreate it.
I solved it