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

    kotpx3

    Yes i use /reload and i am using McMyAdmin. How do I set export to off?
     
  3. Offline

    Jeyge

    I'm not actually sure but I was just made aware of their exporting every 10 minutes/every reload just the other day. One way to avoid any problems is to use "/pr -reload all" instead of /reload if you just need to reload your permissions file or if it is for another plugin, that plugin probably has a command to reload its config. If all else fails, there is a new plugin called OKReload in the submissions forum which helped fix this same problem for another user.
     
  4. Offline

    iTech278

    Hello. I have a Track set up on my server. I know it is set up correctly because I can use /pr username promote/demote. My problem is that my admins cannot promote themselves, but can demote me from Owner status. My track looks like this:

    Code:
    track:
        - Newbie
        - Member
        - Moderator
        - Administrator
        - Co-Owner
        - Owner
    Any help is appreciated!!!
     
  5. Offline

    muffintops

    Hahaha i figured it out. One part of my map is bugged for some reason, it has nothing to do with plugins its just bugged and thats why i could t place or break anything. Thanks again
     
  6. Offline

    Monkey_nuts

    Will that sort out the errors on line 121 and 109?
    As i have checked them for closing brackets and tabs and spelling mistakes and nothing :/
     
  7. Offline

    Cloudbringer

    anyone got a solution for "an internal error occurred while attempting to perform this command" i get when i try to do /pr username promote or /pr username promote Moderator

    I'm running a 1.7.2 bukkit server, stargate, MinecraftViewer, OKChat and LWC and permissions 3-1-6

    i don't use per world config, so i use the globalUsers/Groups.yml

    anyhow, here are my global configs:
    globalUsers.yml
    Code:
    users:
        Cloudbringer:
            groups:
            - Admins
            permissions:
        sh4dyb0y:
            groups:
            - Moderator
            permissions:
        minitaurix:
            groups:
            - Member
            permissions:
    
    globalGroups.yml
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: 'Guest'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'stargate.use'
                - 'lwc.blockinventory'
        Builder:
            default: false
            info:
                prefix: 'Builder'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'stargate.use'
                - 'okchat.format.builder'
                - 'lwc.blockinventory'
        Member:
            default: false
            info:
                prefix: 'Member'
                suffix: '&1'
                build: true
            inheritance:
            permissions:
                - 'stargate.use'
                - 'okchat.format.member'
                - 'lwc.protect'
        Moderator:
            default: false
            info:
                prefix: 'Mod'
                suffix: '&2'
                build: true
            inheritance:
            permissions:
                - 'stargate.*'
                - 'okchat.format.moderator'
                - 'lwc.mod'
                - 'lwc.protect'
                - 'permissions.reload.*'
                - 'permissions.promote'
        Admins:
            default: false
            info:
                prefix: 'Admin'
                suffix: '&3'
                build: true
            inheritance:
            permissions:
                - 'stargate.*'
                - 'okchat.format.admins'
                - 'lwc.admin'
                - 'lwc.protect'
                - 'permissions.*'
    
    track:
        - Default
        - Builder
        - Member
        - Moderator
        - Admins
    
    storageconfig.yml
    Code:
    permissions:
        storage:
            type: YAML
    
    also, the user.yml and the groups.yml in the world folders did not allow me to set global values so i had to remove the content of those files, not very elegant but it made the global values kick in :p

    regards
    /cloud teh noob
     
  8. Offline

    Tria

    So I have a little problem, which is probably something I'm doing wrong (not being the brightest spark in the world).

    But anyway, I've got the permissions system setup great, have all the groups configured etc (not using the MySQL interface yet, although looking forward to using it). But sometimes, when I change someones group in the users.yml, and then reload the server (using /reload OR /pr -reload all) for awhile it all works fine.

    But then randomly either in a few hours, a few minutes etc it sometimes reverts people back to there old group, I was wondering is there any way to stop this? Or does the server have to be offline each time I want to edit a user group.

    ~ Trinity
     
  9. Offline

    brolymaximum

    Okay, I'm having some problems. I'm using CB1000 with Permissions 1.3.5 (because i have mcmmo 1.0.50) and the newest MultiVerse. Whenever i do /pr player w:world parents add builder (because promote/demote doenst work right, yes tracks are set correctly), it gives them builder status just fine. But, after about 15 minutes it reverts them BACK to the guest rank in all worlds. This didn't happen before i isntalled multiverse. Any ideas?
     
  10. Offline

    Tria

    Have
    I have the same thing with tracks not working correct :)
     
  11. Offline

    brolymaximum

    Well it's good to see i'm not alone. I want to migrate to permissionsbukkit but i still have faith in permissions. Just wish there would be a proper update to 3.1.7 :/

    I noticed that setting the users parent in the MAIN world first seems to make the group stick. I just re-promoted another person doing it this way so time will tell.
     
  12. Offline

    Jeyge

    Those are just the problems that you still have in your files. Only you can make the changes and let us know if it fixes everything. Oh, and they are closing quotes not closing brackets. And if you aren't seeing the tabs, then follow the instructions in the wiki FAQ on how to fix them.

    If you wish to promote in the global files, you will need to tell the commands that. Change your commands to include w:* and it should start to work.
    Both using /reload and/or using McMyAdmin is known to cause the issues you are seeing. I would suggest staying away from /reload and if you are using McMyAdmin, turn off the export of your permissions as it will try to do that every 10 minutes.
    If you are using "parents add" you will also need to use "parents remove" to remove their old group. You may just be seeing the left over Guest group showing up since "parents add" just adds a group instead of replacing one.

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

    hazik666

    Hi, well I have permissions and when I try any command like /pr etc it says this:

    A internal error occured when trying to perform this command.

    Can anyone help me with this?

    Thanks
    Hazik666
     
  14. Offline

    brolymaximum

    Well, I tried doing parents remove but if never works. It always says that the user has no such parent. And I have to do parents because promote/demote doesnt work, either. I've tried it every way I can think of. Here's my code, maybe you can tell me what the proper command would be and I'll try it.

    Code:
    groups:
        Default:
            default: true
            permissions:
            - essentials.help
            - essentials.motd
            - essentials.spawn
            - mywarp.warp.basic.warp
            - mywarp.warp.sign.warp
            - essentials.me
            - essentials.list
            - multiverse.world.spawn
            - multiverse.list
            inheritance: []
            info:
                prefix: '&8[Lost Soul]&7'
                build: false
                suffix: ''
        Builder:
            default: false
            permissions:
            - choptree.chop
            - falsebook.blocks.*
            - lwc.create
            - lwc.info
            - lwc.remove
            - lwc.unlock
            - lwc.modify
            - lwc.flag.*
            - essentials.kit
            - chaircraft.sit
            - essentials.afk
            - essentials.clearinventory
            - essentials.compass
            - essentials.home
            - essentials.msg
            - essentials.protect
            - essentials.sethome
            - essentials.signs.disposal.create
            - essentials.signs.disposal.use
            - essentials.signs.free.use
            - essentials.signs.heal.use
            - essentials.signs.protection.create
            - essentials.signs.protection.use
            - essentials.suicide
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.tptoggle
            - mywarp.warp.soc.invite
            - mywarp.warp.soc.uninvite
            - mcmmo.ability.*
            - mcmmo.commands.ability
            - mcmmo.comands.party
            - mcmmo.commands.myspawn
            - mcmmo.commands.setmyspawn
            - mcmmo.item.chimaerawing
            - mcmmo.regeneration
            - mcmmo.skills.*
            inheritance:
            - default
            info:
                prefix: '&f'
                build: true
                suffix: ''
        Donator10:
            default: false
            permissions:
            - simplehat.*
            - essentials.tpa
            - essentials.signs.color
            - essentials.chat.color
            inheritance:
            - builder
            info:
                prefix: '&2'
                build: true
                suffix: ''
        Donator20:
            default: false
            permissions:
            - essentials.tpahere
            - essentials.back.ondeath
            inheritance:
            - Donator10
            info:
                prefix: '&9'
                build: true
                suffix: ''
        Donator30:
            default: false
            permissions:
            - essentials.kit.iron
            inheritance:
            - Donator20
            info:
                prefix: '&6'
                build: true
                suffix: ''
        Donator50:
            default: false
            permissions:
            - essentials.kit.ironarmor
            inheritance:
            - Donator30
            info:
                prefix: '&e[VIP]&f'
                build: true
                suffix: ''
        Donator100:
            default: false
            permissions:
            - essentials.kit.gold
            - essentials.kit.goldarmor
            inheritance:
            - Donator50
            info:
                prefix: '&4[&b$&eVIP&4]&f'
                build: true
                suffix: ''
        Admin:
            default: false
            permissions:
            - '*'
            - '-essentials.lightning'
            - '-essentials.nuke'
            - '-essentials.fireball'
            inheritance: []
            info:
                prefix: '&4[Admin]&5'
                build: true
                suffix: ''
        Co-Owner:
            default: false
            permissions:
            - '*'
            - '-essentials.lightning'
            - '-essentials.nuke'
            - '-essentials.fireball'
            inheritance:
            - Admin
            info:
                prefix: '&4[Co-Owner]&6'
                build: true
                suffix: ''
        Steve:
            default: false
            permissions:
            - '*'
            info:
                prefix: ''
                build: true
                suffix: ''
        Owner:
            default: false
            permissions:
            - '*'
            inheritance:
            - Admin
            info:
                prefix: '&4[Owner]&a'
                build: true
                suffix: ''
    tracks:
        Default:
            - Default
        Builder:
            - Builder
        Donator:
            - Donator10
            - Donator20
            - Donator30
            - Donator40
            - Donator50
            - Donator100
        Steve:
            - Steve
        Admin:
            - Admin
            - Co-Owner
            - Owner
     
  15. Offline

    Jeyge

    Post the errors from your server.log or just post your server.log and someone should be able to figure it out. Also, exactly what command are you typing when it doesn't work?
    Promote still works with 3.1.5 but demote was broken with that build. The command you would use is "/pr <user> w:<world> promote <old group> <track>" but you will need to make a few changes to your tracks first. I'm not exactly sure what you are trying to do with your tracks, but a track like Default can never do anything. You would want it to look something like:
    Code:
    tracks:
        Default:
        - Default
        - Builder
        - Admin
    
    That way, you can promote someone from Default to Builder or Builder to Admin.
     
  16. Offline

    brolymaximum

    Code:
    tracks:
        Default:
        - Default
        - Builder
        - Donator10
        Admin:
        - Admin
        - Co-Owner
        - Owner
    So Would that be a correct one? Then doing (on a guest) /pr guestman1000 w:world promote default default would promote them from default, to one step up on the default track? Then would doing promote default Admin promote them from to the default rank up to the Admin track?

    Hmm, well that did get the command to work that time. I did /pr (the player) w:world promote Default Default and it said they were promoted along default track. However they still didn't ACTUALLY rank up. No errors or anything.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Oct 10, 2018
  17. Offline

    hazik666

    Hi, well I have permissions and when I try any command like /pr etc it says this:

    A internal error occured when trying to perform this command.

    Can anyone help me with this?

    Thanks
    Hazik666

    http://pastebin.com/xkuuLMXL
     
  18. Offline

    Hoeze

    I've got a problem with MySQL.
    I've got a Debain-VM as server on my pc which runs MySQL, Apache, etc.
    Bukkit was running on this VM, but now I've put it back on my real PC (because of the better performance), opened the MySQL-Server and changed the allowed host to all hosts.
    If I try to connect with MySQL Workbench, it works without problems, but when I try to connect with permissions, it just tries to initialise all the time...

    My Storageconfig:
    Code:
    permissions:
        storage:
            type: SQL
            dbms: 'MYSQL'
            uri: 'jdbc:mysql://192.168.*.*:3306/permissions' # Change Port if Needed
            username: 'MCuser'
            password: '*****'
     
  19. Offline

    Jeyge

    Casing is important with Permissions so your command would be "/pr guestman1000 w:world promote Default Default" which would promote them to Builder.

    You can only move a person within the track itself so if you want to promote from Default to Admin, you would need to add "- Default" to the Admin track.
    That is a lot of errors and I'm guessing any internal command errors might be caused by all of the zip file errors you are getting. I would try to fix those. You might want to try to re-download all of your plugins using a different browser as some of them can corrupt zips as they are downloaded. Outside of that, you can try to do the same /pr command in the console and post the entire error message you receive as well as what the command was that you tried to use.

    If your MySQL server is on the same machine, I would use localhost instead of your internal ip address.

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

    Hoeze

    No , it isn't on the same machine, it's on a virtual debian machine...
     
  21. Offline

    WrongOne-

    Please Update it to Build 1000 ! :D
    I need it for Beta 1.7.3
     
  22. Offline

    Jeyge

    I wasn't able to get it to work on another machine either. Hopefully, one of the people who have will come along and help.
    You will need to say what needs to be fixed for it to be updated.
    Zip up your plugins\permissions directory and post it here and I'll give it a try on my test server.
     
  23. Offline

    brolymaximum

  24. Offline

    Jeyge

    I forgot that 3.1.5 didn't actually assign a group to new users so if you were trying to promote one of the users that currently don't have a group, you would see exactly that message. Back with 3.1.5, you would have to do a "/pr <user> w:<world> parents add <group>" before you could promote them. If you are trying to promote a user that currently has a group, could you tell me which one?
     
  25. Offline

    brolymaximum

    Oh, I wasn't actually. Just trying to promote defaults (with dont have group in teh file) to builder. So how exactly should I go about adding them to builder? parents add Default and THEN the promote Builder one?

    I have been using /reload, so I'll try using /pr -reload all from now on. And yes, I check the users file and they show up as "Builder" Rank. Then it randomly resets back to no rank, which defaults them to Default. Am I able to do /reload from my server console (using MultiCraft) after i do /pr -reload all? Or will that still cause problems?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Dec 28, 2018
  26. Offline

    Jeyge

    I would "parents add Builder" and save yourself a step. :)
     
  27. Offline

    brolymaximum

    I have no problem doing that. But the main problem in the first place was that the parents would reset randomly. Could that have been because i wasn't using caps on "B"uilder? And doing "b"uilder instead?

    EDIT: Using Multiverse, doing "/pr player w:world parents add Builder" still reverts the player back to default rank after a random amount of time. No clue whats going on with it.
     
  28. Offline

    palz2015

    Please halp me, no users can use permissions. I think Member can, but no other ranks other than admin! And, some weird phantom Builder group keeps appearing and fucking up PermissionsPlus (no rank defined for group Builder).
    Also, prefixes and suffixes don't show up! I use essentialschat for display, but now they don't show up. I've just used Essentials to specify prefixes (using the built-in mechanism.)
    Here's my file:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '&8Guest - &f'
                suffix: ''
                build: false
                rank: 1
            inheritance:
            - Default
            permissions:
            - essentials.help
            - essentials.list
            - essentials.motd
            - essentials.rules
            - essentials.spawn
        Member:
            default: false
            info:
                prefix: '&3'
                suffix: ''
                build: true
                rank: 2
            inheritance:
            - Default
            permissions:
            - lockette.user.create.chest
            - lockette.user.create.furnace
            - essentials.afk
            - essentials.compass
            - essentials.depth
            - essentials.help
            - essentials.helpop
            - essentials.msg
            - essentials.mail
            - essentials.motd
            - essentials.me
            - essentials.list
            - essentials.rules
            - essentials.seen
            - essentials.suicide
            - essentials.back
            - essentials.home
            - essentials.sethome
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpahere
            - essentials.tpdeny
            - essentials.warp
            - essentials.portal
            - essentials.world
            - essentials.signs.use.free
            - essentials.signs.use.disposal
            - essentials.signs.use.heal
            - essentials.ban.notify
            - essentials.kick.notify
            - iconomy.access
            - iconomy.payment
            - iconomy.list
        Veteran:
            default: false
            info:
                prefix: '&a'
                suffix: ''
                build: true
                rank: 3
            inheritance:
            - Builder
            permissions:
            - lockette.user.create.*
            - essentials.clearinventory
            - essentials.jump
        DonatorA:
            default: false
            info:
                prefix: '&6$ '
                suffix: ''
                build: true
                rank: 4
            inheritance:
            - Veteran
            permissions:
            - essentials.god
            - essentials.chat.color
            - essentials.joinfullserver
            - lockette.user.create
        DonatorB:
            default: false
            info:
                prefix: '&6$$ '
                suffix: ''
                build: true
                rank: 5
            inheritance:
            - DonatorA
            permissions:
            - superpickaxe.use
        DonatorC:
            default: false
            info:
                prefix: '&6$$$ '
                suffix: ''
                build: true
                rank: 6
            inheritance:
            - DonatorB
            permissions:
        Moderator:
            default: false
            info:
                prefix: '&b'
                suffix: ''
                build: true
                rank: 7
            inheritance:
            - DonatorC
            permissions:
            - essentials.bigtree
            - essentials.give
            - essentials.god.others
            - essentials.heal
            - essentials.unlimited.others
            - essentials.itemspawn.exempt
            - essentials.time.*
            - essentials.helpop.receive
            - essentials.nick.others
            - essentials.spawner
            - essentials.ban
            - essentials.banip
            - essentials.unban
            - essentials.unbanip
            - essentials.clearinventory.others
            - essentials.essentials
            - essentials.fireball
            - essentials.invsee
            - essentials.kick
            - essentials.kill
            - essentials.mute
            - essentials.spawnmob
            - essentials.tempban
            - essentials.jail.exempt
            - essentials.togglejail
            - essentials.weather
            - essentials.home.others
            - essentials.sethome.others
            - essentials.tpo
            - essentials.tpohere
            - essentials.tp
            - essentials.tphere
            - essentials.tptoggle
            - essentials.warp.otherplayers
            - lockette.admin.snoop
            - lockette.admin.bypass
            - groupmanager.manpromote
            - groupmanager.mandemote
            - groupmanager.manuadd
            - groupmanager.manudel
            - worldguard.region.*
            - worldedit.*
            - -worldedit.superpickaxe
            - superpickaxe.*
            - p2.*
            - bb.admin.info
            - bb.admin.rollback
            - bb.admin.watch
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
                rank: 8
            inheritance:
            - Moderator
            permissions:
            - '*'
        King:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
                rank: 9
            inheritance:
            - Admin
            permissions:
            - '*'
        Builder:
            permissions:
            inheritance:
    
     
  29. Offline

    Hoeze

    Maybe I've found a solution:
    I'll try to set up a ssh connection to the debian vm and redirect a port to the localhost of the debian vm.
     
  30. Offline

    Jeyge

    The problem with users being reset is usually caused by using /reload instead of "/pr -reload all" or exporting from a manager like McMyAdmin. Have you verified that the user is actually in the Builder group after you use the "parents add" or promote?
    Your Veteran group is inheriting from Builder instead of Member which is why the Builder group keeps showing up and perhaps why you don't have the permissions you would expect.

    Did you set add-prefix-suffix to true in your Essentials config.yml? That might be why you aren't seeing your prefix/suffix. I see you also have GroupManager permissions in your groups.yml file. Do you still have the plugin loaded? It can cause a lot of problems with Permissions if you do. That also included the bridge.

    If you feel as though you really must use /reload, I would suggest trying OKReload. With the problems that it causes though, I would just try to stay away from it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 15, 2019
  31. Offline

    brolymaximum

    Okay, I was using it to avoid hard restarts when updating/removing plugins and such but if it does cause problems then I'll shy away from it. So far so good with the groups being reverted. After doing /pr -reload all it hasn't changed anybody's group yet.
     
Thread Status:
Not open for further replies.

Share This Page