player.setExp() is a Float i believe, from 0.0 to 1.0, 1 exp would be 0.056F
I've done this before, The way i did it was use Math.random() which got the Random World and ArrayList which contained the name of the world...
You can request it at Plugin Requests Although i don't think that it would be Possible to make a Plugin like this.
Why don't you check if the damager is a player before you cast Player to damager Also make sure the class implements Listener and to register the...
Just go under Thread Tools and click Edit Thread and goto (no prefix) and select Solved
Why don't you check if the Clicked Block is a Command Block? You are actually checking the BlockState
PHILLIPS_71 @EventHandler public void Storage(InventoryClickEvent e) { Player p = (Player) e.getWhoClicked(); if(e.getCurrentItem().getType() ==...
xD Forgot about the getType()
PHILLIPS_71 if(InventoryClickEvent.getCursor.equals(Material.DIAMOND_BLOCK))
Use PlayerCommandPreProcessEvent in your Listener
Wrong place to Post this DrewBrees9
public void onEnable() { Updater updater = new Updater(this); updater.checkForUpdates(); }
TheGreenGamerHD he said the plugin was private
Try this: http://pastiebin.com/520ea118d3b01 it will download the files and when you reload the server, it will be updated
bloodless2010 You would need to use URL url = new URL("http://www.example.com/Example.jar");
If you haven't registered your Listener, Register it in your onEnable() method. I would suggest reading the Bukkit Wiki Event API Tutorial...
If i were to use the BungeeCord API, Would i use TargetedEvent?
fireblast709 What do you Suggest i do then
MrMag518 Ok, So i have BungeeCord. What Event would i Use?
I am making a Plugin that will show you Information about the Target Server on a Sign, Bukkit.getOnlinePlayers().size(); would show your Server...
Separate names with a comma.