So some players using one of my plugins have reported, and proven lag related to my plugin after an update I did. The lag was traced back to this...
@Mineacer I completely missed that. In that case I would just follow the link, download the most recent build, and test it to see if it works....
@Mineacer unfortunately mcMMO devs have chosen to make their plugin a paid for resource. They have taken all of their development builds down,...
best way to test what is giving you a NPE is to debug. Best way to debug is to print everything out: System.out.println("Entity Location: "+...
They had told me they were on the most recent version of bukkit. I had them actually give me their version number and they were on...
yes
he opened an issue with saying it. I've tried different things such as stripping the color code, which didn't work.
@EventHandler public void makeSign(SignChangeEvent event){ logToFile(event.getPlayer().getName() + ": changed the text on a sign");...
@FreeMineLP double percent = ((double)kill/(double)death_count) * 100 Looks like your math skills might not be so great either. May I suggest...
1. Switch these two lines: Player p = (Player) e.getEntity(); if(e.getEntity() instanceof Player) { 2. Change this: Player d = (Player)...
a player inventory is 36 slots, even if there are less than 36 items in it. You are trying to cram 36 slots worth of inventory space into an...
ok. theres a few problems with your code. 1. you are casting e.getEntity() to a player and THEN checking if the entity is a player. If something...
public class Main extends JavaPlugin implements Listener Adding the "implements Listener" part allows you to listen to events in this class....
warps is not a list, but rather a configuration section. If you want the list of everything in Krizeh.Warps, use:...
@Treeline1 Im not sure why you would be getting an error there... private Menu menu; public void onEnable() { menu = new Menu();...
The problem is with the message, not the formatting. I had the same problem when making a chat plugin. This fixed it. String message =...
you never register the listeners in the Menu class. This should be added to your onEnable() method: pm.registerEvents(new Menu(this), this);
@Skionz @PureIndianSkillz you could probably use a playerMoveEvent to send the message and a player interact event to cancel the push of the...
@mythbusterma using those methods I have there is actually what the bukkit tutorials suggest you use if using other configs other than the default...
so when you enable the plugin, you copy the defaults and save that in your server's RAM. when you disable your plugin, you take those defaults...
Separate names with a comma.