Inactive [ADMN/DEV] Permissions v2.7.4 (Phoenix) - DISCONTINUED! 3.0 has a new home!

Discussion in 'Inactive/Unsupported Plugins' started by TheYeti, Feb 25, 2011.

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

    TheYeti

    Permissions 2.7.4 (Phoenix) - Now with AntiBuild built in!
    Download:
    Latest Stable: Full Zip | Jar Only
    Latest Dev Build: Full Zip | Jar Only
    Previous Versions: 2.7.3 (JAR) | 2.7.2 (JAR) | 2.7.1 (JAR) | 2.7 (JAR) | 2.6 (JAR) | 2.5.5 (JAR) | 2.5.4 (JAR) | 2.5.3 (JAR) | 2.5.2 (JAR) | 2.5.1 (JAR) | 2.5 (JAR) | 2.4 (JAR) | 2.3 (JAR) | 2.2 (JAR)

    Plugin Authors: How to hook into Permissions

    Permissions 2.x is being discontinued! 3.0 can be found HERE!!!


    I am discontinuing Permissions 2.x and leaving the project. Permissions is not going away though! Since 2.6 I have been working closely with another developer and added them to the team. For the past several version they have not only been assisting with 2.x but also doing a lot of the development of much anticipated 3.x. rcjrrjcr will be taking over as lead developer of Permissions from 3.x forward. I have full faith in them and after working closely with them on the development on the last few version and the next major version I feel that I am leaving this project in more than capable hands. I put way to much work into this project to just leave it with anyone, and this is one of the few programs that I am incredibly proud of.

    Many people will probably wonder why I am leaving again after taking over the project just a few months ago. I could quote drama and headaches, of which there were quite a few with this project. Unfortunately real life happens. Many people already know that I have been having medical issues here lately. Unfortunately while they have gotten better, they have not gone away. This coupled with other real life commitments, going to school full time, and starting up my own company, I am currently in the process of being laid off from work. At this point I have so much stuff going on in my life and am being pulled in so many directions that I am not able to get any work done on anything. This has lead to me missing commitments and letting people down on multiple things.

    Permissions is also a very high maintenance plugin that requires a lot of attention and time. Right now I am not able to devote that time and do not feel it is fair for me to try to continue to be the lead developer on it. I had originally thought that adding other members to the team would be helpful, but unfortunately this just lead to frustration for them and myself as I just was not able to commit to the project enough. Hence, 3.0 has been rewritten almost exclusively by rcjrrjcr with minimal contributions by myself.

    At this point I will be stepping away from the project to focus more on real life and to try to free up some time for other projects and to work with more individual like the wonderful HeroCraft Coding team to fulfill some commitments that I made to them a long time ago and sadly did not come through on. I feel that this is the best for all involved, both myself and the other Permissions developers, as well as the community who deserve someone who can contribute more time and attention to them and supporting them. I do not want to see Permissions end up like many other plugins with an absentee programmer and just slowly wasting away from a great plugin with a lot of potential to a headache with no support.

    I will still be active in the community, just not as much as not in the same way. I'm sure my server will be more than happy to have their head admin back and active again as well.

    Thank you and happy gaming.




    Changelog
    • 2.7.4
      • Added overload of has() and permissions() for plugin devs
    • 2.7.3
      • Fixed negate node add/remove bug.
    • 2.7.2
      • Fix for small subtle bug introduced in last minor version.
    • 2.7.1
      • Commit by DThielke to fix several bugs with programmatic modifications of user permissions.
    • 2.7
      • Further commits by rcjrrjcr
        • Removed negatedNode checks
        • Temp fix for NULL issue
        • WorldConfigurationModification to save only modified configs
        • Fix for cache problems
    • 2.6
      • Pulled in commits by rcjrrjcr
      • Fixed versioning. Last version should have technically been 2.6
      • Fixed invalid config file being written
      • Fixed erroneous conversion message.
    • 2.5.5
      • Updated to be compliant with CB600+
      • Further Maven Integration and Autobuilding
      • Better handling of configuration file errors.
        • If you do not have a world config file for the default world at startup it will now look for config.yml
        • If it cannot find that it will look for world.yml instead in case you named it that when that is not what is in level-name:
        • It will rewrite the config file to be the proper name. At this time it does not delete the old one though.
      • Removed defunct public abstract calls. If your not using the right one by now you should be shot anyway.
    • 2.5.4
        • Added Command aliases for perms and pr
        • Changed the way directories are handled.
        • Stopped it from creating an empty <world>.yml file in base directory
        • Moved project to using Maven.
    • 2.5.3
      • Change from File.pathSeparator to File.separator to fix multiworld perms
    • 2.5.2
      • Added more instructions to the included config file within the plugin
      • Added a check that will use the default world permissions if a world specific config file cannot be found.
      • Added a function to get only the group that a player is assigned to without checking for group inheritance.
      • Added a change to colorize() to fix it hopefully not adding an extra unneeded ascii character and thus creating a linebreak/color switch issue
      • Removed permissions.info as it was not needed and was a artifact of testing I was doing.
    • 2.5.1
      • Fixed a bug that could cause a group to be returned as null for getGroups()
    • 2.5
      • Added in AntiBuild functionality to Permissions
      • Minor code tweaks
      • Added getGroups(world, player) to PermissionHandler so that plugins can call it to get all of a users groups
      • Fixed the inability to use the permissions -reload all command from within the console. I still need to do some more work on this as it doesn't seem to like to accept anything other than all from console.
    • 2.4
      • Refactored namespaces to keep in line with Java & Bukkit policy
        • This was cancelled as it ended up being not needed
      • Fixed setupPermissions()
    • 2.3
      • Undid removal of some code that I had overzealously purged during cleanup
      • Merged in last of Nijikokun's changes
      • Re-ordered the main class to attempt to fix the problems with Plugin API
    • 2.2
      • Developer change
      • Fixed reloading of configuration files
      • Moved commands to registering with plugin.yml
      • Commands now use onCommand instead of onPlayerCommand
      • Command is now /permissions instead of /pr
    [/SPOILER]
     
    mruczek, kahlilnc, Pii and 58 others like this.
  2. ok so i downloaded the new version of permsissions and everytime i start the server i get this (below)
    i fixed it last time by just copying the backup of it i have into the config but it didnt work this time and no matter what i do i cant seem to get it to work. any solutions?

    Code:
    20:43:34 [INFO] Invalid config file found and converted to proper name/format.
    20:43:34 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:105)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:158)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:106)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:63)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:101)
            ... 8 more
    Caused by: while parsing a block collection
     in "<reader>", line 69, column 13:
                    - 'essentials.help'
                    ^
    expected <block end>, but found Scalar
     in "<reader>", line 78, column 16:
                    - 'essentials.motd'
                       ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:520)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.jav
    a:203)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    126)
            ... 13 more
     
  3. Offline

    Itssnowing

    'Cause that's a smart thing to say to a gay guy ;)

    Did it work?

    Post your config, please. You have some problems in your Config file.

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

    fightknight

    should my Permissionsworld.yml be blank?
     
  5. Offline

    Itssnowing

    Did you just download Permissions? If so, you'll want to download the zip file rather than the jar file. The jars are only for updating/downgrading.

    Otherwise, just ignore the permissionsworld.yml file.
     
  6. Offline

    fightknight

    I just did a completely new folder install of bukkit and the only thing I added was permissions, I tried a run without changing anything, then I did a stop and changed the RENAME-ME.yml to world.yml. Both times I get "Invalid config file found and converted to proper name/format."

    23:33:24 [INFO] Starting minecraft server version Beta 1.4
    >23:33:24 [INFO] Loading properties
    23:33:24 [INFO] Starting Minecraft server on *:25565
    23:33:24 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-612-
    g4c7a9e7-b617jnks (MC: 1.4)
    23:33:24 [INFO] Preparing level "world"
    23:33:24 [INFO] Preparing start region
    23:33:24 [INFO] 144 recipes
    23:33:25 [INFO] Preparing spawn area: 44%
    23:33:26 [INFO] Invalid config file found and converted to proper name/format.
    23:33:26 [INFO] [Permissions] (Phoenix) was Initialized.
    23:33:26 [INFO] [Permissions] version [2.5.5] (Phoenix) loaded
    23:33:26 [INFO] Done (0.196s)! For help, type "help" or "?"

    Edit :
    and yep I downloaded the zip not the jar :)
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # 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: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        Fightknight:
            group: Admins
            permissions:
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp'
    
    totally stock only change was to add my name in place of where TheNo1Yeti was.
     
  7. Offline

    Itssnowing

    It's a bug that everyone's getting, with no way to fix. But you can ignore it, it doesn't do anything.
     
  8. Offline

    JJoiler

    so does anyone know how to fix the block_break and block_place log im getting?
     
  9. Offline

    fightknight

    I feel like I'm missing something obvious LOL
    so with the set up I have should fightknight be able to use /commands? i.e. /give or /time set...?
     
  10. Offline

    Moo Master

    Is it just me or is anyone else getting BLOCK_PLACE errors? Im on 617 with essentials 2.5.5

    Edit: I'm stupid for not reading faq :p
     
  11. Offline

    Itssnowing

    You should o.o
    Try putting yourself as OP. That should ensure you get those permissions.

    I know people say not to OP, but I'm pretty sure those are commands from the non-bukkit version of a Minecraft* server, so unless you have a plugin that uses those commands, then nothing changes who gets them other than OPing someone. Just make sure you pay attention to what plugins go for OPS.txt over permissions, which some do :p

    *I keep saying this, and I am right about this, right? I'm not just spewing hugabaloo everywhere?
     
  12. Offline

    Celtic Minstrel

    I'm not sure the exact cause of the error, but the better solution would be to put the group name in quotes, so like this:
    Code:
    "[Snivvian]ColdSoul":
    You'll need to do that for everything that contains brackets. Obviously the colon is only needed if it's already there.

    This form needs to have commas between the elements.


    In fact, the hyphens do not need to be indented any further than the key; it is typically done to make it more clear, but it's not necessary. The following random YAML is perfectly valid:
    Code:
    test:
    - 1
    - 2
    - 3
    Um, upgrade to 2.5.5? :rolleyes:

    Yes, these commands are provided by the default vanilla server and are strictly limited to ops. Plugins can override them with their own versions, though. Also, my DefaultPermissions plugin lets you give permission to use them to non-ops (though it's still kinda glitchy).
     
  13. Offline

    fightknight

    ok so I need plugins! gotcha! :D
    I want to stay away from the op file so I can get a handle on this permissions thing :) Any suggestions? I've learned the hard way not to just search and grab, I end up spending to much time learning a plug in that, then I find out there is one that does it better LOL any suggestions? cause atm my toon can't build, destroy or do anything but walk around LOL
     
  14. Offline

    Itssnowing

    (La de da, snipped out what I don't neeeed...)

    @ bracket problem: Quotes, gotcha. I think it worked, so my diagnosis is roughly accurate. Maybe :B

    @ Commas: It was close enough? Kinda? It got the point across. I'll try to remember that, though!

    @ Spacing for nodes: Again, something I didn't know. I won't go correcting people who do that, then.

    @ Vanilla server: pffft you make me feel incompetent. I kinda knew all that, but it's good to have confirmation.

    Should I be writing this all down? I think I should.

    I'm afraid I can't suggest much, my plugin list is limited to MultiVerse, Permissions, and Colorsheep, and I run a private server where everyone gets all the commands, so there's no point in me not OPing everyone. XD
    The best I can do is suggest DefaultCommands, which is what Celtic Minstrel just said s/he used.

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

    stalkingwolf

    Hello,

    Ok so I had the old permissions working just fine and now I am running a test server for the upgrade to 617 and permissions is throwing a fit over my config. I notice that the current build does not auto generate the file like is used to instead it generates a file in the plugin directory called Permissions******.yml where ****** is my world name. The file contains no information unlike the previous versions. As such to avoid errors I simply copied the contents of my old file over and even tried re-writing it by hand with no avail. All i get is mad spam of the BLOCK error that is listed as a bad config in the FAQ.

    The old config file seemed to work fine so what has changed?

    -Stalkingwolf

    EDIT: started from scratch again and appears fine.
     
  16. Offline

    Itssnowing

    The Permissions******.yml file is a mistake on the plugin maker's part. Just ignore the file.
     
  17. Offline

    fightknight

    Thanks for all your help :) I was going crazy trying to figure out why I couldn't build or do commands LOL!!! :D
     
  18. Offline

    bejay

    @Itssnowing

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #  Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #  If this file is for your default world (the one in server.properties) then you must
    #  leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # 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: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
                -'sprint.allow'
        Moderator:
            default: false
            info:
                prefix: '&b'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
                - 'supplysign.access'
                - 'gimme.gimme'
                - 'gimme.whitelist'
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'superpowers.use'
                - 'supplysign.create'
                - 'supplysign.destroy'
                - 'supplysign.reload'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        mcflavour:
            group: Admins
            permissions:
              - '*'
        dss7596:
            group: Moderator
            permissions:
                - 'supplysign.access'
                - 'gimme.gimme'
                - 'gimme.whitelist'
        pvppwnage:
            group: Moderator
            permissions:
                - 'supplysign.access'
                - 'gimme.gimme'
                - 'gimme.whitelist'
        ibeurmum8d:
            group: Moderator
            permissions:
                - 'supplysign.access'
                - 'gimme.gimme'
                - 'gimme.whitelist'
        elvenbrent:
            group: Moderator
            permissions:
                - 'supplysign.access'
                - 'gimme.gimme'
                - 'gimme.whitelist'
    
    
     
  19. Offline

    Itssnowing

    Huh.. I don't see anything immediately wrong with it o.o
    But it's late, I'll try to remember to go over it tomorrow.
     
  20. Offline

    bejay

    okay, thanks man. I appreciate it.
     
  21. Offline

    Kebab

    So I just downloaded permissions 2.5.5 for the first time on my new server and started my server with it loaded, but it doesn't create any file in the permissions folder. None, zit. Only the one file user Itssnowing says is mistake by the plugin developer that is empty.

    So how the heck am I suppose to start the confic... just launch notepad and puke random code inside it off the top of my head?

    What I'm trying to do is to have four groups.
    Owner - can do everything
    Moderator - just about everything except server commands
    User - Can place build and do what normal people do.
    Scrub - Can just walk around the areas but cannot interact with the world.

    edit: I managed to get it working by altering one of the codes pasted here.
     
  22. Offline

    br0ad456

    im getting a problem at the moment where i keep trying to use a command and getting "you do not have permisson to use that command" even though i '*' in my permissions. how can i fix this, is it a problem with the plugins or with permissions?
     
  23. Offline

    JJoiler

    i do have 2.5.5
     
  24. Offline

    Birdie

    Whats wrong here?
    CB #617, Permissions 2.5.5
    Code:
    groups:
        default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'stargate.use'
                - 'essentials.mail'
                - 'essentials.compass'
                - 'essentials.tptoggle'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.msg'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.help'
                - 'essentials.rules'
                - 'lwc.protect'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'towny.wild.*'
                - 'petition'    
     
  25. Offline

    virtualism

    Things to try if you think the permissions plugin works, but you cannot do anything. Or even if you're getting any error, they're good things to try. (in no real order, but all important):
    • http://yaml-online-parser.appspot.com/ < paste your yml file in there and and press ctrl+enter. Any errors, you've fucked up with spaces or have other formatting related problems like quotation marks or something. Cross check with the default yml file to see how it's done.
    • check you spelled your name right, have quotation marks where they need to be as per default file, don't have names with odd characters that may be a problem
    • hell, make sure the name of your yml file matches your world name, and that it's in the correct directory, and that the permissions plugin is loaded when you start the server. It's always a good idea to triple check the basics.
    • if you're confident there's nothing wrong with your world.yml, try replacing it with the default anyway. just change the admin name to your name.
    • You may have a rights issue - On linux, try chmod -R 777 /location/to/server/root , or alternatively running the server as root. Neither option is safe, but it's just to make sure it's not your rights that are causing anything.
    • Note on the above: Celtic Ministrel suggests chmodding to 664 instead (read his post on that a bit further down). I can't vouch if it has the exact same effect, but it's a safer option.
    • Default file and you're still not getting anywhere? Copy out all of your plugins to a different folder, except permissions, and try starting the server again.
    • Nothing? Update craftbukkit and permissions. chmod those now for good measure.
    • If you've not yet copied your other plugins back yet, you've basically just made a completely new server with the best files you can get. If it doesn't work at this point, you're shit out of luck (for now).
    Once you're at that last bulletin, you may sigh and grab yourself a beer. I gave up at removing the user, adding a new one, creating a new directory, chowning, chmodding, redownloading all files, chowning, chmodding, and then not getting there >_> I'm at a loss for what else to try :p

    Curious thing: If i have a bare server with cb617 and permissions, i can do permissions -reload all in console, and it will say it worked (though not reflect the changes, obviously, or I wouldn't be posting). If i have permissions and essentials installed, this happens:
    Code:
    >permissions -reload all
    10:34:22 [INFO] /permissions
    10:34:22 [INFO] Example: /permissions | Displays Permissions Info
    10:34:22 [INFO] Example: /permissions -reload all | Reloads the default world configuration
    10:34:22 [INFO] Example: /permissions -reload [world] | Reloads the [world] configuration file
    
    (Which didn't happen to me when permissions DID work)

    As always, will report in if i learn anything.
     
  26. Offline

    Itssnowing

    You could have downloaded the zip file :/
     
  27. Offline

    statistx

    Lol I'm totally lost. I set it up and all, but i have no idea what it actually does??
    Where are the commands? Or is it just for other mods that use Permission?
    Yeah, as you might suspect I'm a noob and i only want two groups, one guy just walking and building like in single player and one (me) that can abuse him with commands.
    Also what about those permissions foo.bar, bar.foo and herp.derp and whatnot? are they somewhere detailed or are those just placeholders for other mods?

    Please clarify and thanks in advance
     
  28. Offline

    Itssnowing

    There aren't many commands, I think they're limited to reloading permissions. However, they don't appear to be working at the moment.

    What permissions does is limit the commands that other people can use- so you can give your builder some commands and give yourself others, and organize groups of people to have the same commands, etc.

    foo.bar and bar.foo are placeholders, so you can take them out if you'd like, or just leave them, doesn't matter. They're just there to show you how to put things in.

    If you give me yours and your's builder's Minecraft names, I could make a config file for you, if you'd like.
     
  29. Offline

    David PRitchett

    Hey guys, I'm hoping this is possible.

    I currently am the only op/admin. I want to add a moderator, but only want him to have the ability to add/remove players from the whitelist.

    How would I go about doing this? I already have Permissions installed.

    Thanks so much!

    Davidonabus
     
  30. Offline

    baiumbg

    Does anyone know why my server lags like hell from Permissions? I disabled all my plugins 1 by 1, until I found out that it was causing the lags. So any idea how to fix this? Group Manager doesn't cause any lags, but it isn't as perfect as Permissions.

    EDIT: And Group Manager hasn't been updated in quite a while.
    EDIT2: I have 5-10 people on my server.
    P.S. Essentials' Group Manager doesn't work for me.
     
  31. Offline

    Celtic Minstrel

    Quoting is a good first thing to try for any situation involving special characters being used in a key or value.

    There's not a lot of point in having Permissions at all if everyone is an op. That said... by making everyone an op, you give them the power to /stop the server at any time.

    Yes. Though not all errors are spacing-related.

    Don't do this. Replace 777 with 664. It's safer, and should have the same effect. Note that if you have a startup shellscript you'll need to chmod u+x it afterwards, or you could just use 764 instead of 777.

    No minecraft_server.jar; that's included in craftbukkit, remember?
     
Thread Status:
Not open for further replies.

Share This Page