Thread: How to give yourself staff rank on a 377 / 2006 server?

Results 1 to 3 of 3
  1. #1 How to give yourself staff rank on a 377 / 2006 server? 
    Registered Member
    Join Date
    May 2013
    Posts
    41
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Since the player files is encrypted and i cant change stuff via there, i am making a command to give it to yourself, but i cant figure out 377.
    Anyone who can through me a working command?
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Nov 2012
    Age
    25
    Posts
    242
    Thanks given
    250
    Thanks received
    62
    Rep Power
    89
    If you're just using the default 2006scape servers, or any offspring of that, you could either make a command, or do it the default way in the Player.java class.

    In Player.java, find and replace your getStaffRights() method with this and put your name in the String parameter shown.

    Code:
        public int getStaffRights() {
            if (getUsername().equalsIgnoreCase("your name")) {
                return 2; //Admin
            }
            return staffRights;
        }
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    May 2013
    Posts
    41
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by Ventro View Post
    If you're just using the default 2006scape servers, or any offspring of that, you could either make a command, or do it the default way in the Player.java class.

    In Player.java, find and replace your getStaffRights() method with this and put your name in the String parameter shown.

    Code:
        public int getStaffRights() {
            if (getUsername().equalsIgnoreCase("your name")) {
                return 2; //Admin
            }
            return staffRights;
        }
    Thanks alot for this mate, forgot about that...
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 13
    Last Post: 11-28-2014, 08:57 PM
  2. Replies: 3
    Last Post: 08-09-2011, 06:43 PM
  3. [How To:]Give yourself a shot at becoming a top-dog server!
    By CommunityX in forum Informative Threads
    Replies: 30
    Last Post: 07-02-2011, 04:20 AM
  4. Replies: 2
    Last Post: 02-12-2008, 02:37 AM
  5. How to give ranks- the command
    By booher in forum Tutorials
    Replies: 12
    Last Post: 08-17-2007, 01:35 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •