Thread: [544]Making Myself Admin

Results 1 to 7 of 7
  1. #1 [544]Making Myself Admin 
    Registered Member King's Avatar
    Join Date
    Nov 2008
    Posts
    335
    Thanks given
    2
    Thanks received
    2
    Rep Power
    34
    Whatever I do I can't make myself Admin I'm using CarlV based IDK what Version but I go into Login.java I find Carl's Name as p.rights 2 and I make myself admin this is what the code looks like in Final Version.


    Code:
                if (p.username.equals("king")) {
                    p.rights = 2;
                }

    I compile and then Boot Server and then Run and I log in as king and I get no Admin.





    What else am I suppose to do?
    Reply With Quote  
     

  2. #2  
    Donator


    Join Date
    Sep 2008
    Age
    30
    Posts
    397
    Thanks given
    138
    Thanks received
    27
    Rep Power
    161
    Did you ever try looking into the player file?




    ---


    Lawl! ^ ^
    Reply With Quote  
     

  3. #3  
    Super Donator

    Janizary's Avatar
    Join Date
    Jul 2009
    Age
    22
    Posts
    2,131
    Thanks given
    109
    Thanks received
    137
    Rep Power
    1031
    Try to capitalize King.


    Quote Originally Posted by Pirlo View Post
    I don't think the cold war existed during/before WWI
    Reply With Quote  
     

  4. #4  
    Registered Member King's Avatar
    Join Date
    Nov 2008
    Posts
    335
    Thanks given
    2
    Thanks received
    2
    Rep Power
    34
    Quote Originally Posted by Chiiana View Post
    Did you ever try looking into the player file?
    Even in my file it says "rights:2" but No Crown.
    Reply With Quote  
     

  5. #5  
    Donator


    Join Date
    Nov 2008
    Posts
    1,017
    Thanks given
    21
    Thanks received
    32
    Rep Power
    161
    Maybe u got the right but there isnt a crown in the server
    Reply With Quote  
     

  6. #6  
    Registered Member King's Avatar
    Join Date
    Nov 2008
    Posts
    335
    Thanks given
    2
    Thanks received
    2
    Rep Power
    34
    Quote Originally Posted by 133tRubberDucky View Post
    Try to capitalize King.
    Nothing Different
    Reply With Quote  
     

  7. #7  
    Registered Member King's Avatar
    Join Date
    Nov 2008
    Posts
    335
    Thanks given
    2
    Thanks received
    2
    Rep Power
    34
    Quote Originally Posted by TheWizardLtd View Post
    Maybe u got the right but there isnt a crown in the server
    No that's not it and I proved it I made one of my commands only for Admins Compiled and Rebooted and then it wouldn't let me use it.
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •