It something to do with the String. When it doesn't do the if statement it works perfectly fine.
for(Player onlinePlayers :...
No errors but I know it's the
I've been looking at this code for about a hour trying to figure out what is actually wrong and I cannot figure it out;
Sorry about late reply. Are you using Windows or Linuxs?
AndrewAnderVille What am I replacing? That didn't help me that much xD
Ignore that figured it out.
Is it your Computer Firewall blocking the port?
That usually the issue
I just finished the last part of my Voting Plugin and I have gone to test it but when a player votes I am getting this
My Code is :...
CraftBang I figured the error out it's because the player 'Test Notification' isn't actually online so its null.
--- Changed to Resolved once...
Sorry to reopen this but now I have put my full code its errored again... (See Main Thread for updated Code & Console)
I did use that but it error'd thats why I tried
Server server = (Server) this;
That fixed it. Thank you.
I know the issue is with server.broadcastMessage("Test"); But I am unsure why it would error?
So I am trying to get Votifier send the vote to my plugin but I am getting a error
Sorry to bump but this is still going on I even tried another way to do it
Soved I had 2 x .registerEvents(this, this); on Enable.
When sending a message after someone breaking a block the message sends twice? Not sure why thou....
I tried that it I am getting the same thing
public boolean onCommand(CommandSender sender, Command cmd, String...
Yh, I figured it out xD Thanks.
I was wondering how I would set up a plugin so that when they tpa to someone it would give them 3 seconds of nausia?
Separate names with a comma.