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

    7007King0770

    "My guess is that you forgot the "- " (without quotes) in front of all the permissions, but without seeing your entire config I can't be certain. Pastebin and link it, please." -Quote
    Also how would I be able to switch people's permissions? Like example make: Ted from Default to Certified Airman?
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Certified Airman:
            default: false
            info:
          - movecraft.aircraft.*
          - movecraft.car.*
          - movecraft.boat.*
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
    Here is the error message I get:
    Code:
    19:31:04 [SEVERE] Could not load 'plugins\NetherGate.jar' in folder 'plugins':
    java.lang.NoClassDefFoundError: com/elmakers/mine/bukkit/persistence/dao/WorldDa
    ta
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:132)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:158)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:106)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.ClassNotFoundException: com.elmakers.mine.bukkit.persistenc
    e.dao.WorldData
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            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(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 11 more
    19:31:04 [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:158)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:106)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:84)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 92, column 1:
              - movecraft.aircraft.*
        ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:360)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
            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
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  3. Offline

    faroutmat

    I got stuck at the same spot. It's like a dead end, since it doesn't really give you any direction to go in. Does anyone have any ideas?
     

  4. Online YAML Parser doesn't say its okay...

    Code:
    ERROR:
    
    while parsing a block collection
      in "<unicode string>", line 19, column 13:
                    - 'stargate.*
                    ^
    expected <block end>, but found '<scalar>'
      in "<unicode string>", line 20, column 16:
                    - '-stargate.hidden'
                       ^
     
  5. Offline

    Phaeroth

    I discovered that flaw actually. I was missing an apostrophe after stargate.*, but I fixed that. For some reason it's still malfunctioning, but I think I've figured out what it was.

    EDIT: YUP! Just a simple PEBCAK error. :D
     
  6. Offline

    Celtic Minstrel

    Don't worry; he was wrong anyway.

    Not with Permissions, but there are two separate plugins that enable it: Yeditor, and PermissionsPlus.

    Ignore it, that file is irrelevant.
     
  7. Im still getting this, can anyone help me?
     
  8. Offline

    Toasty

    Having thought about this idea some more, it might make more sense to set up the [world]: [group] as nodes, like you would with permissions, and rearrange them. For example:

    Code:
    users:
        Toasty27:
            group:
                - 'Admin.*'
                - '-Admin.war'
                - 'Moderator.war'
            info:
                prefix: '[admin]'
                suffix: ''
            permissions:
            - '*'
    
    Since it makes more sense to use the universal identifier to select all worlds for a specified group, than all groups for a specified world (which would be pointless, and possibly break things).

    Therefor, the group node for the users node would work out as such: users..group.[group].[world]
     
  9. Offline

    Singapore123

     
  10. Offline

    andrewkm

    Questions beside all my users permissions i have the word "null" ever since i updated permissions... is that necessary?
    Everything works and all, im just wondering lol
    edit: removed all the null's and its fine
    haha guess was a conversion thing from version to version
     
  11. Offline

    Nobody12550


    That the same problem i get help me!!!
     
  12. Offline

    andrewkm

    What do you mean no groups works?
    plugin commands dont work?
    prefixes dont work in ichat or something?
    no one has permissions?
    everyone has permissions...
    You guys post problems with absolutely no information and wonder why no one helps..
     
  13. Offline

    Nobody12550

    i put my self as an admin but i'm in the default for some reasons
     
  14. Offline

    GingernutRanger

    Help me! I keep getting 'you dont have permission to do this' whenever i place a block!
     
  15. Offline

    7007King0770

    I'd just like to bring to attention my 2 posts up above explaining my unresolved issue. I about 10 people waiting on me to fix the issue and I am waiting on whoever can help me solve it, so ya not the best situation. If possible please help find a answer to my problem above. In page 140. To add to my posts all plugins I currently have say Could not Find permissions Plugin, Defaulting to OP.
     
  16. Offline

    Phaeroth


    Meticulously go through and check your format. I noticed you have an extra space before EpicRandom, at least in your post. There should be four spaces for each "indent" that would normally appear in the code, and if there isn't EXACTLY four, things break (As I learned the hard way.) If there are five, it breaks. if there are three, it breaks.
     
  17. Offline

    1981Thomas

    Can I have a command to assign a new user group.
    Or do I always write the new users by hand in the *. yml, and then restart the server.
     
  18. Offline

    kmccmk9

    Ok no problem. One remaining question, what is the new format for the config file?
     
  19. Offline

    fightknight

    ok but if I am admin group should I be able to build with only Permissions installed?
     
  20. Offline

    Celtic Minstrel

    This isn't a problem at all. It's safe to just leave the nulls in.
     
  21. Offline

    Mrjibidi

    I tried all of your updates and my server said there were all null. This one is null too
     
  22. Offline

    melvinp

    I got a little problem.

    I downloaded the plugin and placed it into the plugin folder.
    Than i restarted the server. And i looked into the folder "Permission" that is created But its empty.
    Why isnt there a config file with text ?
     
  23. Offline

    OrtwinS

    @TheYeti

    Do you plan to include subgroups and ingame commands to change users & permissions in 3.0?
    Or at least fix the issue of 'over-defining permissions=trouble'?
    If not, would you please do so :)?
     
  24. Offline

    zakcng

    Im getting an error whenever I place a block.

    Code:
        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:398)
        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:157)
        at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:118)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:400)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  25. Offline

    lycano

    @zakcng: you are missing the complete error log. The line above this block is really important (what the server said) =)
     
  26. Offline

    zakcng

    Code:
    2011-04-20 11:15:24 [INFO] Starting minecraft server version Beta 1.4
    2011-04-20 11:15:24 [INFO] Loading properties
    2011-04-20 11:15:24 [WARNING] server.properties does not exist
    2011-04-20 11:15:24 [INFO] Generating new properties file
    2011-04-20 11:15:24 [INFO] Starting Minecraft server on *:25565
    2011-04-20 11:15:24 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-659-gc210f22-b684jnks (MC: 1.4)
    2011-04-20 11:15:24 [WARNING] Failed to load ban list: java.io.FileNotFoundException: banned-players.txt (The system cannot find the file specified)
    2011-04-20 11:15:24 [WARNING] Failed to load ip ban list: java.io.FileNotFoundException: banned-ips.txt (The system cannot find the file specified)
    2011-04-20 11:15:24 [WARNING] Failed to load ops: java.io.FileNotFoundException: ops.txt (The system cannot find the file specified)
    2011-04-20 11:15:24 [WARNING] Failed to load white-list: java.io.FileNotFoundException: white-list.txt (The system cannot find the file specified)
    2011-04-20 11:15:24 [INFO] Preparing level "world"
    2011-04-20 11:15:24 [INFO] Preparing start region
    2011-04-20 11:15:24 [INFO] 144 recipes
    2011-04-20 11:15:25 [INFO] Preparing spawn area: 8%
    2011-04-20 11:15:26 [INFO] Preparing spawn area: 20%
    2011-04-20 11:15:27 [INFO] Preparing spawn area: 36%
    2011-04-20 11:15:28 [INFO] Preparing spawn area: 48%
    2011-04-20 11:15:29 [INFO] Preparing spawn area: 61%
    2011-04-20 11:15:30 [INFO] Preparing spawn area: 73%
    2011-04-20 11:15:31 [INFO] Preparing spawn area: 85%
    2011-04-20 11:15:32 [INFO] Preparing spawn area: 97%
    2011-04-20 11:15:33 [INFO] Done (0.841s)! For help, type "help" or "?"
    2011-04-20 11:15:35 [INFO] Stopping the server..
    2011-04-20 11:15:35 [INFO] CONSOLE: Stopping the server..
    2011-04-20 11:15:35 [INFO] Stopping server
    2011-04-20 11:15:35 [INFO] Saving chunks
    2011-04-20 11:16:56 [INFO] Starting minecraft server version Beta 1.4
    2011-04-20 11:16:56 [INFO] Loading properties
    2011-04-20 11:16:56 [INFO] Starting Minecraft server on *:25565
    2011-04-20 11:16:56 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-659-gc210f22-b684jnks (MC: 1.4)
    2011-04-20 11:16:56 [INFO] Preparing level "world"
    2011-04-20 11:16:56 [INFO] Preparing start region
    2011-04-20 11:16:56 [INFO] 144 recipes
    2011-04-20 11:16:57 [INFO] Creating config from template: C:\Users\Zak\Desktop\Server\plugins\Essentials\config.yml
    2011-04-20 11:16:57 [INFO] Creating empty config: C:\Users\Zak\Desktop\Server\plugins\Essentials\spawn.yml
    2011-04-20 11:16:57 [INFO] Creating config from template: C:\Users\Zak\Desktop\Server\plugins\Essentials\worth.yml
    2011-04-20 11:16:57 [INFO] Creating empty config: C:\Users\Zak\Desktop\Server\plugins\Essentials\jail.yml
    2011-04-20 11:16:57 [INFO] Loaded Essentials build 2.1.37 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-04-20 11:16:57 [INFO] Done (0.082s)! For help, type "help" or "?"
    2011-04-20 11:17:43 [INFO] abc111 has logged in for the first time.
    2011-04-20 11:17:43 [INFO] abc111 [/192.168.182.1:49613] logged in with entity id 174
    2011-04-20 11:17:54 [INFO] §9[PLAYER_COMMAND] abc111: /help
    2011-04-20 11:18:03 [INFO] §9[PLAYER_COMMAND] abc111: /eco
    2011-04-20 11:19:18 [INFO] Starting minecraft server version Beta 1.4
    2011-04-20 11:19:18 [INFO] Loading properties
    2011-04-20 11:19:18 [INFO] Starting Minecraft server on *:25565
    2011-04-20 11:19:18 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-659-gc210f22-b684jnks (MC: 1.4)
    2011-04-20 11:19:18 [INFO] Preparing level "world"
    2011-04-20 11:19:18 [INFO] Preparing start region
    2011-04-20 11:19:18 [INFO] 144 recipes
    2011-04-20 11:19:18 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-04-20 11:19:19 [INFO] Loaded Essentials build 2.1.37 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-04-20 11:19:19 [INFO] [Permissions] version [2.7] (Phoenix)  loaded
    2011-04-20 11:19:19 [INFO] Done (0.081s)! For help, type "help" or "?"
    2011-04-20 11:19:29 [INFO] abc111 [/192.168.182.1:49651] logged in with entity id 24
    2011-04-20 11:19:40 [INFO] Stopping the server..
    2011-04-20 11:19:40 [INFO] CONSOLE: Stopping the server..
    2011-04-20 11:19:40 [INFO] Stopping server
    2011-04-20 11:19:40 [INFO] [Permissions] (Phoenix) saved all data.
    2011-04-20 11:19:40 [INFO] [Permissions] (Phoenix) disabled successfully.
    2011-04-20 11:19:40 [INFO] Saving chunks
    2011-04-20 11:19:41 [INFO] Stopping server
    2011-04-20 11:20:14 [INFO] Starting minecraft server version Beta 1.4
    2011-04-20 11:20:14 [INFO] Loading properties
    2011-04-20 11:20:14 [INFO] Starting Minecraft server on *:25565
    2011-04-20 11:20:14 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-659-gc210f22-b684jnks (MC: 1.4)
    2011-04-20 11:20:14 [INFO] Preparing level "world"
    2011-04-20 11:20:14 [INFO] Preparing start region
    2011-04-20 11:20:14 [INFO] 144 recipes
    2011-04-20 11:20:15 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-04-20 11:20:15 [INFO] Loaded Essentials build 2.1.37 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-04-20 11:20:15 [INFO] [Permissions] version [2.7] (Phoenix)  loaded
    2011-04-20 11:20:15 [INFO] Done (0.082s)! For help, type "help" or "?"
    2011-04-20 11:20:20 [INFO] /192.168.182.1:49663 lost connection
    2011-04-20 11:20:28 [INFO] Stopping the server..
    2011-04-20 11:20:28 [INFO] CONSOLE: Stopping the server..
    2011-04-20 11:20:28 [INFO] Stopping server
    2011-04-20 11:20:28 [INFO] [Permissions] (Phoenix) saved all data.
    2011-04-20 11:20:28 [INFO] [Permissions] (Phoenix) disabled successfully.
    2011-04-20 11:20:28 [INFO] Saving chunks
    2011-04-20 11:20:28 [INFO] Stopping server
    2011-04-20 11:20:31 [INFO] Starting minecraft server version Beta 1.4
    2011-04-20 11:20:31 [INFO] Loading properties
    2011-04-20 11:20:31 [INFO] Starting Minecraft server on *:25565
    2011-04-20 11:20:31 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-659-gc210f22-b684jnks (MC: 1.4)
    2011-04-20 11:20:31 [INFO] Preparing level "world"
    2011-04-20 11:20:31 [INFO] Preparing start region
    2011-04-20 11:20:31 [INFO] 144 recipes
    2011-04-20 11:20:31 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-04-20 11:20:31 [INFO] Loaded Essentials build 2.1.37 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    2011-04-20 11:20:31 [INFO] [Permissions] version [2.7] (Phoenix)  loaded
    2011-04-20 11:20:31 [INFO] Done (0.083s)! For help, type "help" or "?"
    2011-04-20 11:20:33 [INFO] abc111 [/192.168.182.1:49668] logged in with entity id 122
    2011-04-20 11:20:45 [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:398)
        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:157)
        at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:118)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:400)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-20 11:20:47 [SEVERE] Could not pass event BLOCK_PLACE to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:620)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:43)
        at org.bukkit.plugin.java.JavaPluginLoader$25.execute(JavaPluginLoader.java:350)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:257)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
        at net.minecraft.server.ItemBlock.a(ItemBlock.java:75)
        at net.minecraft.server.ItemStack.a(ItemStack.java:56)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:218)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:488)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  27. Offline

    Conan1981

    Great to have a plugin like that !
    Buthow could i block specific ingame commands ?!? or how could i block flint and steal for some pyromaniacs for example ?
    Sorry for that noobish questions btw lol ;-)
     
  28. Offline

    rcjrrjcr

    Use WorldGuard for that.
     
  29. Offline

    lycano

    @zakcng: can you please post your permissions file, too?
     
  30. Offline

    armoreddice

    I know several people have brought up the issue where there is nothing in the permissions.yml and that it doesnt appear in the right place when you restart the server. What exactly am I supposto copy and paste into the yml?
     
  31. Offline

    zakcng

    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: true
            inheritance:
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        abc111:
            group: Admins
            permissions:
                - '*'
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp'
     
Thread Status:
Not open for further replies.

Share This Page