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

    GmK

    No worries, I am using this too, so at least I got up to date with the thread :D

    Btw, we sometimes get the "Permission file cannot be read/written" error when doing multiworld permissions, it *seems* to solve itself by giving proper read/write permissions if you're on linux. You could add that as hint to the OP if people have problems with /group player group worldname not working.
     
  3. Offline

    DigitalTyrant

    this makes sense. I will make note to add a check for that in the next update. Nice catch, thanks :-D
     
  4. Offline

    Pontus Lantz

    This plugin works great for me. Though i kinda need an command to set info on players. Prefix, Suffix etc.
     
  5. Offline

    tomnicklin

    Ok I cannot get this to work still its driving me nuts! :D

    Here is my Permissions file, I did a new one
    Code:
    ---
    plugin:
      permissions:
        system: 'default'
        copies: ''
    groups:
      Default:
        default: true
        info:
          prefix: '&2'
          suffix: ''
          build: true
        inheritance: ''
        permissions:
          - 'essentials.motd'
          - 'essentials.rules'
          - 'essentials.spawn'
      Moderator:
        default: false
        info:
          prefix: '&4'
          suffix: ''
          build: true
        inheritance:
          - 'Trusted'
        permissions:
          - 'essentials.tp'
          - 'essentials.tphere'
          - 'essentials.kick'
          - 'essentials.ban'
          - 'essentials.unban'
          - 'vanish.vanish'
      Owner:
        default: ''
        info:
          prefix: '&6'
          suffix: ''
          build: true
        inheritance: ''
        permissions:
          - '*'
      Trusted:
        default: ''
        info:
          prefix: '&b'
          suffix: ''
          build: true
        inheritance:
          - 'Default'
        permissions:
          - 'essentials.spawn'
          - 'essentials.home'
          - 'essentials.sethome'
          - 'essentials.warp'
          - 'lwc.protect'
    users:
      AlexGreen:
        group: 'Trusted'
        permissions: ''
      Birdmaster12:
        group: 'Trusted'
        permissions: ''
      Chempenstall:
        group: 'Trusted'
        permissions: ''
      Fenders:
        group: 'Trusted'
        permissions: ''
      Hazza212:
        group: 'Moderator'
        permissions: ''
      JasonPeters:
        group: 'Trusted'
        permissions: ''
      Methodic82:
        group: 'Trusted'
        permissions: ''
      Nightmaros:
        group: 'Trusted'
        permissions: ''
      TheLeader13:
        group: 'Trusted'
        permissions: ''
      _Caboose_:
        group: 'Trusted'
        permissions: ''
      boysfun:
        group: 'Trusted'
        permissions: ''
      dafinalboss:
        group: 'Trusted'
        permissions: ''
      mwright839:
        group: 'Trusted'
        permissions: ''
      soxa:
        group: 'Trusted'
        permissions: ''
      thaizilla:
        group: 'Trusted'
        permissions: ''
      thesnoot:
        group: 'Trusted'
        permissions: ''
      tomnicklin:
        group: 'Owner'
        permissions: ''
      xX_Marius_Xx:
        group: 'Trusted'
        permissions: ''
    
    Now In-game for example I type /group TheLeader13 Moderator and I get the error "No groups excist" and sometimes "No player named XXXX escists" or something like that :(
     
  6. Offline

    Spyder_X313

    I am having the same problem as tomnicklin above...
    My server is running Permissions version [3.0b] (MultiplayCompat). Would that affect PermissionsPlus?

    My Permissions file is listed below.
    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Guest:
            default: true
            info:
                build: false
                prefix: '&7'
            inheritance: []
            permissions:
              - 'essentials.afk'
              - 'essentials.help'
              - 'essentials.helpop'
              - 'essentials.list'
              - 'essentials.mail.send'
              - 'essentials.me'
              - 'essentials.motd'
              - 'essentials.msg'
              - 'essentials.r'
              - 'essentials.rules'
              - 'essentials.spawn'
              - 'essentials.tpaccept'
              - 'essentials.tpdeny'
              - 'essentials.warp'
              - 'iConomy.access'
              - 'iConomy.list'
              - 'iConomy.payment'
              - 'iConomy.rank'
        Player:
            default: false
            info:
                build: true
                prefix: '&a'
            inheritance:
              - Guest
            permissions:
              - 'craftbook.mech.ammeter.use'
              - 'craftbook.mech.bridge'
              - 'craftbook.mech.bookshelf.use'
              - 'craftbook.mech.cauldron'
              - 'craftbook.mech.elevator'
              - 'craftbook.mech.elevator.use'
              - 'craftbook.mech.gate'
              - 'craftbook.mech.light-switch'
              - 'craftbook.ic.safe'
              - 'craftbook.ic.restricted'
              - 'craftbook.ic.safe.mcxxxx'
              - 'craftbook.ic.restricted.mcxxxx'
              - 'kit.kit'
        Mod:
            default: false
            info:
                build: true
                prefix: '&b'
            inheritance:
              - Player
            permissions:
              - 'essentials.tp'
              - 'essentials.tphere'
              - 'essentials.item'
              - 'essentials.give'
        Admin:
            default: false
            info:
                build: true
                prefix: '&9'
            inheritance:
              - Mod
            permissions:
             - 'worldedit.wand'
             - 'worldedit.region.set'
             - 'worldedit.selection.hpos'
        Owner:
            default: false
            info:
                build: true
                prefix: '&4'
            inheritance:
            permissions:
             - '*'
    
    users:
      spyder_x313:
        permissions: []
        group: Owner
      reaper_x313:
        permissions: []
        group: Owner
      Ros3bud:
        permissions:
          - 'essentials.sethome'
          - 'essentials.home'
          - lwc.protect
          - 'kit.iron'
          - 'kit.builder'
        group: Player
      Scereso1:
        permissions: []
        group: Player
      Dgoods196:
        permissions:
          - 'essentials.sethome'
          - 'essentials.home'
          - 'kit.iron'
          - 'kit.builder'
        group: Player
    Thank you for your help!

    -Spyder
     
  7. Offline

    tomnicklin

    Ok ive just got a message back from Multiplay.co.uk which reads:
     
  8. Offline

    DigitalTyrant

    Do they have a proprietary permissions system? This plugin is designed for the Permissions plugin developed by Nijikokun and maintained by TheYeti.

    @Spyder_X313 I haven't done any testing with 3.0b but I will see if I can get a compatible version out

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

    Unset

    (I bet someone requested this before, could you add it to the feature list in case? So that lazy people like me just won't do a request without reading all the posts)
    Support for variables.
    In that case, I can put my old inactive groupmanager in the trash bin, and use the active permissions system, and PermissionsPlus :D
     
  10. Offline

    DigitalTyrant

    Not sure if I know what you're askin for... explain?
     
  11. Offline

    Spyder_X313

    I appreciate the urgency, but I also rent a server from Multiplay.co.uk and I think it has to do with how they have their files are set up and how the plugin would need to access the permissions file.

    I guess we won't be able to use PermissionsPlus on our server :(

    Thanks!
     
  12. Offline

    DigitalTyrant

    yea, unfortunately I don't have a server on multiplay to see how they have everything setup.
     
  13. Offline

    Unset

    Well, in permissions you can make variables in the 'info' section
    Code:
      Default:
        default: true
        permissions:
        - blockhead.hat
        - BlueTelePads.Create
        - BlueTelePads.Use
        - giftpost.chest.everywhere
        - giftpost.chest.open
        - lwc.protect
        - mcdocs.*
        - nethrar.use
        - PhysicalShop.build
        - PhysicalShop.use
        - portalstick.command.portal
        - portalstick.teleport
        inheritance: []
        info:
          prefix: ''
          build: false
          suffix: ''
          prepre: +healthbar
    These variables can be used in some plugins, like in iChat or antibuild
    So then I could change titles on the fly with.
    It doesn't have a high priority for me however, but it would make permissions nearly 100% editable from commands.
     
  14. Offline

    DigitalTyrant

    Ah, yea, I see what you mean. I may play around with that. I remember somebody else mentioning they would appreciate this as well.
     
  15. Offline

    Lookatmego

    hey dude can we somehow get rid of the announceent that someone has been promoted also make it so you can give permissions for promoting ppl to ceratin groups..ive got ppl seeing the name of the group cuz of announcement and promoting their friends to it...

    also a quick edit when i switch my players around to different groups they cant chat..until they are set bak to their old group..

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

    DigitalTyrant

    @Lookatmego

    mind postin your yml on pastebin and sendin me the link?
     
  17. Offline

    Lookatmego

    http://pastie.org/1845346

    there you go PLEASE help i also use factions,ichat,prefixer and colorme...this use to be good before idk what happened
     
  18. Offline

    DigitalTyrant

    swapping the order of your groups should take some of the issues out.

    Default:
    Builder:
    Team:
    Donator1:
    Donator2:
    EpicDonata:
    Respect:
    Mods:
    Admins:
    Gods:

    This is what I would suggest. Let me know if that helps any.
     
  19. Offline

    Lookatmego

    nope didnt work i tried it..:( D:help plz!!!!!
     
  20. Offline

    Sweet_Mafia

    Now I can remove the guest plugin, and simply make a guest group! This is more efficient than setting the group via ftp and then having to reload.
     
  21. Offline

    DigitalTyrant

    Well the group order will make a difference as to who can promote to what.

    What other plugins do you have? What groups specifically are having troubles with chat?

    And it allows you to hand off some of the administration of users as well if you have mods or such

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

    Sweet_Mafia

    is there a possible permissions* or permissions.admin ??
     
  23. Offline

    DigitalTyrant

    Permissions.* would give all perms, yes
     
  24. Offline

    Lookatmego

    well its my basically epicdonata,donator1 and thats it for now ahvnt tried anything else those are the main onse and i got factions,prefixer,colorme,ichat,permissions,permissionsplus,adminchat
     
  25. Offline

    Latros

    Getting this error, most recent PPlus, b733, most recent permissions...

    (when trying to do; /group user groupname)

    Code:
    2011-04-28 23:23:16 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'group' in plugin PermissionsPlus v1.5.1
        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:675)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:638)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:632)
        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.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
        at net.codej.permissionsplus.PermissionsPlus.checkUser(PermissionsPlus.java:633)
        at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:112)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
     
  26. Offline

    DigitalTyrant

    What was the username? what are the names of the groups ?
     
  27. Offline

    Latros

    The issue was I had a user named 26427 without '' around their name.
     
  28. Offline

    DigitalTyrant

    Nice, glad to here you got it worked out :-D here lately I've been hearing more cases of it's not working than it is. Kinda discouraging lol
     
  29. Offline

    hnrch02

    Could you add an option to choose if that message saying a player was promoted only will be displayed to the admins?
     
  30. Offline

    Oifan

    Hello DigitalTyrant,
    your plugin seems to work, but it replaces undefined fields in Permissions/world.yml with "null", which is not exactly the same (I have tried commands /promote and /demote on myself, and all empty "inheritance" and "permissions" fields were filled with "null").
     
  31. Offline

    DigitalTyrant

    It is not exactly the same but should have no consequence. Have you experienced any issues with this?

    The messaging system is undergoin an overhaul. Currently I am concentrating more on issues that have come up with compatibility and such but it is something that I am working on.

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

Share This Page