Why the use of static that might be your issue (its been a bit) but you should try doing the following in your Message class instead private Core...
Okay first of all, you do use 'addUnsafeEnchantment' to enchant your item you simply use the ItemMeta and use 'addEnchantment' like I had said...
Agreed, I also just tested out the code above and it works perfectly fine! player.getWorld().dropItem(Location, ItemStack);
I am not on my computer to test this, but if I am not mistaken the following should work: player.getWorld().dropItem(Location, ItemStack);
If your issue has been solved, please remember to mark the thread as solved ! Thank you.
To add an enchantment to an item you would do something like the following - ItemStack testEnchant = new ItemStack (Material.BOW, 1); ItemMeta...
WorldEdit has a command like that, I haven't used worldedit in a very long time so I am not sure if this command has 2 slashes or just a single...
In my opinion there should be a command to see recent logins within a time limit set in in the configuration, so let's say you set the time to 5...
Oh wow I didn't even notice! Thank you I honestly would have sat here for another 10 minutes trying to figure this out xP
The code only works for the following - /MyCommand add MyFloor wood dirt:1 wool:5 But If I was to do this it doesn't work and throws of an NPE...
So something like this should work? private void addBlocks(Player player, String floor, String block) { if (config.contains("Floors." + floor))...
Hi, I am trying to create a method where a player can input block names and also be able to use data-values due to blocks that are in need of them...
Do you still need this plugin made? If so I can make it for you but I need more information on the crafting for the bandage its self!
Well of course it doesn't, I am not going to make your plugin for you. If you are having issues with these simple tasks (such as making a nickname...
Not sure if this is the best way, but what if you were to store the player's nickname within a configuration file and then when they speak check...
Separate names with a comma.