You mean something like Spectator Mode? (GameMode 3)
@Pixelmonster21 Please look at this first: http://bukkit.org/threads/read-me-first-plugin-requests-guide.81209 so that we know what you exactly...
Use: player.getInventory().addItem(new ItemStack(Material.getMaterial(id ItemID), int amount)); So in your case it's:...
Please mark the thread as solved.
Like @MnMaxon already said Java checks first if the damager is an instance of a player. If it's true it returns and doesn't even check your else...
Hello, sorry that I didn't answered yet. Your solution kinda worked, but now I get a new error: at java.lang.Thread.run(Unknown Source)...
Please look at this first: http://bukkit.org/threads/read-me-first-plugin-requests-guide.81209 so that we know what you exactly want, for example:
Hello, I'm trying to make a minigame plugin. I made an own Minigame class with some functions. Here is my code. public class Minigame {...
Good. I just wanted to be sure. Thanks for your tip.
So you want to explain me that I need to change the Package-Names?
https://www.dropbox.com/s/s5ie8yxp795bdb6/SnowBallSwitch.jar?dl=0 If there is something I have to change please tell me. #edit: re-uploaded the...
fireblast709 Sorry for the late answer. Now im using this code: @EventHandler public void onHoldItem(CraftItemEvent event) { final Player player...
Ah Thanks :)
@YourFreindx and sirantony Thanks for your commands. It works fine now :) (Thread can be closed)
i already did that, but it still dont work :/
xTigerRebornx Ahh :D I knew that, but i thought he tried to say me that something doesn't work correctly if i use player names. My Plugin is only...
Thanks for you answers! sirantony your comment was really helpfull :) i just needed to use a boolean and do saveConfig(); and then reloadConfig();...
Hey, i've created a plugin where you can't destroy/place blocks if you died. @EventHandler public void onPlayerDeath(PlayerDeathEvent...
Hey. How can i update the item displayname every second? I mean if the cooldown change, the item displayname change as well. @EventHandler...
Separate names with a comma.