http://wiki.bukkit.org/Scheduler_Programming
@EventHandler public void onChat(AsyncPlayerChatEvent event) { Player player = (Player) event.getPlayer(); String...
No need to run a check, also your code should be: @EventHandler public void onPlayerChat(AsyncPlayerChatEvent event) { String...
@gamemster2468 String chatMessage = event.getMessage(); chatMessage = chatMessage.replace("%", "%%"); You have to escape the java formatter....
mkezar to use it yoou would need to inference your event instance, e.g. event.contains(Material material);, as that is a Boolean you can only use...
Joiner Word of advice don't use chat colors, if you want to use capitalize on 16 characters, as that is the limit the client can take.
For some reason, I'm receiving these errors now: [17:54:53 ERROR]: Could not pass event InventoryClickEvent to FanChat v2.5...
Ultimate_n00b was responsible for creating that class. https://forums.bukkit.org/threads/icon-menu.108342/page-5#post-1826531
from what I remember it is a modified version of "IconMenu" composed by someone whose name starts with ultimate.
So I've been trying to solve this error for awhile, it is caused when you click outside the area enclosed by the inventory. [15:16:18 ERROR]:...
Edit: ninja'd.
Could I also apply this practice to the fluids, i.e. water?
So, the question I pose today is, "Is it possible to allow explosive block damage in water?"
The plugin.yml should be in "YourPlugin\src" folder or the "<default package>" on the net-beans GUI.
http://minetest.net/
Its a Craftbukkit bug I am able to repeat same results on CB version #3037.
ItemStack items = new ItemStack (Material.GLOWSTONE_DUST); if (p.getItemInHand() == items) { /*Code in here*/}
GreatMinerZ Your going to cause a memory leak if you save the player object instead save the players name.
Use Scheduler Programming: http://wiki.bukkit.org/Scheduler_Programming
Separate names with a comma.