Inactive [ADMN/DEV] Permissions 3.1.6 - The Plugin of Tomorrow [935]

Discussion in 'Inactive/Unsupported Plugins' started by rcjrrjcr, May 24, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    rcjrrjcr

    Permissions 3.1.6 (Yeti)

    Download:
    Latest Stable (3.1.6) : Full Zip | Main Jar Only | SQL Interface Jar Only

    Previous Versions:
    3.1.5 (JAR|SQL) | 3.1.4 (JAR|SQL) | 3.1.3 (JAR|SQL) | 3.1.2 (JAR|SQL) | 3.1.1 (JAR) | 3.1 (JAR) | More older versions


    COMMAND RESTRUCTURING
    Feel free to comment and give suggestions.


    DO NOT USE GLOBAL CONFIGS FOR NOW. THE GLOBAL CONFIG IS MEANT TO SUPPLEMENT WORLD-SPECIFIC CONFIGS, NOT THE OTHER WAY ROUND. SEE https://github.com/TheYeti/Permissions/wiki/Global-vs-World .I WILL WRITE A PROPER TUTORIAL ON HOW TO USE THE GLOBAL CONFIGS SOON.

    TODO:
    • Revamp commands
    Known plugins that cause IllegalAccessError(s):

    • Help (not fixed yet)
    Temp Fix for IAEs (open)




    1. Open Help's JAR with 7zip.
    2. Find MANIFEST.MF (it can be in the root folder or in the META-INF folder, or both).
    3. Open the MANIFEST.MF file in a text editor
    4. Look for a line that starts with "Class-Path:".
    5. Delete "Permissions.jar" from that line.
    6. Save the manifest.
    7. 7zip will prompt you to save changes back into the archive. Accept.
    8. Restart server.





    Plugin Authors: How to hook into Permissions

    Due to @TheYeti being busy in RL for now, I have created a new thread for Permissions 3.x. TheYeti is still part of the Permissions team.

    Permissions... Reborn.
    This is a continuation of the work that was originally done by Nijikokun. All original credit goes to them as without their work this plugin would not have been possible. This plugin does not provide any commands or additional functionality beyond what is described in this post. That means that you need another plugin to provide colored names, chat prefixes, and op commands such as /give and /time.​

    The Permissions Team

    The team consists of myself @rcjrrjcr and @TheYeti currently with contributions from @Nijikokun as well on occasion. There are also several other members of the community who frequently assist with providing code changes, bug fixes, patches, support, feedback, and beta testing. Special thanks to @flames and the Dynmap & Wormhole X-Treme teams for the hosting of Permissions on their Jenkins server.

    What's new in 3.x?

    Taken from the GitHub page:
    1. In-game commands. For a long time, users have been pestering, nagging, demanding and/or screaming for an way to manage Permissions via commands. Now, in 3.0, in-game commands are available to manage permissions and groups.
    2. SQL storage. This allows web interfaces to manage Permissions by updating the SQL database Permissions uses.
    3. Promotion/demotion tracks. With a simple command, users can be promoted/demoted along a preconfigured track, allowing RP servers with ranks to promote the player along a class track and other possibilities.
    4. Multigroup.
    5. Weightage. Plugins are able to compare users via their weight, which is inherited from their groups. For example, SlapPlugin can check if Player A is higher-weighted than Player B when A tries to slap B (Not IRL, obviously).
    6. Improved world mirroring. Config files are now split into a group file and a user file. Also, by editing storageconfig.yml, you can configure the mirroring of entire worlds, or just its users/groups. You also do not have to create files for worlds that mirror another world. Also, two different worlds can use different storage types, like YAML and SQL.
    7. Global permissions. Instead of having to resort to cross-world group inheritance, now all worlds inherit groups and users from the global permissions file. Also, the inherited groups/users can be overridden via editing the specific world's file.
    Upgrading from 2.x to 3.x







    I have written a guide on GitHub. This demonstrates how to convert 2.x-style configs to 3.0. The YAML-to-SQL converter are still in testing, but it can be downloaded from here. It's written in Perl. @Zgred has created a web version of the script located here. @omgneeq is working on an Web UI for SQL databases (Sorry about the previous statement that he was making a converter.)​


    Install (open)
    For the admins

    In case you missed the link above, the Setup Guide on GitHub will help you quite a bit

    Samkio has updated his tutorial for P3:


    First thing that you will need to do is download the plugin. Place it in your plugins/ folder and unzip it. This should create the folder Permissions and a Permissions.jar file in your plugins folder. Next, go into Permissions/ and create a folder named the same as your world. So if your world name from server.properties is Foo you will need to create the folder plugins/Permissions/Foo. You MUST rename it to whatever your world's name is or it will not work.

    Note, if you have your server maps all saved into a single directory then the initial setup will be somewhat different. Say your maps are arranged in the main directory like so: bukkit/mapfolder/world1, bukkit/mapfolder/world2, etc. Then inside of the plugin/Permissions directory you will need to create a folder called mapfolder and inside of that put the directories containing users.yml and groups.yml in there.

    Next, you will need to go in and add yourself to the users, just replace the user that is in there with your name. Make any other modifications that you need to. While making modifications make sure that you do NOT use tabs. These will break the YAML format and cause issues. Instead, each indent should be four spaces. If you want people who aren't in the Admin group to be able to reload the permissions plugin you need to give them 'permissions.reload' permissions within the config file.

    Permissions gives server admins great control, mostly in-game reloading. More info about commands can be found here.


    FAQ (open)

    [FAQ]

    [Q] What is with the version numbers? I can't keep up, it seems like every time I look there is a new version!
    [A] I use the GNU versioning system for my version numbers. So what this means is the version number should be read as Major.Minor.Revision. So for version 2.5.2 this would mean it is the 2nd Major version, the 5th Minor release in this version, and the 2nd revision. I tend to release bug fixes and anything that doesn't add functionality or will not break things as revisions. So generally you should be safe with just watching the major & minor numbers and only getting the revision if it fixes a bug specific to you. Technically 2.5.2 should have been released as 2.6 as it did add functionality, but this was below even a minor change so I released it as a revision.

    [Q] I am getting an error that it can't pass BLOCK_PLACED or BLOCK _BREAK events to Permissions. Fix it!
    [A] That's not a question. The reason why it can't place these is probably because the syntax of your Permissions file is all whacked out, or it is a different world and you don't have a config file for that world.

    [Q] What am I suppose to name the config file?
    [A] You need to name it the same as your world. So if you look in server.properties at "level-name" you will see a world name there. Rename your config file to the same thing as that. Make sure you keep the .yml extension at the end.

    [Q] Permissions are broken. Why can no one use commands? Why am I not an admin?
    [A] First off, make sure that your formatting is correct. Look at the format that the default config file uses. Yours should look like that. Do NOT use tabs. Use 4 spaces (IE. " " <-- Four of those things.). Also, whichever group you give the permission '*' to, do not have that group inherit permissions from anyone else. That is called overloading and it will break things. Also, this.


    [Q] Which one am I suppose to download and unzip to install this?
    [A] Download the main package, not the JAR only. Unzip the ZIP file. The JAR only downloads are simply there for people who are UPGRADING and do not need the default config file.

    [Q] I have done all of this and this doesn't work! I'm going back to GroupManager!
    [A] Well, there is probably the problem. Make sure that you delete EssentialsGroupManager.jar and EssentialsGroupBridge.jar as these don't play well with Permissions and will cause headache.

    [Q] When are you going to add <blah> <feature/command> into this already? You suck! Do what I want NAU PL0X!
    [A] Feature requests should be posted on the GitHub tracker. Stupid suggestions like adding teleportation functionality and other less ludicrous stuff will be rejected.



    Changelog
    • 3.1.6
      • Major fixes.
      • Simplify tracks
    Changelog (open)





    • 3.1.5
      • Fix several minor bugs.
      • Autoconvert 2.x/GM format (only works if you split them into groups.yml and users.yml, but leave the rest untouched)
    • 3.1.4
      • Fix YAML locking bugs.
    • 3.1.3
      • Fix another SQL data and inheritance issue.
    • 3.1.2
      • Fix SQL data issues.
      • Added user/group name autocomplete
      • Separated SQL interface into separate plugin
    • 3.1.1
      • Fix prefix/suffix issues.
      • Added ON UPDATE CASCADE to the SQL foreign [/SIZE]
    • 3.1
      • Tons of fixes.
    • 3.0.6
      • Fix SQLite issues due to misimplementation of methods.
    • 3.0.5
      • Fix cache-related NPEs
      • Fixed quoted worlds (thanks again @Jeyge !)
    • 3.0.4
      • Fix LinkageError caused by ServiceManager not unloading the PermissionHandler class.
      • Added cache
      • Fix index not being incremented when promoting (thanks @Jeyge !)
    • 3.0.3
      • Fixed another getGroup bug.
    • 3.0.2
      • Fixed getGroup bug.
    • 3.0.1
      • Fixed some NPE bugs.
    • 3.0
      • Total overhaul of Permissions. Adds many new features (see What's new in 3.0?).
    • 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








    Credits (open)


    TheYeti:
    Nijikokun - Without their original work this plugin would not be possible.​
    All of the members of the community that regularly provide support in this thread for Permissions​
    Rigby, Kainzo, DThielke, GoMySQL, sk89q, RightLegRed - For hanging out with me in IRC, tons of testing, and pushing me to improve on the code constantly and make changes to make this plugin constantly better and better, and in general being entertaining.​
    Everyone else on here and in IRC who provides support, feedback, assistance, plugins that have continued to support and integrate this, and in general makes my life a bit easier, THANK YOU!​

    rcjrrjcr:
    I would like to thank Joy , jamesg and omgneeq for staying in #permissions for long periods of time to test out 3.0, and help me find many coding mistakes I made, patiently waiting for the next build while I fixed the bugs. I appreciate SvenBrnn 's and GoMySQL(Geoff Winans on this forum) 's help that allow me to design and code the SQL interface, and the HeroCraft coding team for providing support and some priceless IRC quotes (Dgco). Also, I would like to thank Lycano for helping me in many different aspects. Last but not least, I would like to thank Nijikokun and TheYeti for developing P2, which was one of my core plugins when I was still a 14-year-old server admin that didn't understand Java, and was the base for 3.0. Without these people, 3.0 would never be possible.​


    If after reading through all of that you are still having issues do one of two things. If it is a provable bug, and you have things like screenshots or copies of startup, steps to reproduce, your craftbukkit build and the version this is running along with your config files then submit the bug on the issue tracker. If it is general help or support you are needing then post a reply to this thread and someone will try to help you.

    Old thread: Permissions v2.7.4
     
  2. Offline

    ViruSpreadeR

    can u post whats the error says?
     
  3. Offline

    nmcnick

    it says this
    Code:
    02:02:35 [SEVERE]       at com.nijikokun.bukkit.Permissions.Listener.onBlockBrea
    k(Listener.java:62)
    02:02:35 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$34.execute(Ja
    vaPluginLoader.java:475)
    02:02:35 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    02:02:35 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:310)
    02:02:35 [SEVERE]       at net.minecraft.server.ItemInWorldManager.c(ItemInWorld
    Manager.java:156)
    02:02:35 [SEVERE]       at net.minecraft.server.ItemInWorldManager.a(ItemInWorld
    Manager.java:118)
    02:02:35 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:462)
    02:02:35 [SEVERE]       at net.minecraft.server.Packet14BlockDig.a(SourceFile:42
    )
    02:02:35 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:217)
    02:02:35 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:75)
    02:02:35 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :105)
    02:02:35 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:401)
    02:02:35 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:311)
    02:02:35 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    02:02:45 [SEVERE] java.lang.NullPointerException
    02:02:45 [SEVERE]       at com.nijikokun.bukkit.Permissions.Listener.onBlockBrea
    k(Listener.java:62)
    02:02:45 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$34.execute(Ja
    vaPluginLoader.java:475)
    02:02:45 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    02:02:45 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:310)
    02:02:45 [SEVERE]       at net.minecraft.server.ItemInWorldManager.c(ItemInWorld
    Manager.java:156)
    02:02:45 [SEVERE]       at net.minecraft.server.ItemInWorldManager.a(ItemInWorld
    Manager.java:118)
    02:02:45 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:462)
    02:02:45 [SEVERE]       at net.minecraft.server.Packet14BlockDig.a(SourceFile:42
    )
    02:02:45 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:217)
    02:02:45 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:75)
    02:02:45 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :105)
    02:02:45 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:401)
    02:02:45 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:311)
    02:02:45 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
     
  4. Offline

    ViruSpreadeR

    hmmmm...if the problem is not the yml...which im sure it isnt
    then maybe its the permessions folder...whats in that folder?
    in PLUGINS>PERMISSIONS
    theres supposed to be 1 or more folder(if u multi worlds)
    and three YMLs(which is globalGroups.yml, globalUsers.yml, and storageconfig.yml)
    and every folder in PERMISSIONS folder there should be only 2 YMLs...(the GROUPS.yml and the USERS.yml)
     
  5. Offline

    Ashens

    Still no SQL build regardless of boolean or string set to true. Might want to update the help topic and the doc to use "permissions (<user|g:<group>) w:<world> info <get|set> <prefix|suffix|build> <b:true/false|string>" instead of the deprecated "permissions (<user|g:<group>) w:<world> <prefix|suffix|build> <get|set> <b:true/false|string>". If this makes any sense.

    Also, still in SQL, global (w:*) prefix/suffix is not working (used iChat to test), but world-specific prefixes/suffixes are.
     
    eniefaC and gordon-creAtive.com like this.
  6. Offline

    KaLul

    Hello there! I have a big problem and dont know what to do!
    the error code is this:
    Code:
    2011-06-02 11:23:47 [SEVERE] Error occurred while disabling Permissions v3.1 (Is it up to date?): null
    java.lang.NullPointerException
        at com.nijikokun.bukkit.Permissions.Permissions.onDisable(Permissions.java:135)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:262)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:123)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:260)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:341)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    and i use the following plugins:

    colorme
    commandsign
    exactspawn
    falsebook
    helppages
    lwc
    magiccarpet
    mcdocs
    myhome
    mywarp
    plgessentials
    simplegive
    simplesave
    worldedit
    worldguard

    everything is build 818!!!!
    myhome and mywarp seem to have problems. if i delete them i dont have this error!
     
  7. Offline

    Zottelchen

    we fail :'( our server doenst work... can someone parse our world.yml please?
    http://pastebin.com/HLrbT2TF or download or:
    Code:
    plugin:
      permissions: {system: default}
    groups:
      Spieler:
        default: true
        info: {prefix: '&b[&bSpieler&b]&b', suffix: '&f', build: true, rank: 0, dlimit: 5}
        inheritance: null
        permissions: [mcmmo.ability.woodcutting, mcmmo.ability.mining, mcmmo.ability.axes,
          mcmmo.ability.excavation, mcmmo.ability.swords, mcmmo.ability.unarmed, multihome.home,
          lwc.protect, multihome.sethome, falsebook.anyic, worldguardnotify, mcmmo.skills.*,
          iConomy.access, iConomy.rank, iConomy.list, iConomy.payment, DailyBonus.get,
          iConomyChestShop.shop.create, iConomyChestShop.shop.buy, iConomyChestShop.shop.sell,
          iConomyChestShop.command.iteminfo, odd.item.aliases, odd.item.info, odd.item.list,
          codes.redeem, multihome.setnamedhome, multihome.namedhome, commandbook.who,
          commandbook.motd, commandbook.rules, commandbook.spawn, commandbook.say, commandbook.say.me,
          commandbook.msg, commandbook.whereami, commandbook.whereami.compass, lottery.buy,
          chaircraft.sit, fight.user, falsebook.blocks.*, AetaPriest.*, pvptoggle.use, pvptoggle.command.toggle]
      Crafter:
        default: false
        info: {prefix: '&9[&9Crafter&9]&9', suffix: '&f', build: true, rank: 10}
        inheritance: [Spieler]
        permissions: [DailyBonus.get]
      SuperCrafter:
        default: false
        info: {prefix: '&a[&aSuperCrafter&a]&a', suffix: '&f', build: true, rank: 15}
        inheritance: [Crafter]
        permissions: [tpp.tp.*, mcmmo.commands.setmyspawn, tpp.jump.jump, tpp.mod.tool,
          logblock.toolblock, logblock.tool, logblock.lookup, DailyBonus.get, commandbook.teleport,
          commandbook.teleport.other, commandbook.kick, antihack.canfly, tpp.admin.bypass.notp]
      Mods:
        default: false
        info:
          prefix: '&d[&dModerator&d]&d'
          suffix: '&f'
          build: true
          warp:
            timers:
              warmup: {public: -1}
              cooldown: {public: -1}
          rank: 20
        inheritance: [SuperCrafter]
        permissions: [warp.*, lwc.mod, lwc.admin, lwc.blockinventory, logblock.area, logblock.rollback,
          tpp.*, mcmmo.skills.*, mcmmo.commands.ability.*, tpp.mod.tool, DailyBonus.get,
          commandbook.*, antihack.canfly, logblock.toolblock, logblock.tool, logblock.lookup]
      Weiser:
        default: false
        info:
          prefix: '&1[&1Weiser&1]&1'
          suffix: '&3'
          build: true
          warp:
            timers:
              warmup: {public: -1}
              cooldown: {public: -1}
          rank: 30
        inheritance: [Mods]
        permissions: ['*', DailyBonus.get]
      Baum:
        default: false
        info:
          prefix: '&2[&2Baum&2]&2'
          suffix: '&c'
          build: true
          warp:
            timers:
              warmup: {private: -1}
              cooldown: {private: -1}
          rank: 40
        inheritance: [Mods]
        permissions: ['*', DailyBonus.get]
      Admins:
        default: false
        info:
          prefix: '&c[&cAdmin&c]&c'
          suffix: '&7'
          build: true
          warp:
            timers:
              warmup: {private: -1, public: -1}
              cooldown: {private: -1, public: -1}
          rank: 100
        inheritance: [Mods]
        permissions: ['*', DailyBonus.get, iConomyChestShop.shop.admin]
    users:
      Zottelchen:
        group: Weiser
        permissions: ['*']
        info:
          warp:
            timers:
              warmup: {public: -1, private: -1}
              cooldown: {public: -1, private: -1}
      simoptim:
        group: Admins
        permissions: ['*']
      eisteekitty:
        group: Mods
        permissions: null
        info:
          warp:
            timers:
              warmup: {public: -1}
              cooldown: {public: -1}
      HansWitzig:
        group: Admins
        permissions: null
        info:
          warp:
            timers:
              warmup: {private: -1, public: -1}
              cooldown: {private: -1, public: -1}
      Nightey: {group: Spieler, permissions: null}
      Speedheck: {group: Mods, permissions: null}
      McEmo:
        group: Mods
        permissions: null
        info:
          warp:
            timers:
              warmup: {public: -1}
              cooldown: {public: -1}
      fahrschueler: {group: Admins, permissions: null}
      Johnsonlxd: {group: Spieler, permissions: null}
      Adiot: {group: Spieler, permissions: null}
      ChristopherJ: {group: SuperCrafter, permissions: null}
      AncientEngine: {group: Spieler, permissions: null}
      RobiStoney: {group: Spieler, permissions: null}
      Maxi: {group: Spieler, permissions: null}
      Keisergnom: {group: Spieler, permissions: null}
      mocmocci: {group: Crafter, permissions: null}
      Xarcess: {group: Crafter, permissions: null}
      feuerkiller: {group: Crafter, permissions: null}
      Lets_Test: {group: Mods, permissions: null}
      X_Whitebeard_X: {group: Crafter, permissions: null}
      Norrison: {group: Crafter, permissions: null}
      bizzscorp: {group: SuperCrafter, permissions: null}
      eistee: {group: Crafter}
      hardb4se: {group: Crafter}
      yulx:
        group: Crafter
        permissions: [PortableTorch.Permanent, portalstick.teleport, portalstick.damageboots]
      christi1: {group: Crafter}
      xNickkingx: {group: Crafter}
      Deadbombi: {group: Crafter}
      Woelfi: {group: Crafter, permissions: null}
      InYFace: {group: Crafter}
      LupinderFuchs: {group: Spieler}
      Knauschi:
        group: Spieler
        permissions: []
      Vankuchen: {group: Spieler}
      TheBraveLero:
        group: Crafter
        permissions: [portalstick.teleport]
      scarscraper: {group: Spieler}
      Zeppoo: {group: Crafter}
    
    
     

    Attached Files:

  8. Offline

    theclick64

    Hi,
    I have a problem with Permissions (3.1.1).
    I can use all commands but i cant destroy any blocks.
    Here is the error message :
    Code:
    [SEVERE] tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl initializing Permissions v3.1.1 (Is it up to date?)
    java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl
        at com.nijiko.permissions.ModularControl.<init>(ModularControl.java:53)
        at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:168)
        at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:128)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    What am I doing wrong ?
    Or is that to Permissions ?
     
  9. Offline

    Robbo905

    Help! I'm having huge problems and have spent maybe three hours trying to get it to work now.

    With the config files I currently have every user seems to have no permissions, not even the default group :confused:

    By promoting myself to OP, I have access to a few commands, but still not everything.

    This is the current layout of my plugins folder:
    /Plugins (open)
    /Permissions (open)
    /OnlineWorld (open)
    storageconfig.yml

    I've uploaded the files using PasteBin. My server is running 1.6.

    Hope someone can help! Thanks.
     
  10. Offline

    MineFreakz

    Code:
    2011-06-02 12:13:44 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-06-02 12:13:44 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-06-02 12:13:44 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    2011-06-02 12:13:44 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-06-02 12:13:44 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
    2011-06-02 12:13:44 [INFO] Preparing level "world"
    2011-06-02 12:13:44 [INFO] Preparing start region for level 0
    2011-06-02 12:13:44 [INFO] Preparing start region for level 1
    2011-06-02 12:13:45 [INFO] DataSourcePool [iConomyChestShop] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-06-02 12:13:45 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-06-02 12:13:45 [INFO] Entities enhanced[0] subclassed[1]
    2011-06-02 12:13:45 [SEVERE] tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl initializing Permissions v3.1.1 (Is it up to date?)
    java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl
        at com.nijiko.permissions.ModularControl.<init>(ModularControl.java:53)
        at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:168)
        at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:128)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-02 12:13:45 [INFO] [Permissions] version [3.1.1] (Yeti)  loaded
    2011-06-02 12:13:45 [WARNING] [NoCheat] version [1.01a] couldn't find Permissions plugin. Fallback to 'isOp()' equals 'nocheat.*'
    2011-06-02 12:13:45 [INFO] [NoCheat] version [1.01a] couldn't find CrafTIRC plugin. Disabling logging to IRC.
    2011-06-02 12:13:45 [INFO] [NoCheat] version [1.01a] is enabled with the following checks: moving bedteleport speedhack itemdupe flying
    2011-06-02 12:13:45 [INFO] [iChat] Found Permissions (v3.1.1)
    2011-06-02 12:13:45 [INFO] iChat (v2.3.0) enabled
    2011-06-02 12:13:45 [INFO] Whitelist: Trying to load whitelist and settings...
    2011-06-02 12:13:45 [INFO] done.
    2011-06-02 12:13:45 [INFO] WhitelistPlus version 0.2 is enabled!
    2011-06-02 12:13:45 [INFO] FalseBookCart v0.85alpha by GeMo enabled
    2011-06-02 12:13:46 [INFO] [iConomy] Logging enabled.
    2011-06-02 12:13:46 [INFO] [iConomy] v5.0 (Eruanna) loaded.
    2011-06-02 12:13:46 [INFO] [iConomy] Developed by: [Nijikokun]
    2011-06-02 12:13:46 [INFO] [iConomy] hooked into Permissions.
    2011-06-02 12:13:46 [INFO] [FalseBook Core] FalseBookCore v0.85alpha by GeMo enabled!
    2011-06-02 12:13:46 [INFO] [iConomy] hooked into Permissions.
    2011-06-02 12:13:46 [INFO] [MYHOME]: 1 homes loaded
    2011-06-02 12:13:46 [INFO] [MYHOME] Permissions enabled using: Permissions v3.1.1
    2011-06-02 12:13:46 [WARNING] [MYHOME] 'Help' isn't detected. No /help support.
    2011-06-02 12:13:46 [INFO] [MYHOME] MyHome 1.9.5 enabled
    2011-06-02 12:13:46 [INFO] [iConomy] hooked into Permissions.
    2011-06-02 12:13:46 [INFO] FalseBookIC v0.85alpha by GeMo enabled
    2011-06-02 12:13:46 [INFO] [iConomy] hooked into Permissions.
    2011-06-02 12:13:46 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-02 12:13:46 [INFO] WorldGuard: (world) Single session is enforced.
    2011-06-02 12:13:46 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    2011-06-02 12:13:46 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    2011-06-02 12:13:46 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-06-02 12:13:46 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    2011-06-02 12:13:46 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-06-02 12:13:46 [INFO] WorldGuard: (world_nether) Single session is enforced.
    2011-06-02 12:13:46 [INFO] WorldGuard: (world_nether) TNT ignition is PERMITTED.
    2011-06-02 12:13:46 [INFO] WorldGuard: (world_nether) Lighters are PERMITTED.
    2011-06-02 12:13:46 [INFO] WorldGuard: (world_nether) Lava fire is blocked.
    2011-06-02 12:13:46 [INFO] WorldGuard: (world_nether) Fire spread is UNRESTRICTED.
    2011-06-02 12:13:46 [INFO] WorldGuard: Loaded configuration for world 'world_nether"
    2011-06-02 12:13:46 [INFO] WorldGuard: 15 regions loaded for 'world'
    2011-06-02 12:13:46 [INFO] WorldGuard 5.0-alpha10 enabled.
    2011-06-02 12:13:46 [INFO] [iConomy] hooked into Permissions.
    2011-06-02 12:13:46 [INFO] CommandBook 1.5.1 enabled.
    2011-06-02 12:13:46 [INFO] CommandBook: 2 banned name(s) loaded.
    2011-06-02 12:13:46 [INFO] CommandBook: 1 kit(s) loaded.
    2011-06-02 12:13:46 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-02 12:13:46 [INFO] [iConomy] hooked into Permissions.
    2011-06-02 12:13:46 [INFO] FalseBookBlock v0.85alpha by GeMo enabled
    2011-06-02 12:13:46 [INFO] [FalseBook Block] 2 Cauldrons successfully loaded.
    2011-06-02 12:13:46 [INFO] [iConomy] hooked into Permissions.
    2011-06-02 12:13:46 [INFO] TreeAssist STARTED
    2011-06-02 12:13:46 [INFO] [iConomy] hooked into Permissions.
    2011-06-02 12:13:46 [INFO] FalseBookExtra v0.85alpha by GeMo enabled
    2011-06-02 12:13:46 [INFO] [iConomy] hooked into Permissions.
    2011-06-02 12:13:46 [INFO] WorldEdit 4.4 enabled.
    2011-06-02 12:13:46 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-02 12:13:46 [INFO] [iConomy] hooked into Permissions.
    2011-06-02 12:13:46 [INFO] [iConomyChestShop] version 2.74 initialized!
    2011-06-02 12:13:46 [INFO] [iConomy] hooked into Permissions.
    2011-06-02 12:13:46 [INFO] [iConomyChestShop] iConomy version 5 loaded.
    2011-06-02 12:13:46 [INFO] [iConomyChestShop] Permissions version 3.1.1 loaded.
    2011-06-02 12:13:46 [INFO] [FalseBook Chat] 0 ChatRooms loaded.
    2011-06-02 12:13:46 [INFO] FalseBookChat v0.85alpha by GeMo enabled
    2011-06-02 12:13:46 [INFO] [iConomy] hooked into Permissions.
    2011-06-02 12:13:46 [INFO] [iConomyChestShop] Permissions version 3.1.1 loaded.
    2011-06-02 12:13:46 [SEVERE] [Jobs] - mysql-table-prefix property invalid or missing. Defaulting to no prefix.
    2011-06-02 12:13:46 [INFO] [Jobs] - max-jobs property not found. Defaulting to unlimited!
    2011-06-02 12:13:46 [INFO] [Jobs] - Job Woodcutter is missing the max-level property. defaulting to no limits !
    2011-06-02 12:13:46 [INFO] [Jobs] - Job Woodcutter is missing the slots property. defaulting to no limits !
    2011-06-02 12:13:46 [INFO] [Jobs] - Job Miner is missing the max-level property. defaulting to no limits !
    2011-06-02 12:13:46 [INFO] [Jobs] - Job Miner is missing the slots property. defaulting to no limits !
    2011-06-02 12:13:46 [INFO] [Jobs] - Job Builder is missing the max-level property. defaulting to no limits !
    2011-06-02 12:13:46 [INFO] [Jobs] - Job Builder is missing the slots property. defaulting to no limits !
    2011-06-02 12:13:46 [INFO] [Jobs] - Job Digger is missing the max-level property. defaulting to no limits !
    2011-06-02 12:13:46 [INFO] [Jobs] - Job Digger is missing the slots property. defaulting to no limits !
    2011-06-02 12:13:46 [INFO] [Jobs] - Job Farmer is missing the max-level property. defaulting to no limits !
    2011-06-02 12:13:46 [INFO] [Jobs] - Job Farmer is missing the slots property. defaulting to no limits !
    2011-06-02 12:13:46 [INFO] [Jobs] - Job Hunter is missing the max-level property. defaulting to no limits !
    2011-06-02 12:13:46 [INFO] [Jobs] - Job Hunter is missing the slots property. defaulting to no limits !
    2011-06-02 12:13:46 [INFO] [Jobs v2.0.0] has been enabled succesfully.
    2011-06-02 12:13:46 [INFO] [iConomy] hooked into Permissions.
    2011-06-02 12:13:46 [INFO] [iConomyChestShop] Permissions version 3.1.1 loaded.
    2011-06-02 12:13:46 [INFO] [Jobs] Successfully linked with iConomy 5+.
    2011-06-02 12:13:46 [INFO] [Jobs] Successfully linked with Permissions.
    2011-06-02 12:13:46 [INFO] Done (0.238s)! For help, type "help" or "?"
    2011-06-02 12:13:46 [INFO] [FalseBook IC] plugins/FalseBook/Transmitter.db not found.
    2011-06-02 12:13:46 [INFO] [FalseBook IC] plugins/FalseBook/Receiver.db not found.
    2011-06-02 12:13:46 [INFO] [FalseBook IC] plugins/FalseBook/SensorList.db not found.
    2011-06-02 12:13:46 [INFO] [FalseBook Block] 0 Areas loaded.
    2011-06-02 12:13:46 [INFO] [FalseBook Block] 0 Bridges successfully loaded.
    2011-06-02 12:13:46 [INFO] [FalseBook Block] 0 Doors successfully loaded.
    2011-06-02 12:13:46 [INFO] [FalseBook Block] Gates successfully loaded.
    2011-06-02 12:20:30 [INFO] Whitelist: Player xlR is trying to join...
    2011-06-02 12:20:30 [SEVERE] Could not pass event PLAYER_LOGIN to WhitelistPlus
    java.lang.NullPointerException
        at com.ubempire.www.whitelist.WLPlayerListener.onPlayerLogin(WLPlayerListener.java:60)
        at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:313)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:183)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:82)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
        at net.minecraft.server.Packet1Login.a(SourceFile:43)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-02 12:20:30 [INFO] xlR [/92.228.140.144:49700] logged in with entity id 241 at (-117.5, 72.62000000476837, -22.5)
    2011-06-02 12:20:30 [SEVERE] java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.inGroup(Ljava/lang/String;Ljava/lang/String;)Z
    2011-06-02 12:20:30 [SEVERE]     at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:77)
    2011-06-02 12:20:30 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-06-02 12:20:30 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-06-02 12:20:30 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:438)
    2011-06-02 12:20:30 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
    2011-06-02 12:20:30 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-06-02 12:20:30 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:123)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-02 12:20:30 [SEVERE] java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.inGroup(Ljava/lang/String;Ljava/lang/String;)Z
    2011-06-02 12:20:30 [SEVERE]     at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:77)
    2011-06-02 12:20:30 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-06-02 12:20:30 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-06-02 12:20:30 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:442)
    2011-06-02 12:20:30 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
    2011-06-02 12:20:30 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-06-02 12:20:30 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:123)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    2011-06-02 12:20:30 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-02 12:20:30 [INFO] CommandBook: No intro.mid; not playing intro song.
    2011-06-02 12:20:48 [SEVERE] Could not pass event PLAYER_CHAT to iChat
    java.lang.NullPointerException
        at net.TheDgtl.iChat.iChat.getPrefix(iChat.java:277)
        at net.TheDgtl.iChat.iChat.parseChat(iChat.java:208)
        at net.TheDgtl.iChat.playerListener.onPlayerChat(playerListener.java:39)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:278)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:689)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Whats wrong?
     
  11. Offline

    Sevenguy7

    Hello,
    i have a little problem with this plugin by running on the bukkit Server for Mc 1.6.
    I have taken the configuration into the two filed "user" and "group".
    Here is it:
    Code:
    users:
        Reignbeaux:
            groups:
                - Admins
            permissions:
        Herpina:
            groups:
                - Moderator
            permissions:
    
        Derpina:
            groups:
                - Admins
            info:
                prefix: '&4'
            permissions:
                
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'commandbook'
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    But if I run the server with that there is an error (Uploaded Picture)
    Can you help me?
    And sorry for my bad English^^
     

    Attached Files:

  12. Offline

    Pomme72

    Guys please,

    I really need some help : what is the fucking command for promote/demote anyone in game ?!

    I have tried all, I have read the wiki, but nothing :'(

    Help please !
     
  13. Offline

    Jesper Walsted

    Hi,
    First of all thanks for the great work. I upgraded to 3.x and its seems to be runnig fine. However I cannot seem to use in-game permissions since my world is called "New World". Does the /permissions -list users <worldname> support spaces for the workld name?
    I keep getting an "Permissions World does not exist"
    Thanks in advance.
     
  14. This is an amazing plugin and if you read the WIP Guide then everything makes sense! Thank you sooo much for making sure permissions doesn't die.
     
  15. Offline

    ArmaSteiner

    Hi,
    I have got the next Problem.
    I want that everybody can built, but only the Admins can it!
    Look at my code, please:
    Code:
    Default:
            default: false
            info:
                prefix: '&2'
                suffix: '&f'
                build: true
            permissions:
                - 'foo.bar'
                - 'essentials.spawn'
                - 'essentials.getpos'
                - 'essentials.top'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.afk'
                - 'essentials.getpos'
                - 'essentials.getpos'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.helpop'
    How can I find the right way???
     
  16. Offline

    Choub

    Worldguard seems to be broken when a region's owner is a group.
    That can be the problem for some people here.
     
  17. Offline

    glarter

    I'm looking to migrate my server from GroupManager to Permissions and I'm experiencing a couple of issues.
    I've added the Jar file to my Plugins folder, renamed the Groupmanager files as .inactive then I restarted my server. I get the following lines in my Server.log:
    server.log (open)
    Code:
    2011-06-02 12:30:14 [SEVERE] [Permissions] storageconfig.yml is not a file.
    2011-06-02 12:30:14 [INFO] [Permissions] Shutting down Permissions due to error(s).
    2011-06-02 12:30:14 [SEVERE] [Permissions] storageconfig.yml cannot be read.
    2011-06-02 12:30:14 [INFO] [Permissions] Shutting down Permissions due to error(s).
    2011-06-02 12:30:14 [INFO] [Permissions] Creating storageconfig.yml.
    2011-06-02 12:30:14 [SEVERE] java.io.IOException: Unable to create directory structure for world 'world'.
    2011-06-02 12:30:14 [SEVERE]     at com.nijiko.data.StorageFactory.getUserStorage(StorageFactory.java:79)
    2011-06-02 12:30:14 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:89)
    2011-06-02 12:30:14 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:81)
    2011-06-02 12:30:14 [SEVERE]     at com.nijiko.permissions.ModularControl.load(ModularControl.java:102)
    2011-06-02 12:30:14 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:171)
    2011-06-02 12:30:14 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:128)
    2011-06-02 12:30:14 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    2011-06-02 12:30:14 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    2011-06-02 12:30:14 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    2011-06-02 12:30:14 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    2011-06-02 12:30:14 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-06-02 12:30:14 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-02 12:30:14 [SEVERE] [Permissions] Unable to load permission data.
    2011-06-02 12:30:14 [INFO] [Permissions] Shutting down Permissions due to error(s).
    2011-06-02 12:30:14 [INFO] [Permissions] (Yeti) was initialized.
    

    The storageconfig.yml, globalusers.yml, globalgroups.yml and the world/*.yml files were all empty.
    So I manually created the following files:
    groups.yml (open)
    Code:
    groups:
      Default:
        default: true
        permissions:
        - essentials.help
        - essentials.helpop
        - essentials.list
        - essentials.motd
        - essentials.rules
        - essentials.spawn
        inheritance: []
        info:
          prefix: '&e'
          build: false
          suffix: ''
      wg-invincible:
        default: false
        permissions: []
        inheritance: []
        info:
          prefix: ''
          build: false
          suffix: ''
      SemiAdmin:
        default: false
        permissions:
        - -groupmanager.mantogglesave
        - essentials
        - essentials.clearinventory
        - essentials.cooldown.bypass
        - essentials.deljail
        - essentials.give
        - essentials.god
        - essentials.heal
        - essentials.heal.others
        - essentials.invsee
        - essentials.item
        - essentials.jails
        - essentials.kickall
        - essentials.kit.*
        - essentials.mute
        - essentials.sell
        - essentials.setjail
        - essentials.signs.protection.override
        - essentials.spawnmob
        - essentials.teleport.cooldown.bypass
        - essentials.teleport.timer.bypass
        - essentials.togglejail
        - groupmanager.*
        - essentials.burn
        inheritance:
        - moderator
        info:
          prefix: '&c'
          build: true
          suffix: ''
      Builder:
        default: false
        permissions:
        - 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
        inheritance:
        - default
        info:
          prefix: '&2'
          build: true
          suffix: ''
      Moderator:
        default: false
        permissions:
        - essentials.back
        - essentials.ban
        - essentials.banip
        - essentials.broadcast
        - essentials.delwarp
        - essentials.depth
        - essentials.eco
        - essentials.ext
        - 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
        - groupmanager.listgroups
        - groupmanager.mandemote
        - groupmanager.manload
        - groupmanager.manpromote
        - groupmanager.mansave
        - groupmanager.manselect
        - groupmanager.manuadd
        - groupmanager.manudel
        inheritance:
        - builder
        info:
          prefix: '&5'
          build: true
          suffix: ''
      wg-amphibious:
        default: false
        permissions: []
        inheritance: []
        info:
          prefix: ''
          build: false
          suffix: ''
      Admin:
        default: false
        permissions:
        - '*'
        inheritance:
        - semiadmin
        - wg-invincible
        - wg-amphibious
        info:
          prefix: '&4'
          build: true
          suffix: ''
    

    users.yml (open)
    Code:
    users:
      gold_ferno:
        subgroups: []
        permissions: []
        group: Builder
      unihorn3:
        subgroups: []
        permissions:
        - essentials.item
        group: Moderator
      beanout567:
        subgroups: []
        permissions:
        - essentials.item
        group: Moderator
      glarter:
        subgroups: []
        permissions: []
        group: Admin
      asanaria:
        subgroups: []
        permissions: []
        group: Builder
      b3njee567:
        subgroups: []
        permissions: []
        group: Builder
      wrendre:
        subgroups: []
        permissions: []
        group: Builder


    Although everything else seems to work, trying to use "/pr -list worlds" returns that I do not have permission to use that command although I'm logged in as the server admin.

    Thanks in advance for any help you can give me.

    Server Spec:
    Athlon 2.4GHz
    4 GB Ram.
    Windows 2008 R2 SP1
    CraftBukkit #818
     
  18. Offline

    Azurini

    Code:
    groups:
        Guest:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.helpop'
                - 'essentials.rules'
                - 'essentials.item'
        Builder:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'general.item'
                - 'general.motd'
                - 'general.spawn'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - essentials.give
                - essentials.weather
                - essentials.item
                - essentials.ban
                - essentials.tempban
                - essentials.banip
                - essentials.kick
                - essentials.unban
                - essentials.unbanip
                - essentials.togglejail
        Server:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*' 
    Could I get some help? I want to disable tnt and flint and tinder for builders and..Well You will see what I tried to do. Some things are in '_' Because I dident Know if I was supposed to put '' or not
     
  19. Offline

    Maxis010

    GUI Update
    It's not a lot but I've got the world builder done
    From now on you can track my progress from this link
    https://github.com/Maxis010/MCManager/tree/master/dev/ext

    As I have said before this is an extension of MCManager but I am building it to work stand alone, once it's finished anyone who wants to is welcome to host a copy but I would prefer everyone to use the instance I will be hosting as I'm also building a database of permission nodes so that the more my site is used the better the database will become so instead of having to type out 1 node after another you can simply select a plugin and then the the nodes off a list with description
    At least that is the plan, back to coding
     
  20. Offline

    Pomme72

    No one for help me ? :'(
     
  21. Offline

    gyoloco

  22. Offline

    Maxis010

    From the Wiki

    With Tracks
    Without Tracks
    Replace target with the user of choice
    Set world if you are adding the user to another world's config
    groupname is the group you are adding/removing the user to/from


    Someone correct me if I'm wrong, and yes I know it's confusing
     
  23. Offline

    Takel

    The error messages that you posted essentially say that the plug in was unable to find the files it was expecting to see (storageconfig.yml, and the world folder in Permissions\) It should have created null entries for those files which is why you won't see them again.

    Just to be safe, create a basic storageconfig.yml file:
    Code:
    permissions:
         storage:
             type: YAML
    That needs to go into Permissions folder root, and tells Permissions that all your configs are YAML and none use a SQL database.

    Where did you place the users/groups.yml config files? Did you put them in the \plugins\Permissions\world folder?

    Your users.yml file is in the wrong format.
    First off, there's no sub-group. Group definitions are done as follows:
    Code:
        <Name1>:
            permissions:
            - <AdditionalPermission>
            groups:
            - <Group1>
            - <Group1>
            - <Group1>
            - <Group1>
        <Name2>:
             permissions:
             groups:
             - <Group1>
    Fix up the users.yml file, then see if there's any more problems. If there are still problems and you have access to the server console, type in 'pr -list users world' to make sure that the users list is being loaded, then check your group membership with 'pr -glater w:world parents list'


    I edited the Wiki with some details between 2.x and 3.x configs under the transition page, and I've also dedicated around 2-3 paragraphs to promoting/demoting with an example. I probably should have shoved my modifications in a more prominent location but oh well. Take a look. I'm going to change my word selection a bit later on when I have time to simplify the language a bit more.
     
  24. Offline

    Pomme72


    Thank you for trying to help me =)

    But don't work :(

    Can you just give me an example who work of the command for promote or demote ? Ty !
     
  25. Offline

    Schlumpfpirat

    Please add a example configuration.

    kthxbai
     
  26. Offline

    Maxis010

    Please bother to read the wiki
    https://github.com/TheYeti/Permissions/wiki/Guide-to-creating-YAML-configs

    @rcjrrjcr
    @TheYeti

    Is there an ETA on the global files and can they be overridden by world specific files
    EG
    Global File sets group User to have permissions 1 to 5
    World file removes permission 3 and 4 for world A
    World file grants permission 6 for world B

    Asking so I can plan ahead for the global files with regards to the permissions extension of MCManger
    That and I'm curious as a user as well

    Also if we set a global file can we remove the world specific files if we don't need them

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

    footwo

    What the hell are the globalusers/globalgroups YAML files used for? Does it matter that they are blank?
     
  28. Offline

    Maxis010

    At this time the globals have no effect, I asked in my previous post for an ETA on why they will be used and their priority when global and world specific files co-exist
     
  29. Offline

    Pomme72

    Just an example please :)
     
  30. Offline

    Maxis010

    Maybe if you let a few hours go by someone else will log in and respond to your post with some help, the help I gave you didn't work and the fact that no-one else has replied YET shows that no-one who has read you post has any help to offer
     
  31. Offline

    Milchbub

    Hi,
    I've got a problem...
    I just updated my permissions on 3.1.1 but everytime I run the server I get this error:

    Code:
    2011-06-02 15:16:29 [SEVERE] tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl initializing Permissions v3.1.1 (Is it up to date?)
    java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl
        at com.nijiko.permissions.ModularControl.<init>(ModularControl.java:53)
        at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:168)
        at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:128)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    and when I log in it gets much worse :|
    I use the standart configuration and just renamed the world-folder like it's written in the guides.
    I hope someone can help me :)
     
Thread Status:
Not open for further replies.

Share This Page