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

    u83rju1c3

    Yes, this happens each and every time I reload, so it is fairly frustrating for ops and players alike. 5mins is an eternity to most of us geeks. I am using a wrapper called mineshafter, could it be this wrapper is causing issues? I will test without the wrapper and get back to you.

    OK it works fine without the server wrapper, I got rid of the damn thing. Thanks for all ur awesome work.
     
  3. Offline

    DigitalTyrant

    Wow, great to hear. What did the wrapper do for you?
     
  4. Offline

    Ranzear

    I thought Permissions 3.0 is supposed to have the same rank/promote/demote system that P2 adds to 2.x, but I may have to look again to be sure.
     
  5. Offline

    DigitalTyrant

    It appears to.
     
  6. Offline

    MrMusikPlanet

    It don't function when i make /setrank there comes: unknow command
     
  7. Offline

    DigitalTyrant

    The setrank command is controlled via P2Aliases, a complimentary plugin that PermissionsPlus installs, check to see if it gets installed in the plugins directory when you start up your server. If the file exists, check your server.log to see if there are any errors on startup.
     
  8. Offline

    MrDare360

    nvermind i gotit working now but would i be able to shorten the commands in bshortcut so i could have theold /setperm?
     
  9. Offline

    DigitalTyrant

    Glad to hear. I believe you can. The author of bShortcut had made mention of this functionality. I have not used that plugin before so I don't know first-hand.
     
  10. Offline

    MrDare360

    ok i will try soon
     
  11. Offline

    korin125

    The plimit and dlimit are not worknig at all for me. The only group that can promote or demote is the highest.. Can anyone help?

    *Edit*
    Nevermind, I found it all the way at the bottom of the commands section. Maybe the op could make this easier to find?
     
  12. Offline

    DodgeWatt

  13. Offline

    The_Wrecker

    Hi Tyrant,

    I don't actually think it is related to your plugin anymore. I think it is a permissions thing. But, we'll just find out. Maybe have some questions later though.
     
  14. Offline

    flozza83

    Hi !

    Im using CB803, Permissions 2.7.2, and P+ last version downloadable in that post.
    My problem is when i try to use the command
    /user -setgroup u:[UserName] s:[Setting]
    Im getting "Internal error occured ..."
    Is because not compatible with 803 ?

    Thanks you
     
  15. Offline

    DigitalTyrant

    I have only done minimal testing with PermissionsPlus and 803 but I have not had any issues. can you post the exception from the server log?
     
  16. Offline

    flozza83

    Sure.
    Starting:
    2011-05-31 00:46:19 [SEVERE] Error occurred while enabling PermissionsPlus v2.3.1 (Is it up to date?): null
    java.lang.NullPointerException
    at net.codej.permissionsplus.PermissionsPlus.onEnable(PermissionsPlus.java:72)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:750)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:132)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:110)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:337)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:243)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    During command /user -setgroup u:test g:Moderateurs
    2011-05-31 00:47:13 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'user' in plugin PermissionsPlus v2.3.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
    at net.codej.permissionsplus.PermissionsPlus.onCommand(PermissionsPlus.java:742)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  17. Offline

    Jefflores96

    How could I fix this?

    16:47:59 [INFO] [P2] Group Default does not have a rank defined.
    16:47:59 [INFO] [P2] Group Vip does not have a rank defined.
    16:47:59 [INFO] [P2] Group Mod does not have a rank defined.
    16:47:59 [INFO] [P2] Group Admin does not have a rank defined.
    16:47:59 [INFO] [P2] Some groups do not have a rank defined, some commands are disabled.
    16:47:59 [INFO] [P2] version 2.3.1 has been enabled.
    16:48:00 [INFO] [P2Aliases] 1.1 Enabled.
     
  18. Offline

    DigitalTyrant


    You need to establish ranks for each of your groups. The higher the rank number the higher the group is. I use 99 for my admin group and 1 for Banned. You can use
    Code:
    /group -setinfo g:GroupName i:rank s:50
    changing 50 for each group to define the order. Since P2Aliases loads up you can use the shorter command -
    Code:
    /rankset GroupName Rank# WorldName


    @flozza83

    Do you have a messages.yml and default.messages.yml in the plugins/permissionsplus folder?

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

    Huns

    Sorry if I've missed it, but can you provide the source? I am always a bit nervous about precompiled stuff.
     
  20. Offline

    flozza83

    Yes i have
     
  21. After manually adding ranks to all groups and reloading config file, it still took a full reboot for it to detect ranks. Cant this be read from a permissions reload?
     
  22. Offline

    Jefflores96

    How would I mark the highest you can promote and Demote
     
  23. Offline

    DigitalTyrant

    you can set the plimit and dlimit for the group and they will not be able to demote anybody higher than the dlimit and cannot promote above the plimit.

    In all of my testing, I have never had to restart the server to see the ranks work. I am not sure why your specific situation would've forced you to do this. The groups are reloaded after every command.

    can you try a couple other commands and see if they work? The first exception points to not being able to read messages.yml and the second points to a syntax error. If messages.yml exists and you ran the command that you have posted, these exceptions should not be popping up.

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

    Jefflores96

    wow you answer fast kudos :D , what I ment is how do I do that sorry for being a noob :p
     
  25. Offline

    DigitalTyrant

    The command is as follows:
    Code:
    /group -setinfo i:plimit g:Groupname s:50
    /group -setinfo i:dlimit g:Groupname s:50
    
    Those commands would set group Groupname to disallow promoting above rank 50 and not allow them to demote any ranks above rank 50. A group does not have to be ranked 50 for this to work. It just sets a threshold.
     
  26. Offline

    Jefflores96

    It doesn't let me promote players
     
  27. Offline

    DigitalTyrant

    Can you post the permissions Yml file?
     
  28. Offline

    Jefflores96

    Goddamn man ur the fastest replier I have seen jeezuz,anyways here is the permissions.yml:

    plugin:
    permissions:
    system: default
    copies: null
    groups:
    Default:
    default: true
    info:
    prefix: '&7'
    suffix: ''
    build: true
    rank: 1
    inheritance: null
    permissions:
    - commandbook.who
    - commandbook.rules
    - commandbook.spawn
    - commandbook.say.me
    - commandbook.msg
    - commandbook.whereami
    - commandbook.call
    - warpz0r.home
    - warpz0r.sethome
    - modtrs.command.modlist
    - modtrs.command.modreq
    - lockette.user.create.*
    - mcbans.vote
    - war.player
    - nSpleef.member.join
    - nSpleef.member.list
    - nSpleef.member.wager
    - speedsign.editing
    Vip:
    default: false
    info:
    prefix: '&a'
    suffix: ''
    build: true
    rank: 20
    inheritance:
    - Default
    permissions:
    - warpz0r.warp
    - warpz0r.list
    - falsebook.block.door
    - falsebook.blocks.lift
    - falsebook.blocks.gate
    - falsebook.blocks.bridge
    - simplereserve.enter.full
    - mcbans.vote.kick
    - mcbans.vote.msg
    - nSpleef.member.creategame
    - nSpleef.member.deletegame
    Mod:
    default: false
    info:
    prefix: '&b'
    suffix: ''
    build: true
    rank: 50
    inheritance:
    - Vip
    permissions:
    - commandbook.teleport
    - commandbook.teleport.other
    - mcbans.kick
    - mcbans.lookup
    - mcbans.ban.temp
    - mcbans.ban.local
    - mcbans.mod
    - mcbans.mute.player
    - bb.admin.info
    - warnfreeze.warn
    - warnfreeze.freeze
    - lockette.admin.bypass
    - worldedit.superpickaxe
    - worldguard.god
    - modtrs.mod
    - modtrs.command.check
    - modtrs.command.teleport
    - modtrs.command.complete
    - modtrs.command.broadcast
    - griefalertr.view
    - griefalertr.ignore
    - griefalertr.stick
    - openinv
    Admin:
    default: false
    info:
    prefix: '&c'
    suffix: ''
    build: true
    rank: 99
    inheritance:
    - Mod
    permissions:
    - announcer.admin
    - bb.admin.*
    - falsebook.blocks.*
    - commandbook.rocket
    - commandbook.motd
    - commandbook.intro
    - commandbook.slap
    - commandbook.time
    - commandbook.time.lock
    - commandbook.spawnmob
    - commandbook.weather
    - commandbook.weather.thunder
    - commandbook.clear
    - commandbook.teleport
    - commandbook.teleport.other
    - commandbook.return
    - 'commandbook.barrage.other '
    - commandbook.broadcast
    - commandbook.say
    - commandbook.shock
    - commandbook.thor
    - commandbook.whois
    - lockette.admin.snoop
    - lockette.admin.bypass
    - lockette.admin.break
    - magiccarpet.mc
    - mcbans.ban.global
    - mcbans.kick
    - mcbans.lookup
    - mcbans.unban
    - mcbans.ban.temp
    - mcbans.ban.global
    - mcbans.ban.local
    - mobRider.command.goto
    - mobRider.command.go
    - mobRider.command.stop
    - mobRider.command.follow
    - mobRider.players
    - mobRider.animals
    - mobRider.monsters
    - modtrs.mod
    - modtrs.command.broadcast
    - modtrs.command.check
    - modtrs.command.teleport
    - modtrs.command.complete
    - SimpleAlias.*
    - warpz0r.warp
    - warpz0r.list
    - warpz0r.set
    - warpz0r.remove
    - warpz0r.warpto
    - worldguard.god.other
    - worldguard.heal
    - worldguard.slay.other
    - worldguard.stack
    - worldguard.region.define
    - worldguard.region.redefine
    - worldguard.region.select
    - worldguard.region.info
    - worldguard.region.list
    - worldguard.region.flag
    - worldguard.region.setpriority
    - worldguard.region.setparent
    - worldguard.region.remove
    - worldguard.region.addmember
    - worldguard.region.removemember
    - worldedit.selection.pos
    - worldedit.navigation.unstuck
    - worldedit.navigation.ascend
    - worldedit.navigation.descend
    - worldedit.navigation.ceiling
    - worldedit.navigation.thru
    - worldedit.navigation.jumpto
    - worldedit.navigation.up
    - stealthlogin.join
    - permissions.users.rank.promote
    users:
    jefflores96:
    group: Admin
    info:
    prefix: ''
    suffix: ''
    permissions:
    - '*'
    PROyce:
    group: Admin
    permissions: null
    on2be:
    group: Mod
    info:
    prefix: ''
    suffix: ''
    permissions:
    - herp.derp
    irulealltehpies:
    group: Mod
    info:
    prefix: ''
    suffix: ''
    permissions:
    - herp.derp
    zozobra:
    group: Mod
    info:
    prefix: ''
    suffix: ''
    permissions:
    - herp.derp
    rawrdinosaurman:
    group: Mod
    info:
    prefix: ''
    suffix: ''
    permissions:
    - herp.derp
    Dsi0:
    group: Mod
    info:
    prefix: ''
    suffix: ''
    permissions:
    - herp.derp
    Kostahondros:
    group: Mod
    info:
    prefix: ''
    suffix: ''
    permissions:
    - herp.derp
    Peanutbutters98:
    group: Mod
    info:
    prefix: ''
    suffix: ''
    permissions:
    - herp.derp
    Red_D:
    group: Admin
    info:
    prefix: ''
    suffix: ''
    permissions:
    - herp.derp
    Convict_990:
    group: Mod
    info:
    prefix: ''
    suffix: ''
    permissions:
    - herp.derp
    Crackerjack494:
    group: Mod
    info:
    prefix: ''
    suffix: ''
    permissions:
    - herp.derp
    Pippenator:
    group: Vip
    permissions: null
    MistBlocks:
    group: Vip
    permissions: null
    Vangovi:
    group: Vip
    permissions: null
    Dude5r:
    group: Vip
    permissions: null
    edavreda:
    group: Vip
    permissions: null
    MFINN23:
    group: Vip
    permissions: null
    FuperBooper:
    group: Vip
    permissions: null
    devildog1125:
    group: Vip
    permissions: null
    NaturalReactionZ:
    group: Vip
    permissions: null
    Flapjack8796:
    group: Vip
    permissions: null
     
  29. Offline

    DigitalTyrant

    @Jefflores96
    Everything looks good. What error does it give you when you try and promote or demote?
     
  30. Offline

    Superbun

    I don't mean to rush you here, I understand that coding is hard work, but:
    Are you planning to upgrade this to work with permissions 3.0?
    I'm guessing this won't work with it at the moment because of the change in the file format.
     
  31. Offline

    DigitalTyrant

    I don't want to make it sound easy but I would be able to release a compatible version pretty quick. The reason I have not done so yet is because there are commands built into 3.0 that allow you to manipulate the configuration files. I am not sure as to the extent of the capabilities that they have incorporated but it seems to be along the same lines as to what I have developed. If there is a high demand for a permissions 3.0+ compatible permissions plus release, I would be happy to put one out. I do still have a couple "features" that I would like to release to the community, but I'm undecided as to incorporate those into permissions plus or to save them for the soon to be released project that I am in the process of completing.
     

Share This Page