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

    panderiz

    That's good to hear for the first two :D

    As for if you do finish with this would you mind going open source? I myself can't make a plugin, but this is a great addition to permissions to make it work just as well as groupmanager so if it broke because of an update someone else could update it and maintain it.
     
  3. Offline

    DigitalTyrant

    v1.5 no longer calls MinecraftServer.a() function, but what are you doing to get this error? What version does the console say? Is it colorful?
     
  4. Offline

    MineJob

    What I do is /group username Builder
    Then I get a "An internal error occured while attempting this command".

    Using Bukkit Build 714 with your 1.5 download link. Seems to be the same error as with 1.3, you sure you updated the download link :)?
     
  5. Offline

    SirHedgehog

    New versions works brilliantly. Thanks for adding the per-user permissions too. Nice one DT.
     
  6. Offline

    DigitalTyrant

    I am positive. I use the links to update my servers. Quicker to type wget and paste than to FTP or Samba into them.

    Thanks!
    To make up for my absence I thought I'd throw in a few extra features rather than just an update :D

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

    MineJob

    Don't know why, but it still gives me the error. Downloaded the plugin twice, rebooted the server. Still getting the error. Hmm.. what to do now?

    Edit: Using Permissions 2.7
    Btw, it gives me a error. Then when I type '/reload -all' it'll work...
     
  8. Offline

    DigitalTyrant

    Can you look in the server log and tell me what version it says that you are running? I will post the MD5s in the changelog as well, hopefully to sort out any confusion others may have.

    What version does PermissionsPlus say in the console? Have you tried both links?
    http://www.mymchost.com/plugins/PermissionsPlus/v1.5/PermissionsPlus.jar -- static
    http://www.mymchost.com/plugins/PermissionsPlus/currentversion/PermissionsPlus.jar -- Dynamic
    Both links point to the same file, but maybe one will get you to version 1.5 instead of any of the others haha

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

    MineJob

  10. i cant seem to get permissions plus to work
    13:16:32 [INFO] [PermissionsPlus] Attached to Permissions version: 2.7
    13:16:32 [INFO] [PermissionsPlus] Unable to load Permissions.
    13:16:32 [INFO] [PermissionsPlus] &has been disabled.
    tahts the error i get
     
  11. Offline

    Wahrheit

    Any chance we can get the source?
     
  12. Offline

    Ahfaichucky

    its not permissionsplus, you didnt set up permissions properly or the syntax is messed up in your permissions file.
     
  13. Offline

    Nolig

    Yeah !!
    Thank you for multiworld support i love you :);)
     
  14. Offline

    gilgatex

    This looks awesome. A special permission to allow a user to use /promote, but limit the promotion only to levels underneath that user only would be helpful. For example, I have 4 levels: default, VIP, moderator, admin. I would like moderators to be able to allow to promote people to VIP, but not promote them to moderators.
     
  15. idk what i did wrong though my other nodes work fine i added the permissionsplus nodes but it wont work all nodes look the same :/

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: '[Noob]'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
        Builder:
            default: false
            info:
                prefix: '[Builder]'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
                - 'localshops.buysell'
                - 'localshops.manage'
                - 'localshops.manage.owner'
                - 'localshops.create'
                - 'localshops.move'
                - 'localshops.destroy'
                - 'localshops.reload'
                - 'ecoCreature.Creature.*'
                - 'lottery.buy'
                - 'bankaccount.transfer'
                - 'bankaccount.password'
                - 'bankaccount.withdraw'
                - 'bankaccount.deposit'
                - 'bankaccount.close'
                - 'bankaccount.user'
                - 'bankaccount.open'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
    
        Moderator:
            default: false
            info:
                prefix: '&1[Mod]&1'
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - 'bar.foo'
                - 'localshops.admin'
                - 'citizens.basic.create'
                - 'citizens.basic.settext'
                - 'citizens.general.setname'
                - 'citizens.general.remove.singular'
                - 'citizens.general.remove.all'
                - 'citizens.help'
                - 'citizens.general.color'
                - 'citizens.general.colour'
                - 'citizens.general.setitem'
                - 'citizens.general.move'
                - 'citizens.general.tp'
                - 'citizens.general.move'
                - 'citizens.general.getid'
                - 'citizens.general.select'
                - 'citizens.general.talkwhenclose'
                - 'citizens.general.lookatplayers'
                - 'lottery.admin.draw'
                - 'lottery.admin.addtopot'
                - 'bankaccount.admin'
        Admins:
            default: false
            info:
                prefix: '&1[Admin]&1'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'iConomy.admin.grant'
                - 'iConomy.admin.set'
                - 'iConomy.admin.reset'
                - 'iConomy.admin.hide'
                - 'iConomy.admin.account.create'
                - 'iConomy.admin.account.remove'
                - 'iConomy.admin.stats'
                - 'permissions.group'
                - 'permissions.group.perms'
                - 'permissions.user.perms'
                - 'permissions.user'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        C1RCA_99:
            group: Admins
            permissions:
                - '*'
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp'
    Does anyone see anything wrong with this??

    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

    The plugin only allows you to promote and demote users "ranked" lower than you. Moderators in your case could not promote VIP to Moderator not could they demote Moderators to VIP.
     
    gilgatex likes this.
  17. Offline

    Jono20201

    Thanks DigitalTyrant for this nice plugin. Makes everything so much easier.
     
    DigitalTyrant likes this.
  18. Offline

    DigitalTyrant

    What is the issue that you're having?
     
  19. i have the nodes and everything set up (the way im supposed to im pretty sure) and i get this error
    13:16:32 [INFO] [PermissionsPlus] Attached to Permissions version: 2.7
    13:16:32 [INFO] [PermissionsPlus] Unable to load Permissions.
    13:16:32 [INFO] [PermissionsPlus] &has been disabled.
    and i cant use any commands :/ im just wondering if i messed up my nodes i put my permissions file above on a diff post^^^
     
  20. Offline

    DigitalTyrant

    You and everyone one that I haven't said thanks to directly, Thank you! Just glad other admins out there find this just as useful as I do.
     
  21. Offline

    Jono20201

    Do you have any Permissions errors when start it up?
     
  22. Offline

    DigitalTyrant

    What is the name of your permissions file?
     
  23. no i dont :/ permissions plugin is fine idk why the permissionsplus wont work tho

    the config file?

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

    DigitalTyrant

    yep, what's the name of the yml file
     
  25. Offline

    Jono20201

    Like, do you have a WorldName.yml file? (Obv, replacing WorldName to something else?)
     
  26. AHHHHHHHHHHHH i see now haha i was stupid and put world.yml as the name so the permissionsplus couldnt find the config file XD epic fail thanks digital lol ill see if the commands work now cuz the plugin doesnt have the error anymore
     
  27. Offline

    Ahfaichucky

    you dont need to add more permissions nodes for admins when you already have the '*' node
     
  28. Offline

    DigitalTyrant

    woohoo! Hope you don't have any more issues but if you do, don't hesitate to post. Thanks!

    Haha, no worries. Let me know if that doesn't work out for you

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

    Giuseppe

    Does anyone see anything wrong with this??

    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Gast:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - deathmessageplugin.sendmessage
                - deathmessageplugin.getmessage
                - essentials.help
          Bau:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - essentials.home
                - essentials.sethome
                - essentials.warp
                - essentials.warp.list
                - essentials.msg
                - essentials.afk
                - essentials.rules
                - essentials.me
                - essentials.list
                - essentials.mail.send
                - essentials.whois
                - essentials.suicide
                - essentials.kit
                - essentials.kit.Bau
                - lwc.protect
                - mcbans.vote
                - mcbans.vote.kick
                - mcbans.vote.msg
                - multihome.home
                - tombstone.use
                - tombstone.large
                - tombstone.lwc
                - tombstone.freesign
                - tombstone.quickloot
                - tombstone.sign
                - tombstone.cmd.tombfind
                - towny.wild.*
                - uQuest.CanQuest.*
                - wanted.file
                - wanted.read
                - multiverse.portal.list
                - worldedit.navigation.unstuck
                - iConomy.payment
                - iConomyChestShop.shop.create
                - iConomyChestShop.shop.use
                - iConomyChestShop.shop.sell
    
            VIP:
            default: false
            info:
                prefix: '&4'
                suffix: '&4'
                build: true
            inheritance:
                - Bau
            permissions:
                - essentials.kit
                - essentials.kit.VIP
        GS:
            default: false
            info:
                prefix: '&4'
                suffix: '&4'
                build: true
            inheritance:
                - VIP
            permissions:
                - essentials.tp
                - essentials.tpaccept
                - essentials.tpdeny
                - essentials.tpahere
                - essentials.tppos
                - essentials.broadcast
                - essentials.kill
                - essentials.burn
                - essentials.mute
                - essentials.invsee
                - essentials.kit
                - essentials.kit.GS
                - mcbans.ban.temp
                - mcbans.ban.local
                - mcbans.ban.view
                - lwc.mod
                - wanted.manage
        GM:
            default: false
            info:
                prefix: '&6'
                suffix: '&6'
                build: true
            inheritance:
                 - GS
            permissions:
                - '*'
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        Giuseppe1990:
            group: GM
        Tobi5000:
            group: GM
        HellBoy:
            group: GS
        Malzbier:
            group: GM
        Timo:
            group: GM
     
  30. holy crap now that i fixed the file alot of my plugins are working correctly now :D thanks for the help digital!!!!!! YOU SAVED MY SERVER :D
     
  31. Offline

    DigitalTyrant

    Yes, the spaces in your group definitions are off. Looks like VIP is in too many spaces. Bau looks like it's in 1 space too far as well

    lol, you're most welcome

    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