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

    RingOfStorms

    Spent so much time on this... errors out.

    [​IMG]
    http://img859.imageshack.us/img859/2230/permissionserror.jpg]If image above doesnt load, click me![/url]



    heres my config...
    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: netherWorld
    
    ##
    # 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
    ## a-
    #   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:
        Noob:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'lockette.user.create.*'
                - 'SpawnX.spawn'
                - 'torchmissile.SingeMode'
                - '-bc.tnt.allowed'
        Mod:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.give'
                - 'essentials.item'
                - 'lockette.user.create.*'
                - 'SpawnX.spawn'
                - 'torchmissile.Normal'
                - '-bc.tnt.allowed'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - '-SpawnX.setspawn'
                - '-spyer.spy'
                - '-spyer.seeAll'
                - '-spyer.fun;
                - '-spyer.stopmobs.admin'
                - '-spyer.stopmobs.fun'
                - '-regions.override'
                - '-regions.createdelete'
                - '-regions.modify'
                - '-regions.protect'
                - '-regions.preventallowentry'
                - '-regions.info'
                - '-regions.whitelist'
                - '-regions.customisemessages'
                - '-bc.set.limit'
                - '-bc.set.enable'
                - '-bc.set.creeper'
                - '-bc.set.reclaim'
                - '-bc.set.yield'
                - '-bc.set.radius'
        God:
            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:
        RingOfStorms:
            group: God
            permissions:
        HunterRaven:
            group: Admins
            permissions:
        FenwayDraven:
            group: Mod
            permissions:
    
     
  3. Offline

    fifth

    What is the permission for

    /permissions -reload all
     
  4. 07:26:31 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroups(Control.java:620)
    at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:61)
    at org.bukkit.plugin.java.JavaPluginLoader$33.execute(JavaPluginLoader.java:400)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
    at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:156)
    at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:118)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:436)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    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)


    that error over and over again! please help.

    CB Build: 740
    Permissions version: 2.7.2

    is this error something to do with herochat?
     


  5. That problem up there ^^^^ Just randomly decided to stop happening -_-... fixed for now
     
  6. Offline

    Shinfo

    Keeps resetting my god damn permissions to this shit:

     
  7. Offline

    iiShaun

    When ever a player trys to do a command or even me , It says i do not have permission and when ever they place a block they do not have permission to do so, But they can still place it , many of my players are annoyed with this bug :/
     
  8. Offline

    Jamus

    Feature suggestion:

    Problem: Managing large groups of highly-permissioned plugins is a hassle, because the admin must look up its documentation to make new changes.

    Suggested solution:

    Record unique permissions seen into a list. Auto-write these into a text file, broken down by whitespace/comments into an alphabetically (and obviously hierarchical). Format it so that it can be pasted into a group/user definition, and then pruned by simply removing unwanted permissions. An added benefit is that admins should be less inclined to simply add *s to their permission tables, which could cause grief if a plugin is updated to include an additional, unwanted feature-permission pair.

    Optional: Add an API method to register a permission without testing it on a user, which a plugin can do on initialization or upgrade. Perhaps allow a comment field as well to be included in the generated file.
    Optional 2: Exclude permissions containing a node named 'dyn' from this list, for certain plugins that use dynamic permissions (such as a name of a world, or an ID number).
     
  9. Offline

    ToxicSky

    I Need help i Have Permissions and PermissionsPlus. But i can´t Promote and Demote use ingame. wht can i do to fix it?

    My Permissions are:

    plugin:
    permissions:
    system: default
    copies: null
    groups:
    Gast:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance: null
    permissions:
    - foo.bar
    Builder:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Gast
    permissions:
    - bar.foo
    - essentials.help
    - essentials.signs.trade.create
    - essentials.signs.trade.use
    - essentials.signs.buy.create
    - essentials.signs.buy.use
    - essentials.signs.sell.create
    - essentials.signs.sell.use
    - essentials.compass
    - essentials.getpos
    - essentials.home
    - essentials.sethome
    - essentials.warp
    - essentials.warp.list
    - essentials.pay
    - essentials.balance
    - essentials.sell
    - essentials.msg
    - essentials.afk
    - essentials.rules
    - essentials.me
    - essentials.list
    - essentials.helpop
    - essentials.spawn
    - lwc.protect
    VIP:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Builder
    permissions:
    - bar.foo
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - VIP
    permissions:
    - bar.foo
    - essentials.top
    - essentials.jump
    - essentials.back
    - essentials.tp
    - essentials.tpo
    - essentials.tppos
    - essentials.setwarp
    - essentials.delwarp
    - essentials.kick
    - essentials.mute
    - essentials.invsee
    - essentials.time
    - essentials.tree
    - essentials.bigtree
    - essentials.suicide
    - essentials.weather
    - essentials.chat.question
    - essentials.chat.shout
    - bb.admin
    - bb.admin.info
    - bb.admin.watch
    - bb.admin.rollback
    - worldguard.god
    - 'worldguard.heal '
    - worldguard.heal.other
    - lwc.mod
    - permissions.group
    - worldedit.clipboard.copy
    - worldedit.clipboard.cut
    - worldedit.clipboard.paste
    - worldedit.history.undo
    - worldedit.history.redo
    - worldedit.navigation.jumpto
    - worldedit.selection.pos
    - worldedit.wand
    - worldedit.tool.tree
    - worldedit.fill
    - worldedit.fill
    - essentials.help
    - essentials.signs.trade.create
    - essentials.signs.trade.use
    - essentials.signs.buy.create
    - essentials.signs.buy.use
    - essentials.signs.sell.create
    - essentials.signs.sell.use
    - essentials.compass
    - essentials.getpos
    - essentials.home
    - essentials.sethome
    - essentials.warp
    - essentials.warp.list
    - essentials.pay
    - essentials.balance
    - essentials.sell
    - essentials.msg
    - essentials.afk
    - essentials.rules
    - essentials.me
    - essentials.list
    - essentials.helpop
    - essentials.spawn
    - lwc.protect
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance: null
    permissions:
    - '*'


    My Plugins Are:

    AuthMe
    Permissions und Permissions +
    MinecartMenia
    Essential
    BigBrother
    Craftbook
    WorldGuard
    WorldEdit
    LWC

    PLS PLS PLS HELP ME!!!!!!!!!
     
  10. Offline

    DemonPlaysPro

    Is it meant to copy the defailt world permissions for worlds w/o a perm file?
     
  11. Offline

    TobbenTM

    Quick question; all new users will be in the default group? I do not need to add them for them to get the default permissions? Probably obvious, but just a little confused.
     
  12. Offline

    ToxicSky

    Okay but i can´t use /promote. The error Massage is always there

    You can Add me in Skype for help

    Skype ID is : thekingtoler
     
  13. Offline

    Marre

    same problem here
    using bukkit 270 permissions 2.7.2
    my permissions file
    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'admincmd.*'
                - '-admincmd.player.kill'
                - '-admincmd.weather.strike'
                - 'clearinventory.use'
                - 'lockette.user.create.*'
                - '-SpawnMob.*'
                - 'SpawnX.spawn'
                - 'tpp.mod.*'
                - 'timeshift.shift'
                - 'warpz0r.*'
                - '-warpz0r.admin.clearhome'
                - 'wolfpound.use'
                - 'wolfpound.adopt'
                - 'worldedit.*'
                - 'minecraft.*'
                - '-minecraft.op'
                - '-minecraft.save-off'
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    users:
        :
            group: Admins
            permissions:
        psygamer:
            group: Moderator
            info:
                prefix: ''
                suffix: ''
            permissions:
        hotclub:
            group: Moderator
            info:
                prefix: ''
                suffix: ''
            permissions:
        redcros:
            group: Moderator
            info:
                prefix: ''
                suffix: ''
            permissions:
        stynopolino:
            group: Moderator
            info:
                prefix: ''
                suffix: ''
            permissions:
        marre:
            group: Moderator
            info:
                prefix: ''
                suffix: ''
            permissions:
        bertj_:
            group: Moderator
            info:
                prefix: ''
                suffix: ''
            permissions:
    my server log file
    Code:
    2011-05-05 15:14:13 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-05 15:14:13 [WARNING] **** NOT ENOUGH RAM!
    2011-05-05 15:14:13 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-05-05 15:14:13 [INFO] Loading properties
    2011-05-05 15:14:13 [INFO] Starting Minecraft server on ************
    2011-05-05 15:14:13 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-gf53e007-b740jnks (MC: 1.5_02)
    2011-05-05 15:14:13 [INFO] Preparing level "BlastCraft"
    2011-05-05 15:14:13 [INFO] Preparing start region
    2011-05-05 15:14:14 [INFO] Preparing spawn area: 24%
    2011-05-05 15:14:15 [INFO] Preparing spawn area: 73%
    2011-05-05 15:14:16 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:138)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: while parsing a block mapping
    expected <block end>, but found Value
     in "<reader>", line 53, column 5:
            :
            ^
    
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingFirstKey.produce(ParserImpl.java:558)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
        ... 13 more
    2011-05-05 15:14:17 [SEVERE] ebean.properties not found
    2011-05-05 15:14:17 [INFO] DataSourcePool [TimeShift] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-05-05 15:14:17 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-05-05 15:14:19 [INFO] Entities enhanced[0] subclassed[1]
    2011-05-05 15:14:20 [SEVERE] Could not load 'plugins\DefaultPermissions.jar' in folder 'plugins': Permissions
    org.bukkit.plugin.UnknownDependencyException: Permissions
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:125)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-05 15:14:20 [INFO] [AdminCmd] (version 4.5) Enables without Permissions.
    2011-05-05 15:14:20 [INFO] [AdminCmd] Instead of Permissions, check if the user is OP.
    2011-05-05 15:14:20 [INFO] [AdminCmd] (version 4.6.1) Enables without Permissions.
    2011-05-05 15:14:20 [INFO] [AdminCmd] Instead of Permissions, check if the user is OP.
    2011-05-05 15:14:20 [INFO] [Backup] Permission system not detected, defaulting to OP
    2011-05-05 15:14:20 [INFO] Backup v1.4a was sucessfully loaded!
    2011-05-05 15:14:20 [INFO] Blueprint-Revisited v0.5 was sucessfully loaded!
    2011-05-05 15:14:20 [INFO] [ClearInventory] v0.3 enabled
    2011-05-05 15:14:20 [INFO] CraftBukkitUpToDate version 2.5.1 is enabled!
    2011-05-05 15:14:20 [INFO] CButD: Permission system not detected, defaulting to OP
    2011-05-05 15:14:21 [INFO] CButD: CraftBukkit is up to Date
    2011-05-05 15:14:21 [INFO] [DeathTpPlus] 5 Kill Streaks loaded.
    2011-05-05 15:14:21 [INFO] [DeathTpPlus] 5 Death Streaks loaded.
    2011-05-05 15:14:21 [INFO] [DeathTpPlus] version 1.85 by lonelydime is enabled!
    2011-05-05 15:14:21 [INFO] [HelpCenter] Checking file locations for upgrade availability..
    2011-05-05 15:14:21 [INFO] [HelpCenter] Location OK.
    2011-05-05 15:14:21 [INFO] [HelpCenter] HelpCenter v1.72 enabled.
    2011-05-05 15:14:21 [INFO] Lockette version 1.3.7 is being enabled!  Yay!  (Core version 1.0)
    2011-05-05 15:14:21 [INFO] Lockette: Detected craftbukkit build [740] ok.
    2011-05-05 15:14:21 [INFO] Lockette: Using ops file for admin permissions.
    2011-05-05 15:14:21 [INFO] Lockette: Ready to protect your containers.
    2011-05-05 15:14:21 [INFO] MobileAdmin: Starting server...
    2011-05-05 15:14:21 [INFO] MobileAdmin version 2.4.2 is enabled!
    2011-05-05 15:14:21 [INFO] SpawnCreature is on!
    2011-05-05 15:14:21 [INFO] MobileAdmin: Server listening on *:5839
    2011-05-05 15:14:21 [INFO] [SpawnMob] Using ops.txt!
    2011-05-05 15:14:21 [INFO] SpawnX enabled
    2011-05-05 15:14:21 [INFO] Permission system not detected, defaulting to OP
    2011-05-05 15:14:21 [INFO] [SuperPowers] Couldn't find permissions plugin. Defaulting to ops.txt
    2011-05-05 15:14:21 [INFO] SuperPowers v0.4 loaded!
    2011-05-05 15:14:21 [INFO] If you're using CraftBukkit 617 flying WILL NOT work. Please don't post about it to the thread.
    2011-05-05 15:14:22 [INFO] [Tele++] version [1.3.3a] loaded
    2011-05-05 15:14:22 [INFO] TimeShift version 2.0.1 is enabled!
    2011-05-05 15:14:22 [INFO] Warpz0r version 1.2.3 is enabled
    2011-05-05 15:14:22 [INFO] WelcomeMe version 1.1.1 is enabled!
    2011-05-05 15:14:22 [INFO] [WolfPound] - Version 0.12 Enabled
    2011-05-05 15:14:22 [INFO] WorldEdit 4.4 enabled.
    2011-05-05 15:14:22 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    2011-05-05 15:14:22 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
    2011-05-05 15:14:22 [INFO] WorldGuard: (BlastCraft) Single session is enforced.
    2011-05-05 15:14:22 [INFO] WorldGuard: (BlastCraft) TNT ignition is blocked.
    2011-05-05 15:14:22 [INFO] WorldGuard: (BlastCraft) Lighters are blocked.
    2011-05-05 15:14:22 [INFO] WorldGuard: (BlastCraft) Lava fire is blocked.
    2011-05-05 15:14:22 [INFO] WorldGuard: (BlastCraft) All fire spread is disabled.
    2011-05-05 15:14:22 [INFO] WorldGuard: Loaded configuration for world 'BlastCraft"
    2011-05-05 15:14:22 [INFO] WorldGuard: 2 regions loaded for 'BlastCraft'
    2011-05-05 15:14:22 [INFO] WorldGuard 5.0-alpha10 enabled.
    2011-05-05 15:14:22 [INFO] [xAuth] Loading player accounts..
    2011-05-05 15:14:22 [INFO] [xAuth] Done! Loaded 5 Accounts!
    2011-05-05 15:14:22 [INFO] [xAuth] Permissions plugin not detected, defaulting to ops.txt
    2011-05-05 15:14:22 [INFO] [xAuth] v1.2.3 Enabled!
    2011-05-05 15:14:22 [INFO] Done (0.922s)! For help, type "help" or "?"
    2011-05-05 15:14:31 [INFO] CButD: Plugin-Update-Check started
    2011-05-05 15:14:32 [INFO] No source for AdminCmd-4.5.jar ask the Author to give me one
    2011-05-05 15:14:32 [INFO] CraftBukkitUpToDate.jar changed, but you have it in your Update-Folder.
    2011-05-05 15:14:32 [INFO] AdminCmd.jar changed, but you have it in your Update-Folder.
    2011-05-05 15:14:33 [INFO] DeathTpPlus.jar changed, try to download the new
    2011-05-05 15:14:33 [INFO] No source for HelpCenter.jar ask the Author to give me one
    2011-05-05 15:14:33 [INFO] No source for MobileAdmin.jar ask the Author to give me one
    2011-05-05 15:14:34 [INFO] No source for Warpz0r.jar ask the Author to give me one
    2011-05-05 15:14:34 [INFO] No source for WorldEdit.jar ask the Author to give me one
    2011-05-05 15:14:34 [INFO] No source for WorldGuard.jar ask the Author to give me one
    2011-05-05 15:14:35 [INFO] xAuth.jar changed, but you have it in your Update-Folder.
    2011-05-05 15:14:35 [INFO] CButD: 1 plugins were updated, please copy them into your plugins folder.
    2011-05-05 15:14:35 [INFO] CButD: Plugin-Update-Check finished
    
     
  14. Offline

    Jake Buly

    How can I edit the /help for each group.
    Example.
    - I don't want regular members to have the ability to /ban /eco etc...

    Please Help!
     
  15. Offline

    Jeyge

    If you don't want them from seeing the help topics on those commands, you will need a help plugin. I currently use Help but I know there are others. One thing to keep in mind is that they are only as good as the help topics people create for them though.
    My guess would be that line 53 is that : with nothing else before or after it. I would think you meant for a user name to be before the :.
    Yep, everyone not found in the users list should end up in the group with default set to true.

    That is usually caused by a missing permissions file. Check to make sure your permissions files are named <world>.yml.
    Permissions doesn't save to the file so I wouldn't think this plugin is causing that.
    You missed the really important lines from your server.log. The next few lines would have said exactly what was broken but it wasn't hard to find. You have a ; at the end of - '-spyder.fun; instead of a closing '. But, even fixed, that won't do what you want. When you give a group '*', you can't currently take permissions away from it so I would delete everything after the '*' and it should work. Except that you filled in the copies with your netherWorld which I believe will override everything in the file and only take what is in your netherWorld.yml file.
    There isn't anything like that in Permissions but you can use another plugin like PermissionsPlus to do just that.

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

    Marre

    Thank you will fix it when i have time and report back if its ok
     
  17. Offline

    Ninjaii

    What is the node for the /give command (just the vanilla bukkit), is is 'general.give' or 'general.items' ?
    Everytime i try and give it to my mod it doesn't allow the command to work.
     
  18. Offline

    Jeyge

    You would need to run a plugin like DefaultPermissions to set the permissions for the default commands.

    You are missing a ' on the - 'icoland.misc.canbuild line.

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

    Nick Lozon

    Are you using a plugin or control panel to set up permissions? I don't think Permissions will ever output the file and mess it up.

    Try just 'give'?

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

    sh4nks

    Hey!

    i have a problem... i doesnt have any permissions but i dont know why.. the YAML Parser says that everything is ok
    and i cant delete or place any blocks

    this is my config file:

    Show Spoiler

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
        Player:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'commandbook.who'
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'commandbook.setspawn'
                - 'commandbook.weather.*'
                - 'commandbook.spawn'
                - 'commandbook.teleport'
                - 'commandbook.call'
                - 'commandbook.say'
                - 'commandbook.say.me'
                - 'commandbook.msg'
        Contributor:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'commandbook.who'
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'commandbook.setspawn'
                - 'commandbook.weather.*'
                - 'commandbook.spawn'
                - 'commandbook.teleport'
                - 'commandbook.call'
                - 'commandbook.say'
                - 'commandbook.say.me'
                - 'commandbook.msg'
                - 'commandbook.whereami.compass'
                - 'commandbook.whois'
                - 'commandbook.whois.other'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    users:
        UserX1_ME:
            group: Admins
            permissions:
        UserX2:
            group: Player
            permissions:
        UserX3:
            group: Admins
            permissions:
        UserX4:
            group: Player
            permissions:
        UserX5:
            group: Player
            permissions:


    can someone help me please?
    big thanks!

    cheers
     
  21. Offline

    woodzy

    get red of the space between
    - '*'
    users:
    and also make shure ur NOT USEING TAB use 4 spaces

    im trying tio have diffrent permissons for 2 diffrent worlds doesnt seem to be working
    this is the main world http://pastebin.com/kB6ctPgu
    this is the 2nd world http://pastebin.com/qfZtPsQY
    the permissons from the main world are carrying over to the 2nd world
    and yes the .yml files are named right
    permissons 2.7.2
    CB# 740

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  22. anyone know what this error might be?
    Sorry if im posting this in the wrong forum or anything but its 4am and i need to get this working before i go to bed >.< i apretiate all the help i can get <3


    03:04:16 [ALLVARLIG] Could not load 'plugins\Permissions.jar' in folder 'plugins
    ':
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:138)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: while parsing a block collection
    in "<reader>", line 78, column 13:
    - 'foo.bar'giveto.item.beginners ...
    ^
    expected <block end>, but found Scalar
    in "<reader>", line 78, column 24:
    - 'foo.bar'giveto.item.beginnerset'HomeX.*' ...
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:520)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
    ... 13 more
     
  23. Offline

    Jeyge

    It means your permissions.yml file is a little messed up. From the looks of the error message, it looks like you meant to replace 'foo.bar' with giveto.item.beginnerset but instead appended it to the line. Although, reading the second error, it may be that you typed everything on one line.
     
  24. I did it like this:

    Moderator:
    default: false
    info:
    prefix: 'OP'
    suffix: ''
    build: true
    inheritance:
    - Trusted user
    permissions:
    - 'HomeX.*'wrath.*'lockette.admin.reload'lockette.admin.create'lockette.admin.snoop' --->

    ow sorry for my language i should do it like this right:
    Moderator:
    default: false
    info:
    prefix: 'OP'
    suffix: ''
    build: true
    inheritance:
    - Trusted user
    permissions:
    - 'HomeX.*'
    - wrath.*'
    - lockette.admin.reload'lockette.admin.create'lockette.admin.snoop'

    One line per plugin? tired mistake by me if so >.<
     
  25. Offline

    Jeyge

    Yep, one per line.
     
  26. Well like Adam savage says: Well theres your problem >.< Thanks for the help, Big love <3
     
  27. Offline

    pyromanic

    The following code is from the getPermissionInteger function of the Control class.
    Code:
    if (group != null || !group.isEmpty()) {
                userGroupPermission = this.getGroupPermissionInteger(world, group, permission);
    }
    
    I believe the logical operator in the if statement should be changed to && to prevent a NullPointerException when attempting to check !group.isEmpty().

    I found this after investigating a user error report for my plugin, ShelfSpeak:
    Code:
    2011-05-05 18:41:14 [SEVERE] Could not pass event PLAYER_MOVE to ShelfSpeak
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getPermissionInteger(Control.java:1066)
        at pyromanic.ShelfSpeak.ssPermissions.maxRadius(ssPermissions.java:116)
        at pyromanic.ShelfSpeak.ssPlayerListener.onPlayerMove(ssPlayerListener.java:110)
        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:242)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:130)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        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)
    
     
  28. Offline

    Dragonntiger

    hey err, no one's helping me on my thread so rather i'd post on here,.... my problem is that in game my friend with a lower rank than i, admin, has his commands denied.

    Code:
    plugin:
    
    permissions:
    system: default
    copies: null
    groups:
    
    Guest:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance: null
    permissions:
    - essentials.spawn
    - essentials.help
    - mywarp.warp.*
    - essentials.rules
    - essentials.motd
    - essentials.afk
    - essentials.me
    - essentials.list
    
    VIP:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Guest
    permissions:
    - AutoRepair.access
    - AutoRepair.repair
    - essentials.home
    - essentials.sethome
    - essentials.compass
    - essentials.jump
    - essentials.back.*
    - essentials.msg
    - essentials.mail.*
    - craftbook.*
    
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - VIP
    permissions:
    - essentials.time
    - essentials.item
    
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance: null
    permissions:
    - essentials.tp
    - essentials.tpahere
    - '*'
    
    Skrillex:
    default: false
    info:
    prefix: '&3'
    suffix: '&4'
    build: true
    inheritance: null
    permissions:
    - '*'
    
    Cpt:
    default: false
    info:
    prefix: '&8'
    suffix: '&9'
    build: true
    inheritance: null
    permissions:
    - '*'
    
    users:
    Mynameisskrillex:
    group: Skrillex
    permissions: null
    
    scpo:
    group: VIP
    permissions: null
    
    aguyyoudontkno:
    group: Admins
    permissions: null
    
    iamkewl69:
    group: Cpt
    permissions: null
     
  29. So can i do:
    - 'lockette.admin.create'lockette.admin.snoop'

    or should i do:
    - 'lockette.admin.create'
    - 'lockette.admin.snoop'

    ?
     
  30. Offline

    Dragonntiger

    you should do the second choice
     
  31. okay thanks :D As i said previously its 4am and i feel like a brickhead :p This is basicly the first time ive come into contact with java :eek:

    once again big love <3
     
Thread Status:
Not open for further replies.

Share This Page