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

    ACStache

    ok so:
    I've dabbled a little with global permissions. there's a couple things that are a bit funky, but as it stands, they work. Ultimately I think that's because I have the - '*' permission for myself, so my users may notice things not working right. we shall see :p lol.
    I'll have a write up about it tomorrow night, combining knowledge from page 71 of this thread and the wiki and how I have it set up for myself. Provided links for those who dare try it on their own :)
     
  3. Offline

    jungalist81

    Hello Permission team!

    Auto promote
    I am looking for a way for players to promote themselves from Guest to Builder in my server. I am using Permissions for my ranking system. It is used as a self-efficent tool to allow Guest become a member ingame. I am doing this because:
    1. I didn't want a whitelist. I don't want to have to check my email or forum or a site everyday where ppl are requesting to join my server. It would be too tedious and also I would probably approve 100% of requests anyway.
    2. I want guests to prove themselves. If players want to join, they must follow some instructions and do some reading ingame.

    How will this work?
    Guest touring around my server may choose to be able to become a member ingame. Members have the ability to play Minecraft while Guest can only roam around and visit. If they choose to become a member they must go through a dungeon. When they reach the exit, they are promoted. The Trigger can be anything as long as it works. It can be:
    -when a player walks on a certain spot
    -when a player punches a hanged sign

    Is there a way to do this? Perhaps use it along with other plugins?
     
  4. Offline

    ACStache

    @jungalist81 I think there's a plugin that lets buttons execute commands, or signs that do it, so you can have the sign/button do a single promotion command, or just add the user to the appropriate group instead of following a track.

    the syntax for the command is on the wiki
     
  5. Offline

    BindMind

    I don't mean to be pushy, but....
     
  6. Offline

    RustyDagger

    THis plugin has been getting worse ever since niji stopped working on it and having the main say in what is made.

    its hopelessy complex its buggy and to be quite honest i would perfer to use a half finished bukkit permissions system than this junk. but sadly that's not an option. As it is i am rellying on permissions plus to change my users from group to group because that is how tracks should be done go learn a thing or 2 from him.
     
  7. Offline

    danthonywalker

    What do I do with the SQL Interface jar? I am running MySQL. What do I do with it?
     
  8. Offline

    Sayshal

    I'm starting to get REALLY angry. Can someone PLEASE help me. I'm trying to setup permissions, and the nodes are just NOT registering. Is is just me or am I dumb.. Here is a pastebin with my Permissions directory, and the contents of EVERY file. Someone PLEASE fix this.

    http://pastebin.com/R3VSpqa3
     
  9. Offline

    Bart13

    I'm having some problems with mysql. I can't enable building for everyone. Actually I don't think it even puts new plauers in the players grup (3). My tables:

    prworldbase:
    worldid | defaultid
    1 | 3
    2 | 3
    3 | 3

    prworlds:
    woprldid | worldname
    1 | *
    2 | world
    3 | world_nether

    prdata:
    dataid | entryid | path | data
    4 | 3 | build | true

    prentries
    entryid | name | worldid | type
    1 | Bart | 1 | 0

    2 | Operators | 1 | 1

    3 | Players | 1 | 1
     
  10. hey can some one pliz help me with this i wont to make it so ops have all commands but not /op
    and non op can use /warp and buttons and all the normal stuff
     
  11. This is bullsh*** i used the examples from the wiki, used the default values, but changed the username to my username, reload the server, even used the PermissionsPlus and still i get nothing....
    Totally agree....this 3.x is crap.
    There isnt a single useful post with a working example...
     
  12. Offline

    Maxis010

    You want a working example
    Directory BukkitRoot/plugins/Permissions/survival
    groups.yml (open)
    Code:
    groups:
        User:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'slowhealth'
                - 'lockette.user.create.*'
                - 'cenotaph.*'
                - '-cenotaph.admin'
                - 'supplysign.access'
                - 'sleep.*'
                - 'multiverse.world.spawn'
                - 'multihome.home'
                - 'multihome.namedhome '
                - 'multihome.sethome'
                - 'multihome.setnamedhome'
                - 'multihome.deletehome'
                - 'multihome.listhomes.myself'
                - 'multihome.invitehome'
                - 'multihome.invitenamedhome'
                - 'multihome.invitetimedhome'
                - 'multihome.invitenamedtimedhome'
                - 'multihome.uninvitehome'
                - 'multihome.uninvitenamedhome'
                - 'multihome.listinvites.*'
        Admin:
            default: false
            info:
                prefix: '&9'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - '-worldedit.*'
                - '-creaturebox.*'
                - '-tpp.*'
                - '-supplysign.create'
                - '-supplysign.destroy'
                - '-supplysign.reload'
        SAdmin:
            default: false
            info:
                prefix: '&9'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    

    This file was truncated when posted as there is no point listing everyone auto-added to the default group
    users.yml (open)
    Code:
    users:
        Maxis010:
            groups:
            - Admin
            permissions: []
        skullious029:
            groups:
            - Admin
            permissions: []
        Lucky_Joe:
            groups:
            - Admin
            permissions: []
        desertopzac:
            groups:
            - Admin
            permissions: []
    

    server.log (open)
    Code:
    2011-06-30 11:09:25 [INFO] Starting minecraft server version Beta 1.6.6
    2011-06-30 11:09:25 [WARNING] **** NOT ENOUGH RAM!
    2011-06-30 11:09:25 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-06-30 11:09:25 [INFO] Loading properties
    2011-06-30 11:09:25 [INFO] Starting Minecraft server on *:25565
    2011-06-30 11:09:25 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-823-gb9d0b04-b860jnks (MC: 1.6.6)
    2011-06-30 11:09:25 [INFO] Preparing level "survival"
    2011-06-30 11:09:25 [INFO] Preparing start region for level 0
    2011-06-30 11:09:26 [INFO] Preparing spawn area: 60%
    2011-06-30 11:09:27 [INFO] DataSourcePool [MinecartManiaCore] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-06-30 11:09:28 [INFO] DatabasePlatform name:MinecartManiaCore platform:mysql
    2011-06-30 11:09:28 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-06-30 11:09:28 [INFO] Entities enhanced[0] subclassed[2]
    2011-06-30 11:09:28 [INFO] DataSourcePool [MinecartManiaSignCommands] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-06-30 11:09:29 [INFO] DatabasePlatform name:MinecartManiaSignCommands platform:mysql
    2011-06-30 11:09:29 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-06-30 11:09:29 [INFO] Entities enhanced[0] subclassed[2]
    2011-06-30 11:09:29 [INFO] [Permissions] (Yeti) was initialized.
    2011-06-30 11:09:29 [INFO] [Permissions] version [3.1.5] (Yeti)  loaded
    2011-06-30 11:09:29 [INFO] [GuestPrev] version 1.4i by SunShe is enabled!
    2011-06-30 11:09:29 [INFO] [MultiInv] version 2.2.0 is enabled!
    2011-06-30 11:09:29 [INFO] Lockette version 1.3.8 is being enabled!  Yay!  (Core version 1.0)
    2011-06-30 11:09:29 [INFO] Lockette: Detected craftbukkit build [860] ok.
    2011-06-30 11:09:29 [INFO] Lockette: Linked to Permissions plugin version 3.1.5
    2011-06-30 11:09:29 [INFO] Lockette: Ready to protect your containers.
    2011-06-30 11:09:29 [INFO] [PorteCoulissante] plugin version 1.2.1 by Captain_Chaos enabled
    2011-06-30 11:09:29 [INFO] [ElectricFence]: ElectricFence has been enabled!
    2011-06-30 11:09:29 [INFO] [KeepGrowing]: No dava file to load
    2011-06-30 11:09:29 [INFO] [KeepGrowing]: Plugin enabled
    2011-06-30 11:09:29 [INFO] [MultiVerse] Permissions Found
    2011-06-30 11:09:29 [INFO] [MultiVerse] - Version 1.7.2 Enabled
    2011-06-30 11:09:29 [INFO] [MultiVerse] Loading World & Settings - 'admin' - NORMAL
    2011-06-30 11:09:30 [INFO] Preparing spawn area for admin, 89%
    2011-06-30 11:09:30 [INFO] [MultiVerse] Loading World & Settings - 'creative' - NORMAL
    2011-06-30 11:09:31 [INFO] Preparing spawn area for creative, 73%
    2011-06-30 11:09:31 [INFO] [MultiVerse] Loading World & Settings - 'survival' - NORMAL
    2011-06-30 11:09:31 [INFO] [MultiVerse] 3 - World(s) loaded.
    2011-06-30 11:09:31 [INFO] [MultiVerse] Loading Portals
    2011-06-30 11:09:31 [INFO] [MultiVerse] 0 - Portal(s) loaded.
    2011-06-30 11:09:31 [INFO] properTime reading from config at /opt/minecraft/plugins/properTime/properTime.conf
    2011-06-30 11:09:31 [INFO] properTime 1.8.9 initialized
    2011-06-30 11:09:31 [INFO] [ItemDetector] Permission plugin found, Adding these
    2011-06-30 11:09:31 [INFO] ItemDetector version 1.0 is enabled!
    2011-06-30 11:09:31 [INFO] [SlowHealth] version [3.2.0] (actruncale) is loaded.
    2011-06-30 11:09:31 [INFO] PumpkinDiver version 0.16 is enabled!
    2011-06-30 11:09:31 [INFO] [RetractableBridge] plugin version 1.3.6 by Captain_Chaos enabled
    2011-06-30 11:09:31 [INFO] creaturebox version 0.7.4 is enabled!
    2011-06-30 11:09:31 [INFO] [Tele++] initializing version [1.3.4]
    2011-06-30 11:09:31 [WARNING] 'Help' not detected. No Help support enabled! Using internal Help
    2011-06-30 11:09:31 [INFO] [Tele++] version [1.3.4] loaded
    2011-06-30 11:09:31 [INFO] [MultiHome] Version 0.9.3 loaded.
    2011-06-30 11:09:31 [INFO] [DeathTpPlus] 0 Kill Streaks loaded.
    2011-06-30 11:09:31 [INFO] [DeathTpPlus] 0 Death Streaks loaded.
    2011-06-30 11:09:31 [INFO] [DeathTpPlus] Using Permissions
    2011-06-30 11:09:31 [INFO] [DeathTpPlus] version 1.86 by lonelydime is enabled!
    2011-06-30 11:09:31 [INFO] SleepAnnounce version 1.1.0 is enabled.
    2011-06-30 11:09:31 [INFO] Permissions plugin detected. Using it for SleepAnnounce.
    2011-06-30 11:09:31 [INFO] TBOnline Enabled
    2011-06-30 11:09:31 [INFO] TBOnline using Permissions v3.1.5
    2011-06-30 11:09:31 [INFO] SupplySign: ShowErrorsInClient=true
    2011-06-30 11:09:31 [INFO] SupplySign: FixSignOnSignGlitch=SupplySignOnly
    2011-06-30 11:09:32 [INFO] SupplySign loaded 1116 items.
    2011-06-30 11:09:32 [INFO] SupplySign loaded 13 kits from kits.yml.
    2011-06-30 11:09:32 [INFO] SupplySign version 1.6.1 is enabled!
    2011-06-30 11:09:32 [INFO] [Minecart Mania] Debug mode switched to NORMAL
    2011-06-30 11:09:32 [INFO] [Minecart Mania] MinecartManiaCore version 1.2.9_alpha2 is enabled!
    2011-06-30 11:09:32 [INFO] nChat version 0.4 is enabled!
    2011-06-30 11:09:32 [INFO] WorldEdit 4.6 enabled.
    2011-06-30 11:09:32 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-30 11:09:32 [INFO] Cenotaph v.1.5.0 is enabled.
    2011-06-30 11:09:32 [INFO] [Cenotaph] Using Permissions (v3.1.5)
    2011-06-30 11:09:32 [INFO] [Cenotaph] Using Lockette (v1.3.8)
    2011-06-30 11:09:32 [INFO] bZone loaded zone: spawn
    2011-06-30 11:09:32 [INFO] bZone loaded zone: spawnstation
    2011-06-30 11:09:32 [INFO] bZone loaded zone: tunnela
    2011-06-30 11:09:32 [INFO] bZone loaded wilderness for: admin
    2011-06-30 11:09:32 [INFO] bZone version 1.1.4 is enabled!
    2011-06-30 11:09:32 [INFO] [Minecart Mania] MinecartManiaStation version 1.2.5 is enabled!
    2011-06-30 11:09:32 [INFO] [Minecart Mania] MinecartManiaSignCommands version 1.2.8 is enabled!
    2011-06-30 11:09:32 [INFO] [Minecart Mania] Permissions detected. Using permissions.
    2011-06-30 11:09:32 [INFO] [Minecart Mania] MinecartManiaAdminControls version 1.2.7 is enabled!
    2011-06-30 11:09:32 [INFO] Done (0.738s)! For help, type "help" or "?"
    2011-06-30 11:09:43 [INFO] Stopping the server..
    2011-06-30 11:09:43 [INFO] Stopping server
    2011-06-30 11:09:43 [INFO] [GuestPrev] is being disabled!
    2011-06-30 11:09:43 [INFO] [MultiInv] Plugin disabled.
    2011-06-30 11:09:43 [INFO] Lockette: Closing all automatic doors.
    2011-06-30 11:09:43 [INFO] [Cenotaph] Lockette plugin lost.
    2011-06-30 11:09:43 [INFO] [ElectricFence]: Plugin shutting down!
    2011-06-30 11:09:43 [INFO] [KeepGrowing]: No data to save
    2011-06-30 11:09:43 [INFO] [KeepGrowing]: Plugin disabled
    2011-06-30 11:09:43 [INFO] [MultiVerse] - Disabled
    2011-06-30 11:09:43 [INFO] Thread 0 successfully joined.
    2011-06-30 11:09:43 [INFO] Thread 1 successfully joined.
    2011-06-30 11:09:43 [INFO] Thread 2 successfully joined.
    2011-06-30 11:09:43 [INFO] properTime 1.8.9 signing off.
    2011-06-30 11:09:43 [INFO] Goodbye world!
    2011-06-30 11:09:43 [INFO] [Permissions] (Yeti) saving data...
    2011-06-30 11:09:43 [INFO] [Permissions] (Yeti) saved all data.
    2011-06-30 11:09:43 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-30 11:09:43 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-30 11:09:43 [INFO] creaturebox 0.7.4: saving spawners
    2011-06-30 11:09:43 [INFO] creaturebox version 0.7.4 is disabled.
    2011-06-30 11:09:43 [INFO] [Tele++] saving configuration
    2011-06-30 11:09:43 [INFO] [MultiHome] Version 0.9.3 unloaded.
    2011-06-30 11:09:43 [INFO] [DeathTpPlus] Disabled
    2011-06-30 11:09:43 [INFO] SleepAnnounce disabled.
    2011-06-30 11:09:43 [INFO] TBOnline Disabled
    2011-06-30 11:09:43 [INFO] SupplySign version 1.6.1 is disabled!
    2011-06-30 11:09:43 [INFO] [Minecart Mania] MinecartManiaCore version 1.2.9_alpha2 is disabled!
    2011-06-30 11:09:43 [INFO] nChat Disabled
    2011-06-30 11:09:43 [INFO] bZone has been disabled!
    2011-06-30 11:09:43 [INFO] Saving chunks
    


    When the * node is needed without restriction then we use 2 commands
    /pr admin parents add SAdmin
    /pr admin parents remove Admin
    Do what we needed to do, usually world repair then we run
    /pr admin parents add Admin
    /pr admin parents remove SAdmin
    And go back to playing

    It works, I have a similar set up for 2 other worlds, creative which has users, builders and admins without the restrictions then an admin world for testing which has users and admin groups

    Now if ANYONE complains that this is per world YAML, not globals, not MySQL, not this not then then go forth good sirs as I am posting a WORKING example which is what was requested

    Any Questions?

    EDIT: Fetched my server log from a manual start up and shutdown just now, for this topic
    Oh and yes, that is build 860 and permissions 3.1.5, never claimed I was running the latest, just what works
     
  13. Offline

    Kyrros

    Does WorldEdit not recognize Permissions 3.0? All of my other plugins seem to see the plugin but WorldEdit refuses to. No real error message, just using default settings at the moment, error simply says, " WorldEdit: No known permissions plugin detected. Using configuration file for permissions."

    Any ideas?
     
  14. Offline

    ACStache

    using your groups and users files I cannot replicate the problem. make sure your global users and groups are blank if you're using the per world permission files. Also make sure your storageconfig.yml looks like this:
    Code:
    permissions:
         storage:
             type: YAML
    
    some plugins have you manually choose, in their config file, which permissions system you're using. I'm not familiar with WorldEdit so I can't say for sure if that's the issue. I would also post in their forum thread to see if someone else there has that issue. Also you say Permissions 3.0, are you actually using 3.0 or are you on 3.1.X?

    if you're going to just copy the permissions from world to world_nether, don't bother trying to use the globals. leave those blank and make it easy on yourself. as for your groups and users per world, you don't want duplicate permissions, so they'll look like this:
    groups:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            permissions:
                - 'commandbook.who'
                - 'commandbook.rules'
                - 'commandbook.call'
                - 'commandbook.say.me'
                - 'commandbook.msg'
                - 'commandbook.whereami'
                - 'commandbook.bans.isbanned'
                - 'BetterShop.user.*'
                - 'iConomy.access'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'lwc.protect'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            permissions:
                - '*'
    
    users:
    Code:
    users:
        Sayshal:
            permissions:
            groups:
            - Admins
        Leononsa:
            permissions:
            groups:
            - Default
        spiritowl:
            permissions:
            groups:
            - Default
        austinzappy:
            permissions:
            groups:
            - Default
    
    as for your storageconfig.yml, make it look like this:
    Code:
    permissions:
        storage:
            type: YAML
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  15. If you are receiving huge amount of "Read timed out" messages and "Connection reset"'s, downgrade Permissions from 3.1.6 to 3.1.5. I used to have these errors, but after downgrading to 3.1.5, its working just good.
     
  16. Offline

    Macron15

    My Problem is that nobody can build:

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'commandbook.who'
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'commandbook.time.check'
                - 'commandbook.spawn'
                - 'commandbook.return'
                - 'commandbook.say.me'
                - 'commandbook.msg'
    
        User:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
    
        VIP:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - User
            permissions:
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - User
            permissions:
                - 'commandbook.time'
                - 'commandbook.time.lock'
                - 'commandbook.broadcast'
                - 'commandbook.mute'
                - 'commandbook.whereami'
                - 'commandbook.kick'
                - 'commandbook.bans.*'
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Moderator
            permissions:
                - 'commandbook.give'
                - 'commandbook.give.other'
                - 'commandbook.give.infinite'
                - 'commandbook.give.stacks'
                - 'commandbook.give.stacks.unlimited'
                - 'commandbook.setspawn'
    #            - 'commandbook.spawnmob'
    #            - 'commandbook.spawnmob.many'
    #            - 'commandbook.spawnmob.<mob>'
                - 'commandbook.teleport'
                - 'commandbook.teleport.other'
                - 'commandbook.say'
                - 'commandbook.clear'
                - 'commandbook.clear.other'
                - 'commandbook.slap'
                - 'commandbook.slap.other'
                - 'commandbook.rocket'
                - 'commandbook.rocket.other'
                - 'commandbook.barrage'
                - 'commandbook.barrage.other'
                - 'commandbook.shock'
                - 'commandbook.shock.other'
    
        Server-Team:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Admins
            permissions:
    
        Tech-Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Server-Team
            permissions:
                - '*'
    it also does not allows me to use every Command wenn I am an Tech-Admin. but there is the - '*' Command. Also it doesn't allows me to use Spawnmob Commands from Commandbook. Why I can not build? No group can Build.....
     
  17. Offline

    The_Nut

    For your Tech-Admin group, remove the inheritance. since it has the '*' it should not inherit.

    Your user group also inherits from Default. Thus inheriting the build: false. That is causing you to not be able to build.

    Not sure if this matters either, but your line under the inheritance: is not indented another 4 spaces. that may or may not be an issue.
     
  18. Offline

    LVM

    The console gets spammed with errors when I place blocks on 1.7_01, I am pretty sure it's Permissions related. Anybody else having issues?
     
  19. Offline

    Dalik

    Has anyone fixed the "freshly loaded object does not exist" bug yet?
     
  20. Offline

    ACStache

    I think because both CraftBukkit and Permissions are made for 1.6.6, things aren't going to work right at first. I would hold off updating until CB (and plugins) update to 1.7.
     
  21. Offline

    LVM

    Craftbukkit tweeted "Plugins will work unless they do silly stuff like skip our API.". Guess that would be Permissions ;)
     
  22. Offline

    Dalik

    CraftBukkit IS updated for 1.7 (http://ci.bukkit.org) , but permissions doesn't seem to be. Apparently an update is coming soon...
     
  23. Offline

    ACStache

    bah! all you people acting like birds! lol. I suppose I need to at least start following tweets or w/e. I just really find it silly most of the time, but stuff like that is useful to know :p

    but that's a different build of CB. yes that one is working, but not RB 935 :) lol.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  24. Offline

    senior_hombre

    1. Are the global user and group files working now in 3.1.6?
    2. If yes, can i define basic groups in the global files and add users to these groups in the global users and then adding only some additional group permissions in a local group file? Or does i have to copy the whole global group definition in the local group file just to have some extra permissions in a single world?
    3. And do i have to add the users in the local user file again when a use an updated local group but have the user allready added globaliy to this group?
    4. And whats with the "default" group bug?
     
  25. Offline

    Asianator

    I can't seem to promote or demote along a track, is there something wrong with my permissions? Also, can someone tell me how I would enter in the command?
    Code:
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    
    groups:
        Default:
            default: true
            info:
                prefix: '&d[Newcomer] '
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'commandSigns.use'
                - 'essentials.motd'
    
        Player:
            default: false
            info:
                prefix: '&a[Citizen] '
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'iConomy.access'
                - 'archers.arrow'
                - 'archers.change.*'
                - 'essentials.motd'
                - 'iConomyChestShop.shop.buy'
                - 'iConomyChestShop.shop.sell'
                - 'magicspells.cast.*'
                - 'archers.craft'
                - 'multiworld.goto'
                - 'styxspace.use'
                - '-archers.bow.steal'
                - 'essentials.tpaccept'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.eco'
                - 'essentials.help'
                - 'iConomy.payment'
                - 'monsterhunt.usercmd.hunt'
                - 'monsterhunt.usercmd.huntscore'
                - 'monsterhunt.usercmd.huntstatus'
                - 'commandSigns.use'
                - 'Vouchers.user'
                - 'Vouchers.enabled'
                - 'godPowers.die'
                - 'godPowers.gaia'
                - 'godPowers.superjump'
                - 'godPowers.zeus'
                - 'citizens.create.*'
                - 'citizens.use.trader'
                - 'godPowers.maim'
                - 'godPowers.jesus'
                - 'magiccarpet.mc'
                - 'magicspells.teach.*'
                - 'magicspells.grant.list'
                - 'magicspells.grant.teach'
                - 'magicspells.grant.help'
                - 'essentials.clearinventory'
                - 'duels.user.*'
    
        Editor:
            default: false
            info:
                prefix: '&e[Senior] '
                suffix: ''
                build: true
            inheritance:
                - Player
            permissions:
                - 'citizens.create.*'
                - 'citizens.use.*'
                - 'iConomyChestShop.shop.create'
                - 'rocketboots.boots.gold'
                - 'rocketboots.feather'
                - 'essentials.give.item-<298>'
                - 'essentials.give.item-<299>'
                - 'essentials.give.item-<300>'
                - 'essentials.give.item-<301>'
                - 'essentials.give.item-<5>'
                - 'essentials.bigtree'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.suicide'
                - 'essentials.helpop'
                - 'essentials.compass'
                - 'essentials.mail.send'
    
        Moderator:
            default: false
            info:
                prefix: '&3[Co-Leader] '
                suffix: ''
                build: true
            inheritance:
                - Player
                - Admins
            permissions:
                - '*'
        Ace:
            default: false
            info:
                prefix: '&6[Ace] '
                suffix: ''
                build: true
            inheritance:
                - Player
                - Admins
            permissions:
                - '*'
    
        Admins:
            default: false
            info:
                prefix: '&b[Leader] '
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
        Asian:
            default: false
            info:
                prefix: '&b[Asian] '
                suffix: ''
                build: true
            inheritance:
            - Admins
            permissions:
                - '*'
    tracks:
        Track:
        - Default
        - Player
        - Editor
        - Moderator
        - Admins
        - Asian
     
  26. Offline

    tryy3

    yes change the false on default to true :p
     
  27. Offline

    LVM

    So, can we expect an update to fix the plugin in 1.7_01?
     
  28. Offline

    Maxis010

    When Bukkit kick out a Recommended I'd say any author worth his code will be looking in to updating as from what Notch has said 1.7 will be the last update for some time so the bukkit team can get a stable build out and relax a little, put some more focus in to their plugin management project
     
  29. Offline

    Asianator

    The default class is true, I still would like to know why I can't promote.
     
  30. Offline

    Firepun

    Can someone please help me? my permissions keep shutting down and i'm getting REALLY pissed. -.-'
    It says something about admins - '*' /t thing...







    groups:
    Default:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    Member:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'warpplugin.warp'
    - 'econplugin.basic.*'
    - 'iConomy.access'
    - 'iConomy.bank.access'
    - 'iConomy.bank.deposit'
    - 'iConomy.bank.join'
    - 'iConomy.bank.join.multiple'
    - 'iConomy.bank.list'
    - 'iConomy.bank.main'
    - 'iConomy.bank.main.change'
    - 'iConomy.bank.main.set'
    - 'iConomy.bank.main.view'
    - 'iConomy.bank.transfer'
    - 'iConomy.bank.transfer.multiple'
    - 'iConomy.bank.withdraw'
    - 'iConomy.list'
    - 'iConomy.payment'
    - 'iConomy.rank'
    - 'nSpleef.member.creategame'
    - 'nSpleef.member.join'
    - 'nSpleef.member.leave'
    - 'nSpleef.member.list'
    - 'nSpleef.member.wager'
    - 'nSpleef.member.deletegame'
    - 'general.playerlist'
    - 'general.teleport'
    - 'general.give'
    - 'general.teleport.basic'
    - 'general.time'
    - 'general.give.infinite'
    - 'myhome.home.basic.set'
    - 'myhome.home.basic.delete'
    - 'myhome.home.basic.home'
    - 'chaircraft.sit'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Member
    permissions:
    - 'modplugin.ban'
    - 'modplugin.kick'
    - 'modplugin.unban'
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
     
  31. Offline

    Maxis010

    You have tabs in your yml, get notepad++ and go Edit > Blank operators > Tabs to Spaces on your files
     
Thread Status:
Not open for further replies.

Share This Page