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

    Dateranoth

    Code:
    2011-06-04 13:05:37 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl
    2011-06-04 13:05:37 [SEVERE]     at com.nijiko.permissions.ModularControl.<init>(ModularControl.java:54)
    2011-06-04 13:05:37 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:182)
    2011-06-04 13:05:37 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:140)
    2011-06-04 13:05:37 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    2011-06-04 13:05:37 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    2011-06-04 13:05:37 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    2011-06-04 13:05:37 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    2011-06-04 13:05:37 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-06-04 13:05:37 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-04 13:05:37 [SEVERE] [Permissions] Unable to load permission data.
    2011-06-04 13:05:37 [INFO] [Permissions] Shutting down Permissions due to error(s).
    I've been getting the above error anytime I have WorldGuard, WorldEdit, or properTime plugins enabled. If any of those plugins are enabled I get the error and Permissions shuts down, but otherwise I can use Permissions just fine. I'm using the latest version of all of them. I am curious if this is a Permissions issue or a problem with the plugins.

    Here is my Groups.yml and Users.yml from my world folder:

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '&1[&fGuest&1]&2'
                suffix: '&7'
                build: false
            inheritance:
            permissions:
                - 'essentials.me'
                - 'essentials.tpahere'
                - 'essentials.tpa'
                - 'essentials.list'
                - 'essentials.helpop'
                - 'essentials.getpos'
                - 'essentials.spawn'
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.msg'
                - 'essenitals.compass'
                - 'essenitals.depth'
                - 'essentials.mail'
        GuestBuilder:
            default: false
            info:
                prefix: '&1[&fGuestBuilder&1]&2'
                suffix: '&7'
                build: true
            inheritance:
            permissions:
                - 'essentials.god'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.helpop'
                - 'essentials.getpos'
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.msg'
                - 'essenitals.compass'
                - 'essenitals.depth'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'lwc.protect'
                - 'essentials.back'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.back'
        Authorized:
            default: false
            info:
                prefix: '&1[&3Builder&1]&2'
                suffix: '&f'
                build: true
            inheritance:
                - Default
            permissions:
                - 'lwc.protect'
                - 'mywarp.warp.*'
                - 'essentials.god'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.tptoggle'
                - 'essentials.tp'
                - 'essentials.mail.send'
                - 'essenitals.ping'
                - 'essentials.back'
                - 'essentials.signs.free.use'
        Moderator:
            default: false
            info:
                prefix: '&1[&eMod&1]&2'
                suffix: '&4'
                build: true
            inheritance:
                - Authorized
            permissions:
                - 'lwc.mod'
                - 'mywarp.*'
                - 'bb.admin.*'
                - 'essentials.tppos'
                - 'essentials.tpo'
                - 'essentials.tpohere'
                - 'essentials.tphere'
                - 'essentials.time'
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.banip'
                - 'essentials.unbanip'
                - 'essentials.togglejail'
                - 'essenitals.realname'
                - 'essentials.top'
                - 'essentials.jump'
                - 'essentials.whois'
                - 'essentials.mute'
                - 'essentials.teleport.cooldown.bypass'
                - 'essentials.teleport.timer.bypass'
                - 'worldedit.butcher'
                - 'essentials.item'
                - 'essentials.give'
                - 'worldedit.navigation.thru'
                - 'worldedit.navigation.jumpto'
        Admins:
            default: false
            info:
                prefix: '&1[&4Admin&1]&2'
                suffix: '&e'
                build: true
            inheritance:
                - Moderator
            permissions:
                - '-worldguard.god'
                - '*'
    Code:
    users:
        dateranoth:
            groups:
                - Admins
            permissions:
        WithKetchup:
            groups:
                - Moderator
            permissions:
        spawn622:
            groups:
                - Moderator
            permissions:
        Kograth:
            groups:
                - Moderator
            permissions:
        AudaciousKevin:
            groups:
                - Authorized
            permissions:
                - 'essentials.item'
                - 'worldedit.snow'
                - 'worldedit.thaw'
        Mandy2610:
            groups:
                - Authorized
            permissions:
        greengrenades:
            groups:
                - Authorized
            permissions:
        Ebildustbunny:
            groups:
                - Authorized
            permissions:
        Ahro:
            groups:
                - Authorized
            permissions:
        MaadM1k3:
            groups:
                - Authorized
            permissions:
        Skylark95:
            groups:
                - Authorized
            permissions:
        sinabu:
            groups:
                - Authorized
            permissions:
        Crossu88:
            groups:
                - Authorized
            permissions:
        oblivliz:
            groups:
                - Authorized
            permissions:
        saladin1980:
            groups:
                - Authorized
            permissions:
        Rabidbiscuit:
            groups:
                - Authorized
            permissions:
        NZF:
            groups:
                - Authorized
            permissions:
        Faperture:
            groups:
                - Authorized
            permissions:
        teejzilla:
            groups:
                - Authorized
            permissions:
        stealthyshadows:
            groups:
                - Authorized
            permissions:
        powrfulnonsense:
            groups:
                - Authorized
            permissions:
        Ht123:
            groups:
                - Authorized
            permissions:
        suushisam:
            groups:
                - Authorized
            permissions:
        elsharkmom:
            groups:
                - Authorized
            permissions:
        sournothardcore:
            groups:
                - Authorized
            permissions:
        sedington86:
            groups:
                - Authorized
            permissions:
            groups:
                - GuestBuilder
            permissions:
        zackman1:
            permissions:
            groups:
                - GuestBuilder
            permissions:
        Zatoha:
            permissions:
            groups:
                - GuestBuilder
            permissions:
        ScouseBuilder:
            permissions:
            groups:
                - GuestBuilder
            permissions:
    Any help would be appreciated.
     
  3. Offline

    Jeyge

    I can only make a guess from what I see there but perhaps it is still trying to write to the OwnBlocks db. You could try removing that and see if it helps.

    MyWarp is another plugin that seems to cause that error but as for where the error actually is, we don't know yet.

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

    discordance

    getting jar loading errors on server start, i didn't like this plugin to begin with but stable release is far from stable, downgrading to version 2
     
  5. Offline

    TnP

    I have installed Permissions Plugin now and edited it....when i enter my server and want to build or use commands,nothing works.

    Here the text of my files:
    [globalgroups.yml]

    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'foo.bar'
    - 'iConomy.payment'
    - 'iConomy.access'
    - 'iConomy.rank'
    - 'iConomy.list'
    - 'SpawnX.spawn'
    - 'pvptoggle.use'
    - 'pvptoggle.command.toggle'
    - 'pvptoggle.command.status'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'bar.foo'
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    - 'iConomy.payment'
    - 'iConomy.access'
    - 'iConomy.rank'
    - 'iConomy.list'
    - 'iConomy.admin.grant'
    - 'iConomy.admin.set'
    - 'iConomy.admin.stats'
    - 'iConomy.admin.reset'
    - 'citizens.basic.create'
    - 'citizens.basic.settext'
    - 'citizens.basic.help'
    - 'citizens.general.setname'
    - 'citizens.general.remove.singular'
    - 'citizens.general.remove.all'
    - 'citizens.help'
    - 'citizens.general.color'
    - 'citizens.general.colour'
    - 'citizens.general.setitem'
    - 'citizens.general.move'
    - 'citizens.general.tp'
    - 'citizens.general.move'
    - 'citizens.general.getid'
    - 'citizens.general.select'
    - 'citizens.general.talkwhenclose'
    - 'citizens.general.lookatplayers'
    - 'SpawnX.setspawn'
    - 'pvptoggle.admin'


    [globalUsers.yml]

    users:
    Terry23:
    groups:
    - Admins
    permissions:
    Phiopp:
    groups:
    - Moderator
    permissions:
    - 'herp.derp'
    Derpina:
    groups:
    - Admins
    info:
    prefix: '&4'
    permissions:
    - '-derp.derp'


    You see i gave me and Phiopp al the Permissions for the commands and to build...but it doesn't work....maybe i have done something wrong??
     
  6. Offline

    Armaxxx

    nop, it doesnot works, ive tried everything as i said above, well, obiously not everithing cuz it still doesnt work

    PLEASE HEEELPP DEVELOPER!!!!!!!!!!!
     
  7. Offline

    Jeyge

    You can post the rest of your server.log but I don't think this is a Permissions problem. I will look at it though if you post it.

    I'll make a guess since you didn't actually include the error that it didn't like the PermissionsSql.jar because of a class not found error? If so, there is an easy fix for this.

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

    Miauw62

    Thanks, it are just the suffixes provided.
    Lets try this...
    i think i'll just delete all prefixes and suffixes.
     
  9. Offline

    Jeyge

    You didn't post those in code tags so there really isn't much to see but you shouldn't be using the global files yet. That part isn't working right. Just use the groups.yml and users.yml in your plugins\permissions\<world> directory.

    You can do that but it might just cause a lot of extra problems that you don't need to create. You only have 1 prefix that isn't in the right place in your users.yml file and that is all that is needed to be removed.

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

    TnP

    At first i've wrote the permissions in the plugins\permissions<world> directory but that didn't work,so I
    tried it with the global file....but I try it again.....
     
  11. Offline

    Wulfspider

    @rcjrrjcr, @TheYeti, or @Nijikokun; is there more detailed API documentation anywhere? I am curious about reading a user's group, assigning a user to a group, and changing a user's group from another plugin.
     
  12. Thanks for the clarification :) I do have MyHome and MyWarp and I love those plugins. I think I will wait for a fix, if there is going to be any? is it?

    I'm patient:)
     
  13. Offline

    Armaxxx

    Yes it IS a permissions problem, look, ill send you my server only working with permissions:
    Code:
    2011-06-04 13:53:57 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-06-04 13:53:57 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    2011-06-04 13:53:57 [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-04 13:53:57 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    2011-06-04 13:53:57 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
    2011-06-04 13:53:57 [INFO] Preparing level "world"
    2011-06-04 13:53:57 [INFO] Preparing start region for level 0
    2011-06-04 13:53:58 [INFO] Preparing start region for level 1
    2011-06-04 13:53:58 [INFO] Preparing spawn area: 85%
    2011-06-04 13:53:58 [INFO] [Permissions] (Yeti) was initialized.
    2011-06-04 13:53:58 [INFO] [Permissions] version [3.1.3] (Yeti)  loaded
    2011-06-04 13:53:58 [INFO] Done (0.118s)! For help, type "help" or "?"
    2011-06-04 13:54:03 [INFO] Stopping the server..
    2011-06-04 13:54:03 [INFO] Stopping server
    
    i started it, and then stopped it, but it stays like "stopping server" forever, it never says press any key to continue
    when im in the server, permissions works perfectly it loads everithing correctly it just dont stop if you are going to make "the plugin of tomorrow" developers, at least make it work! i cant complain a lot because i dont know how to do this, yes, it may be hard, but look all the comments, almost all of them are errors
    DEVELOPERS PLEASE PUT A BETTER TUTORIAL AND UNDERSTANDABLE STUFF FOR THE NOOBS, PLEASE HEEELPPPP
     
  14. Offline

    Jeyge

    I'm sure it will be fixed. I think this is just one of those things that when you really think about it, very few people are actually seeing so it will be hard to track down. And who knows where the error actually is but because Permissions is such an important part of a server, it gets a lot of the blame when things don't work right. I just wish I could get the error to happen on my server so I could help track it down. :(
     
  15. Offline

    Vash

    Yeah Arma, 3.1.3 did that for me too, it got stuck on trying to unload BukkitPiston plugin and would never close unless forcefully exited... I just reverted back to 3.1.1 until the problems stop ><
     
  16. Offline

    Jeyge

    I haven't updated to 3.1.3 yet but let me try that on my test server. And thanks for not yelling.

    Yep, stay away from 3.1.3 for now.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  17. Actually you are right. I think this issue is a MyWarp and MyHome Issue.. :S
     
  18. Offline

    jonDatz

    @Jeyge I've fixed the perms however I'm still getting error:null if i type /help ingame and the prefixes aren't showing up even after placing within apostrophes. Any ideas?
     
  19. Offline

    Jeyge

    Post your updated files along with a server.log so I can see what plugins you are using.
     
  20. Offline

    Lunar Delta

    I can't stop this from force-adding individual users into the groups.yml file. Causing a lot of problems with my attempt and transitioning away from GM.
     
  21. Offline

    Jeyge

    It should be adding them to the users.yml file but it is a feature and I'm not sure why you would want to turn it off. Well, unless you have a friend that used illegal characters in their user name.

    @Nieksas
    An error message would have been nice but even without it, I can see that a large number of your users need to have 4 spaces in front of them. They should line up with the 3 users at the top of the file.

    Take a look here or feel free to change the config files and use "/pr -reload all" or "/pr -reload <worldname>".
    Hopefully, if you haven't given a group a permission, they won't be able to use that permission but a the same time, there are many reasons that people can sometimes do things they shouldn't be able to.

    Are you using 3.1.2 or the like? Also, can you post your users.yml and groups.yml files with the users in them.

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

    Bronski

    I HAVE AN IDEA BUT YOU MIGHT NOT LIKE IT.
     
  23. Offline

    Behedwin

    how do i ad players to a group ingame
    without having to restart the server each time someone is to be upgraded or so...

    or can i edit the config files and then do some kind of reload command?
     
  24. Offline

    Fyndler

    Just a quick question, if a usergroup dont have the permission, i mean if i havent even wrote it in the permission file at all people cant use it right ? Just making sure so i dont have to type each for each usergroup.
     
  25. Offline

    Jeyge

    Ah, he left. :( I mean :)
     
  26. Offline

    Lunar Delta

    It'd be nice if it added them into the users file instead of the groups file.
     
  27. Offline

    Fyndler

    Um okey becuase if i should let an admin be able todo something i type the thing in his group and then noone else should be able to use it correct ? Or do i have to write something to each usergroup to make so they cant use it ? Thanks
     
  28. Offline

    Jeyge

    Here is the problem. You are asking me very vague questions but yet you want specific answers. I can't tell you they won't be able to do something unless I know what that something is. If you want to know if the whole concept of permissions is to give someone access to something and not to other things, then yes. I just don't want to say yes and have you come back and tell me I was wrong.

    Example - if you are running Permissions (which I hope you are since you are here) and only Permissions and you give the Admins group and only the Admins group "permissions.*" and no group inherits from Admins, then only people who belong to Admins will be able to use /pr.
     
  29. Offline

    XxProphet

    Still not working :( thats my config file:

    # <money> - amount of money with iConomy currency
    # <cost> - cost of the item
    #
    # You can always use hMod colors, like
    # &1, &f etc...
    # For example: This is my&6 golden text.

    #MAXIMUM OF 55 CHARACTERS WITH PREFIX!

    #Experimental: Try changing the prefix to ' &a[Shop] &f '
    #The text will be centered!
    lang:
    prefix: '&a[Shop] &f'
    Somebody_sold_items_to_your_shop: '<seller> sold <amount> <item> for <cost> to your shop!'
    Somebody_bought_items_from_your_shop: '<buyer> bought <amount> <item> for <cost>!'
    Your_shop_is_out_of_stock: 'Your <item> shop is out of stock!'
    You_cannot_use_your_own_shop: "You can't use your own shop!"

    You_bought_items: 'You bought <amount> <item> from <owner> for <cost>.'

    Your_inventory_is_full: 'Your inventory is full!'
    You_have_got_not_enough_money: "You don't have enough money!"
    Shop_is_out_of_stock: 'This shop is out of stock!'

    You_have_not_enough_items: 'You have not enough items to sell!'
    You_sold_items: "You sold <amount> <item> for <cost> to <owner>'s shop."
    Chest_is_full: 'This chest is full!'

    Seller_has_not_enough_money: "Seller has not enough money!"
    Seller_has_no_account: "Seller's account doesn't exist!"
    No_selling_to_this_shop: "Shop owner doesn't want you to sell here!"
    No_buying_from_this_shop: "Shop owner doesn't want you to buy here!"

    Your_balance: 'After transaction you have <money>.'

    Shop_is_created: 'Your shop has been successfully created!'
    Shop_cannot_be_created: "You have no chest set up!"
    Shop_was_LWC_protected: "Your shop was successfully protected with LWC."

    Mode_changed_to_sell: 'Mode set to selling!'
    Mode_changed_to_buy: 'Mode set to buying!'

    You_tried_to_steal: "Don't steal!"
    wait: "&4Wait!"

    iteminfo: "&aItem ID and names:"
    incorrectID: "Incorrect item ID!"
    Couldnt_fit_on_sign: "Couldn't fit something on the sign!"
    Negative_price: "Can't make shop with negative buy/sell price!"
    Incorrect_item_amount: "The item amount you specified is invalid!"
     
  30. Offline

    daleisme

    I try adding the permissions for admins to set ranks but it ends up crashing the server.
     
  31. Offline

    jonDatz

    Code:
    CONSOLE: This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
    Permissions: (Phoenix) was Initialized.
    MobBounty: v3.02 (Carbon) loaded.
    MobBounty: Developed by: [Mattera, Steven (IchigoKyger)].
    MobBounty: Config loaded.
    CONSOLE: WorldEdit 4.4 enabled.
    CONSOLE: WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    CONSOLE: Loaded Essentials build 2.3.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    iConomy: Logging is currently disabled.
    iConomy: v5.01 (Eruanna) loaded.
    iConomy: Developed by: [Nijikokun]
    MobBounty: hooked into iConomy.
    Essentials: Payment method found (iConomy version: 5)
    CONSOLE: FalseBookIC v0.85alpha by GeMo enabled
    Permissions: version [2.7.4] (Phoenix) loaded
    CONSOLE: WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    MobBounty: hooked into Permissions/GroupManager.
    iConomy: hooked into Permissions.
    HeroChat: HeroChat version 4.10.3 enabled.
    HeroChat: Permissions 2.7.4 found.
    FalseBook: Core] FalseBookCore v0.85alpha by GeMo enabled!
    CONSOLE: BorderGuard version 3.1 is enabled!
    CONSOLE: WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    CONSOLE: WorldGuard: (world) Single session is enforced.
    CONSOLE: WorldGuard: (world) TNT ignition is PERMITTED.
    CONSOLE: WorldGuard: (world) Lighters are blocked.
    CONSOLE: WorldGuard: (world) Lava fire is blocked.
    CONSOLE: WorldGuard: (world) All fire spread is disabled.
    CONSOLE: WorldGuard: Loaded configuration for world 'world"
    CONSOLE: WorldGuard: (world_nether) Single session is enforced.
    CONSOLE: WorldGuard: (world_nether) TNT ignition is PERMITTED.
    CONSOLE: WorldGuard: (world_nether) Lighters are PERMITTED.
    CONSOLE: WorldGuard: (world_nether) Lava fire is blocked.
    CONSOLE: WorldGuard: (world_nether) Fire spread is UNRESTRICTED.
    CONSOLE: WorldGuard: Loaded configuration for world 'world_nether"
    CONSOLE: WorldGuard: 1 regions loaded for 'world'
    CONSOLE: WorldGuard 5.0-alpha10 enabled.
    Citizens]:: version [1.0.8e] (Realist) loaded
    Citizens]:: Payment method found (iConomy version: 5)
    CONSOLE: FalseBookBlock v0.85alpha by GeMo enabled
    FalseBook: Block] No Cauldrons loaded!
    CONSOLE: Loaded EssentialsSpawn build 2.3.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    CONSOLE: properTime reading from config at /home/mc4729/bin/plugins/properTime/properTime.conf
    CONSOLE: properTime 1.8.9 initialized
    FalseBook: IC] plugins/FalseBook/Transmitter.db not found.
    FalseBook: IC] plugins/FalseBook/Receiver.db not found.
    FalseBook: IC] 1 Sensors loaded.
    Citizens]:: Loaded 5 NPCs.
    FalseBook: Block] 0 Areas loaded.
    FalseBook: Block] 0 Bridges successfully loaded.
    FalseBook: Block] 0 Doors successfully loaded.
    FalseBook: Block] Gates successfully loaded.
    Groups.yml

    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
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: '&7'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.spawn'
                - 'essentials.list'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.tpahere'
                - 'essentials.msg'
                - 'essentials.me'
        Builder:
            default: false
            info:
                prefix: '&2[Builder]'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.kit.start'
                - 'essentials.kit.spells'
        VIP:
            default: false
            info:
                prefix: '&e[VIP]'
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - 'essentials.kit.cake'
                - 'essentials.kit.torches'
                - 'essentials.kit.grass'
                - 'essentials.kit.lightstone'
                - 'worldedit.navigations.jumpto'
        Moderator:
            default: false
            info:
                prefix: '&b[Mod]'
                suffix: ''
                build: true
            inheritance:
                - VIP
            permissions:
                - '*'
        Admins:
            default: false
            info:
                prefix: '&b[Owner]'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    Users.yml

    Code:
    users:
        jonDatz:
            groups:
            - Admins
            permissions:
        treeetrunks:
            groups:
            - Admins
            info:
                prefix: '&b[HeadMod]'
                suffix: ''
            permissions:
        aBIGbutt:
            groups:
            - Moderator
            permissions:
        artichokedan:
            groups:
            - Moderator
            permissions:
    
    Is that everything?
     
Thread Status:
Not open for further replies.

Share This Page