But I don't cancel a player Kick event anywhere in my code..
You should always strip special characters just in case. It is a good habit to get into while programming, and you never know if a 'hacker' could...
I have an array (usernames of players) filled with players who aren't supposed to be able to damage others. the way I thought I would do this is...
It isn't in the gui. It does the same thing when I don't use the GUI.
I store usernames in a String[], that's it.
Can anybody help me?
Why isn't this a development issue? This is a plugin I am working on.
Hey. I have been working on a plugin, but out of nowhere, I noticed that whenever a player was kicked from the server by my plugin, they account...
Thanks. I switched PlayerDeathEvent with PlayerRespawnEvent, and it works.
I am working on a plugin, and I want to teleport a player somewhere on death. It is really simple. I have this: public void...
I think I figured it out. I was calling a function that I forgot about, that I used to set the original food level, but I got it working,
What do you mean? I am not using an event. Is there anybody else who can share their wisdom? EDIT by Moderator: merged posts, please use the...
So I have to make all of the players reconnect every time they want to teleport between worlds?
I am trying to make it so if you teleport to a new world, your food level goes back to 20. And before anybody asks, yes the command is being...
So players are not pushed by other invisible players?
Separate names with a comma.