ah ok sorry I got confused there for a minute
ServerTools is not touching keys at all, the full code for it is available on my github and you can check for yourself that it is neither registering, unregistering or in any other way fiddling with your keys.
When you say I TP, how are you doing that? Console? Plugin? If a plugin which one? You really need to provide more information for us to help out For starters a full list of all plugins/scripts used. Then what exactly you are doing that leads to your keys not working, a video would go a long way to help as well.
sorry, this Part is for angriff.
ah ok sorry I got confused there for a minute
ServerTools is not touching keys at all, the full code for it is available on my github and you can check for yourself that it is neither registering, unregistering or in any other way fiddling with your keys.
When you say I TP, how are you doing that? Console? Plugin? If a plugin which one? You really need to provide more information for us to help out For starters a full list of all plugins/scripts used. Then what exactly you are doing that leads to your keys not working, a video would go a long way to help as well.
I am just now looking at it again. I put the Servertool back in. I have Teleport 1.3.2 installed and if I teleport with that plug in the registered keys no longer work until I reload the plugins. Funny the other day i had another plugin that was writing to a database when someone teleported. The database wrote that teleporters name instead of the event player. I thought it was a anomaly but remembered I had seen something like that before.
Not wanting to accuse anybody of anything because I don't understand half of it but the person that did after I asked him what he did remarks about the types of plugins I had. I did not know that players can see how many plugins are installed. Maybe it is nothing but I have removed TP and will see if there is some other issue.. The last time I thought I had an issue it turned out to be just a trailing space typo.. X/ . Could it be my declarations? Or is there a problem with one plugin turning off key events and another not protecting itself from that ?
public class Projector extends Plugin implements Listener {
public Server server;
private long target;
private String targetName;
private Player player;
private Timer Itime;
@EventMethod
public void onPlayerSpawnEvent (PlayerSpawnEvent event){
player = event.getPlayer();
player.registerKeys(KeyInput.KEY_R);
player.registerKeys(KeyInput.KEY_X);
player.setListenForKeyInput(true);
server = getServer();
}