@MaTaMoR_ So when I create a class that extends InventoryHolder, I get a error. Here is the code public class CustomHolder extends...
So, I am making a RP plugin and I am creating a skill tree. But the problem is, when the user has the "false" inventory open to upgrade a skill...
So I am trying to get a item id and amount from the config and that works. But it's not adding the item to the players inv....
well, I have the code down for spawning the custom mob, but how would I stop it from effecting all the mobs. I want the ones spawned in to have...
How would I stop all the mobs from being custom, just the ones spawned in with code.
I have been looking at this tutorial - http://bukkit.org/threads/nms-tutorial-how-to-override-default-minecraft-mobs.216788/ Here is the public...
Question, can't you just put it in a command block and do /sudo @a something?
Well what you can do is /gamerule keepInventory true in that world and I believe this would suit your needs.
turkey2349 Yes indeed, but it depends on how many players are usually on 1-35 (if you have a good server, good ram, ect) it won't effect ram....
There is also another way, less complicated but a lot more laggy. every so often, like every couple ticks check there armor and see if it has a...
Niknea Could you give a simple code start from that? Not very good with looping through configs :p. Would I use something like this? -...
Niknea Okay I will explain the full plugin in full detail So basically the player first puts down a sponge. Then steps on it, after the...
Niknea understand what you are trying to say, I understand that. But the string names are not determined in the plugin coding. They are...
Niknea No I mean, The things are not pre-determined. The player themselves add them ingame. Would I have to make an array in the config like...
Niknea Okay, thanks for the help but, there is no possible way to detemine what "XCoordinate" is. String x =...
Alright, I didn't understand specifically what Dragon meant. I have a question, could you check if the player presses the key to get into the...
@EventHandler public void openInv(InventoryOpenEvent e){ //code? Player player = e.getPlayer(); player.closeInventory()...
Bump, if you don't get my question just say that instead of pass by.
So I am trying to get cords from a config like this - public class checkSponge implements Listener{ TownTele plugin; public...
Onlineids Thanks, I have everything I need now to finish this. Thanks for the help.
Separate names with a comma.