Inactive [ADMN/DEV] Permissions v2.7.4 (Phoenix) - DISCONTINUED! 3.0 has a new home!

Discussion in 'Inactive/Unsupported Plugins' started by TheYeti, Feb 25, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    TheYeti

    Permissions 2.7.4 (Phoenix) - Now with AntiBuild built in!
    Download:
    Latest Stable: Full Zip | Jar Only
    Latest Dev Build: Full Zip | Jar Only
    Previous Versions: 2.7.3 (JAR) | 2.7.2 (JAR) | 2.7.1 (JAR) | 2.7 (JAR) | 2.6 (JAR) | 2.5.5 (JAR) | 2.5.4 (JAR) | 2.5.3 (JAR) | 2.5.2 (JAR) | 2.5.1 (JAR) | 2.5 (JAR) | 2.4 (JAR) | 2.3 (JAR) | 2.2 (JAR)

    Plugin Authors: How to hook into Permissions

    Permissions 2.x is being discontinued! 3.0 can be found HERE!!!


    I am discontinuing Permissions 2.x and leaving the project. Permissions is not going away though! Since 2.6 I have been working closely with another developer and added them to the team. For the past several version they have not only been assisting with 2.x but also doing a lot of the development of much anticipated 3.x. rcjrrjcr will be taking over as lead developer of Permissions from 3.x forward. I have full faith in them and after working closely with them on the development on the last few version and the next major version I feel that I am leaving this project in more than capable hands. I put way to much work into this project to just leave it with anyone, and this is one of the few programs that I am incredibly proud of.

    Many people will probably wonder why I am leaving again after taking over the project just a few months ago. I could quote drama and headaches, of which there were quite a few with this project. Unfortunately real life happens. Many people already know that I have been having medical issues here lately. Unfortunately while they have gotten better, they have not gone away. This coupled with other real life commitments, going to school full time, and starting up my own company, I am currently in the process of being laid off from work. At this point I have so much stuff going on in my life and am being pulled in so many directions that I am not able to get any work done on anything. This has lead to me missing commitments and letting people down on multiple things.

    Permissions is also a very high maintenance plugin that requires a lot of attention and time. Right now I am not able to devote that time and do not feel it is fair for me to try to continue to be the lead developer on it. I had originally thought that adding other members to the team would be helpful, but unfortunately this just lead to frustration for them and myself as I just was not able to commit to the project enough. Hence, 3.0 has been rewritten almost exclusively by rcjrrjcr with minimal contributions by myself.

    At this point I will be stepping away from the project to focus more on real life and to try to free up some time for other projects and to work with more individual like the wonderful HeroCraft Coding team to fulfill some commitments that I made to them a long time ago and sadly did not come through on. I feel that this is the best for all involved, both myself and the other Permissions developers, as well as the community who deserve someone who can contribute more time and attention to them and supporting them. I do not want to see Permissions end up like many other plugins with an absentee programmer and just slowly wasting away from a great plugin with a lot of potential to a headache with no support.

    I will still be active in the community, just not as much as not in the same way. I'm sure my server will be more than happy to have their head admin back and active again as well.

    Thank you and happy gaming.




    Changelog
    • 2.7.4
      • Added overload of has() and permissions() for plugin devs
    • 2.7.3
      • Fixed negate node add/remove bug.
    • 2.7.2
      • Fix for small subtle bug introduced in last minor version.
    • 2.7.1
      • Commit by DThielke to fix several bugs with programmatic modifications of user permissions.
    • 2.7
      • Further commits by rcjrrjcr
        • Removed negatedNode checks
        • Temp fix for NULL issue
        • WorldConfigurationModification to save only modified configs
        • Fix for cache problems
    • 2.6
      • Pulled in commits by rcjrrjcr
      • Fixed versioning. Last version should have technically been 2.6
      • Fixed invalid config file being written
      • Fixed erroneous conversion message.
    • 2.5.5
      • Updated to be compliant with CB600+
      • Further Maven Integration and Autobuilding
      • Better handling of configuration file errors.
        • If you do not have a world config file for the default world at startup it will now look for config.yml
        • If it cannot find that it will look for world.yml instead in case you named it that when that is not what is in level-name:
        • It will rewrite the config file to be the proper name. At this time it does not delete the old one though.
      • Removed defunct public abstract calls. If your not using the right one by now you should be shot anyway.
    • 2.5.4
        • Added Command aliases for perms and pr
        • Changed the way directories are handled.
        • Stopped it from creating an empty <world>.yml file in base directory
        • Moved project to using Maven.
    • 2.5.3
      • Change from File.pathSeparator to File.separator to fix multiworld perms
    • 2.5.2
      • Added more instructions to the included config file within the plugin
      • Added a check that will use the default world permissions if a world specific config file cannot be found.
      • Added a function to get only the group that a player is assigned to without checking for group inheritance.
      • Added a change to colorize() to fix it hopefully not adding an extra unneeded ascii character and thus creating a linebreak/color switch issue
      • Removed permissions.info as it was not needed and was a artifact of testing I was doing.
    • 2.5.1
      • Fixed a bug that could cause a group to be returned as null for getGroups()
    • 2.5
      • Added in AntiBuild functionality to Permissions
      • Minor code tweaks
      • Added getGroups(world, player) to PermissionHandler so that plugins can call it to get all of a users groups
      • Fixed the inability to use the permissions -reload all command from within the console. I still need to do some more work on this as it doesn't seem to like to accept anything other than all from console.
    • 2.4
      • Refactored namespaces to keep in line with Java & Bukkit policy
        • This was cancelled as it ended up being not needed
      • Fixed setupPermissions()
    • 2.3
      • Undid removal of some code that I had overzealously purged during cleanup
      • Merged in last of Nijikokun's changes
      • Re-ordered the main class to attempt to fix the problems with Plugin API
    • 2.2
      • Developer change
      • Fixed reloading of configuration files
      • Moved commands to registering with plugin.yml
      • Commands now use onCommand instead of onPlayerCommand
      • Command is now /permissions instead of /pr
    [/SPOILER]
     
    mruczek, kahlilnc, Pii and 58 others like this.
  2. Offline

    Joe Burton

  3. Offline

    Jeyge

    Give this one a try.

    BLOCK_PLACE and BLOCK_BREAK errors mean that the permissions.yml file isn't named correctly. Did you change the name of the map? Either way, make sure the name of the file is <map name>.yml and the file is in the plugins\permissions directory. If you have file extensions turned off, the file name would be just <map name>.

    It is really funny when you look at who it is that is saying it. These are the people who use the lowest priority to make sure they get all of the command/event traffic to prevent any other plugin out there from working.

    I don't see anything wrong with what you posted there but it seems to be incomplete. Are you perhaps also running any of the Essentials plugin? If you have GroupManager, you will need to remove that before Permissions will even be allowed to work. What version of Permissions are you running? If it is not 2.7.3, then upgrade/downgrade to that version. Are you running a chat plugin? You won't see any prefix/suffix changes in game if you aren't.

    I see you are running GroupManager and if that is correct, you will need to remove that before Permissions will even be allowed to work. As for the file, I didn't notice anything wrong with it but I also didn't run it thru all the tools I have since the fix might be real easy.

    You are most likely missing a ' somewhere near line 43. If you post your permissions.yml file, we can help you find it.
    You can run PermissionsPlus for now but the 3.0 changes will include some if not all of these commands.

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

    rennbahncookie

    im having trouble getting commands to work. most of the dont work for anyone at all :\
    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Default:
            default: true
            info:
                prefix: '&f[Newbie]'
                suffix: '&7'
                var1: '&7+message'
                build: false
                rank: 1
            inheritance: null
            permissions:
            - essentials.help
            - essentials.helpop
            - essentials.list
            - essentials.motd
            - essentials.rules
            - essentials.spawn
            - magiccarpet.mc
            - deathmessageplugin.sendmessage
            - deathmessageplugin.getmessage
        Builder:
            default: false
            info:
                prefix: '&5[Builder]'
                suffix: '&e'
                var1: '&f+message'
                build: true
                rank: 2
            inheritance:
            - Default
            permissions:
            - essentials.afk
            - essentials.back.death
            - essentials.balance
            - essentials.chat.shout
            - essentials.home
            - essentials.kit
            - essentials.kit.tools
            - essentials.mail
            - essentials.mail.send
            - essentials.me
            - essentials.msg
            - essentials.nick
            - essentials.pay
            - essentials.portal
            - essentials.protect
            - essentials.sethome
            - essentials.signs.buy.use
            - essentials.signs.disposal.create
            - essentials.signs.disposal.use
            - essentials.signs.free.use
            - essentials.signs.heal.use
            - essentials.signs.mail.create
            - essentials.signs.mail.use
            - essentials.signs.protection.create
            - essentials.signs.protection.use
            - essentials.signs.sell.use
            - essentials.signs.trade.create
            - essentials.signs.trade.use
            - essentials.suicide
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.warp
            - essentials.warp.list
            - essentials.worth
            - ichat.color
            - nSpleef.member.*
            - towny.wild.*
            - lwc.protect
        Moderator:
            default: false
            info:
                prefix: '&f[&2Mod&f]'
                suffix: '&3'
                var1: '&f+message'
                build: true
                rank: 3
            inheritance:
            - Builder
            permissions:
            - essentials.back
            - essentials.ban
            - essentials.banip
            - essentials.broadcast
            - essentials.compass
            - essentials.delwarp
            - essentials.depth
            - essentials.eco
            - essentials.getpos
            - essentials.jump
            - essentials.kick
            - essentials.kill
            - essentials.setwarp
            - essentials.time
            - essentials.togglejail
            - essentials.top
            - essentials.tp
            - essentials.tpdeny
            - essentials.tphere
            - essentials.tpo
            - essentials.tpohere
            - essentials.tppos
            - essentials.tptoggle
            - essentials.unban
            - essentials.unbanip
            - essentials.whois
            - essentials.world
            - groupmanager.listgroups
            - groupmanager.mandemote
            - groupmanager.manload
            - groupmanager.manpromote
            - groupmanager.mansave
            - groupmanager.manselect
            - groupmanager.manuadd
            - groupmanager.manudel
            - lwc.mod
        SemiAdmin:
            default: false
            info:
                prefix: '&f[&4SemiAdmin&f]'
                suffix: '&b'
                var1: '&f+message'
                build: true
                rank: 4
            inheritance:
            - Moderator
            permissions:
            - essentials
            - essentials.clearinventory
            - essentials.cooldown.bypass
            - essentials.deljail
            - essentials.ext
            - essentials.give
            - essentials.god
            - essentials.heal
            - essentials.heal.others
            - essentials.invsee
            - essentials.item
            - essentials.jails
            - essentials.kickall
            - essentials.kit.*
            - essentials.mute
            - essentials.setjail
            - essentials.signs.disposal.create
            - essentials.spawmob
            - essentials.togglejail
            - permissions.group
            - permissions.group.perms
            - delayedstop.start
            - delayedstop.cancel
            - bb.admin.*
            - nSpleef.admin.*
            - towny.admin
            - lwc.admin
            - worldguard.*
            - '*'
            - blockpaint.general
        Admin:
            default: false
            info:
                prefix: '&f[&4Admin&f]'
                suffix: '&a'
                var1: '&f+message'
                build: true
                rank: 5
            inheritance: null
            permissions:
            - '*'
            - deathmessageplugin.sendmessage
    users:
        Cookiejar1205:
            group: Admin
            permissions: null
            info:
                prefix: ''
                var1: ''
                suffix: ''
        SkKillerbean:
            group: SemiAdmin
            info:
                prefix: ''
                suffix: ''
            permissions: null
        LeaDeMoon:
            group: Moderator
            permissions: null
        Trace4arms:
            group: Moderator
            permissions: null
        ThatOtherBrownGuy:
            group: Builder
        BULLET-55:
            group: Builder
            permissons:
            - essentials.jump
            - essentials.compass
        MinecraftJunky23:
            group: Builder
        JayJay7788:
            group: Builder
        player:
            group: Builder
        Lindapotet:
            group: Builder
        Kake900:
            group: Builder
        robhad:
            group: Builder
        scar:
            group: Default
        scar_symmetry17:
            group: Builder
        Haagen-Dazs:
            group: Builder
        Hagen-Dazs:
            group: Builder
        Gibbsion:
            group: Default
        Gibbson:
            group: Builder
        willi9733:
            group: Builder
        lime:
            group: Builder
        limewire:
            group: Default
        planB619:
            group: Builder
    
     
  5. Offline

    Jeyge

    Did you make the change that I listed above? What were the results? Different errors or the same?
     
  6. Offline

    mbuettner

    Well, I solved it myself. I deletet the specified line-breaks and do they new. Now it works just fine.
    And you can use AssignPermissions for Permissions-Ingame-control.
    But: When I type '/reload' in the chat, the server kicks all player so they muss connect again. Bug in Bukkit?
     
  7. Offline

    cara_podre

    Hi. can someone give me a list of all the general permission nodes? i mean the nodes of a server without plugins.
    And what is that foo.bar and bar.foo thing?
     
  8. Offline

    Jeyge

    There aren't any. You would need a plugin like DefaultPermissions to have any nodes for that.

    Foo and bar are programming terms. Just delete them as you start to add things.
     
  9. Offline

    halfer

    Great plugin, but I got a problem yesterday. I haven't changed anything, and yet people on my server can't destroy/put blocks. This is what my config looks like:

    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:
        Players:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'dc.name.self'
                - 'dc.give.self'
                - 'dc.teleport.self.world'
                - 'dc.sethome.self'
                - 'dc.warp.self.world'
                - 'dc.setwarp'
                - 'dc.delwarp'
                - 'dc.warps'
                - 'dc.health.self'
                - 'dc.jump.world'
                - 'dc.ignoremob.self'
                - 'dc.nopickup.self'
                - 'dc.instakill.self'
                - 'simplewarp.add'
                - 'simplewarp.list'
                - 'simplewarp.remove'
                - 'simplewarp.warp'
                - 'giveto.others'
                - 'giveto.self'
                - 'giveto.reload'
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            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:
        halfer:
            group: Admins
            permissions:
        Bosque:
            group: Players
            permissions:
        Alex:
            group: Players
            permissions:
        Player:
            group: Players
            permissions:
        Ggoy:
            group: Players
            permissions:
        Lala:
            group: Players
            permissions:
        Zaoza:
            group: Players
            permissions:
    I know this sounds stupid, I can't believe it myself, how come anything doesn't work, yet, I didn't touch any of the config files? I tried creating the server from the very beginning, the same problem.
     
  10. Offline

    Jeyge

    It looks like you at some point had a moderators group but the group name was removed. Add Moderators: back to the file and you should be set. It should go between these 2 lines:
    Code:
                - 'giveto.reload'
            default: false
    
    
     
  11. Offline

    Dragoshi

    I'm not sure what I'm doing wrong, but Admins can not use any commands with this:
    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: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            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:
        Dragoshii:
            group: Admins
            permissions:
                - '*'
        Blitz109:
            group: Admins
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - '*'
        Vekkkazuma:
            group: Admins
            permissions:
                - '*'
     
  12. Offline

    Jeyge

    I don't see anything wrong with the file so I'm going to assume you are getting some errors in your server.log or you are running GroupManager. Remove GroupManager if you are running it. If you are getting BLOCK_PLACE/BLOCK_BREAK errors, make sure your permissions.yml file is in the plugins\permissions directory and is named <world name>.yml or just <world name> if you have file extensions turned off. And make sure you are running the 2.7.3 version of Permissions.
     
  13. Offline

    Dragoshi

    I get this when I try to use my MotherNature plugin:

    Code:
    2011-05-18 19:43:21 [SEVERE] Could not pass event PLAYER_INTERACT to MotherNature
    java.lang.LinkageError: com/nijiko/permissions/PermissionHandler
        at yetanotherx.bukkitplugin.MotherNature.MotherNaturePermissions.has(MotherNaturePermissions.java:62)
        at yetanotherx.bukkitplugin.MotherNature.MotherNaturePermissions.has(MotherNaturePermissions.java:76)
        at yetanotherx.bukkitplugin.MotherNature.listener.MotherNaturePlayerListener.onPlayerInteract(MotherNaturePlayerListener.java:29)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:133)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:496)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        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:372)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Plugins I have installed:

    CraftBukkit
    Worldguard
    WorldEdit
    MyWarp
    CreatureSpawner
    CustomMusic

    I also notice I get a random "Unknown command" message every few seconds that I'm not getting when I'm not running Permissions.
     
  14. Offline

    Jeyge

    Your Permissions plugin isn't installed correctly. Aren't you getting some other errors in your console? Could you post your most recent server.log?
     
  15. Offline

    Taylor179

    now these...
    tons of them
    for like every plugin
    Code:
    19:39:13 [SEVERE] Could not pass event PLAYER_INTERACT to iConomyChestShop
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.getGroup(Control.java:535)
            at com.nijiko.permissions.Control.permission(Control.java:308)
            at com.nijiko.permissions.Control.has(Control.java:253)
            at com.Acrobot.iConomyChestShop.PermissionManager.hasPermissions(PermissionManager.java:16)
            at com.Acrobot.iConomyChestShop.iConomyChestShopPlayerListener.onPlayerInteract(iConomyChestShopPlayerListener.java:47)
            at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:526)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            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:372)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    19:39:13 [SEVERE] Could not pass event PLAYER_INTERACT to LWC
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.getGroup(Control.java:535)
            at com.nijiko.permissions.Control.permission(Control.java:308)
            at com.griefcraft.listeners.LWCPlayerListener.onPlayerInteract(LWCPlayerListener.java:137)
            at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:280)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
            at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:207)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:526)
            at net.minecraft.server.Packet15Place.a(SourceFile:57)
            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:372)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  16. Offline

    wolfgangab3

    Whenever someone if my sever that isnt OP right clicks anything it says "You dont have permission to use this". Ive checked the syntax of the config file and found nothing wrong.
     
  17. Offline

    Jeyge

    Should be the same problem as the BLOCK_PLACE/BLOCK_BREAK.

    I don't think right click is something that Permissions deals with. What plugins are you running and have you granted people access to any that would use right click like mcMMO?

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

    Mason

    Looked at v3.0 and i dont know if i missed it, But can you simply move a person from "mods" to "Admins" or even from not being listed under groups to a group that has abilities. For example, I dont want to use a whitelist, Because people get added all the time and its hard to keep up with. a 2nd reason is if i have "Noob" set to the default group, and unable to build, I have to navigate to the folder update the config and then reload the plugins. I know that sounds like im just lazy but if you have new people joining often then it becomes a pain FAST. Thanks for everything, and trust me, My server would be shit without this plugin, I love it.

    Mason
     
  19. Offline

    iceguru

    Why don't the tags display ?
     
  20. Offline

    Jeyge

    From the 3.0 wiki. https://github.com/TheYeti/Permissions/wiki/Chat-Commands
    Do you mean the prefix and suffix? If so, you need a chat plugin for that.
     
  21. Offline

    Denney

    Does anyone know if there is a way, or a plugin, that can parse installed plugins and return a list of available permissions? I've noticed some plugins have permissions in their code that aren't publicly documented and I want to see if there are any more.
     
  22. Offline

    emceerez

  23. Offline

    Jeyge

    You for some reason have an extra tag of 'rank' after you info: tags. Remove the 'rank' and everything should work.

    Something like that would have to crawl the source code which would require it to know where all of the source is. I'm pretty sure something like that isn't out there at this time.

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

    emceerez

    Ok...but for permissionsplus it says to add the variable 'rank' to the groups. How do you add a variable?
     
  25. Offline

    Jeyge

    You should use the PermissionsPlus commands to add the ranks but as for how the show up, they would be another node just like prefix, suffix and build.
    Code:
            info:
                prefix: ''
                suffix: ''
                build: true
                rank: 1
     
     
  26. Offline

    emceerez

    thank you!!!!
     
  27. Offline

    Alidaco

    When I start up my server, one of my worlds, my pvp world loads fine with all of its setting properly configured. However, on startup, my main world cannot be teleported back to from the pvp world without me "creating" the world again. I'm sure I'm making a stupid mistake. What am I doing wrong?
     
  28. Offline

    Jeyge

    You will probably want to ask this in the multi-world plugin you are using.
     
  29. Offline

    BranVan

    Anytime a cactus is touched by a non-admin the in-game log gets spammed with "You do you have access to that command" until you move away from it. Nothing shows up in the server window, only in-game.

    Screenshot: http://i.imgur.com/xedIc.png

    I removed all plugins one by one until it stopped, permissions (as I suspected from the error message) was the culprit. Anyone else having this issue? I did a bit of searching and couldn't find anyone else had reported this.
     
  30. Offline

    Jeyge

    You probably forgot to give yourself the cactus permission. :)

    I would believe it went away when you removed Permissions but it wouldn't be something that Permissions is doing. You probably have another plugin that either prevents damage or does something with farming which is actually causing it.
     
  31. Offline

    Maguron

    I need help ...

    My permissions dont work !
    I gave my Member permissions but they cant use the commands !
    Like /spawn

    Here are my Permissions: http://pastebin.com/Yipj6hBe

    I am using
    CB #733
    Permissions 2.7.3


    Pls help me >.<
     
Thread Status:
Not open for further replies.

Share This Page