Inactive [SEC] PermissionsPlus v3.2.5p - Alternative commands to modify Permissions in-game now w/MWS [1337]

Discussion in 'Inactive/Unsupported Plugins' started by DigitalTyrant, Mar 20, 2011.

  1. Offline

    DigitalTyrant

    PermissionsPlus - Adds ability to modify Permissions in-game

    Updated: 10/6/2011
    Version: 3.2.5p [jar]
    CraftBukkit: [b1337jnks]
    Description:
    PermissionsPlus adds commands to allow administrators the ability to modify their Permissions config from within Minecraft client. The most complete Permissions editing plugin for Bukkit. Supports Multi-World. Updated for MultiPlay!​
    REQUIRES: Permissions 3.x - Permissions Thread

    Includes: P2Aliases updated 10/6/2011

    Feedback: http://p2.idea.informer.com/

    Get updates on TWITTER!

    Installation and Usage information and Permissions nodes
    are available at Mymchost.com

    Information:

    It appears that I am not the only server admin that stuck to Permissions v2.7.4 so, I have released PermissionsPlusLegacy v2.4. It is a RB1000+ compatible version of PermissionsPlus v2.3. You can download this in the change log below.
    • You can specify multiple worlds separated using a comma. Do not use any spaces after the comma.
      Code:
      w:World1,World2,World3
    • You can specify all worlds using an asterisk.
      Code:
      w:*
    • You can specify multiple groups using commas for the /user -addgroup command.
      Code:
      /user -addgroup u:Username s:Group1,Group2,Group3
    • All Usernames and Groups can be shortened. You will be notified if more than one possible match is found.
      Code:
      digital = DigitalTyrant, adm = Administrator
    • With 2.x+ you must add the info variable 'rank' to your groups in order to enable promote, demote and some group functions. You can set this variable from within the game using the command:
      Code:
      /group -setinfo g:GroupName i:rank s:1-100+
                           or
                         /rankset GroupName 1-100+ world 
      The higher the number the higher the rank. Make sure you use i:rank and not i:Rank it is case-sensitive.
    • You can now set Promote and Demote limits. The Promote limit is the highest rank they can promote to. Demote limit is the highest limit that they can demote from. You can set these using the commands:
      Code:
      /group -setinfo g:GroupName i:dlimit s:50
                         /group -setinfo g:GroupName i:plimit s:75 
    If you use want to Permissions + PermissionsPlus while using Essentials plugins, make sure you do not have FakePermissions or EssentialsGroupBridge enabled.



    Not sure how long this will be useful with Bukkit's upcoming Permissions system, but it allows the Moderators of my server to give new members access without having to modify the .yml file directly. I will continue development until the new Bukkit Permissions system has widely replaced Permissions plugin.
    Thanks to Nijikokun, original author of Permissions.

    Thanks and Enjoy!
     
  2. Offline

    DigitalTyrant

    Mind posting your Permissions yml?
     
  3. Offline

    Retricide

  4. Offline

    DigitalTyrant

    What's the exact command you're running? -- I see a potential issue in the code working on a fix for it, but I want to make sure what I'm fixing is replicated with the command ur using
     
  5. Offline

    Retricide

    /promote NAME
    /group doesn't work either
     
  6. Offline

    DigitalTyrant

    what names are you putting in the commands, what groups are those names in currently?

    Can you post the error from the /group command
     
  7. Offline

    Retricide

    You cannot demote members at or above your current rank.

    I'm admin, trying to demote a Super-Mod, whose one rank below me.
    I can demote Builders though.

    Also, if someone does /demote and only uses half of the name, it crashes. And just /group crashes the server.
    /promote and demote only work on certain groups at certain times, it seems kind of random.

    We just tried again.
    We did /promote 0halo1
    and he skipped Builders and went to Expert. We then promoted him again to see if it worked, and he skipped to admin.
    We did it again and he got promoted to experts. We then couldnt demote or promote him, and I was an admin.

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

    DigitalTyrant

    it's because of the order of your groups. The plugin ranks them top to bottom, lowest to highest.
     
  9. Offline

    MineralMC

    Also having some odd issues with custom messages - changing the default messages seems to mess up colour formatting; the colour codes appear in the message itself, they don't seem to be processed at all.
     
  10. Offline

    DigitalTyrant

    Hmm, I will do some testing. Do you have default colors set in config.yml?

    This is a quick test I just did, ran a command, edited colors in messages.yml, tried to reload the server - failed lol, reloaded server, and ran command again.

    [​IMG]

    Hey, if you are still interested in translating, the latest version reads from a file called messages.yml - you can modify this as necessary to suit your needs. You can add a new section French and set your language to French in the config.yml and it will read all the new messages. I am hoping to ship with more languages soon but too busy working on 2.0 to get em translated lol

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

    panderiz

  12. Offline

    Insers

    you cannot promote to or abowe your current rank

    what do i need to do with this?
     
  13. Offline

    pudd1nG

    is it possible to promote etc in all worlds with * as world or something similar?
     
  14. Offline

    MineralMC

    Yeah, I just removed a few words from the message, seems to be working from your screenshot, so I'll have another play with it a little bit later.
     
  15. Offline

    DigitalTyrant

    Checkthe order of your group inthe yml, should be lowest to highest with lowest at the top.
     
  16. Offline

    Insers

    works thanks :)
     
  17. Offline

    MineralMC

    From my messages.yml:
    promote: '&e</userName\>&b has been promoted to the rank of &e</groupName\>&b.'
    demote: '&e</userName\>&b has been demoted to the rank of &e</groupName\>&b.'

    Ingame: http://goo.gl/BbAqO (CB740, PPlus 1.6)

    Also, one of my mods had a pretty good suggestion - what about a command to 'lock' users? If people are being a pain in the arse and they've not done anything bad enough to be banned, we set them to default and mute them. However, we've had mods accidentally promote these people while the mods who demoted them in the first place are offline - some sort of overriding flag I can set as an op would be very handy, so even those with demote/promote permissions can't touch them.
     
  18. Offline

    DigitalTyrant

    Looking for a server with 20+users and 5+ groups setup to test new Version of Permissions Plus send me a message.
     
  19. Offline

    Indyhouse

    I love this plugin, but I would really, really love to see /promote and /demote have two separate permissions.

    Why? Because I would like my mods to be able to demote someone to stop them from building or griefing, but not have the ability to override my server's application and promotion process.

    Is there any way /promote and /demote could be separated, permission-wise?
     
  20. Offline

    DigitalTyrant

    Currently, they cannot be separated. 2.0 is in a polishing phase, you will have the ability to separate them then
     
  21. Offline

    KiloWhiskey

    How can I help? We've got hundreds of players, normally around 22-25 online at a time and 6 groups.
     
  22. Offline

    Killie01

    ever since i use this plugin my format changed from:
    Code:
    permissions:
        - essentials.help
        - essentials.spawn
        - lwc.blockinventory
    to:
    Code:
    permissions:
    - essentials.help
    - essentials.spawn
    - lwc.blockinventory
    and that is just weird
     
    jasonznack likes this.
  23. Offline

    Niklas

    Help! This broke my permissions file. Now i looks like this:
    Code:
    plugin:
      permissions:
        system: 'default'
        copies: ''
    groups:
      Gjest:
        default: true
        inheritance: ''
        permissions: ''
        0: 'mcdocs./motd'
        1: 'mcdocs./info'
        2: 'mcdocs./regler'
        info:
          prefix: '[Gjest]'
          build: false
          suffix: ''
      Admins:
        default: false
        inheritance: ''
        permissions: ''
        0: '*'
        info:
          prefix: ''
          build: true
          suffix: '&6'
      Default:
        default: false
        inheritance: ''
        permissions: ''
        0: 'commandbook.who'
        1: 'commandbook.spawn'
        2: 'commandbook.msg'
        3: 'commandbook.clear'
        4: 'mcdocs./regler'
        5: 'mcdocs./info'
        6: 'mcdocs./motd'
        7: 'mcdocs./help'
        8: 'mcdocs./hjelp'
        9: 'lwc.protect'
        10: 'mywarp.warp.basic.warp'
        11: 'invtools.allowtools'
        info:
          prefix: ''
          build: true
          suffix: ''
     
  24. Offline

    DigitalTyrant

    Interesting... Any idea what caused it?

    Version 2.0 released. Let me know if you have any issues

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

    GardenGnomer

    Any chance of seeing the source code for this? I'm trying to write a plugin that will change permissions when certain in-game tasks have been accomplished.
     
  26. Offline

    cullyn

    can we get a setting to make one world the default for all changes, i run 6 worlds but they all copy one world.yml file i feel it is a waste for me to to always have to type the name of the file if i am not on that world.

    I am also getting duplicate lines when i promote someone

    such and such has been changed exp rank on newbie
    such and such has been changed exp rank on newbie
     
  27. Offline

    GmK

    Awesome! Will try it asap.

    Any plans for a w:* mode, adding to every world? I would like to not have to type a command three times when changing multiple world configs at once ;)

    If it is already included, my apologies!
     
  28. Offline

    DannyDog

    please fix the promote and demote dupe lines.... its really annoying lol
     
  29. Offline

    DigitalTyrant

    @DannyDog
    this is an issue that is cause by having broadcast on. If you turn broadcast to false in the config.yml it will remove the dupes

    Mass world modification is something that I am working on. Hopefully you will see it in a release soon. Until then, are you familiar with the permissions Copy feature? It might be worth checking out if any of your worlds share permissions.

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

    GmK

    They dont share permissions but users, and I am still waiting for the day where you can have different nodes but simply put a "copy: worldname" at the start of the users list ;)

    Thanks for making Mass world possible sometime!
     
  31. Offline

    hnrch02

    Code:
    2011-05-04 13:34:40 [INFO] [Permissions] Reload of World Normal completed.
    2011-05-04 13:34:40 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'group' in plugin PermissionsPlus v2.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:640)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:634)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
        at java.lang.String.replace(Unknown Source)
        at net.codej.permissionsplus.PermissionsPlus.sendMessage(PermissionsPlus.java:1097)
        at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:457)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    I used the "/group -setinfo g:Support i:rank s:100" command and it doesn't work.
     

Share This Page