Inactive [ADMN/INFO] Permissions v2.1 - Continuing the legacy.

Discussion in 'Inactive/Unsupported Plugins' started by Nijikokun, Jan 21, 2011.

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

    Nijikokun

    Permissions 2.1 (Handler)
    Download 2.1 (Jar Only)
    Older: 2.0, 1.9, 1.8, 1.7, 1.6, 1.5, 1.4, 1.3, 1.2, 1.1, 1.0

    Permissions... Done right.
    Permissions allows plugin-authors to utalize a permission system that handles group inheritance, globalized permission settings, and more. All the features of a fine-grained permission system in one plugin.​

    Features
    1. Groups
    2. Group Inheritance, Allows for groups to gain permissions from other groups.
    3. User Permission System
    4. Fine Grained Permission system.
      1. Allowing for Globalized permissions
    5. Easy to use, setup, and implement.
    6. Two cache layers, first from file to memory, then from memory to cache.
      1. Plugins can control cache since version 2.1
    7. And much more.
    For the users


    Permissions gives server admins great control, mostly in-game reloading. Simply use /pr and the file will be re-cached and never touched again until you need to reload it. This allows you to quickly give your users the commands that they need without having to restart the server.

    Installation for 2.0 down:
    1. Download the archive.
    2. Extract contents to the /plugins folder.
    3. Open up /plugins/Permissions/config.yml
      1. Read / modify.
      2. Save.
    4. Reload Server.
    Changelog

    • 2.1
      • Multiple-World support
      • New cache layer, and cache control support for plugins
      • Editing features for plugins to hook into
      • Exempt nodes
      • World copying
    • 2.0
      • Forgot.
    • 1.9
      • Fully fixes inheritance.
        • Groups now inherit groups of groups that inherit groups of...
      • Cache system implemented.
      • Plugin authors can now delegate a variable system if needed.
      • API Updated with two new functions to get the point of what they do across.
        • Along with the new variable checks.
    • 1.8
      • Fixes the broken globalized node issue.
        • node.* is called a `globalized node`
    Supporting Plugins




    I have hit the character limit for this post.​

    Thanks to:
    • sk89q for hiearchical and node system idea.
    • Creator of GroupUsers for api implementation.
    This author has stopped development of this plugin. It is no longer supported and I wouldn't ask for help here, as you won't get any. New Permissions
    -RightLegRed
     
  2. Offline

    bogboom


    Pass it through this http://yaml-online-parser.appspot.com/

    It will point out any errors.
     
  3. Offline

    RugRats

    update please.
     
  4. Offline

    bogboom


    No update needed. It works fine.
     
  5. Offline

    gilliganxl

    well some reason i cant get permission or ichat to work, cant reload permissions with this new build, ichat no longer puts prefixes [admin] [Mod] etc. but permission nodes seem to work....some
    --- merged: Feb 24, 2011 1:56 AM ---
    can you reload permissions via command, and or have ichat?
     
  6. Offline

    TheYeti

    The section I highlited in your configuration is wrong. You have


    Code:
            info: {prefix: '[GM]', suffix'', build: true}
                build: true
    
    When it should be:
    Code:
            info: {prefix: '[GM]', suffix'', build: true}
            inheritance:
    
    Take out the second instance of build: and you are fine.
     
  7. Offline

    bogboom


    I cannot reload pernission via /pr, and yes I have iChat and it is working.
     
  8. Offline

    kimjae

    I use notepad++ (or Notepad2). No tabs, no highlighted line..

    So, i've convert' my world.yml in "canonical YAML", there's an error:

    Code:
    ERROR:
    while parsing a block mapping   in "<unicode string>", line 75, column 9:             default: false             ^ expected <block end>, but found '<block mapping start>'   in "<unicode string>", line 77, column 13:                 build: true
    
     
  9. Offline

    gilliganxl

    My ichat doesnt seem to work it keeps coming up with player event cannont be passed to ichat, and it doesnt show any [prefix] or colors, when i try to change the permissions, then stop and start the server it still gives the player the prefix color of that group.
     
  10. Offline

    Aico

    I dont know if its permissions or essentials spamming me this error but its one of the two.
    Im getting
    [WARNING] Missing a prefix or suffix for default
    in chat everytime someone talks. Anyone know how to fix this?

    My default permissions code.


    groups:
    default:
    default: true
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - 'essentials.me'
    - 'essentials.list'
    - 'essentials.mail'
    - 'essentials.mail.send'
    - 'essentials.helpop'
    - 'essentials.getpos'
    - 'essentials.motd'
    - 'essentials.afk'
    - 'essentials.msg'
    - 'wormhole.use'
    - 'essentials.compass'

     
  11. Offline

    kimjae

    O_O

    I'm ashamed.

    I'm very ashamed.

    It works perfectly, now. I don't now how to thank you. I'll buy a brain for the next time !

    Hum, I also noticed that the command /pr doesn't exist:

    Code:
    pr
    2011-02-24 03:11:45 [INFO] Unknown console command. Type "help" for help.
    permissionsreload
    2011-02-24 03:11:50 [INFO] Unknown console command. Type "help" for help.
    I can "reload" by the command /rel, but...
     
  12. Offline

    gilliganxl

    /rel? didnt know that, but i still cant get any of my perms to change regardless of stopping and starting the server again.
    --- merged: Feb 24, 2011 2:15 AM ---
    nope /rel doesnt work
    --- merged: Feb 24, 2011 2:24 AM ---
    nvm i fixed it gotta check the wikia, 2.1 supports multi worlds so had to rename config to worlds name. changlog only says support multi-world were i just downloaded the jar to update not the whole file....

    i see, it was under "installations" on wikia,
    "For 2.1+ Go into /plugins/Permissions/ and rename please-rename-me.yml to your default world's name."
    --- merged: Feb 24, 2011 2:25 AM ---
    and /pr still doesnt work in this case
     
  13. Offline

    kimjae

    It's a command that provides Essential's plugin. It can reload all plugins without restart the server.
     
  14. Offline

    seraphkz

    I dont think Permissions works with the latest 433 build.
     
  15. Offline

    kimjae

    Yes, it works.
     
  16. i still dont get this at all
     
  17. Offline

    BeerBaron

    2.0 works fine with the latest build
     
  18. Offline

    KyreNecat

    not working for me. just loaded it up and theres no notepad thing there i can go in and edit to add people to groups and give groups permisions

    can someone link me to the latest build? ill try it with that :p
     
  19. Offline

    Aico

    Getting a large error when i start the server. No idea what its on about.


    Code:
    [COLOR=rgb(0, 0, 0)][SIZE=3][FONT=Lucida Console]2011-02-23 20:56:05 [SEVERE] Could not load plugins\Permissions.jar in plugins: null[/FONT][/SIZE][/COLOR][COLOR=rgb(0, 0, 0)][SIZE=3][FONT=Lucida Console]org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:85)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: mapping values are not allowed here
    in "<reader>", line 40, column 19:
    suffix:
    ^
    
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
    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.composeMappingNode(Composer.java:228)
    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:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:73)
    at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:178)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:83)
    [/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=3][FONT=Lucida Console]... 8 more[/FONT][/SIZE]
    [/COLOR]

    Running build 432 with the following plugins
    Worldguard
    worldedit
    essentials
    BigBrother
    Borderguard
    and permissions of course.
     
  20. Offline

    fffizzz

    Caused by: mapping values are not allowed here in "<reader>", line 40, column 19: suffix: ^


    Error in your permissions config
     
  21. Offline

    gilliganxl

    it works just try and rename the file from config.yml to your worlds name.yml
     
  22. yeah its running null for me and not workin
     
  23. Offline

    rct2guy

    I'm still really confused. What am I supposed to do if I have multiple worlds?
     
  24. Offline

    storma

    config.yml, copy that and rename it to World.yml. copy again and rename to World2.yml etc. Then edit each one to reflect what you want in that particular world.
     
  25. Offline

    KyreNecat

    i dont even have a config.yml
    =(
     
  26. Offline

    DierWolf

    Dont bother using permisions, crappy. use EssentialsGroupmanager, add the permissons u wanna use there
     
  27. Offline

    KyreNecat

    Dosent that mess with Worldguard or Worldedit tho?
     
  28. Offline

    DierWolf

    no? i just added worledit and works fine, all u need is latest build of essentils, and thats it, it will create folder for groupss etc, just add permissions there(nott the permissions.jar)
     
  29. Offline

    KyreNecat


    Thanks. can you link me to it? i cant seem to find it.
     
  30. Offline

    DIENER

  31. Offline

    DevonX

    Can someone please validate my yml file?

    Code:
    # 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:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
                - 'iConomy.payment'
                - 'iConomy.list'
                - 'iConomy.rank'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admin:
            default: false
            info:
                prefix: '[Admin]'
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # DevonX has control over all commands.
    ##
    users:
        DevonX:
            group: Admin
            permissions:
     
Thread Status:
Not open for further replies.

Share This Page