perhaps the * character in "tnrandomtp.*" implies that they inherit all permissions, thus that player indeed does have the permission "tnrandomtp.tp"
what gater12 said, i was just correcting his mistake as of not naming the method.
you are quite welcome my friend
I dont know what u mean about hack detection because i dont have a problem with it, but theres the code for you anyways.
Gater12 Corrrection, you forgot to name the initialized method. Should be like this: @EventHandler public void onChat(AsyncPlayerChatEvent e)...
BTW, the code pm.registerEvents(new ListenerClassName(this), this); will only work if the constructor of the listener class includes this extra...
Do this instead. vtg_the_kid This is because you dont have "plugin" as a variable so sgavsters code was fine except that he forgot to adjust...
alexko1 well yes, it is underlining the "current" variable because there is allready a variable with that name in the code.
Interesting chasechocolate. Is the additional 0 in the getInt() method inserted incase the original value is null?
I believe this thread is no longer needed as i see no issue
However, this is true, but for my subclass of my main class, i use a lot of JavaPlugin objects, in other words It works much better for me to...
But does this really matter? because in my plugin, i didn't ever override the method getServer(). Yes, you indeed get an error if you extend...
ok TRollxDudex, we allready concluded that the problem was the null return value of the getServer() method. So what is wrong about this? True...
not my Listener. just another class. I'm quite sure that extending won't do any harm
yeah i extended my main class to use its useful fields and methods
Separate names with a comma.