I would probably say that db never got initialized?
The first method would have the efficiency of O((writing to the config + n) * 2) The 2 is for getting everything out. While there might be a...
Lists allow redundancy... Why wouldn't they? It is a list. Hashmaps don't have redundancy because they overwrite each other, but if you use...
In Java you can't do !0 or !1, basically you can't use !<number> That only applies to other languages like C. Also I'm pretty sure it doesn't...
public void restrictCrafting(PrepareItemCraftEvent event) { //code }
What isn't working exactly? Also you should test your own code. See what is happening, try to figure out why it isn't working. Maybe some...
Then you need to keep track of which sign the player has clicked. You can use metadata for storing this or another data structure. And if you...
@BizarreAlex Your if and else statement doesn't line up to the right one I think you need to delete the } before the else statement
You have to put them into an array list first to know which they are in. Array lists and players aren't magically and appear. You have to do it...
They are in the one you put them in. For them to get into an arraylist you have to put them there. Unless you are talking about the list of...
BizarreAlex post your new code please. Also what isn't working exactly? Change the a == action... To a.equals(action...) typically you can only...
if(p.getItemInHand().getType().equals(new ItemStack(Material.BOW))) You're getting the type already and you are trying to compare that to a bow,...
Your passing a null to KitsEVent.... Change it to 'this' in your main class
AdamQpzm well I'm not actually sure what he watched but most likely if it is a beginning tutorial which seems the first place people would...
All those parts are important to Minecraft. Try YouTube or even the main java website.
For your event handler use priority = EventHandler.MONITER Something else seems to be affecting your damage. Another plugin or something else on...
teozfrank I never said global at all. Read that quote.
If this isn't for any use other than learning then you should make it yourself. You learn a lot more and this is a simple enough plugin to make...
I would check out MagicSpells. The plugins allows for things like this if you can cleverly do it in the configs. Most of this seems possible...
I believe he wants to make minecraft into like a final fantasy game?? Enemies have attacks and specials and players have skills too? If so then...
Separate names with a comma.