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

    Zerco

    Under users info is missing a " : " so it's stopping there.

    Code:
    users:
        Wiliwilliam:
            group: Default
            info <----
                prefix: 'Cactus '
                suffix: ''
            permissions:
    
     
  3. Offline

    ctshiner

    Step one for any admin testing Permissions is REMOVE YOURSELF FROM OP FILE! I had so many headaches because I forgot to this. Certain plugins grant all permissions to OPs. I honestly dont even know why this file is still used
     
  4. Offline

    irobot

    i have a BIG problem and i think its asociated with permissions:

    when ever some one else tries to place a block or break one nothing happens

    what i have done:
    turned it back to normal server (no bukkit): worked
    opped the people: didn't work
    checked lag: none

    my permissions file:
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    - 'jumpto'
    - sortal.createwarp
    - sortal.placesign
    - sortal.warp
    - sortal.coords
    - sortal.delwarp
    - iConomy.payment
    - elevators.builder

    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'jumpto'
    - sortal.createwarp
    - sortal.placesign
    - sortal.warp
    - sortal.coords
    - sortal.delwarp
    - iConomy.payment
    - iConomy.admin.grant
    - iConomy.admin.set
    - iConomy.admin.hide
    - iConomy.admin.stats
    - elevators.builder
    - elevators.advancedbuilder

    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'jumpto'
    - sortal.createwarp
    - sortal.placesign
    - sortal.warp
    - sortal.coords
    - sortal.delwarp
    - iConomy.payment
    - iConomy.admin.set
    - iConomy.admin.reset
    - iConomy.admin.account.create
    - iConomy.admin.account.remove
    - iConomy.admin.stats
    - iConomy.admin.hide
    - iConomy.admin.grant
    - elevators.builder
    - elevators.advancedbuilder
    - elevators.operator

    users:
    fire:
    group: Admins
    permissions:
    Herpina:
    group: Moderator
    info:
    prefix: 'Moo'
    suffix: 'Cow'
    permissions:
    - 'herp.derp'
    Derpina:
    group: Admins
    permissions:
    - '-derp.derp'


    PS:all the comments are still there i just didnt copy and paste them if your wondering

    EDIT-i have confirmed that it is a problem with permissions: once i made my friend an admin he could break and place blocks

    i still need help because the main point of permissions is to stop everyone being able to do everything and making all admins is the exact same as no permissions
     

    Attached Files:

  5. Offline

    Malkierian

    Despite your not putting it in [ code] tags, I can tell already what your problem is: You haven't added anyone to the list under any other group, except "fire", and so everyone else is going to the default group, which can't build.
     
  6. Offline

    Gratlofatic

    I'm having the same problem. Here is my config:

    Permissions: http://pastebin.com/qtZ15iYm
    Log & Error: http://pastebin.com/T1Y1h9DY

    Error:

    Code:
    2011-04-25 21:06:34 [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:57)
    	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    	at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:136)
    	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 scanning for the next token
    found character 	'\t' that cannot start any token
     in "<reader>", line 89, column 22:
                    - Builder		
                             ^
    
    	at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
    	at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    	at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:510)
    	at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceFirstEntry.produce(ParserImpl.java:502)
    	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
     
  7. Offline

    Zerco

    You have a tab by builder.

    Code:
        EpicDonor:
            default: false
            info:
                prefix: '&f[&aI&2n&as&2a&an&2e&f] &f[&2Donor&f] '
                suffix: ''
                build: true
            inheritance:
                - Builder    <--- Line 89 Col 22 \t means tab is after this
    
    Get Notepad++ change the tab option to spaces and save it again.
     
  8. Offline

    Fellshadow

    This solved my problem! Thank you very much!
     
  9. Offline

    Celtic Minstrel

    Yes, this is 1.5 compatible. I think JackTDawson just didn't read your post properly (or misunderstood it).

    Sorry, that was not at all obvious to me. Even now I'm having difficulty reading it that way.

    You should pay more attention. It has been mentioned several times that it still works in 700+.

    No, you don't have to wait. You have an error in your config file on the line containing "worldedit.tool.tree": there is a missing close quote. I know Zerco tried to correct it, but he messed up and added an extra quote as well. <_< There's also a missing quote for "worldedit.fixwater".
     
  10. Offline

    Zerco

    Bah I'm just going to stop using quotes and stick to the new default.
     
  11. Offline

    Celtic Minstrel

    If you're going to not use quotes, I suggest running it through this YAML parser to make sure you didn't miss any that actually need the quotes.
     
  12. Offline

    irobot

    how do i allow the defualt group to build?
     
  13. Offline

    Zerco

    Under the default groups info change build: to true.
     
  14. Offline

    irobot

    thanks soooooooo much dude ur welcome in my server anytime ID:black__snow PASS:123 IP:5.11.8.29
     
  15. Offline

    Cookies326

    That worked. Thanks a lot. You rock, pal.
     
  16. Offline

    anstopa

    Welcome.
    How to set that example miner could only use the pick and shovel, a lumberjack ax only?
    Regards.
     
  17. Offline

    sibbo7

    Hey,

    just wanted to ask if theres something wrong with this.. NO command works.. if my users try /motd or something like that.. always says no permission

    tried with and without the ' '
     
  18. Offline

    EvilPlushToy

    EDIT: craziest thing ive ever seen in a yml (which isnt saying much really lol) apparently, it wanted me to remove some of the : from the yml lines. Even though they were there yesterday and the plugin worked fine with them :confused: this is the original error output.
    Code:
    09:44:08 [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:136)
            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:84)
            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
     in "<reader>", line 7, column 9:
                default: true
                ^
    expected <block end>, but found Scalar
     in "<reader>", line 26, column 12:
                - 'iConomyDeath.*'
                   ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
            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.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
    After fixing the indicated lines it kept telling me that random : (colons) in the yml were the error
    Keep up the good work Yeti i couldn't run my server without this
     
  19. Offline

    Truecorruptor

    try rewriting the line or section it says it in. I had same problem with my admins section.So i re wrote it and it worked

    By the way you should port forward ur ip. Instead of using hamachi. Plus no one wants to waste their time to download hamachi. (im making an assumption that you use hamachi becuase you have a pass and the id)

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

    Malkierian

    Again, not posted in code tags...
     
  21. Offline

    Kingofspades

    If it tells you that random colons are the error, make sure you arnt missing any before the colon that is giving the error

    ex: if you have
    Code:
    users:
        Kingofspades
            group:
                - Grouphere
            permissions:
                - 'Blah.Blah.blah'
    it will tell you that the colon after permissions is the error. It really means that the colon after "Kingofspades" is missing. If you put a colon after "Kingofspades:" the error will go away. post a copy of the yml and I can try and fix it if you like
     
  22. Offline

    Lynx88

    Does anyone know what would be causing this message, i'm trying to get my server hsot to update to pushing out build 720, they're using 707 atm, but they're beign slow, I don't know if using a slightly older craftbukkit build has an effect. I didn't get this error in 1.4.

    And here is my permissions file if it is neeeded:

    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Default:
            default: true
            info:
                prefix: '&f'
                suffix: ''
                build: false
            inheritance: null
            permissions:
            - essentials.help
            - essentials.helpop
            - essentials.list
            - essentials.motd
            - essentials.rules
            - essentials.spawn
            - mywarp.help
        Builder:
            default: false
            info:
                prefix: '&a'
                suffix: ''
                build: true
            inheritance: Default
            permissions:
            - lwc.protect
            - essentials.afk
            - essentials.back.ondeath
            - essentials.balance
            - essentials.chat.shout
            - essentials.compass
            - essentials.home
            - essentials.kit
            - essentials.kit.tools
            - essentials.mail
            - essentials.mail.send
            - essentials.me
            - essentials.msg
            - essentials.nick
            - essentials.pay
            - essentials.portal
            - essentials.protect
            - essentials.sethome
            - essentials.signs.buy.use
            - essentials.signs.disposal.create
            - essentials.signs.disposal.use
            - essentials.signs.free.use
            - essentials.signs.heal.use
            - essentials.signs.mail.create
            - essentials.signs.mail.use
            - essentials.signs.protection.create
            - essentials.signs.protection.use
            - essentials.signs.sell.use
            - essentials.signs.trade.create
            - essentials.signs.trade.use
            - essentials.suicide
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpahere
            - essentials.tpdeny
            - essentials.warp
            - essentials.warp.list
            - essentials.worth
            - mywarp.warp.*
            - myhome.home.*
        Moderator:
            default: false
            info:
                prefix: '&d'
                suffix: ''
                build: true
            inheritance:
            - Builder
            permissions:
            - worldguard.*
            - lwc.mod
            - cleaner.*
            - essentials.back
            - essentials.ban
            - essentials.banip
            - essentials.broadcast
            - essentials.delwarp
            - essentials.depth
            - essentials.eco
            - essentials.getpos
            - essentials.jump
            - essentials.kick
            - essentials.kill
            - essentials.setwarp
            - essentials.time
            - essentials.togglejail
            - essentials.top
            - essentials.tp
            - essentials.tphere
            - essentials.tpo
            - essentials.tpohere
            - essentials.tppos
            - essentials.tptoggle
            - essentials.unban
            - essentials.unbanip
            - essentials.whois
            - essentials.world
            - essentials.ext
            - nocheat.notify
        Admins:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - '*'
    
     (I left out the users)
    I've configured notepad to replace tabs with 4 spaces, and I try to not use tabs anyway.
    And my config file is named the same as my world.

    Kind Regards
    Lynx
     
  23. Offline

    Fluub

    Hey guys
    thanks a lot for your answer Zerco it worked.
    But i got another problem :
    I can set a prefix for myself but when i try to set one for a lambda player it doesn't show it :(
    This is my config :
    Code:
        Wiliwilliam:
            group: Default
            info:
                prefix: 'Cactus '
                suffix: ''
            permissions: null
     
    Thanks again for your help
     
  24. Offline

    tom

    Do you have iChat installed?
     
  25. Offline

    Fluub

    Yes but my prefix works
     
  26. Offline

    EvilPlushToy

    I figured out my problem and now feel like shooting myself in the foot -_-
    I don't think i had even changed the yml between when it was working and when it wasn't, but i dunno anyway, thanks a lot for you help, it wasn't exactly what you said but looking for that is how i spotted the error. I put a " where i shoulda had a ' *facepalm*
     
  27. Offline

    tom

    Then what doesnt?
     
  28. Offline

    Fluub

    The others player's prefixs
     
  29. Offline

    irobot

    ye i use it cause i have friends that use hamachi.

    im having another problem might be with build 720 but im not sure permissions wont load :p

    [Lnet.minecraft.server.Statistic;@6e293a
    146 recipes
    [Lnet.minecraft.server.Statistic;@6e293a
    16 achievements
    03:51:04 [INFO] Starting minecraft server version Beta 1.5_02
    03:51:04 [INFO] Loading properties
    03:51:04 [INFO] Starting Minecraft server on 5.11.8.29:25565
    03:51:04 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    03:51:04 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    03:51:04 [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.
    03:51:04 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    03:51:04 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-689-
    gd5a5f52-b720jnks (MC: 1.5_02)
    03:51:04 [INFO] Preparing level "world"
    03:51:04 [INFO] Preparing start region
    03:51:05 [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:136)
    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 scanning a simple key
    in "<reader>", line 153, column 9:
    permissions:['*']
    ^
    could not found expected ':'
    in "<reader>", line 213, column 1:
    ##
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(Scanne
    rImpl.java:400)
    at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.jav
    a:231)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    2)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(P
    arserImpl.java:592)
    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.composeNode(Composer.java:132)
    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: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
    03:51:05 [INFO] [ecoCreature] v0.0.5a (Lederhosen) loaded.
    03:51:05 [INFO] [ecoCreature] Please configure ecoCreature (plugins/ecoCreature.
    yml) before continuing. Plugin disabled.
    03:51:05 [INFO] Elevators version 1.4.2 is enabled! 4 elevators in world "world"
    loaded.
    03:51:05 [INFO] [HeroBounty] HeroBounty version 1.7.7 enabled.
    03:51:05 [INFO] [iConomy] Logging is currently disabled.
    03:51:06 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    03:51:06 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    03:51:06 [INFO] [HeroBounty] iConomy 4.65 found.
    03:51:06 [INFO] [Jail] Loaded 1 jail zones.
    03:51:06 [INFO] [Jail] Loaded 0 prisoners.
    03:51:06 [INFO] [LC] Level Combat Loaded
    03:51:06 [INFO] [LC] Level Dexterity Loaded.
    03:51:06 [INFO] [LC] Level Excavation Loaded
    03:51:06 [INFO] [LC] Level Farming Loaded
    03:51:06 [INFO] [LC] Level Mining Loaded
    03:51:06 [INFO] [LC] Level Range Loaded.
    03:51:06 [INFO] [LC] Level Swimming Loaded
    03:51:06 [INFO] [LC] Level WoodCutting Loaded
    03:51:06 [INFO] [LC] No Permissions found enabling all levels.
    03:51:06 [INFO] [LC] Admin commands for OP.
    03:51:06 [INFO] [LC] Using FlatFile To Store Data.
    03:51:06 [INFO] [LC] LevelCraftCore 0.1.3 Loaded
    03:51:06 [INFO] [LC] Loaded levels:[Swimming, Dexterity, Combat, WoodCutting, Ra
    nge, Mining, Farming, Excavation]
    03:51:06 [INFO] Lockette version 1.3.6 is being enabled! Yay! (Core version 1.
    0)
    03:51:06 [INFO] Lockette: Detected craftbukkit build [720] ok.
    03:51:06 [INFO] Lockette: Using ops file for admin permissions.
    03:51:06 [INFO] Lockette: Ready to protect your containers.
    03:51:06 [INFO] LoginMessage 0.6_2 enabled
    03:51:06 [SEVERE] [MonsterTamer]: Permissions plugin isn't loaded. Features are
    usable by all (or by ops only if configured).
    03:51:06 [INFO] [MonsterTamer]: version [1.33] (Commander) loaded
    03:51:06 [INFO] [SignTrader] iConomy found, using it.
    03:51:06 [INFO] [SignTrader] version 1.0.7 has been enabled.
    03:51:06 [INFO] Roles plugin could not load the Permissions data!
    03:51:06 [INFO] SimpleBan 1.3 was disabled!
    03:51:06 [INFO] [Sortal] version 2.2 is enabled!
    03:51:06 [INFO] [Sortal] Permission system not detected, Open to anyone!
    03:51:06 [INFO] WorldEdit 4.3 enabled.
    03:51:06 [INFO] WorldEdit: No known permissions plugin detected. Using configura
    tion file for permissions.
    03:51:06 [INFO] WorldGuard: No known permissions plugin detected. Using configur
    ation file for permissions.
    03:51:06 [INFO] WorldGuard: Blacklist loaded.
    03:51:06 [INFO] WorldGuard: (world) Single session is enforced.
    03:51:06 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    03:51:06 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    03:51:06 [INFO] WorldGuard: (world) Lava fire is blocked.
    03:51:06 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    03:51:06 [INFO] WorldGuard: Loaded configuration for world 'world"
    03:51:06 [INFO] WorldGuard 5.0-alpha9 enabled.
    03:51:06 [INFO] Done (0.263s)! For help, type "help" or "?"
    >

    also how do i create custom groups for permissions on my server?

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

    Coolred303

    Code:
    [Lnet.minecraft.server.Statistic;@6e293a
    
    146 recipes
    
    [Lnet.minecraft.server.Statistic;@6e293a
    
    16 achievements
    
    03:51:04 [INFO] Starting minecraft server version Beta 1.5_02
    
    03:51:04 [INFO] Loading properties
    
    03:51:04 [INFO] Starting Minecraft server on 5.11.8.29:25565
    
    03:51:04 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    
    03:51:04 [WARNING] The server will make no attempt to authenticate usernames. Be
    
    ware.
    
    03:51:04 [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.
    
    03:51:04 [WARNING] To change this, set "online-mode" to "true" in the server.set
    
    tings file.
    
    03:51:04 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-689-
    
    gd5a5f52-b720jnks (MC: 1.5_02)
    
    03:51:04 [INFO] Preparing level "world"
    
    03:51:04 [INFO] Preparing start region
    
    03:51:05 [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:136)
    
    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 scanning a simple key
    
    in "<reader>", line 153, column 9:
    
    permissions:['*']
    
    ^
    
    could not found expected ':'
    
    in "<reader>", line 213, column 1:
    
    ##
    
    ^
       
    at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(Scanne
    
    rImpl.java:400)
    
    at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.jav
    
    a:231)
    
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    
    2)
    
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(P
    
    arserImpl.java:592)
    
    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.composeNode(Composer.java:132)
    
    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: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
    
    03:51:05 [INFO] [ecoCreature] v0.0.5a (Lederhosen) loaded.
    
    03:51:05 [INFO] [ecoCreature] Please configure ecoCreature (plugins/ecoCreature.
    
    yml) before continuing. Plugin disabled.
    
    03:51:05 [INFO] Elevators version 1.4.2 is enabled! 4 elevators in world "world"
    
    loaded.
    
    03:51:05 [INFO] [HeroBounty] HeroBounty version 1.7.7 enabled.
    
    03:51:05 [INFO] [iConomy] Logging is currently disabled.
    
    03:51:06 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    
    03:51:06 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    
    03:51:06 [INFO] [HeroBounty] iConomy 4.65 found.
    
    03:51:06 [INFO] [Jail] Loaded 1 jail zones.
    
    03:51:06 [INFO] [Jail] Loaded 0 prisoners.
    
    03:51:06 [INFO] [LC] Level Combat Loaded
    
    03:51:06 [INFO] [LC] Level Dexterity Loaded.
    
    03:51:06 [INFO] [LC] Level Excavation Loaded
    
    03:51:06 [INFO] [LC] Level Farming Loaded
    
    03:51:06 [INFO] [LC] Level Mining Loaded
    
    03:51:06 [INFO] [LC] Level Range Loaded.
    
    03:51:06 [INFO] [LC] Level Swimming Loaded
    
    03:51:06 [INFO] [LC] Level WoodCutting Loaded
    
    03:51:06 [INFO] [LC] No Permissions found enabling all levels.
    
    03:51:06 [INFO] [LC] Admin commands for OP.
    
    03:51:06 [INFO] [LC] Using FlatFile To Store Data.
    
    03:51:06 [INFO] [LC] LevelCraftCore 0.1.3 Loaded
    
    03:51:06 [INFO] [LC] Loaded levels:[Swimming, Dexterity, Combat, WoodCutting, Ra
    
    nge, Mining, Farming, Excavation]
    
    03:51:06 [INFO] Lockette version 1.3.6 is being enabled! Yay! (Core version 1.
    
    0)
    
    03:51:06 [INFO] Lockette: Detected craftbukkit build [720] ok.
    
    03:51:06 [INFO] Lockette: Using ops file for admin permissions.
    
    03:51:06 [INFO] Lockette: Ready to protect your containers.
    
    03:51:06 [INFO] LoginMessage 0.6_2 enabled
    
    03:51:06 [SEVERE] [MonsterTamer]: Permissions plugin isn't loaded. Features are
    
    usable by all (or by ops only if configured).
    
    03:51:06 [INFO] [MonsterTamer]: version [1.33] (Commander) loaded
    
    03:51:06 [INFO] [SignTrader] iConomy found, using it.
    
    03:51:06 [INFO] [SignTrader] version 1.0.7 has been enabled.
    
    03:51:06 [INFO] Roles plugin could not load the Permissions data!
    
    03:51:06 [INFO] SimpleBan 1.3 was disabled!
    
    03:51:06 [INFO] [Sortal] version 2.2 is enabled!
    
    03:51:06 [INFO] [Sortal] Permission system not detected, Open to anyone!
    
    03:51:06 [INFO] WorldEdit 4.3 enabled.
    
    03:51:06 [INFO] WorldEdit: No known permissions plugin detected. Using configura
    
    tion file for permissions.
    
    03:51:06 [INFO] WorldGuard: No known permissions plugin detected. Using configur
    
    ation file for permissions.
    
    03:51:06 [INFO] WorldGuard: Blacklist loaded.
    
    03:51:06 [INFO] WorldGuard: (world) Single session is enforced.
    
    03:51:06 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    
    03:51:06 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    
    03:51:06 [INFO] WorldGuard: (world) Lava fire is blocked.
    
    03:51:06 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    
    03:51:06 [INFO] WorldGuard: Loaded configuration for world 'world"
    
    03:51:06 [INFO] WorldGuard 5.0-alpha9 enabled.
    
    03:51:06 [INFO] Done (0.263s)! For help, type "help" or "?"
    
    
    Yes the problem is your build 720. If you look at the top, it says [677]. That is the build number.

    The easy way is Copying a group of your choice from your permissions. Lets use Default for example. Paste it wherever you want in the groups area, and edit it to your liking. Default has build set to false. If you would like you could change it to true. Also Where it says Default in bold letters (assuming you use Notepad C++) you can change it to what you will like to name the group. Change up the permissions to your liking, the prefix and suffix, and so on. One of the biggest problems people have is that they forget to chang the inheritance. Make sure you change the inheritance to whatever group you would like to inherit it from. Hope this helped :)

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

    Ray050402

    my minecraft username is 050402 and i can't seem to get it to work in permissions. i check on that yaml parser website and it says i put my username as 20738.
    or i don't even know. i've been trying to get permissions to work for a while, but i could never do it. hurpderp.
    incase it's needed:
    and my world.yml is
    and if it means anything, i'm using a mac.
     
Thread Status:
Not open for further replies.

Share This Page