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

    Josch

    It should be possible:
    I used the API to access this to Mod VoxelSniper to use prefixes.
    It works if I only add a variable or only permissions to a user/group, but I want both.
    Even if I copy the code above, I get an error!
     
  3. Offline

    shrimp782

    But is the plugin outdated, or is it just me?
     
  4. Offline

    Jason123

    I cannot run this plugin - I get the following error:

    Code:
    01-Feb-2011 21:06:06 org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins/Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:78)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:117)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:82)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:40)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:156)
        at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:143)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:181)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:76)
        ... 8 more
    Caused by: while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 58, column 1:
                - 'general.items'
        ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:510)
        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.java: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: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:62)
        at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:46)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:76)
        ... 13 more
    
    Can someone tell me of a way to fix this please. :)

    I'm using the latest build and latest version of the plugin.
     
  5. Offline

    jwideman

    It would probably help if you posted your config.yml
     
  6. Offline

    shrimp782

    Code:
    groups:
        Builder:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'SimpleWarp.warp'
                - 'SimpleWarp.listwarps'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'lwc.protect'
                - 'monsterhunt.usercmd.hunt'
                - 'monsterhunt.usercmd.huntscore'
                - 'monsterhunt.usercmd.huntstatus
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Builder
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'SimpleWarp.'
                - 'lwc.mod'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    users:
        shrimp782:
            group: Admins
            permissions:
        lookahat:
            group: Moderator
            permissions:
        meaty3300:
            group: Builder
            permissions:
        cupcake3300:
            group: Builder
            permissions:
    I don't see anything wrong...
     
  7. Would it be possible to have an info: node per-user that i.e. iChat would be using? I mean personal prefixes and chat colors of course.
    I guess it's more of an iChat request than Permissions.
     
  8. Offline

    jwideman

    Shouldn't you be able to just add the prefixes to your users the same way you'd give them individual permissions?
     
  9. Offline

    NOTNOT

    Its not work for me .
    Many error appear .

    2011. 2. 02 8:42:39 org.bukkit.plugin.SimplePluginManager loadPlugins
    : Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:78)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:117)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:82)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:42)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:156)
    at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:143)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:186)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    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:76)
    ... 8 more
    Caused by: while scanning for the next token
    found character '\t' that cannot start any token
    in "<reader>", line 45, column 1:
    - 'lwc.protect'
    ^
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:360)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:510)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceFirstEntry.pro
    duce(ParserImpl.java:502)
    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:62)
    at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:46)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    76)
    ... 13 more

    like this error.
    what should i do ?
     
  10. Offline

    Josch

    Read the 1. post, use the YAML Parser linked there and then STOP USING TAB!
     
  11. Offline

    Nijikokun

    2.0 Released

    Anyone using HeroChat, iChat or any other plugin that uses permission variables on users / groups, they now need to be under an "info:" block like this:

    Users example Case-Sensitive !!!
    Code:
    DarkGrave
        group: Admin
        info:
            prefix: '&4'
    	suffix:
        permissions:
     
  12. Offline

    NOTNOT

    i don't use tab.
    i use Notepad++ , but that error appear
     
  13. Offline

    Nijikokun

    That "error" says you used tabs, so obviously you have.
    Code:
    found character '\t' that cannot start any token
     
  14. Offline

    chill1977

    I am currently testing 2.0 with craftbukkit 202 please give us some time to get them going people!
     
  15. Offline

    shrimp782

    I wasn't using tabs. Just sayin. Oh and I found what was wrong. I had forgotten a ' somewhere. Now it's fine, but thank goodness there's an update.
     
  16. Offline

    chill1977

    Just tested NEW Permissions 2.0, NEW iChat 1.5, Essentials 132 with CraftBukkit 210 and they work fine.

    Any Permissions errors with craftbukkit 202 or up and NEW Permissions then please post config.yml.
     
  17. Offline

    jwideman

  18. Offline

    oki123

    Will the plugin still work if you add (not rename) a group?
     
  19. Offline

    chill1977

    Yes, you can add as many groups as you like as long as you keep the format as in the rest of the file.
     
  20. Offline

    Meteo

    I have no idea how to use this for others, neither make myself a admin, is there anyway that anyone could post a vid to make the owner a admin, and make others the default guest? And another question, how do u add commands that are custom? Like a /teleporthere "person'sname"? Please tell me.
     
  21. Offline

    chill1977

    Really? cmon, go find a server where the admin/owners know what they are doing. Either that or go read some of the 55 pages of post that are here and figure out at least a little bit of it before asking.
     
  22. Offline

    Meteo

    I have and i've read through about 45 pages of errors and compliments, not much help on my topic. Plus iam a nooby, and iam also new sorry about the questions..
     
  23. Offline

    chill1977

    Not only are there several hundred examples in this forum, there is examples and explanations at the top of every page. At least put something together, try and post that for corrections and suggestions. Don't just come here and say I don't know how. If you don't know anything about doing any of this or can't at least try to figure it out then you probibly shouldn't be running a server with this on it. The 40 pages of help I have given says I don't mind helping those that try, but some of this is getting rediculous.

    teleport here is a simple .tphere permission node added to the group you want to have access to it.
     
  24. Offline

    Meteo

    Well sorry anyways, but i run a server cuase i want to play with all my friends, and with the new mods for bukkit, i can't exactly run it on MCadmin, so my bad..
     
  25. Offline

    tehasianguy

    Any mac users on a beta server using the general plugin and permissions plugin successfully, PM me? I get an error in terminal which doesn't allow me to start the general plugin.
     
  26. Offline

    RustyDagger

    im a little confused with the update you say it needs to be under the info: section now but i already had that. uh dam 2 quick for you?

    also the update allows for per player prefix and suffix? that would be a nice thing to have for vip.
     
  27. Offline

    chill1977

    from what i see in his post it does allow for per player although i havent had a chance to test that myself
     
  28. Offline

    oki123

    Here is my config file - http://pastebin.com/3f9TG4yA
    And, here is the error thingy-majigger - http://pastebin.com/EDuLig6k
    I recently updated craftbukkit and reinstalled permissions, and this "error" came up. Am I doing something wrong?
    (Am I the only one who still uses pastebin, :p)

    Thanks in advance!
     
  29. Offline

    Cmars

  30. Offline

    chill1977

    Left the colon out after Member: group and it's spelled wrong lol
     
  31. Offline

    DarkM

    I can't find this out anywhere, but how do I define the color of the name? I see Admins are red, but I don't see anything that defines that color.

    Am i asking this in the wrong place? Should I ask in Essentials?
     
Thread Status:
Not open for further replies.

Share This Page