And store it in RAM? That is not possible.. You will have to create a world and delete it once you don't need it anymore
What does battle.getRespawnPhase() return?
Try Bukkit.getServer().getWorlds().add(worldname);
You can tune the multiply and remove the setY if needed (setY will ignore the Y direction the player is looking at and always shoots him up)....
You could write a listener (PlayerFishEvent) and store all te playernames that started to fish in a list and remove them when they are done...
The wind is impossible the last time I tried. https://bukkit.org/threads/add-constant-push-velocity-to-player.482816/
I can do this, not at my pc right now but could be done in 30 minutes. If nobody does this, ill do it somewhere today
Please explain the plugin that you want better. We don't understand what you mean by 'shop'. Is it a GUI? Chat? NPC? You could for example add...
I'll just leave this here for anyone who is willing to make this: https://github.com/Shampaggon/CrackShot/wiki/Hooking-into-CrackShot
We can use == operators for reference comparison (address comparison) and .equals() method for content comparison. In simple words, == checks if...
Thanks for your answer! Does anybody have an idea on how to solve this?
@timtower Oops. mistake. It didn't work because I was in the air :oops: (I thought it would work like normal) Gif to demonstrate:...
@timtower Sorry, coppied the wrong code (that code was just for testing if I could sprint) :p I've eddited it now.
@timtower I tried this on command: new BukkitRunnable() { public void run() { Player p = Bukkit.getPlayer(pName);...
I wan't to make a 'wind' effect so that a player is constantly being pushed to a direction (for example positive x). If I do it like this it will...
Started working on it: https://github.com/BanjerHD/BetterWeather
Great idea! I can try to make this :) But are you sure there aren't plugins already that do things similar to this?
@Need_Not Still need this?
I don't know why Material.WATER doesn't work...
@CraftCreeper6 Thanks for your solution! I created a pull request to make it a little bit better. Is it okay if I use your code in my project (my...
Separate names with a comma.