Thread: [PI] PlayerRights Switch

Results 1 to 5 of 5
  1. #1 [PI] PlayerRights Switch 
    Registered Member
    Join Date
    Jun 2011
    Posts
    41
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    I don't know how to switch playerrights around because right now my donator can do admin commands

    What the rights are at now:
    0-normal
    1-mod
    2-admin
    3-owner
    4-donator
    5-server support


    What I need it at:
    0-normal
    1-donator
    2-server support
    3-mod
    4-admin
    5-owner


    Thanks
    Reply With Quote  
     

  2. #2  
    Mysteria Developer

    DatguyJay's Avatar
    Join Date
    Mar 2011
    Age
    28
    Posts
    2,139
    Thanks given
    302
    Thanks received
    161
    Rep Power
    212
    which admin commands can they do?If they're custom commands search this in Commands.Java
    Code:
        public void administratorCommands(Client c, String playerCommand)
    then put the command under there and it should be for admin+owners only.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jun 2011
    Posts
    41
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by cry 4 merci View Post
    which admin commands can they do?If they're custom commands search this in Commands.Java
    Code:
        public void administratorCommands(Client c, String playerCommand)
    then put the command under there and it should be for admin+owners only.
    I don't have that.
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Mar 2011
    Posts
    222
    Thanks given
    32
    Thanks received
    24
    Rep Power
    0
    do you just have if(c.playerRights >= 0) {

    then some commands in here

    then if(c.playerRights >= 1) {

    and some more commands?
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jun 2011
    Posts
    41
    Thanks given
    0
    Thanks received
    1
    Rep Power
    1
    Quote Originally Posted by Gargamele View Post
    do you just have if(c.playerRights >= 0) {

    then some commands in here

    then if(c.playerRights >= 1) {

    and some more commands?
    Yea, do you want me to put

    if(c.playerRights >= 4) { and add the player commands for donator?
    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: 1
    Last Post: 07-12-2011, 11:39 PM
  2. PlayerRights
    By Infexis in forum Help
    Replies: 3
    Last Post: 04-10-2011, 12:23 PM
  3. [525] Switch items 2 (Bank tabs, Inteface switch)
    By 'Mystic Flow in forum Snippets
    Replies: 11
    Last Post: 01-22-2011, 01:25 PM
  4. Playerrights
    By Rowan in forum Configuration
    Replies: 8
    Last Post: 05-02-2009, 10:09 PM
  5. Adding a ::switch to Switch Magic
    By mans in forum Tutorials
    Replies: 6
    Last Post: 09-26-2008, 04:27 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
  •