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

    saturnine_nl

    where is the world folder (normally inside bukkitroot) placed ?

    if you have /bukkitroot/hgsback/world

    then you can do the following:

    - open your permissions folder (inside plugins)
    - make a new folder named hgsback
    - place the permissions.yml file inside folder hgsback
     
  3. is there a way to block a command to a specific group? i know you could just leave it out, but i have a group of admins (really just ops) that all have the same permissions as i do (i'm the server admin) and there are like 2 commands that i want to be able to use only. for our group i used the * permission to give permission to all commands and i'd really rather not have to type out all of my permissions just to block one permission
     
  4. Offline

    saturnine_nl

    you could use a plugin called LWC, it's a chest,door,furnace,dispenser protector and has an advanced protection system that can block guests all access to chests etc ...
     
  5. Offline

    zaklampje

    Code:
    2011-03-10 16:26:00 [INFO] Starting minecraft server version Beta 1.3
    2011-03-10 16:26:00 [WARNING] **** NOT ENOUGH RAM!
    2011-03-10 16:26:00 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-03-10 16:26:00 [INFO] Loading properties
    2011-03-10 16:26:00 [INFO] Starting Minecraft server on *:25565
    2011-03-10 16:26:00 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-493-g8b5496e-b493jnks (MC: 1.3)
    2011-03-10 16:26:00 [INFO] Preparing level "world"
    2011-03-10 16:26:00 [INFO] Preparing start region
    2011-03-10 16:26:01 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:76)
        ... 8 more
    Caused by: java.lang.NullPointerException
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:77)
        ... 13 more
    2011-03-10 16:26:01 [SEVERE] [MonsterTamer]: Nijikokuns' Permissions plugin isn't loaded. Commands are usable by all.
    2011-03-10 16:26:01 [INFO] [MonsterTamer]: version [1.2] (Companions) loaded
    2011-03-10 16:26:01 [INFO] Done (0,078s)! For help, type "help" or "?"
    2011-03-10 16:26:04 [INFO] CONSOLE: Stopping the server..
    2011-03-10 16:26:04 [INFO] Stopping server
    2011-03-10 16:26:04 [INFO] [MonsterTamer]: version [1.2] (Companions) disabled
    2011-03-10 16:26:04 [INFO] Saving chunks
    
    Well, as u see, this is an error... But what to do with it?
    Any suggestions?
     
  6. Offline

    saturnine_nl

    you could add those rules to their group.

    Code:
    permission:
       - '*'
       - '-plugin.rule1'
       - '-plugin.rule2'
    the - sign should take away those rights.
     
  7. Offline

    Lite

    which permissions note is required in order to use /permissions -reload all
     
  8. Offline

    saturnine_nl

    try redownload permissions.jar version 2.5.4 and replace your current permissions.jar
    [MERGETIME="1299771378"][/MERGETIME]
    - 'permissions.reload'
     
  9. Offline

    zaklampje

    Still got the error...
    [MERGETIME="1299772472"][/MERGETIME]
    It just loads 2.5.3, but I get errors with 2.5.4...
     
  10. groups:
    Builder:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    - 'essentials.depth'
    - 'essentials.getpos'
    - 'essentials.compass'
    - 'essentials.world'
    - 'essentials.msg'
    - 'essentials.afk'
    - 'essentials.rules'
    - 'essentials.motd'
    - 'essentials.me'
    - 'essentials.list'
    - 'essentials.mail'
    - 'essentials.mail.send'
    - 'essentials.helpop'
    - 'essentials.item'
    - 'essentials.kit'
    - 'essentials.kit.tools'
    - 'essentials.kit.armor'
    - 'essentials.help'
    - 'essentials.tpa'
    - 'essentials.tpaccept'
    - 'essentials.tpdeny'
    - 'essentials.tpahere'
    - 'essentials.tppos'
    - 'essentials.mute'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.warp'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'essentials.top'
    - 'essentials.kit.modtools'
    - 'essentials.kit.modarmor'
    - 'essentials.jump'
    - 'essentials.back'
    - 'essentials.clearinventory'
    - 'essentials.give'
    - 'essentials.god'
    - 'essentials.heal'
    - 'essentials.kick'
    - 'essentials.togglejail'
    - 'essentials.spawn'
    - 'essentials.setwarp'
    - 'essentials.delwarp'
    OPs:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    - '-essentials.kit.adminarmor'
    Admin:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'

    users:
    travtrigs:
    group: OPs
    permissions:
    zudoffsky:
    group: Moderator
    permissions:
    dirtysoviet:
    group: OPs
    permissions:
    astoll101:
    group: OPs
    permissions:

    that's my file right now, but even when i put myself (travtrigs) into the OPs group i can still use the 'essentials.kit.adminarmor' command. did i do something wrong?

    EDIT: got it working, thanks!
     
  11. Offline

    saturnine_nl

    I've reproduced your error, and it's caused because permission cannot find your world.yml file

    - the worldname.yml is not correct
    - the worldname.yml is in the wrong folder
     
  12. Offline

    zazra

    Tried this with craftbukkit #531, works great!
     
  13. Offline

    PPowerHouseK

    Is there any way we can make this support colored groups? It would really be quite helpful, or is there another pluggin that does that already?
     
  14. Offline

    zaklampje

    hmmm, now using 2.5.3, and there it says BLOCK-BREAK... Just want 2.5.3 working now. My world name is Mythworld, so mythworld.yml, and in the map plugins, in the map permissions... What to do...
    [MERGETIME="1299773725"][/MERGETIME]
    Do I need to update my craftbukkit??? Plz tell me what's wrong.
     
  15. Offline

    saturnine_nl

    I assumed that this should work, but apperntly it doesn't ... don't know why.

    You could add the '-essential.kit rule' to the user permission. Maybe that 'll work
    also make sure your username is not in the server ops file.
     
  16. Offline

    zaklampje

    saturnine_nl, what does BLOCK-BREAK mean?
     
  17. Offline

    saturnine_nl

    is there a special need to use 2.5.3 instead of 2.5.4 ?
    use http://www.theyeticave.net/downloads/permissions/latest/Permissions.jar to get the permissons 2.5.4 jar

    no need to update craftbukkit. I run the exact same and have no problems with permissions.

    <edit> block_break is a server command that is send to the plugins everytime a block gets broken, that's why plugins can prevent blocks being broken. </edit>
     
  18. Offline

    Harrison Smith

    My Craftbukkit.jar is in whatever the directory the host service gave me, I can't seem to access its title. In that directory I have several files that relate to my server properties, a craftbukkit.jar, and a few more directories. One of those directories is 'hgsbackup', another 'lib', and so on. Inside hgsbackup is the folder 'world' and the .yml 'world.yml'. Are you saying that if I make a new folder in permissions named after the folder and a .yml in there named directly after the world that it will know where to work?

    *Attempting right now, will edit if I get a conclusive result*

    EDIT: Worked perfectly! Thank you so much! I'd like to ask that Yeti add a snippet to the OP concerning this, as it's vexing but easily remedied.
     
  19. Offline

    zaklampje

    hmm, getting exactly the same error:
    Well, what to do about it?

    Well, I've got the same problem. Switching to 2.5.4 only makes it more messed up.

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

    izipapa

    I was having that problem then decided to not be lazy and read the install section.[​IMG]

     
  21. Offline

    zazra

    the config file might need to be called exactly what your world is called, so if the world is called MyWorld_blaBla then i figure your config needs to be called exactly that: MyWorld_blaBla.yml so caps and such included!
     
  22. Offline

    OmegaII

    Same error

    [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException


    I've downloaded Permissions 2.4 several times, no luck.

    Bukkit 531
     
  23. Offline

    EcoMaster21

    Code:
    2011-03-10 12:00:23 [INFO] Starting minecraft server version Beta 1.3
    2011-03-10 12:00:23 [INFO] Loading properties
    2011-03-10 12:00:23 [INFO] Starting Minecraft server on *:25565
    2011-03-10 12:00:23 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-516-gdf87bb3-b531jnks (MC: 1.3)
    2011-03-10 12:00:23 [INFO] Preparing level "world"
    2011-03-10 12:00:23 [INFO] Preparing start region
    2011-03-10 12:00:24 [INFO] LWC    [v1.61]    Loading shared objects
    2011-03-10 12:00:24 [INFO] Config    [v1.61]    Loaded 13 config entries
    2011-03-10 12:00:24 [INFO] LWC    [v1.61]    Native library: plugins/LWC/lib/native/Mac/x86_64/libsqlitejdbc.jnilib
    2011-03-10 12:00:25 [INFO] [Permissions] version [2.5.4] (Phoenix) was Initialized.
    2011-03-10 12:00:25 [INFO] WorldGuard loaded.
    2011-03-10 12:00:25 [INFO] Big Catch version 0.4 is enabled!
    2011-03-10 12:00:25 [INFO] [DeathChest] version [1.33b] loaded.
    2011-03-10 12:00:25 [INFO] [DeathChest] Enabled permission system: PERMISSIONS
    2011-03-10 12:00:25 [INFO] [DeathChest] Loaded expiration time: 0
    2011-03-10 12:00:25 [INFO] [DeathChest] LWC Plugin found. Protecting chests now.
    2011-03-10 12:00:25 [INFO] [DiscoSheep] version 0.2 is enabled!
    2011-03-10 12:00:25 [INFO] [Permissions] version [2.5.4] (Phoenix)  loaded
    2011-03-10 12:00:25 [INFO] [DiscoSheep] Permissions plugin detected!
    2011-03-10 12:00:25 [INFO] ¤eLoaded Essentials build 241 maintained by Zenexer, ementalo, Aelux, and Brettflan
    2011-03-10 12:00:25 [INFO] Loaded EssentialsSpawn build 241 maintained by Zenexer, ementalo, Aelux, and Brettflan
    2011-03-10 12:00:25 [INFO] Growbie version 2.1 enabled.
    2011-03-10 12:00:25 [INFO] [HeroicDeath] 1.4.3.138 enabled.
    2011-03-10 12:00:25 [INFO] Could not determine Permissions version: 2.5.4
    2011-03-10 12:00:25 [INFO] [iChat] Permissions plugins not found, disabling plugin
    2011-03-10 12:00:25 [INFO] [iChat] iChat Disabled
    2011-03-10 12:00:25 [INFO] Config    [v1.61]    Loaded 13 config entries
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    Loaded command: admin
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    Loaded command: creation
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    Loaded command: remove
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    Loaded command: info
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    Loaded command: modes
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    Loaded command: modify
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    Loaded command: unlock
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    Loaded command: owners
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    -> PLAYER_QUIT
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    -> ENTITY_EXPLODE
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    -> BLOCK_INTERACT
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    -> BLOCK_DAMAGED
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    -> BLOCK_BREAK
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    -> BLOCK_PLACED
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    -> REDSTONE_CHANGE
    2011-03-10 12:00:25 [INFO] LWC    [v1.61]    Using Nijikokun's permissions plugin for permissions
    2011-03-10 12:00:25 [SEVERE] com/nijikokun/bukkit/Permissions/Permissions loading LWC v1.61 (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
        at com.griefcraft.lwc.LWC.load(LWC.java:492)
        at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:337)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 12 more
    2011-03-10 12:00:25 [SEVERE] com/nijikokun/bukkit/Permissions/Permissions loading MultiVerse v1.5 (Permissions 2.1+) (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
        at com.onarandombox.Rigby.MultiVerse.MultiVerse.checkPermissions(MultiVerse.java:556)
        at com.onarandombox.Rigby.MultiVerse.MultiVerse.onEnable(MultiVerse.java:104)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 12 more
    2011-03-10 12:00:25 [INFO] WorldEdit 4.0-beta8 enabled.
    2011-03-10 12:00:25 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    2011-03-10 12:00:25 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
    2011-03-10 12:00:25 [INFO] WorldGuard 4.0-alpha1 enabled.
    2011-03-10 12:00:25 [INFO] [WormholeXTreme][v0.8][By Lologarithm & alron]Load Beginning.
    2011-03-10 12:00:26 [SEVERE] com/nijikokun/bukkit/Permissions/Permissions loading WormholeXTreme v0.8 (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
        at com.wormhole_xtreme.WormholeXTreme.setupPermissions(WormholeXTreme.java:131)
        at com.wormhole_xtreme.WormholeXTreme.onEnable(WormholeXTreme.java:79)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 12 more
    2011-03-10 12:00:26 [INFO] Done (0.260s)! For help, type "help" or "?"
    2011-03-10 12:00:36 [SEVERE] Exception in thread "Thread-6"
    2011-03-10 12:00:36 [SEVERE] java.lang.NullPointerException
    2011-03-10 12:00:36 [SEVERE]     at com.griefcraft.sql.PhysDB.getJobQueue(PhysDB.java:148)
    2011-03-10 12:00:36 [SEVERE]     at com.griefcraft.lwc.UpdateThread.doJobs(UpdateThread.java:121)
    2011-03-10 12:00:36 [SEVERE]     at com.griefcraft.lwc.UpdateThread._flush(UpdateThread.java:364)
    2011-03-10 12:00:36 [SEVERE]     at com.griefcraft.lwc.UpdateThread.run(UpdateThread.java:392)
    2011-03-10 12:00:36 [SEVERE]     at java.lang.Thread.run(Thread.java:680)
    2011-03-10 12:00:59 [INFO] CONSOLE: Stopping the server..
    2011-03-10 12:00:59 [INFO] Stopping server
    2011-03-10 12:00:59 [INFO] Big Catch Version 0.4 is Disabled
    2011-03-10 12:00:59 [INFO] [DeathChest] version [1.33b] unloaded.
    2011-03-10 12:00:59 [INFO] [DiscoSheep] closed down. Good bye
    2011-03-10 12:00:59 [INFO] Growbie disabled.
    2011-03-10 12:00:59 [INFO] [HeroicDeath] 1.4.3.138 disabled.
    2011-03-10 12:00:59 [INFO] LWC    [v1.61]    Freeing SQLite
    2011-03-10 12:00:59 [INFO] [MultiVerse] - Disabled
    2011-03-10 12:00:59 [INFO] [Permissions] version [2.5.4] (Phoenix) disabled successfully.
    2011-03-10 12:00:59 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    2011-03-10 12:00:59 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
    2011-03-10 12:00:59 [INFO] WorldGuard 4.0-alpha1 disabled.
    2011-03-10 12:00:59 [SEVERE] [WormholeXTreme]Caught exception while shutting down: null
    2011-03-10 12:00:59 [SEVERE] java.lang.NullPointerException
    2011-03-10 12:00:59 [SEVERE]     at com.wormhole_xtreme.model.StargateDBManager.Shutdown(StargateDBManager.java:306)
    2011-03-10 12:00:59 [SEVERE]     at com.wormhole_xtreme.WormholeXTreme.onDisable(WormholeXTreme.java:190)
    2011-03-10 12:00:59 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:120)
    2011-03-10 12:00:59 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:465)
    2011-03-10 12:00:59 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:229)
    2011-03-10 12:00:59 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:223)
    2011-03-10 12:00:59 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:72)
    2011-03-10 12:00:59 [SEVERE]     at net.minecraft.server.MinecraftServer.g(MinecraftServer.java:227)
    2011-03-10 12:00:59 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:302)
    2011-03-10 12:00:59 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-10 12:00:59 [INFO] Saving chunks
    I get this as I shut down and start up my server. The plugins and server run perfectly fine on 2.5, but past that (at least with 2.5.2,3, and 4), I get these errors. It seems like none of the plugins are hooking into Permissions.

    Any ideas?

    EDIT: Solved it... It turns out HeroicDeath was causing issues. I updated to the latest version, and I no longer have any loading issues.
     
  24. Offline

    Convieo

    Well, I've tried and tried with this, but now I'm going to ask for help...

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'list.*'
                - 'general.spawn'
                - 'kit.*'
                - 'kit.tools'
                - 'kit.pickaxe'
                - 'kit.axe'
                - 'kit.spade'
                - 'wormhole.use.sign'
                - 'wormhole.use.dialer'
                - 'wormhole.list'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'wormhole.remove.own'
                - 'wormhole.build'
                - 'time.*'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    users:
        Convieo:
            group: Admins
            permissions:
        Mherune:
            group: Default
            permissions:
    I have no idea what's wrong with it, if there is. But everyone just has the same default allowances. I can't do "/time day" unless I'm op. But I should be set as an admin with Permissions meaning I should be able to do it. But I can't... Also when I do "/list" the list of players comes up in the console, but not for me on Minecraft. Am I doing something wrong?
     
  25. Offline

    Projectleeroy

    Do you know if you are ever going to implement mySQL to store users in specific groups and just use a config.yml to save the different types of groups and permissions???
     
  26. Offline

    Nathaniel

    Get iChat, and it would be like

    Code:
    Owner:
            default: false
            info:
                prefix: '&2'
    
    And that would make it green.
     
  27. Offline

    Taeir

    My permissions always seem to change to a different format. It still works, but its kinda hard to change etc.
    Example:
    Code:
    plugin:
      permissions: {system: default, copies:}
    groups:
      Default:
        default: true
        info: {prefix: '&f[&3Unregistered&f]', suffix: '&7', build: false}
        inheritance: []
        permissions: [essentials.spawn, essentials.afk, essentials.helpop, essentials.help, essentialshelp.*]
    
    Is there some way i can set it not to change the format of the file?
     
  28. Offline

    TheYeti

    @Taeir This is because something else is modifying the file and resaving it. It is perfectly fine and has to do with the save routine and how it writes out the files.

    @Convieo Unless you have a plugin to actually provide these functions (such as General, Essentials, or CommandBook) then you will obviously have to be an OP to be able to use these commands. Permissions doesn't provide any commands.

    @Omegall Please provide the full startup log showing the entire error. What you provided doesn't really do much to help.

    @zazra You are correct, especially if the server is running on linux.
     
  29. Offline

    BlueLiquidPlus

    CraftBukkit #531 - Fails to load Permissions 2.5.4
    Code:
    15:07:16 [INFO] Starting minecraft server version Beta 1.3
    15:07:16 [INFO] Loading properties
    15:07:16 [INFO] Starting Minecraft server on *:25565
    15:07:16 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-516-
    gdf87bb3-b531jnks (MC: 1.3)
    15:07:16 [INFO] Preparing level "world"
    15:07:16 [INFO] Preparing start region
    15:07:17 [INFO] [CreativeStick 0.4.16] loaded
    15:07:17 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:113)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:159)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:107)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: 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:109)
            ... 8 more
    Caused by: mapping values are not allowed here
     in "<reader>", line 114, column 14:
                group: Admin
                     ^
    
            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.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 org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    82)
            ... 13 more
    Unless I'm missing something :)
     
  30. Offline

    TheYeti

    @Maddin Glad you got it figured out.

    @Katie You rock and I wish to have your children.

    @unv_annihlator Please go to the wiki and read the documentation. It lists all of the available function calls, including several to get the players group

    @NEO I am pretty sure there is an example in the config file that comes with it.

    @Xin_TiGeR Correct, this plugin only provides basic AntiBuild functionality. If you want to stop all interaction then get something like AntiGrief or WorldGuard

    @Zaflis Because it is an EXAMPLE! Normally you would read through it and configure it to suit your needs. Pretty sure the instructions even say to edit the example file.

    @Tar It does work and I and several other plugin developers all tested it. Which I have begun doing now with every release, having multiple people test it as a dev build before releasing it. More eyes and all that. If it doesn't work then please provide an actual detailed error report not just "FIX THIS PL0X!"

    @saturnine_nl Can I have your man babies also.

    @Travis-Triglianos Remove the commands in the user section with the - node. ie. - '-node.command' or something similar
    [MERGETIME="1299788555"][/MERGETIME]
    @BlueLiquidPlus This is saying you have an error in your config file, more specifically a YAML formatting error. Please either pass it through a yaml parser such as http://yaml-online-parser.appspot.com/ or pastebin your config file here for someone to look at.
     
  31. Offline

    Tealk

    hi a question, can you add ingame commands? so player can switch in groups?
     
Thread Status:
Not open for further replies.

Share This Page