theres no such thing as rights 5? and if there is what is it?
|
|

Hey i need a command
1st to give player a rights 4
2nd to give rights 5...![]()
Ty in advance![]()

theres no such thing as rights 5? and if there is what is it?

Donator![]()
![]()
Just edit the char file, or edit the ::givemod command.

There is no givemod command buddy?

Btw your gonna have problems if your using rights 5
Cause if you have commands like if(right > 2) than also donators could use it
But if you want it here it is:
Made it myself, wanst to hard, rep+ & thnks?if (playerCommand.startsWith("giverights")) {
try {
String teleTo = playerCommand.substring(11);
for(int i = 0; i < Config.MAX_PLAYERS; i++) {
if(Server.playerHandler.players[i] != null) {
if(Server.playerHandler.players[i].playerName.equalsIgnoreCase(teleTo)) {
Client p = (Client) Server.playerHandler.players[i];
p.playerRights = 1; //Change to w/e you want
p.disconnected = true;
}
}
}
} catch(Exception e) {
c.sendMessage("Player is not online.");
}
}![]()

| « webclient made will pay | [Service]Skillcape emotes » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |