I'm surprised at the complexity of your code considering you don't know how to use global variables....
Look into the https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/enchantment/EnchantItemEvent.html
It's definitely possible but due to the amount of different variables(i.e the number of walls, GUI,etc). It would take a while to develop ->...
OR You could try adding @Override in your main class above the onCommand method.
Also furthering this, Please fix your indentation. It's super important in programming.
Bukkit.dispatchCommand(CommandSender, String command) should do what you're looking for.
Check out this answer - it may help:...
A far more elegant solution to this would be something along these lines: public enum Messages { //A centralised unit for all messages,...
I hate to be blunt, but this problem isn''t hard to fix. This leads me to believe you didn't try very hard to fix it or you don't know what you...
Take a look at this example, where I used YamlConfiguration;...
Add a counter variable that increments everytime a block gets added.
block.getRelative(BlockFace.UP) > set this to whatever. Add this to a for loop and it should execute 10 times. Do this in your onBlockPlace...
Can I suggest you add a config, where you can add drop rates for multiple items, with different drop rates. I'd recommend a list of strings:...
That's the wrong issue :eek:. @gamingmind99 When does this error occur? Is jail.yml being created? EDIT: Can you show line 54 from Intregat.java
Your plugin isnt exporting with the plugin.yml - make sure you include it in your export instructions.
Separate names with a comma.