You don't have a "player.teleport(loc);" Add that =)
Try checking if the player is a guard and if they are cancel the event. I think that might be more reliable than checking if the item is a guard item.
Bukkit.getLogger().info("message to print"); notice the '( )' after the 'getLogger' It looks like you are using eclipse? that IDE has a ton of...
ToxicWaffle_ I'm not sure. That is what the "Bukkit.getLogger()" is there for. if that message appears in console once for every item in your...
Rocoty Note to self: use spaces not tabs. xCalib0r Your post is kinda funky. can you edit it? What I think you are saying is that fixing it didn't...
Zupsub The point of a good IDE is to allow you to find things IN a class file as well as managing everything else. Unless you have terrible...
Now I may make myself look the fool, and I may be very wrong but: This plugin should be less than 200 lines. it is VERY simple. your problem is...
This will set every block inside a defined area to air. You need to be a lot more specific about what you want help with. Right now it sounds like...
Try this: @EventHandler public void itemDrop(PlayerDropItemEvent event) { //make sure this is getting called. ad a logger...
All of your problems are caused by not indenting. The biggest one is you have "return" INSIDE your for loops. return exits the method. You mean...
Just start them both at the same time: final int taskID = plugin.getServer().getScheduler().scheduleSyncRepeatingTask(plugin, new Runnable() {...
So there are a couple things that you are getting confused here: 1.) Create and save the sign. 2.) When a player joins update the sign. Note: this...
Something I have done is create another scheduled task but make it delayed so it cancels the repeating task and since a delayed task only runs...
Could you set it up to save the doors as they are created or modified? or is the problem with holding them all in memory?
LookyR So let me just caution you about using commands that minecraft already uses. the /? and /help commands are "taken" you really should be...
Chemistry1997 using the getKeys() method gets all of the keys in that section.
itzrobotix He would be writing a plugin to replace votifier. so... but you are right that most vote websites have there own 24 hour limit. I have...
it just returns a boolean value so you can use it how ever you want. one way to use it would be like this: boolean usepot =...
I think this is not a problem with your plugin.yml but with the way you are testing for commands you have to use this: if(cmd.getName() ==...
Use one class to run each game all the variables will take care of themselves. every time you want to start a new game create a new "instance" of...
Separate names with a comma.