Thread: (728) removing donor status

Results 1 to 6 of 6
  1. #1 (728) removing donor status 
    Registered Member Beandog's Avatar
    Join Date
    Mar 2013
    Posts
    218
    Thanks given
    22
    Thanks received
    9
    Rep Power
    4
    Hey so i gave a player donator status by mistake and i want to take it away but it wont let me. i looked through my commands.java and admin.java and theres a command to give donor but not a command to take it away. Does any1 know what command that would be? im using rune evo 728
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    The Emperor of the Sands

    Azir's Avatar
    Join Date
    Nov 2008
    Posts
    2,466
    Thanks given
    8
    Thanks received
    487
    Rep Power
    117
    i'm sorry maybe you should fucking READ through the FUCKING COMMANDS.JAVA. hope that helped you..


    Reply With Quote  
     

  4. #3  
    Registered Member Beandog's Avatar
    Join Date
    Mar 2013
    Posts
    218
    Thanks given
    22
    Thanks received
    9
    Rep Power
    4
    Quote Originally Posted by King J Scape View Post
    i'm sorry maybe you should fucking READ through the FUCKING COMMANDS.JAVA. hope that helped you..
    Wow what a dIck thanks dick
    Reply With Quote  
     

  5. #4  
    Registered Member Beandog's Avatar
    Join Date
    Mar 2013
    Posts
    218
    Thanks given
    22
    Thanks received
    9
    Rep Power
    4
    Quote Originally Posted by King J Scape View Post
    i'm sorry maybe you should fucking READ through the FUCKING COMMANDS.JAVA. hope that helped you..
    Wow Your a Sergent? thanks peppy Give ya a cookie
    Reply With Quote  
     

  6. #5  
    Registered Member RuneFurst's Avatar
    Join Date
    Apr 2013
    Posts
    132
    Thanks given
    127
    Thanks received
    5
    Rep Power
    6
    Quote Originally Posted by Beandog View Post
    Hey so i gave a player donator status by mistake and i want to take it away but it wont let me. i looked through my commands.java and admin.java and theres a command to give donor but not a command to take it away. Does any1 know what command that would be? im using rune evo 728
    If I am correct this is your Rune-Evo 'givedonator' command.
    Code:
    if (cmd[0].equals("donor")) {
                    name = "";
                    int status = Integer.parseInt(cmd[1]);
                    for (int i = 2; i < cmd.length; i++) {
                        name += cmd[i] + ((i == cmd.length - 1) ? "" : " ");
                    }
                    target = World.getPlayerByDisplayName(name);
                    loggedIn = true;
                    if (target == null) {
                        target = SerializableFilesManager.loadPlayer(Utils.formatPlayerNameForProtocol(name));
                        if (target != null) {
                            target.setUsername(Utils.formatPlayerNameForProtocol(name));
                        }
                        loggedIn = false;
                    }
                    if (target == null) {
                        return true;
                    }
                    if (status == 1) {
                        target.setDonator(true);
                        msg = "You have been given donator by " + player.getUsername() + "";
                        player.getPackets().sendGameMessage("" + target.getDisplayName() + " is now a donator!", true);
                    } else if (status == 2) {
                        target.setExtremeDonator(true);
                        msg = "You have been given extreme donator by " + player.getDisplayName() + "";
                        player.getPackets().sendGameMessage("" + target.getDisplayName() + " is now an extreme donator!", true);
                    } else {
                        target.setDonator(false);
                        target.setExtremeDonator(false);
                        msg = "Your donator rank has been revoked by " + player.getDisplayName() + "";
                    }
                    SerializableFilesManager.savePlayer(target);
                    if (loggedIn) {
                        target.getPackets().sendGameMessage(msg);
                    }
                    return true;
                }
    So, from there do ;;donor (username) 0 - Or trying doing ;;donor 0 (username)
    Cheers.



    Reply With Quote  
     

  7. #6  
    Registered Member Beandog's Avatar
    Join Date
    Mar 2013
    Posts
    218
    Thanks given
    22
    Thanks received
    9
    Rep Power
    4
    Quote Originally Posted by Buffazz Mf View Post
    If I am correct this is your Rune-Evo 'givedonator' command.
    Code:
    if (cmd[0].equals("donor")) {
                    name = "";
                    int status = Integer.parseInt(cmd[1]);
                    for (int i = 2; i < cmd.length; i++) {
                        name += cmd[i] + ((i == cmd.length - 1) ? "" : " ");
                    }
                    target = World.getPlayerByDisplayName(name);
                    loggedIn = true;
                    if (target == null) {
                        target = SerializableFilesManager.loadPlayer(Utils.formatPlayerNameForProtocol(name));
                        if (target != null) {
                            target.setUsername(Utils.formatPlayerNameForProtocol(name));
                        }
                        loggedIn = false;
                    }
                    if (target == null) {
                        return true;
                    }
                    if (status == 1) {
                        target.setDonator(true);
                        msg = "You have been given donator by " + player.getUsername() + "";
                        player.getPackets().sendGameMessage("" + target.getDisplayName() + " is now a donator!", true);
                    } else if (status == 2) {
                        target.setExtremeDonator(true);
                        msg = "You have been given extreme donator by " + player.getDisplayName() + "";
                        player.getPackets().sendGameMessage("" + target.getDisplayName() + " is now an extreme donator!", true);
                    } else {
                        target.setDonator(false);
                        target.setExtremeDonator(false);
                        msg = "Your donator rank has been revoked by " + player.getDisplayName() + "";
                    }
                    SerializableFilesManager.savePlayer(target);
                    if (loggedIn) {
                        target.getPackets().sendGameMessage(msg);
                    }
                    return true;
                }
    So, from there do ;;donor (username) 0 - Or trying doing ;;donor 0 (username)
    Cheers.
    Thank you something atleast a bit helpful, king Richard said in my commands.java which is funny cuz in rune-evo the commands.java has no such thing, admin.java doesnt either,either then that part. i have tried that before with ;;donor 0 (player) but it wont work. i only have a choice between donor 1 and 2 (i even tried 3) and all it does is give them reg donor and extreme donor . i know there is a removedonor command of somesort i just cant find it anywhere in my source (btw harobine from mc is awesome, did they actuly find out if he's just a myth or what?)
    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. how to create donor status?
    By furysangel in forum Help
    Replies: 1
    Last Post: 08-25-2011, 03:51 AM
  2. how to add donor status
    By furysangel in forum Help
    Replies: 6
    Last Post: 08-22-2011, 08:31 AM
  3. adding donor status
    By furysangel in forum Help
    Replies: 7
    Last Post: 08-19-2011, 01:54 AM
  4. Remove Donor Items
    By Runeman1010 in forum Help
    Replies: 0
    Last Post: 07-21-2010, 06:52 AM
  5. Donor Status+Donor Items
    By Hyperventilate in forum Help
    Replies: 0
    Last Post: 03-27-2009, 04:55 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
  •