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...
Separate names with a comma.