Im trying to make an overly simple API for people, because I'm a huge fan of making things easy for others. It would also be a very easy process...
Hello, For the last couple of days I've been working on a project, and I thought of the idea of using enums to access a specific class instead of...
Thanks!
This may be more of a math question, however I wondered how I could make it so the closer the player is to an entity/block the more damage he...
Would it be on a specific event like PlayerPotionDrinkEvent? then get whatever potion the player drank and loop it to everyone in the world or is...
drtshock Thanks! Btw, do you know if its possible to apply a potioneffect to every player in the world except the player, if the player drank a...
Hey, I'd like to know the best way to get who applied a potioneffect to a player. For example if player "Bob" has a splash potion of poison and...
@EventHandler public void onRespawn(PlayerRespawnEvent e){ if(dead.contains(e.getPlayer().getName())){ final Location loc2 = new...
no, instead of teleporting in the playerRespawnEvent (as you showed us earlier in this thread) you use the inbuilt method setRespawnLocation
For the playerrespawnevent use event.setRespawnLocation() and not teleport :)
Thank you very much, I had forgot about storing the string list in a List<String> :)
I am, however hardcoding the map world name isn't helpful. What I was looking for was if you could for loop a stringlist or something. Minecrell
Bump ;)
Hello, I am here because of a simple question I cannot seem to get the answer too. I wondered about the easiest way to load multiple worlds on a...
Ah it was quite weird actually how it worked. I tried public void onEnable() { getCommand("myCommand").setExecutor(new...
Im not stupid, I know what a stack tree is and how to debug my code. I know I get nullpointerexception at line 130. The reason I didnt say that...
The error is whenever I mention setting something in the config. also, Ive tried what you suggested however it didnt work.
In that case, how can I set it not being null. Ive tried different ways.
Hello, Ive wondered what's wrong with my config.yml settings. Every time I do a command to set something with a command in config.yml it get's a...
Hello, I wondered how I am going to do such a feat as described in the topic title. As far as I know you can use a public void test(Player player)...
Separate names with a comma.