|
I tried every thing but i cant find the Owner "thing" on player.java.
If someon could help me out bcuz i dono much about coding and rsps im just tryint to get in to it
Thanks
Holy hell. If you're the guy I think you are, I remember your youtube videos lol.
Try and put this as a command in your file that holds all the cmds (regular, commands, command or something like that):
That'll give you admin powers which usually don't come with the owner rank.Code:if (cmd [0].equals("rights2")) { if (player.getUsername().equalsIgnoreCase ("Jabux")) { player.setRights (2); return true; } }
To make yourself owner, just do what Loyalty said and edit the line in Settings.java to this:
Reply if you have any problems.Code:public final String OWNER = "Jabux";//might not be exactly the same but you get the idea.
Somewhere in player.java
In run() methodCode:void makeAdmin() { this.rights = 2; return; }
Something like that should do.Code:If (this.getDisplayName().equalsIgnoreCase("YOURNAME")) makeAdmin();
Thanks for all help guys but its still not working and i have a owner acc that was the original acc from the guy who released it but i cant do nothing on it i cant spawn items or give ranks i only can give supportor rank i dono why but only ;;givesuport Works
I did Max1g
You set yourself owner and type ingame ::admin
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |