Messed up Code!

Status
This thread has been locked.

Borislav

Beginner Dev
Premium
Feedback score
0
Posts
277
Reactions
60
Resources
0
So this plugin I am trying to finish off wants to be a bitch, I am trying to code a ProxyNoJoin plugin for my server and in the listener.java I have this line of code.

e.disallow(Result.KICK_OTHER, main.Tag + "\nTo join this server, connect with the hub IP!");

It says that "KICK_OTHER" can not be resolved or is not a field, what do I put there then?
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Borislav

Beginner Dev
Premium
Feedback score
0
Posts
277
Reactions
60
Resources
0
There is no login event for this plugin. When they connect, they get disconnected and get a message but that line wasn't working! I figured it out though.
 
Status
This thread has been locked.
Top