Inactive [ADMN] SetRank v1.1_1 - Change ranks in-game [Permissions] [CraftBukkitUpToDate] [1060]

Discussion in 'Inactive/Unsupported Plugins' started by Baummann, Jul 19, 2011.

  1. Offline

    Baummann

    SetRank - Change ranks in-game
    Version: 1.1_1 CraftBukkit 1000

    Commands:
    /rank [Player] [Rank] - Changes the rank of someone
    /setrank [Player] [Rank] - Same as above

    Permissions:
    Permissions (open)
    setrank.rank.<group> - Replace <group> with any group you like, players with that permission can rank to the group which you've chosen.

    setrank.rankall - The player can rank to all groups


    Changelog:
    v1.0 - First release
    v1.1:
    • Added setrank.rank.<group>
    • Added setrank.rankall
    • Fixed a text color bug
    v1.1_1:
    • Fixed a big ranking bug
    • Added an owner-name property to the config file.
    Features:
    • Change ranks in-game
    Error check list:
    • Are you sure you're using Permissions?
    • Do you have Permissions v3.x or higher?
    • Make sure that you're not using the global files.
    Downloads:

    SetRank v1.1_1

    Source code

    Optional: You can use CraftBukkitUpToDate to keep this plugin up to date.

    Note: This requires the Permissions plugin, it does not work with PermissionsEx,
    EssentialsGroupManager or PermissionsBukkit. EssentialsGroupManager uses /manuadd.

    Do not use the global files! They're causing errors.

    This project has been discontinued. Download the PermissionsBukkit version here.
     
  2. Offline

    Redsox4life247

    beautiful! thank you so much!
     
  3. Offline

    Baummann

    Sorry, I can't.

    /manuadd [Player] [Group] It's also in the post:
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  4. Offline

    fizzyjoe908

    Is the bug fixed where it resets users.yml? Because that happens to me very often and it is this plugin because I no longer have it and it works fine. I love this idea and the simple commands but I can't reset everyones groups all the time
     
  5. Offline

    i ThRoW sToNeZx

    Awesome! Works like a charm!
     
  6. Offline

    40540057

    LOVE THE JOIN MESSAGES .. but could you make the color configurable or all one color, based on whatever the first color tag is in the person's prefix ... this would be awesome!
     
  7. Offline

    Baummann

    Try to update your Permissions.

    I'll add that in v1.1_2 at least I'll try.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  8. Offline

    fizzyjoe908

    I'm using 3.1.5 and can't update to 3.1.6 because mcMMO has compatibility issues with that. It causes 'Read time out' errors

    Is the erasing users.yml 'bug' found in Permissions 3.1.6 at all? Anyone have that problem with 3.1.6 and setrank v1.1_1?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  9. Offline

    40540057

    how far off would you say that is? days? weeks? I'm not impatient, just wondering when I should check for an update.
     
  10. Offline

    Jigsaw

    I just started using this plugin and I have it setup so the my Moderators can only rank to Guest and Member. The problem I have is that they can rank ANYONE to Guest or Member even an Admin. I can't believe no one has posted about this and am just curious if this will be getting fixed?
     
  11. Offline

    Blueexet

    I Have the permison plugin and this plugin i tried setting a rank to a fellow player all i get is: Unknown command
     
  12. Offline

    Baummann

    Download and install the plugin.

    Did you add setrank.rankall to their Permissions? That is causing the problem then.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  13. Offline

    Hypnotichippo

    I know this may sound stupid, but im new to setting up servers. I downloaded bukkit and some essential plugins, But, How to make ranks? Ive been looking for the place where i make ranks such as admin, mod, VIP ect.. ect.. This would really help if you could tell me. thanks.
    -Hypnotichippo
     
  14. Offline

    Baummann

    Get the Permissions plugin.
     
  15. Offline

    Jigsaw

    Nope, I only added setrank.guest and setrank.member they can only rank to guest or member and nothing more. The problem is they can rank anyone to guest or member even an Admin. They can't rank anyone to Admin, but they can rank an Admin to member.

    This is an example of my permissions, I cut out everything but the setrank permissions:
    Code:
    Moderator:
        default: false
        permissions:
        - setrank.rank.member
        - setrank.rank.guest
     
  16. Offline

    Baummann

    That's how it's supposed to work. It's not a bug.
     
  17. Offline

    Blueexet

    @Baummann
    Thanks For Telling Me, But The Problem is i don't seem to have the permmison Plugin? Either I don't know
    How to Install? Im A Linux User so i don't know how to?
     
  18. Offline

    Baummann

    On Linux it should be like on windows or mac. Well I'm on mac and it is like on windows. Just search for "Permissions" use v3.x. There are lots of tuts on youtube.
     
  19. Offline

    Blueexet

    If i download the permissions, Will it work for me? Or would i need more stuff added?
     
  20. Offline

    Arton

    i got this from setrank i think maby a bug ? :p

    at com.Baummann.SetRank.SetRank.SetRank.getGroup(SetRank.java:102)
    at com.Baummann.SetRank.SetRank.spl.onPlayerJoin(spl.java:18)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:244)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:124)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:97)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  21. Offline

    Baummann

    Are you using PermissionsBukkit?

    Yes it'll work.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  22. Offline

    Kohle

    What about a demote rank? That would be mighty helpful ;)

    Or could you just use the /rank command with any group, and it would promote/demote?
     
  23. Offline

    Arton

    yes im using permissions on my server
     
  24. Offline

    RealMinecraftTV

    Ok so when I try this, I get an Internal server error.. here's the error from the server.log:

    org.bukkit.command.CommandException: Unhandled exception executing command 'rank' in plugin SetRank v1.11
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
    at com.nijiko.permissions.Entry.removeParent(Entry.java:191)
    at com.Baummann.SetRank.SetRank.SetRank.removeParent(SetRank.java:86)
    at com.Baummann.SetRank.SetRank.SetRank.onCommand(SetRank.java:135)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more

    I get this with /pr promote as well. And yes, I am pretty sure I set up my tacks right. I did it 3 times and followed the instructions to the dot on the wiki. I have tried so many things, but it down't want to work. Help please? =(

    I think I fixed it actually. I don't like how permissions has global ranks and world specific ranks. All I did was delete all player info on my server. Then when i logged in I /op'd myself on the command prompt, then went in my server and used [/setrank Byus_tha_Boss OP] and it worked perfectly. I am pretty sure it has to do with having global perms and world specific perms.

    Alright, It's working perfectly as intended. the only problem is that when somebody uses /rank or /setrank, the server (and my computer) gets severe lag

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  25. Offline

    Azell

    i'm getting this

    Code:
    2011-07-30 15:41:49 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'rank' in plugin SetRank v1.11
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    help?
     
  26. Offline

    Baummann

    /rank promotes or demotes to the chosen rank.

    Is it Permissions v2.x? It should be 3.x then.




    global Permissions are not working (currently). Use world specific Permissions.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  27. Offline

    Azell

    I do have permission 3.X on and yet this still happens. :/

    Code:
    2011-07-30 15:41:49 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'rank' in plugin SetRank v1.11
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
     
  28. Offline

    Baummann

    The plugin doesn't detect your Permissions plugin.
     
  29. Offline

    Arton

    it's permissions 3.x
     
  30. Offline

    Baummann

    How many groups does the user you want to rank have? A user can only have one group else it wont work.
     
  31. Offline

    arsjet

    Please add.
    • The target player of /rank [Player] [Rank] does not have to be online
     

Share This Page