Thread: Need help adding ::master command

Results 1 to 5 of 5
  1. #1 Need help adding ::master command 
    Registered Member Emre's Avatar
    Join Date
    Jan 2014
    Posts
    596
    Thanks given
    91
    Thanks received
    61
    Rep Power
    7
    This is what it looks like and i looked on all turotorials but they all dont work and i get no error but nothing happens



    Screenshot by Lightshot
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jan 2014
    Posts
    145
    Thanks given
    23
    Thanks received
    8
    Rep Power
    11
    Doing it for him over TV
    Reply With Quote  
     

  3. #3  

    Keiron's Avatar
    Join Date
    Sep 2013
    Posts
    486
    Thanks given
    74
    Thanks received
    37
    Rep Power
    29
    you sure you put it on the owner rights?
    Reply With Quote  
     

  4. #4  
    mush

    Danny's Avatar
    Join Date
    Sep 2013
    Posts
    1,221
    Thanks given
    38
    Thanks received
    316
    Rep Power
    551
    Code:
    if (playerCommands.startsWith("master")) {
               
    for (int i = 0; i < 24; i++) {
                    c.playerLevel[i] = 99;
                    if (i == 3) {
                        c.playerLevel[i] = c.calculateMaxLifePoints();
                    }
                    c.realLevel[i] = 99;
                    c.playerXP[i] = 14000000;
                    c.getPA().refreshSkill(i);
                }
                c.getPA().requestUpdates();
            }
    Attached image
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2014
    Posts
    145
    Thanks given
    23
    Thanks received
    8
    Rep Power
    11
    Quote Originally Posted by Keiron View Post
    you sure you put it on the owner rights?
    His commands.java was way to messy, removed over 10 unused opening and closing bracks, Also he put it under test commands (Not sure where it was for but moved it to owner)

    Fixed now.
    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. Need help adding ::players command
    By Emre in forum Help
    Replies: 15
    Last Post: 06-07-2014, 06:36 PM
  2. [317] [DELTA] - I need help adding a command!
    By Keepin_Green in forum Help
    Replies: 0
    Last Post: 08-11-2013, 11:58 AM
  3. Need help adding yell command for 317 {PI}
    By osidrusher in forum Help
    Replies: 3
    Last Post: 06-04-2013, 10:28 PM
  4. Need help with ::master command [PI]
    By rocky2k10 in forum Help
    Replies: 2
    Last Post: 08-13-2011, 12:19 AM
  5. Replies: 3
    Last Post: 06-17-2011, 12:58 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
  •