|
Hey everyone today i will be showing you how to make yourself owner or any other rights you have on a 667-728 RSPS, sorry if this might be common but its my first code, and it might look stupid to the professionals, but i will be coming out with new stuff shortly. I do recommend downloading notepadd++ or eclipse.
Okay first open Player.Java and scroll down to Line: 385-400 and it should be between there. or type in shift-F then type in Rights and keep entering until u find them. Next you should see something like this:
Once you find that next there the "" are to in between those brackets type in your name like so.Code://Owner if (username.equalsIgnoreCase("")) { rights = 12; }
There and make sure its the name you want keep in mind you can go back anytime and change this. Now compile and rune the server and you should be Owner, depending on what rights you have owner as but its usally 2 or 12 in most 667 sources all depends on how you have it set up. Thanks more Coming.Code://Owner if (username.equalsIgnoreCase("Royal")) { rights = 12; }
Lol, what the fuck is rights 12?....
Why not look for when the player logins in and add a void like...
private checkUsers() {
if (username.equalsIgnoreCase("name here..")) {
rights = 2;
}
}
then checkUsers(); where the Player.java login is handled?..
Code:private String[] ADMINS = {"name1", "name2", "name3"};Anyway, thx for the release. Even though its been released at least 10 Billion times. Everyones gotta start somewhere.Code:for (String a : Settings.ADMINS) { if (getUsername().equals(a)) { setRights(2); } }
I know its been released thousands of times, but i just got into coding and i thought it would be great first tut.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |