BookMeta book = (BookMeta) item.getItemMeta(); String title = book.getTitle(); This is how you get the title. book.getPage(0); to get the page 1
yodelingduck Make sure you are using the correct Minecraft version
ZonalYewHD getConfig() is a method on JavaPlugin class. I would recommend using a singleton but there are other many methods to do this....
Here is how you get enchantments using name: Enchantment encha = Enchantment.getByName("name"); item.addEnchantment(encha, 1);
Please post your class.
There are lots of ways to do this. One way would be to use static: public class A { public static ArrayList<String> array = new...
You cannot cast AntiSpam to Plugin. Because the class AntiSpam doesn't extend JavaPlugin class.
Are you executing the command from the console?
You have countdown--; which will -1 from countdown every second. but you also need to add s--; every second and m--; every minute.
Try using: buyitickets.addItem(iticket1);
Separate names with a comma.