CheckRank - Ranking System [FORMATTED]

Discussion in 'Plugin Requests' started by np98765, Jul 14, 2012.

  1. Offline

    np98765 43210 Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Suggested name: CheckRank, CautiousRank, CRank, LCRank, etc. I'm not too picky.

    What I want:
    A "cautious" ranking system. Basically, when the command is run, it will check to make sure that the user is of an appropriate rank. This will make more sense after reading the commands and configuration sections, below.

    Ideas for commands:

    /crank newbie-to-member
    Follows what is defined in the configuration and is labelled "newbie-to-member" (read configuration for more information).

    /crank -reload
    This would reload the plugin. It's nice, but certainly not necessary.

    Ideas for permissions:
    No permissions are needed, but the command needs to be able to be run from the console (and ops).

    Ideas for configuration:

    Code:
    confirm-message: '&aYou are now a(n) %rank%!'
    # When a user successfully is ranked, send them the above message
    # Please have the ability to use ChatColors in the message
    ranks:
     newbie-to-member: #This is the "name" of the change, used as an argument in /crank
        from: newbie
        to: member
        commands:
        - money give %player% 10
        # This command is ran from the Console
      from-noob-to-builder:
        from: newbie
        to: builder
        commands:
        - give %player% 1 64
        - say %player% is now a Builder!
    Notice how I had "Newbie" able to rank up to either a "Member" or a "Builder", depending on which "label" (command argument) is used.

    Other Information:

    Please have it support either PermissionsEx or Vault. :D

    When I'd like it by:
    I'm not going to rush you, although I'd like it sooner than later. ;)
  2. Offline

    GravedigginSearchBar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Me Gusta, Me want!
    Does it support Groupmanager?

    This post has been edited 1 time. It was last edited by Peter Bui Jul 14, 2012.
  3. Offline

    np98765 43210 Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    If the developer supports Vault, then yep. :D
  4. Offline

    Omnitv

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Interesting....
    /Favorites thread.
  5. Offline

    chaseoes BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME

    This post has been edited 1 time. It was last edited by chaseoes Jul 15, 2012.
    np98765 likes this.
  6. Offline

    np98765 43210 Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  7. Offline

    Omnitv

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Well that was fast.
    Not as fast as @Sushi :3
  8. Offline

    np98765 43210 Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey @chaseoes ,

    Console:
    crank from-noob-to-builder np98765
    [INFO] [CautiousRank] Could not find the rank given in the configuration file.
    [INFO] Error: Player not found.
    [INFO] [Server] np98765 is now a Builder!
    [INFO] [CautiousRank] Successfully ranked the player.
    [INFO] [CautiousRank] Could not find the rank given in the configuration file.

    Using the default configuration:

    Code:
      from-noob-to-builder:
        from: newbie
        to: builder
        commands:
        - give %player% 1 64
        - say %player% is now a Builder!
    I get ranked to Builder, and the message that I'm a Builder. But the stone doesn't come, or the money (in the newbie-to-member). I'm using Vault, too.

    This post has been edited 1 time. It was last edited by np98765 Jul 15, 2012.
  9. Offline

    fredghostkyle1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  10. Offline

    np98765 43210 Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Wow, I honestly didn't think that people would actually like this plugin. I expected to be shouted at: "THIS IS USELESS!" "YOU'RE STUPID!" "WHY WOULD ANYONE MAKE THIS!!!".

    What a nice surprise. :3
  11. Offline

    GravedigginSearchBar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What's with the spelling?
  12. Offline

    chaseoes BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Not really sure, it would be related to those plugins. Since it did the "[Server] np98765 is now a Builder!" as a result of the say command, I'm pretty sure it's doing the commands right.

    Edit: The "cound not find the rank given.." message is harmless, I'll fix it soon.
    In my tests the commands worked though, it gave me the 64 stone and ranked me up (using the default configuration of from-noob-to-builder).

    This post has been edited 1 time. It was last edited by chaseoes Jul 15, 2012.
  13. Offline

    np98765 43210 Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah, that's what odd. I can run /give %player% 1 64 normally, and it works. But for some reason, it says "Error: Player not found" when I'm online (The plugin requires me to be online to work). So I'm not sure what's wrong... I'm using Essentials and iConomy for money/items.
  14. Offline

    GravedigginSearchBar

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i think it's %username%
  15. Offline

    chaseoes BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    When testing it on myself I got the items fine (using essentials).. does it say player not found but continues with the command?

    [IMG]
  16. Offline

    np98765 43210 Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah, it says "Error: Player not found". I'm testing it on my test server right now to see.. I'm using the default config; did you change anything in yours?
  17. Offline

    chaseoes BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I think I fixed it, try this version.
    And as far as I know the player name is case-sensitive.
  18. Offline

    np98765 43210 Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    crank newbie-to-member np98765
    [INFO] [Money] Account np98765 does not exist.
    [INFO] [CautiousRank] Successfully ranked the player.

    Same configuration, and my username is np98765, no caps. It's weird, because I can then do:

    money give np98765 1
    [INFO] [Money] np98765's account had 1.00 LavaCoin credited.

    And it works perfectly.
  19. Offline

    chaseoes BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ah, well the "[Money] Account np98765 does not exist." isn't from my plugin, so I'm not really sure. I actually might know why it's doing that though, so please re-download this version and try it (I updated it).
  20. Offline

    np98765 43210 Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Yeah, I was curious. It's from iConomy. When I manually type the command, it works 100% fine. When I use it from the commands section of CR, it doesn't work for some reason..

    Ok. Tried v1.1... Same thing. -_-

    CRANK error.jpg

    Both Essentials and iConomy can't recognize my name. Is there something added in front of the name when executing commands or something?

    This post has been edited 1 time. It was last edited by np98765 Jul 16, 2012.
  21. Offline

    chaseoes BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nope. Have the say command run just your name so you can see exactly how it's outputted. If you're using the 2nd v1.1 version it should work.
  22. Offline

    np98765 43210 Moderator BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Oh, I have a question -- When I run say, it says

    [Server] np98765 is now a Builder!

    (The grey is white)

    Did you add some sort of suffix to the name? :O Because I can't even do that normally...
  23. Offline

    chaseoes BukkitDev Staff

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nope. All I can say is make sure you're using the 2nd v1.1 I uploaded.

Share This Page