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

    adamjon858

    I don't understand why this doesn't work.

    I have only installed Permissions and Essentials. Most recent version of Essentials and 1.4 of Permissions.

    Here is my config file: http://pastebin.com/iSr40pFS

    In game there are NO prefixes in front of my name or anyone elses...not to mention Permissions doesn't seem to be doing anything. I used the vanilla config of Essentials and have only just edited the lines shows in the paste bin.

    Both plugins are loaded with no errors when the server starts...I'm pulling my hair out as to why it REFUSES to work
     
  3. Offline

    Aelux

    Check the Essentials thread, Zenexer working on a fix for the Permissions...
     
  4. Offline

    Eris

    Install the iChat plugin (link in the top post) if you want prefixes. Unfortunately, that seems to be implied but not actually stated.

    I suspect the problem with Essentials is that plugin's fault and not this one's, although I would strongly recommend using the latest versions of each before reporting bugs. Bug reports for old versions are kind of useless to developers, especially since the bugs may be fixed already in the latest update.
     
  5. Offline

    CoZmicShReddeR

    Can someone share a successful permissions which disables visitors from doing anything other then walking around??
     
  6. Offline

    uncovery

  7. Offline

    Nijikokun

    http://livestre.am/Aa2C

    Video for dummies. Detailed setup information.
    --- merged: Jan 22, 2011 1:35 AM ---
    Thats groupusers conflicting. Not Me.
    --- merged: Jan 22, 2011 1:40 AM ---
    a plugin must be made for that to work.
     
  8. Nice it finaly works with Essentials!! You guys are great :)
    Is there a way to remove [Groupname] without disabeling iChat? and color the name instead?
     
  9. Offline

    ChuckBartowski

    hm. i cant seem to get prefixes working.
     
  10. Ýou need ichat for that. It's on one of these pages!
     
  11. Offline

    Nijikokun

    7
     
  12. What about the default available /<default_options_of_minecraft>? One of my moderator functions is to kick people who are bad. If i add 'general.kick' (its a guess i don't know if this is the actual command ;p) it doesn't work.
     
  13. Offline

    RustyDagger

    I am now confused

    I have ichat and the latest permissions How do i turn off the group names showing in chat? I just want the prefix.

    And how do i add the color i opend it in notepad++ But cant quite work out how to save it right is it still a .yml file when saved? or dose that get changed?

    heres part of my file.

    Code:
        noob:
            default: true
            info:
                prefix: Noob
                suffix:
                build: true
            inheritance:
            permissions:
               - 'general.spawn'
     
  14. Offline

    Desereck

    Colors are found here: http://wiki.hey0.net/index.php/Color Instead of using the funky S, use a & and everything is well.
    Keep the format as it originally is. To get the Prefix to change to "Noob" as I'm sure you're trying to do, try this:


    Edit #12091209: Code is being stupid, remember to add your spaces with this

    Noob:
    default: true
    info:
    prefix: '&f'
    suffix:
    build: true
    inheritance:
    permissions:
    - 'general.spawn'


    Hope this works.
     
  15. Offline

    seriosbrad

    Great plugin, really easy to understand and make work with supported plugins. Thanks!
     
  16. Offline

    Delta404

    I'm not sure what I'm doing wrong as I'm a mincraft server noob but I get this when starting up my server with General and Permissions plugins installed (Yes those are the only ones)

    : I could really use any help anyone is willing to offer. (I'm fine with using TeamViewer if you wish or about any-other chat interface such as steam/vent/TS3.

    Code:
    2011-01-21 21:17:06 [INFO] Starting minecraft server version Beta 1.2_01
    2011-01-21 21:17:06 [INFO] Loading properties
    2011-01-21 21:17:06 [INFO] Starting Minecraft server on *:25565
    2011-01-21 21:17:06 [INFO] Preparing level "DahBeast"
    2011-01-21 21:17:06 [INFO] Preparing start region
    Preparing spawn area: 69%
    2011-01-21 21:17:08 [INFO] [General] version [1.9] (Yakuza) loaded
    Jan 21, 2011 9:17:08 PM 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.j
    ava:83)
            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:43)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177)
            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:81)
            ... 8 more
    Caused by: while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 68, column 1:
                            - 'general.*'
        ^
    
            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:
    77)
            ... 13 more
    2011-01-21 21:17:08 [INFO] [General] Permission system not enabled. Disabling pl
    ugin.
    2011-01-21 21:17:08 [INFO] [General] version [1.9] (Yakuza) disabled
    2011-01-21 21:17:08 [INFO] Done! For help, type "help" or "?"
     
  17. Offline

    Desereck

    Check your personal messages, Delta.
     
  18. Offline

    Delta404

  19. Offline

    portstevo

    Is it possible to add a /modify type command to allow adding users to groups without having to manually edit the files?
     
  20. Offline

    ChuckBartowski

    This would be nice. A clearinvetory command would be quite useful as well. Also, it seems youve removed the commands to load and reload plugins? or did you just take them off the list on the front page?
     
  21. Offline

    Desereck

    The reload plugin command is /pr in game. You can manually set this command to your user (so you don't have to mess with the groups) by using 'permissions.reload'

    I'm not sure if there's a load option.
     
  22. Offline

    RustyDagger

    Im like uh so connfused right now wtf dose the suffix do? Why dose it show the group name why cant i turn it off why cant i color my name ? i call this fail.

    for now i have my group name beside my name with it colord Not the best but its better than nothing i suppose.....
     
  23. Offline

    UnknownGamer

    I have a quick question, I am trying to set a default usergroup "Guest" without the permission to build. So what I have is:
    Code:
    plugin:
        permissions:
        system: Default
    
    groups:
        Guest:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Guest
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        UnknownGamer:
            group: Admins
            permissions:
    
    My problem is that the Guest group can still build. Any ideas what would cause this?

    Thanks!
     
  24. Offline

    RustyDagger

    wow i just nailed all my groups and colors i quite like it now its grown on me but i would still like my name changed color.
     
  25. Offline

    Mhalkyer

    Hey Nijikokun, I wrote a quick PC application to convert the old users.txt and groups.txt to your new config.yml. Figured you guys could use it:

    http://www.speedyshare.com/files/26416540/Mconverter.zip

    I made it with C# Express 2010 and built it with the .NET 3.5 Framework. All you need is .NET 3.5, here's a link if you don't have it installed. I'll post the source if someone wants it.

    Nijikokun: Please add 'show group name=true/false' to iChat's config.yml so people can disable it and just use the prefix!
     
  26. Offline

    AbsolutePolak

  27. Offline

    joshcvb


    I have just about 300 users and it only converted maybe 40 of them, is there a reason why?
     
  28. Offline

    computerwiz_222

    I had the same problem as Delta404, can anyone provide advice?

    Thanks
     
  29. Offline

    joshcvb

    what build are you using and also what did you edit the file in?
     
  30. Offline

    Jakebobjo

    I am on mac And when ever i use Prefix it says general and ichat have been disabled
     
  31. Offline

    Desereck

    This is what I posted to Delta.

     
Thread Status:
Not open for further replies.

Share This Page