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

    Jeyge

    You are just running a default MineCraft server. Take a look here for information on setting up a Bukkit server if that is what you really want to do. You will need to be running Bukkit to use these plugins.
     
  3. Offline

    juicychris47

    But shouldent it work on just a default MineCraft Server? and if it does not, then can i transfer the world to the bukkit server?

    I tryed doing that, but when i put in the RAM amount or when i try to run the server it says, Invalid Maximum Heap Size -Xmx[1024]M Could Not Create The Java Virtuel Machine
    Logout... And i changed the RAM to 512 and it said the same thing...

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

    Jeyge

    Pretty much everything on this site is a Bukket plugin that runs under Bukket. There are default server mods out there if that is what you are looking for. As for the transfer of a world, I don't see any problem with it. Just make a backup of the directory and then you can always fall back to that if there are problems.

    You would use "-Xmx1024M" and not "-Xmx[1024]M". You don't need the []. But we are taking up space in the Permissions plugin for something that should be in the help forum. We can continue this there if you are still having problems. Just make a new post and fill in the requested information from the red link at the top of the page.

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

    juicychris47

    But i would like to make a bukkit server so i can have things such as worldguard or worldedit, but there is just a problem with setting it up which isa what i said before

    It worked! Thank you soo much man! you have been a great help

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

    Maxis010

    I would say so, protection plugins that use the BLOCK_PLACE and BLOCK_BREAK events to give build and destroy protection don't catch water and lava being placed/removed

    I can't remember which plugin it was (will have a look around) but I know there is one out there that also picks up on water and lava placement using an alternative method
    if I find it and it's open source I'll post a link so you can take a look
     
  7. Offline

    Zerix807

    So, i'm having some problems with Permissions. First of all I'm getting the SEVERE Cannot pass block_place/block_destroy event to Permissions. I've been unsuccessful in finding a fix, but it may be related to my second problem. It is creating the 'world'.yml files, but the files are completely empty. I just downloaded the newest version of pretty much everything so I'm not sure what the problem is.
     
  8. Offline

    juicychris47

    Just a quik question, what command is it to change someones group? please reply
     
  9. Offline

    Jeyge

    The BLOCK_PLACE/BLOCK_BREAK problems are usually caused by the permissions.yml file not being named correctly. If you are seeing the dummy permissionsworld.yml file being created, then this is exactly your problem. Make sure your permissions yml file is in the permissions directory and is named exactly <world name>.yml.

    Permissions doesn't currently have the ability to change a group in game but you can use PermissionsPlus to do this.

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

    Zerix807

    Is it supposed to automatically create those files? I did what you said and it works just fine now. Thanks a lot.
     
  11. Offline

    xMasterPiecesx

    Hey! Great mod, but I've got a problem: Permissions isn't really working. And he is not working with any other mods at all.
    This is my file:

    Code:
    plugin:
        permissions:
            system: default
            copies:
        groups:
            Default:
                default: true
                info:
                    prefix: ''
                    suffix: ''
                    build: false
                inheritance:
                permissions:
                    - 'MyWorld.bar'
                    - 'essentials.signs.heal.use'
                    - 'essentials.tp'
                    - 'essentials.tpahere'
                    - 'essentials.tpa'
                    - 'essentials.tpaccept'
                    - 'essentials.tpdeny'
                    - 'essentials.mail'
                    - 'essentials.helpop'
                    - 'essentials.suicide'
    
            Moderator:
                default: false
                info:
                    prefix: ''
                    suffix: ''
                    build: true
                inheritance:
                    - Default
                permissions:
                    - 'bar.MyWorld'
                    - 'essentials.signs.heal.create'
                    - 'essentials.signs.heal.use'
                    - 'essentials.top'
                    - 'essentials.tp'
                    - 'essentials.tphere'
                    - 'essentials.tpahere'
                    - 'essentials.tpa'
                    - 'essentials.tpaccept'
                    - 'essentials.tpdeny'
                    - 'essentials.warp.*'
                    - 'essentials.msg'
                    - 'essentials.list'
                    - 'essentials.mail.*'
                    - 'essentials.helpop'
                    - 'essentials.whois'
                    - 'essentials.nick'
                    - 'essentials.gc'
                    - 'essentials.home'
                    - 'essentials.sethome'
                    - 'essentials.spawnmob'
                    - 'essentials.clearinventory'
                    - 'essentials.broadcast'
                    - 'essentials.antioch'
                    - 'essentials.burn'
                    - 'essentials.ping'
                    - 'essentials.kick'
                    - 'essentials.togglejail'
                    - 'essentials.setjail'
                    - 'essentials.give'
                    - 'essentials.item'
                    - 'essentials.kit.*'
                    - 'essentials.tree'
                    - 'essentials.bigtree'
                    - 'essentials.heal'
                    - 'essentials.suicide'
            Admins:
                default: true
                info:
                    prefix: ''
                    suffix: ''
                    build: true
                inheritance:
                permissions:
                    - '*'
        users:
            xMasterPiecesx:
                group: Admins
                info:
                    prefix: ''
                    suffix: ''
    
    Other mods that I have, are: Essentials, Lockette and WorldEdit.
    Now the full story: I can use all the mods, but I can't adjust them with Permissions. With this, everyone can use every mod! And I don't want those newbies to **** with my map. I asked a few other moderators and they couldn't find the problem. They thought there was nothing wrong with my file. But there IS something wrong, because if not, everything would have been fine. Oh yeah, the server don't give any problems when starting up.
    Hopefully you can find it, because I'm busy with this now for a month and I don't know what it is.

    Nick
     
  12. Offline

    Jeyge

    It won't create your <world name>.yml file. You have to create that yourself but it sounds like this is the first time you have set up Permissions so you may have missed the readme. I'm guessing you didn't download the zip version. In there is a file that you copy to your permissions directory and rename to your world name along with edit it.

    Looks like your groups and users ended being indented by an extra 4 spaces. Give this one a try and let me know if it works.
    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'MyWorld.bar'
                - 'essentials.signs.heal.use'
                - 'essentials.tp'
                - 'essentials.tpahere'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'essentials.suicide'
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.MyWorld'
                - 'essentials.signs.heal.create'
                - 'essentials.signs.heal.use'
                - 'essentials.top'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.tpahere'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.warp.*'
                - 'essentials.msg'
                - 'essentials.list'
                - 'essentials.mail.*'
                - 'essentials.helpop'
                - 'essentials.whois'
                - 'essentials.nick'
                - 'essentials.gc'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawnmob'
                - 'essentials.clearinventory'
                - 'essentials.broadcast'
                - 'essentials.antioch'
                - 'essentials.burn'
                - 'essentials.ping'
                - 'essentials.kick'
                - 'essentials.togglejail'
                - 'essentials.setjail'
                - 'essentials.give'
                - 'essentials.item'
                - 'essentials.kit.*'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.heal'
                - 'essentials.suicide'
        Admins:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users:
        xMasterPiecesx:
            group: Admins
            info:
                prefix: ''
                suffix: ''
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  13. Offline

    juicychris47

    PLease??? how to i change groups??
     
  14. Offline

    Jeyge

    You have a response to the last time you asked this. Did you not like it?
     
  15. Offline

    juicychris47

    srooy i didnt see it
     
  16. Offline

    boxxertrumps

    I made myself Default to test new plugins, can't do anything. No warp, WEnavigation, nothing. What am I doing wrong?
    http://pastebin.com/XhJL82EE
     
  17. Offline

    Jeyge

    Your inheritance for the SuperMod group should look more like this:
    Code:
        SuperMod:
            default: false
            info:
                rank: 4
                build: true
            inheritance:
            - Moderator
    
    I'm guessing that was breaking all of the groups below that level.
     
    boxxertrumps likes this.
  18. Offline

    boxxertrumps

    Apparently it was, even though the default group doesn't interact with any other groups.
    EDIT: In theory.

    PS, thanks!
     
  19. Offline

    Dragonntiger

    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Guest:
            default: true
            info:
                prefix: '&f'
                suffix: ''
                build: false
            inheritance: null
            permissions:
            - 'essentials.spawn'
            - 'essentials.help'
            - 'essentials.helpop'
            - 'mywarp.warp.*'
            - 'essentials.rules'
            - 'essentials.motd'
            - 'essentials.afk'
            - 'essentials.me'
            - 'essentials.list'
        Player:
            default: false
            info:
                prefix: '&f'
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - 'essentials.spawn'
            - 'essentials.help'
            - 'essentials.helpop'
            - 'mywarp.warp.*'
            - 'essentials.rules'
            - 'essentials.motd'
            - 'essentials.afk'
            - 'essentials.me'
            - 'essentials.list'
            - 'stargate.use'
        Builder:
            default: false
            info:
                prefix: '&e'
                suffix: ''
                build: true
            inheritance:
            - Player
            permissions:
            - 'essentials.afk'
            - 'essentials.back.ondeath'
            - 'essentials.balance'
            - 'essentials.chat.shout'
            - 'essentials.compass'
            - 'essentials.kit'
            - 'essentials.kit.tools'
            - 'essentials.mail'
            - 'essentials.mail.send'
            - 'essentials.me'
            - 'essentials.msg'
            - 'essentials.nick'
            - 'essentials.pay'
            - 'essentials.portal'
            - 'essentials.protect'
            - '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.worth'
            - 'craftbook.*'
            - 'stargate.use'
        Adv. Builder:
            default: false
            info:
                prefix: '&e'
                suffix: ''
                build: true
            inheritance:
            - Builder
            permissions:
            - 'AutoRepair.access'
            - 'AutoRepair.repair'
            - 'stargate.free.use'
        Member:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance:
            - Adv. Builder
            permissions:
            - 'essentials.tpa'
            - 'essentials.tpaccept'
            - 'essentials.tpahere'
            - 'essentials.tpdeny'
            - 'essentials.warp'
            - 'essentials.warp.list'
            - 'stargate.create'
            - 'myhome.home.*'
        Mayor:
            default: false
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
            - Member
            permissions:
            - 'essentials.back'
            - 'essentials.broadcast'
            - 'stargate.free.use'
            - 'stargate.free.create'
            - 'myhome.home.*'
        OP:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
            - Mayor
            permissions:
            - 'essentials.ban'
            - 'essentials.banip'
            - 'essentials.delwarp'
            - 'essentials.depth'
            - 'essentials.eco'
            - 'essentials.getpos'
            - 'essentials.item'
            - 'essentials.jump'
            - 'essentials.kick'
            - 'essentials.kill'
            - 'essentials.setwarp'
            - 'essentials.time'
            - 'essentials.togglejail'
            - 'essentials.top'
            - 'essentials.tp'
            - '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'
            - 'essentials.ext'
            - 'stargate.create'
            - 'stargate.free.use'
            - 'stargate.free.create'
            - 'stargate.use'
            - 'stargate.create'
            - 'stargate.create.personal'
            - 'stargate.destroy.all'
            - 'stargate.destroy.owner'
            - 'stargate.hidden'
            - 'stargate.private'
            - 'stargate.free.use'
            - 'stargate.free.create'
            - 'stargate.free.destroy'
            - 'stargate.world.{worldname}'
            - 'stargate.network.{networkname}'
            - 'stargate.option.hidden'
            - 'stargate.option.alwayson'
            - 'stargate.option.private'
            - 'stargate.option.free'
            - 'myhome.*'
        Head OP:
            default: false
            info:
                prefix: '&7'
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - 'assignpermissions.add.all'
            - 'assignpermissions.add.group.[groupname]'
            - 'assignpermissions.del.all'
            - 'assignpermissions.del.group.[groupname]'
            - 'assignpermissions.list.all'
            - 'assignpermissions.list.group.[groupname]'
            - '*'
        Vice Admin:
            default: false
            info:
                prefix: '&8'
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - '*'
        Head Admin:
            default: false
            info:
                prefix: '&b'
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - '*'
    users:
        Knight1337:
            group: Head Admin
            permissions: null
        aguyyoudontkno:
            group: Vice Admin
            permissions: null
        SCPO:
            group: Member
            permissions: null
        iAmKewl69:
            group: Vice Admin
            permissions: null
    
    ohkay now that the other one is fixed, may you fix this one too? :) err same guy, SCPO, is getting same error o-o same reasons
     
  20. I get this error every time I start my server. Please help?

    Code:
    01:32:15 [SEVERE] Could not load 'plugins/Permissions.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:160)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
     
  21. Offline

    Jeyge

    Upgrade to Java v1.6.
     
  22. Offline

    froobasaures

    im getting similar thing: 06:52:03 [SEVERE] ebean.properties not found
    06:52:03 [INFO] DataSourcePool [HeroMagic] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    06:52:03 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    06:52:03 [INFO] Entities enhanced[0] subclassed[2]
    06:52:03 [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(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    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: java.lang.NoSuchMethodError: com.nijiko.Misc.delete(Ljava/lang/String;)V
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:102)
    ... 13 more
    can you help?

    okay ill upgrade

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

    The_Nut

    You also want to set the default: option to false so that new people will not be an admin by default. :)

    under the permissions: section, you need to indent another 4 spaces. This is what it should look like
    Code:
        Head OP:
            default: false
            info:
                prefix: '&7'
                suffix: ''
                build: true
            inheritance: null
            permissions:
                - 'assignpermissions.add.all'
                - 'assignpermissions.add.group.[groupname]'
                - 'assignpermissions.del.all'
                - 'assignpermissions.del.group.[groupname]'
                - 'assignpermissions.list.all'
                - 'assignpermissions.list.group.[groupname]'
                - '*'
        Vice Admin:
            default: false
            info:
                prefix: '&8'
                suffix: ''
                build: true
            inheritance: null
            permissions:
                - '*'
        Head Admin:
            default: false
            info:
                prefix: '&b'
                suffix: ''
                build: true
            inheritance: null
            permissions:
                - '*'
    
    Also under the Head OP: permissions:, you have -'*' If you have this, then you should not have any other permissions, since it gives them everything.
    - 'assignpermissions.add.all'
    - 'assignpermissions.add.group.[groupname]'
    - 'assignpermissions.del.all'
    - 'assignpermissions.del.group.[groupname]'
    - 'assignpermissions.list.all'
    - 'assignpermissions.list.group.[groupname]'
    This should go away.

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

    rcjrrjcr

    Permissions 3.0 is now available through the "Latest Dev Build" link. It's quite undocumented, but some features are documented in the wiki. Note that it has not been proven safe and stable, so DO NOT USE THIS IN A NON-TESTING SERVER.
     
  25. Offline

    CourseLanguage

    Hey can someone tell me whats wrong with my world.yml

    It was working fine until I added alot of permissions but then I removed them and it still dont work.

    The problem is that i put myself as Admins but It seems to have put me as default and i get "You do not have permission"

    Here is a copy of my world.yml
    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'
                - 'towny.wild.*'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'lwc.protect'
                - 'mcmmo.motd'
                - 'mcmmo.regeneration'
                - 'mcmmo.chat.partychat'
                - 'mcmmo.commands.ability'
                - 'mcmmo.commands.ptp'
                - 'mcmmo.commands.party'
                - 'mcmmo.ability.woodcutting'
                - 'mcmmo.ability.mining'
                - 'mcmmo.ability.axes'
                - 'mcmmo.ability.excavation'
                - 'mcmmo.ability.swords'
                - 'mcmmo.ability.unarmed'
                - 'mcmmo.ability.herbalism'
                - 'mcmmo.skills.*'
                - 'warpz0r.warp'
                - 'warpz0r.list'
                - 'warpz0r.home'
                - 'warpz0r.sethome'
                - 'iConomyChestShop.shop.create'
                - 'iConomyChestShop.shop.buy'
                - 'iConomyChestShop.shop.sell'
                - 'iConomyChestShop.command.iteminfo'
        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:
        CourseLanguage:
            group: Admins
            permissions:
    #    Derpina:
    #        group: Admins
    #        permissions:
    #            - '-derp.derp'
     
  26. Offline

    JanTTuX

    this error keeps haunting me

    [Lnet.minecraft.server.Statistic;@587c94
    146 recipes
    [Lnet.minecraft.server.Statistic;@587c94
    16 achievements
    14:40:26 [INFO] Starting minecraft server version Beta 1.5_02
    14:40:26 [INFO] Loading properties
    14:40:26 [INFO] Starting Minecraft server on *:25565
    14:40:26 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    14:40:26 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    14:40:26 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    14:40:26 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    14:40:26 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-729-
    g5ee3f0f-b766jnks (MC: 1.5_02)
    14:40:27 [INFO] Preparing level "perttilandia1"
    14:40:27 [INFO] Preparing start region
    14:40:28 [INFO] Preparing spawn area: 36%
    14:40:29 [INFO] Preparing spawn area: 97%
    14:40:30 [INFO] LWC Loading shared objects
    14:40:30 [INFO] LWC Native library: plugins/LWC/lib/native/Windows/x86/sqlit
    ejdbc.dll
    14:40:30 [INFO] Starting Minequery server on *:25566
    14:40:30 [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 Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:164)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:191)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:115)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: mapping values are not allowed here
    in "<reader>", line 86, column 16:
    default: false
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:74
    5)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:307)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:564)
    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:12
    2)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfigurati
    on.java:58)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    132)
    ... 13 more
    14:40:30 [INFO] [AdminCmd] Plugin Enabled. (version4.7.1)
    14:40:30 [INFO] AppleTree activated.
    14:40:30 [INFO] [BlackJack v1.5]: Table ready
    14:40:30 [INFO] BlocksOnGlass version 0.22 is enabled!
    14:40:30 [INFO] [BoosterTrax] Plugin enabled! (version1.1)
    14:40:30 [INFO] Chat v 0.1 is enabled
    14:40:30 [INFO] CopyCat 0.2 Enabled
    14:40:30 [INFO] DeathMessagePlugin version 1.9 is enabled without permissions!
    14:40:30 [INFO] Loaded Essentials build 2.2.8 maintained by Zenexer, ementalo, A
    elux, Brettflan, KimKandor, snowleo and ceulemans.
    14:40:30 [INFO] FireFix configuration loaded.
    14:40:30 [INFO] FireFix version 1.1 enabled.
    14:40:30 [INFO] [FishPeople] version 1.3 is enabled!
    14:40:30 [SEVERE] [GODMODE] The settings file isn't properly set up. Please set
    it up before using the plugin. The plugin will be disabled until you do.
    14:40:30 [INFO] [GODMODE] Disabled
    14:40:30 [INFO] HomeX enabled
    14:40:30 [INFO] Permission system not detected, defaulting to OP
    14:40:30 [INFO] iChat (v2.2.3) enabled
    14:40:30 [INFO] [iConomy] Logging is currently disabled.
    14:40:31 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    14:40:31 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    14:40:31 [INFO] [BlackJack] Successfully linked with iConomy.
    14:40:31 [INFO] InstaBreak version 1.5 is enabled!
    14:40:31 [INFO] Permission system not detected, defaulting to OP
    14:40:31 [INFO] Login Queue Started
    14:40:31 [INFO] LWC Loaded 116 locale strings (0 overrides)
    14:40:32 [INFO] LWC Loading SQLite
    14:40:32 [INFO] SQLite Using: Native
    14:40:32 [INFO] LWC At version: v2.31
    14:40:32 [INFO] MobRider 0.37 enabled.
    14:40:32 [INFO] MobRider - Permissions Plugin Not Detected (enabling for all use
    rs)
    14:40:32 [INFO] [MotherNature] Neither Permissions or GroupManager found. Using
    ops.txt for permission handling
    14:40:32 [INFO] [MotherNature] Plugin enabled! (version 1.2)
    14:40:32 [INFO] [NETHRAR] Not listening for player respawns.
    14:40:32 [INFO] [NETHRAR] Normal world name: Perttilandia
    14:40:33 [INFO] Preparing spawn area for Perttilandia, 32%
    14:40:34 [INFO] Preparing spawn area for Perttilandia, 81%
    14:40:34 [INFO] [NETHRAR] Nether world name: Nether netherWorld
    14:40:35 [INFO] Preparing spawn area for Nether netherWorld, 52%
    14:40:37 [INFO] Preparing spawn area for Nether netherWorld, 89%
    14:40:37 [INFO] [NETHRAR] Normal : Nether scale: 8:1
    14:40:37 [INFO] [NETHRAR] Nethrar v1.4 enabled.
    14:40:37 [INFO] NoExplode version 1.4 is enabled!
    14:40:37 [INFO] [OddItem] 0.6.5 enabled
    14:40:37 [WARNING] [OddItem] Permissions not found. Using op-only mode.
    14:40:37 [SEVERE] [OddItem] Couldn't find item.txt or OddItem.yml.
    14:40:37 [INFO] [OddItem] Parsed 194 entries.
    14:40:37 [INFO] [OwnBlocks] Database read in from file
    14:40:37 [INFO] Permission system not detected, defaulting to OP
    14:40:37 [INFO] [OwnBlocks] version 9.0 initialized
    14:40:37 [INFO] SaddleBack version 1.2 is enabled!
    14:40:37 [INFO] SheepFeed version 1.2 by ArmEagle is enabled!
    14:40:37 [INFO] SheepFeed: Default configuration file written: plugins\SheepFeed
    \config.yml
    14:40:37 [INFO] [SignColours] Permission system not enabled. Enabling coloured s
    igns for all users
    14:40:37 [INFO] Skillz Enabled!
    14:40:37 [INFO] [SpawnMob] Using ops.txt!
    14:40:37 [INFO] SpawnX enabled
    14:40:37 [INFO] Permission system not detected, defaulting to OP
    14:40:37 [INFO] [STEPS] Steps - Enabled. By Adamki11s.
    14:40:37 [INFO] TravelPortals version 1.5 is enabled!
    14:40:37 [INFO] Done (1.028s)! For help, type "help" or "?"
    >
     
  27. Offline

    Revenger

    As per you log you have a error here.

    line 86, column 16
     
  28. Offline

    JanTTuX

    i know but idk how to fix it.
     
  29. Offline

    rcjrrjcr

    Post your config. And do that in code tags please.
     
  30. Offline

    lorki3

    Ok, i have been trying to get this to work the whole day.
    But i cant get it to work.

    The YAML file has no errors.
    I made the file using the permissions YAML helper.
    I have put myself in the admin group but when i start minecraft i dont have permission for anything.
    The admin group has the * permission.

    I dont get any errors.
    Hope this is enough information.

    I'm also on mac if that helps. ;)

    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:
      Admins:
        default: ''
        info:
          prefix: '&eAdmin'
          suffix: ''
          build: true
        inheritance: ''
        permissions:
          - '*'
      Default:
        default: ''
        info:
          prefix: 'Guest'
          suffix: ''
          build: false
        inheritance: ''
        permissions: ''
      Moderator:
        default: false
        info:
          prefix: 'Mod'
          suffix: ''
          build: true
        inheritance: ''
        permissions:
          - 'mywarp.*'
          - 'general.*'
      Players:
        default: ''
        info:
          prefix: '&1Player'
          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:
      MINESPODE:
        group: 'Players'
        permissions: ''
      lolz1997:
        group: 'Moderator'
        permissions: ''
      lorki3:
        group: 'Admins'
        permissions: '*'
    
    And if there are any errors in the file can anyone please edit it so it wil work
     
  31. Updated Java and I still got the same error. The update was "Java for Mac OS X 10.5 update 9"
    I'm pretty sure that's the latest update they have for Mac.. I could be wrong though.
    Could anything else be the problem?
     
Thread Status:
Not open for further replies.

Share This Page