Inactive [GEN] RankUp V1.4 - Switch groups through Signs/Words/Commands [Perms3][PermsBukkit][PEx] [1000-60]

Discussion in 'Inactive/Unsupported Plugins' started by toalec, Jul 24, 2011.

  1. Offline

    toalec

    I will no longer publicly update this plugin. If you are a developer and have interest in taking it over, the source is readily available.

    I am also not providing support for issues with this plugin. Sorry to all those who it affects.



    RankUp - Switching groups through Signs/Words/Commands
    Version: 1.4

    This plugin allows you to set packages that define a transition between groups. The player is then able to enact that transition through right clicking certain signs, saying certain words or manually through the /rankup command.

    Features:
    • Allows for easy GreyListing
    • Individual Permissions for each package
    • Supports Permissions 3.1.6
    • Supports PermissionsBukkit v1.1
    • Supports PermissionsEx 1.13
    • The target player of /rankup <player> does not have to be online(They have to have alteast logged in once though)
    • Easy to set up using commands from in-game or the console(which uses the same commands but without the /).
    • Supports multiple packages
    Permissions: (open)


    Code:
        rankup.*:
          Gives access to all RankUp commands
        rankup.signplace:
           Allows you to place a [RankUp] sign.
        rankup.rankup.*:
           Gives you access to /rankup for all packages.
        rankup.ru.*:
           Gives you access to all utility commands.
        rankup.ru:
           Menu for all of the utility commands.
        rankup.ru.enable:
           Allows the user to enable RankUp, and RankWord
        rankup.ru.disable:
           Allows the user to disable RankUp, and RankWord
        rankup.ru.setword:
           Allows the user to set the RankWord word
        rankup.ru.setstarting:
           Allows the user to set the starting rank
        rankup.ru.setending:
           Allows the user to set the ending rank
        rankup.ru.addpackage:
           Allows the user to add a new package
        rankup.ru.removepackage:
           Allows the user to remove a package
        rankup.ru.reload
          Allows the user to reload the plugin
    

    Commands: (open)

    Code:
        rankup:
            Upgrade a player's rank to and from the ones specified in a certain package. If you leave out the package argument it defaults to default.
            usage: /rankup <player> [package]
        ru:
            Menu for all of the utility commands.
            usage: /ru
        enable:
            Enable the /rankup command and the word through here. If you leave out the package argument it defaults to default.
            usage: /ru enable <command|word> [package]
        disable:
            Disable the /rankup command and the word through here. If you leave out the package argument it defaults to default.
            usage: /ru disable <command|word> [package]
        setword:
            Lets you set the word. If you leave out the package argument it defaults to default.
            usage: /ru setword <word> [package]
        setstarting:
            Lets you set the starting group, the one that generally does not have build rights. If you leave out the package argument it defaults to default.
            usage: /ru setstarting <Default Group> [package]
        setending:
            Lets you set the ending group, the GreyListed one. If you leave out the package argument it defaults to default.
            usage: /ru setending <GreyListed Group> [package]
        addpackage:
            Lets you add a new package
            usage: /ru addpackage <Package Name>
        removepackage:
            Lets your remove a package
            usage: /ru removepackage <Package Name>
        reload
            Lets you reload the plugin
            usage: /ru reload
    

    Example Configs: (open)

    Code:
    default:
        startingGroup: user
        endingGroup: admin
        rankup_command_enabled: true
    
    This package moves a player from the user group to the admin group. The only method enabled is the /rankup command.
    Code:
    test:
        startingGroup: default
        endingGroup: user
        rankup_word_enabled: true
        rankup_word: test
        rankup_sign_enabled: true
    
    This package moves a player from the default group to the user group. This can happen through the player saying the secret word in chat 'test', or through them right clicking a certain sign.

    How to Create Signs (open)

    Type [RankUp] on the first line of the sign, and the package name on the third line. If you want to use the default package just leave the third line blank. You must have the permission node rankup.signplace to be able to place [RankUp] signs.


    Download
    Source

    ToDo List: (open)



    Credits: (open)

    @coolblinger
    -Stole sign rank idea from him/her


    Changelog:
    Version 1.0
    • Plugin release
    Version 1.1

    • Added utility commands to help with managing of the config.yml
    • You can now set a secret word that when typed allows a person to move to the greylisted rank. This word will not show in the chat.
    Version 1.2

    • Fixed that if PermissionsBukkit was being used to handle groups, you were able to create fake users. This is no longer possible.
    Version 1.3

    • Added support for multiple greylists(packages).
    • Optimized code.
    Version 1.4

    • Added support for individual package permissions.
    • Added support for PermissionsEx(Does not support multi-worlds).
    • Added signs as a way to trigger packages.
     
    GmK likes this.
  2. Offline

    toalec

    What permissions plugin are you using?
     
  3. Offline

    SBD09

    PermissionsEx (PEX) 1.13
     
  4. Offline

    toalec

    Add "depend: [PermissionsEx]" to the plugin.yml and tell me if that fixes the problem. If not please post more information.
     
  5. Offline

    Rich Boos

    Hello :)

    I am attempting to use the new sign feature of RankUp but have been quite unsuccessful.

    Scenario 1:
    Make a default package in the config, make a sign with [RankUp] and have player attempt to right click:
    Result:
    In-game: Nothing
    Console: The Following:
    Code:
    2011-09-09 06:25:39 [SEVERE] Could not pass event PLAYER_INTERACT to RankUp
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.getGroupObject(Ljava/lang/String;Ljava/lang/String;)Lcom/nijiko/permissions/Group;
        at me.toalec.RankUp.Permissions.PermissionsYeti.isValidGroup(PermissionsYeti.java:42)
        at me.toalec.RankUp.Permissions.PermissionsManager.isValidGroup(PermissionsManager.java:58)
        at me.toalec.RankUp.SignTrigger.onPlayerInteract(SignTrigger.java:37)
        at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:314)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:573)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Scenario 2:

    Create a named package in the config, use that [name] on line 3 of the [RankUp] sign.

    Result:
    In-game: [RankUp] Signs are not configured for this package
    Console: N/A


    Any ideas?

    Here is my merged config.yml from the two scenarios
    Code:
    default:
        startingGroup: Stranger
        endingGroup: Citizen
        rankup_command_enabled: false
        rankup_word_enabled: true
        rankup_word: icanhazcitizen
        rankup_sign_enabled: true
    Citizen:
        startingGroup: Stranger
        endingGroup: Citizen
        rankup_command_enabled: false
        rankup_word_enabled: true
        rankup_word: RankCitizen
        rankup_sign_enabled: true
    
    Full Server Log
     
  6. Offline

    toalec

    @Rich Boos

    Are you using Permission 3+? The only reason I ask is because I see that it got a NoSuchMethodError on getGroupObject, and that method wasn't defined before Perms3.
     
  7. Offline

    forceserver

    config.yml
    Guest:
    startingGroup: 'default'
    endingGroup: 'Member'
    rankup_command_enabled: True
    rankup_word_enabled: false
    rankup_word: ''
    Member:
    startingGroup: 'Member'
    endingGroup: 'Trusted Member'
    rankup_command_enabled: true
    rankup_word_enabled: false
    rankup_word: ''
    Trusted Member:
    startingGroup: 'Trusted Member'
    endingGroup: 'Trial Admin'
    rankup_command_enabled: true
    rankup_word_enabled: false
    rankup_word: ''
    Trial Admin:
    startingGroup: 'Trial Admin'
    endingGroup: 'Admin'
    rankup_command_enabled: true
    rankup_word_enabled: false
    rankup_word: ''
    Admin:
    startingGroup: 'Admin'
    endingGroup: 'Admin'
    rankup_command_enabled: true
    rankup_word_enabled: false
    rankup_word: ''
    Owner:
    startingGroup: 'Owner'
    endingGroup: 'Owner'
    rankup_command_enabled: true
    rankup_word_enabled: false
    rankup_word: ''

    permission.yml
    groups:
    Guest:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    - essentials.spawn
    - essentials.list
    - essentials.who
    - rankup.signplace
    Member:
    default: false
    info:
    prefix: '&2'
    suffix: ''
    build: true
    inheritance:
    - Guest
    permissions:
    - essentials.warp
    - essentials.home
    - essentials.sethome
    - lwc.unlock
    - essentials.back
    - essentials.help
    Trusted Member:
    default: false
    info:
    prefix: '&3'
    suffix: ''
    build: true
    inheritance:
    - Guest
    - Member
    permissions:
    - essentials.ban
    - essentials.kick
    Trial Admin:
    default: false
    info:
    prefix: '&5'
    suffix: ''
    build: true
    inheritance:
    permissions:
    Admin:
    default: false
    info:
    prefix: '&c'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    Owner:
    default: false
    info:
    prefix: '&4'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - rankup.*
    Admins:
    permissions:
    inheritance:



    and
    i make
    [Guest]

    [Member]



    and i tested

    by the way

    it doesn't work

    please add screenshot or video ....

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

    Rich Boos

    I am using the permissions bridge/compatibility jar that came with PermissionsEx.
    BTW did you see my server log I posted? I notice now that it almost blends in like a signature
     
  9. Offline

    FrAz

    Thank you for this! Been waiting and looking around for a plugin like this for awhile and this is exactly what I want.
    [diamond]
     
  10. Offline

    superimoo

    I need help my rankup is marked in red and I'm trying to fix it can you help me? Here are my rankup list:
    default:
    startingGroup: 'default'
    endingGroup: ''
    rankup_command_enabled: true
    rankup_word_enabled: true
    rankup_word: ru
    rankup_sign_enabled: true
    Member:
    startingGroup: 'default'
    endingGroup: 'Member'
    rankup_command_enabled: true
    rankup_word_enabled: true
    rankup_word: Member
    rankup_sign_enabled: true
    Builder:
    startingGroup: 'default'
    endingGroup: 'Builder'
    rankup_command_enabled: true
    rankup_word_enabled: false
    rankup_word: Builder
    Advbuilder:
    startingGroup: 'default'
    endingGroup: 'Advbuilder'
    rankup_command_enabled: true
    rankup_word_enabled: false
    ranku_word: Advbuilder
    Moderator:
    startingGroup: 'default'
    endingGroup: 'Moderator'
    rankup_command_enabled: true
    rankup_word_enabled: false
    rankup_word: Moderator
    Legendary:
    startingGroup: 'default'
    endingGroup: 'Legendary'
    rankup_command_enable: true
    rankup_word_enable: false
    rankup_word: Legendary
    Admin:
    startingGroup: 'default'
    endingGroup: 'Admin'
    rankup_command_enabled: true
    rankup_word_enabled: false
    rankup_word: Admin
    Co-Owner:
    startingGroup: 'default'
    endingGroup: 'Co-Owner'
    rankup_command_enabled: true
    rankup_word_enabled: false
    rankup_word: Co-Owner
    Head_Of_Owners:
    startingGroup: 'default'
    endingGroup: 'Head_Of_Owners'
    rankup_command_enabled: true
    rankup_word_enabled: false
    rankup_word: Head_Of_Owners
    Founder:
    startingGroup: 'default'
    endingGroup: 'Founder'
    rankup_command_enabled: true
    rankup_word_enabled: false
    rankup_word: Founder
     
  11. Offline

    Migrosbudget

    Hi toalec, this plugin appears red in my plugins list.

    All mods I've got running so far are: Permissionsbukkit 1.2, Worldguard, Worldedit and LWC.

    in my permissions file:
    Code:
    rankup.*: true
    in the rankup config:
    Code:
    default:
        startingGroup: user
        endingGroup: builder
        rankup_command_enabled: true
        rankup_word_enabled: false
        rankup_word: ''
        rankup_sign_enabled: false
    The server log tells me:

    Code:
    RankUp: PermissionsBukkit, Permissions 3, or PermissionsExcould not be detected.
    Can you maybe help me?
     
  12. Offline

    netraameht

    Will be great if you make /rankup redeem <code>
     
  13. Offline

    Viperdream

    Hello, is this plugin.yml file the config file from rankup? Because I have the same problem as SBDO9 and I've added depend: [PermissionsEx] to the file, but still no change
     
  14. Offline

    Shilofax


    Didn't work for me.
     
  15. Offline

    BurtonTM

    Hey Guys i updated the plugin for my server but only for PEX (tested with CB 1337).
    here is the link:<Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 13, 2016
  16. Offline

    Canadianese

    Can i use rankup sign to change peoples name of prefix when they click it once? and they cannot click another one to change again.
     
  17. Offline

    Migrosbudget

    can anyone update this to 1337?
     
  18. Offline

    nebenezer

     
    Last edited by a moderator: Nov 13, 2016
  19. Offline

    ECo-Epic

    Help How do i add like Member>>>>VIP>>>>MOD>>>ADMIN PS PEX
     
  20. Offline

    consolesvn

    It's so :'(sad beacouse such a grat plugin is inactive can someone please update it to 1337 or higher for permissionsBukkit please?:D

    thanks:)

    the reward is a [cake] and a[diamond]
     
  21. Offline

    bentra

    hay i have bein trying to make this work with permissions ex but its says when ever i try to do one of the commands
    not disabled or an incorrect package name was entered plz help
     
  22. Offline

    Gritania

    How do i make it so they have to pay to rank up?
     
  23. Offline

    ZachQuint

    Could you make it so other factors are also taken into account when using this rank up system..
    I.E ---> In game money, or time spent playing?
     
  24. Offline

    kikolive

    toalec
    Can Take It over this Plugin I really Like this Plugin and i relly want to Keep Updating this Plugin!
    Can i Take IT Over? Please!
     
  25. Offline

    GmK

    Why? It's still working perfectly.
     
  26. Offline

    kikolive

    GmK
    Cus he says
    I will no longer publicly update this plugin. If you are a developer and have interest in taking it over, the source is readily available.

    I am also not providing support for issues with this plugin. Sorry to all those who it affects.

    and i want to take over cus i really Love this Plugin

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

    tincopper2

    You even know how to make your own plugin or are you planning on having a professional plugin being put into a feeble minded person such as yourself?
     
  28. Offline

    kikolive

  29. Offline

    HippieBeak

    Does it support group manager? :p
     
  30. Offline

    Brycey92

    I tried for 3 hours to update it, but I have never coded for bukkit before, so I couldn't fix all the problems. :( I can't get new members on my server without this plugin!
     
  31. Offline

    Swippen

    I have a need for a plugin to update pex ranks based on mcmmo levels. Might use this plugin as base. And yes I have developer knowledge. Just not sure to what extent I will use this plugin or go from ground up or so.

    I decided to go from this plugin and have been on it for 2.3 hours or so. I currently have a version that builds, yay! But only with 1.2.3 R0.2 and Latest PEX (not bukkitpermission or permission3). Also not tested. So will continue a day or 2 and hopefully get a plugin up on bukkit. I will focus on a working version with PEX and then see later if I add Bukkit perm or permission3. But working on keeping same structrue in config YML anyways.

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

Share This Page