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

    tekac

    Yes I"m using the latest. I figured out the problem but now prefixes are giving me grief... I do prefix = '&5Donator'

    and ingame its [donatorbuilder] tekac
     
  3. Offline

    portstevo

    remove +group from ichat config to stop it showing the group.

    This is my config, this way colours + what it shows is all handled by permissions

    Code:
    message-format: '+prefix +name:&f +message'
     
  4. Offline

    Charles Harvey

    I've actually got this working pretty good short of warps not working. Everything else is good. And I feel like I won't have to switch any time soon unlike I have been recently switching plugins on a daily basis -_-.
     
  5. Offline

    Jobsti

    I use: message-format: '+prefix+name: +suffix+message'

    prefix: '&1[&3Admin&1]&2'
    suffix: '&4'
    [Admin]Jobsti: My Chattexts
    In prefix, I can add Color for the prefix, the prefixtext and the nickname-color.
    In Suffix, I can edit the Chatcolor
     
  6. Offline

    Ablac

    I dont get how to use this... Do i have to make a permission for every single command i want people to use???

    - 'general.tp'
    - 'general.give'

    ETC...

    How do i add colors to my User groups, GroupUsers dosn't work at all ive tried everything i could with it.
     
  7. Offline

    KiloWhiskey

    What settings did you use to get groups to have fully changed text and name color? This is what I've got running...
    2011-01-23_06.48.14.png
    The [$] is only on players who have donated to the server, and everything works great, but everyone is stuck with the same color name and text... what's the trick?
     
  8. Offline

    koguchi

    I am extremely happy to say, I figured out how to use the permissions to work with essentials
    I am very happy you two guys made it possible to combine essentials and permissions together...
    thanks x 10000000000
     
  9. Offline

    Jobsti

    Post #485
     
  10. Offline

    tekac

    @KiloWhiskey I love your idea with the money sign. Keeps sponsors happy with title but less spammy!

    How did you go about doing that? I tried &a[$] and it makes the brackets green to. Thanks

    edit: figured it out, used jobsti's post as reference. Thanks!
     
  11. Offline

    sharkh20

    Got it working, Must have had a tab somewhere in my config. Just ended up doing it in regular notepad.
     
  12. Offline

    Desereck

  13. Offline

    Ablac

    What have i done wrong?? Theres only one other mod installed and that Essentials...
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   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:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.list'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'essentials.clearinventory'
                - 'essentials.nick'
                - 'essentials.whois'
                - 'essentials.spawn'
                - 'essentials.kit'
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.afk'
                - 'lwc.protect'
        Mods:
            default: false
            info:
                prefix: '&2'
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.getpos'
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.banip'
                - 'essentials.unbanip'
                - 'WorldGuard.region.addowner'
                - 'WorldGuard.region.addmember'
                - 'WorldGuard.region.removeowner'
                - 'WorldGuard.region.flag'
        Admins:
            default: false
            info:
                prefix: '&1'
                suffix:
                build: true
            inheritance:
                - Mods
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ####
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Ablac:
            group: Admins
            permissions:
    When testing this is what i got http://grab.by/8x7N
     
  14. Offline

    tekac

    So the only way to add new players to the list is to add them manually? :(
     
  15. Offline

    Desereck

    Did you find a fix to this?
    --- merged: Jan 23, 2011 7:44 AM ---
    @Ablac Prefix/Suffix are switched(?) I remember reading.

    Try putting it on the suffix or put this in your Ichat config file:

    message-format: '+prefix +name:&f +message'

    And now I await the answer to my problem. Going to sleep and check in the morning :C
     
  16. Offline

    Jobsti

  17. Offline

    tekac

    Anyone know if there is a way to make two specific groups colored?

    Like I want my builders group at &9 and sponsor group at &6
     
  18. Offline

    SectioN 8

    I'm using version 1.8 of permissions, and build 68 of Bukkit and 127 of craftbukkit. When I (or anybody) attempts to connect to the server, they either: Crash, timeout or get an error about connection. The console doesn't give me an error except for when a player, (such as myself) times out:
    http://filesmelt.com/dl/error5.png

    Removing the plugin fixes this error and I can connect again so I assume that it would be the plugin.
     
  19. Offline

    PeopleSaw

  20. Offline

    portstevo

  21. Offline

    Tendonsie

    I can't build ingame, but my group say build = true?
    Use the new general and permission version of today.
    Use the standard config file with only changed my name in it.
    --- merged: Jan 23, 2011 8:21 AM ---
    LoL Found it!

    On some places on the map I can build, on other places on the map I cant build ?
    Using General + Permission lol :)

    Anyone idea how to solve it ? xD
     
  22. Offline

    Metamist

    It's all fix'd, the error was an '§' at admin prefix. Doesn't prefix work yet?

    I get this error when i start my server with this plugin

    *NOTE* some words are in swedish
    *NOTE2* I put Permissions folder in the root of my server, then i get no error and it says that it's loaded :O
    *Note3* I now know that it's the config file. I mess something up there. could u take a look on it? --v

    I've pastebin'd my permissions config:
    http://pastebin.com/2U87uNad

    **EDIT**
    My other plugins are:
    General
    GodMode
    godPowers
    HotSwap
    MagicCarpet
    MinecartManiaAutocart
    MinecartManiaCore
    MinecartManiaStation
    Permissions
    SimpleProtect
    vanish
    Warp
    WarpGate
    WorldEdit

    lol a bit tooooo much :D
    Code:
    2011-jan-23 09:25:11 org.bukkit.plugin.SimplePluginManager loadPlugins[/S]
    [S]ALLVARLIG: Could not load plugins\Permissions.jar in plugins: null[/S]
    [S]org.bukkit.plugin.InvalidPluginException[/S]
    [S]        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j[/S]
    [S]ava:83)[/S]
    [S]        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.[/S]
    [S]java:117)[/S]
    [S]        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager[/S]
    [S].java:82)[/S]
    [S]        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:43)[/S]
    [S]        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:153)[/S]
    [S]        at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:140)[/S]
    [S]        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)[/S]
    [S]        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:177)[/S]
    [S]        at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)[/S]
    [S]Caused by: java.lang.reflect.InvocationTargetException[/S]
    [S]        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[/S]
    
    [S]        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)[/S]
    
    [S]        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou[/S]
    [S]rce)[/S]
    [S]        at java.lang.reflect.Constructor.newInstance(Unknown Source)[/S]
    [S]        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j[/S]
    [S]ava:81)[/S]
    [S]        ... 8 more[/S]
    [S]Caused by: unacceptable character #FFFD special characters are not allowed[/S]
    [S]in "<reader>", position 1707[/S]
    [S]        at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.ja[/S]
    [S]va:68)[/S]
    [S]        at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:159)[/S]
    [S]        at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:117)[/S]
    [S]        at org.yaml.snakeyaml.scanner.ScannerImpl.scanPlain(ScannerImpl.java:156[/S]
    [S]9)[/S]
    [S]        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchPlain(ScannerImpl.java:86[/S]
    [S]0)[/S]
    [S]        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja[/S]
    [S]va:348)[/S]
    [S]        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18[/S]
    [S]3)[/S]
    [S]        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(P[/S]
    [S]arserImpl.java:592)[/S]
    [S]        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)[/S]
    [S]        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)[/S]
    [S]        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)[/S]
    [S]        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java[/S]
    [S]:230)[/S]
    [S]        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)[/S]
    [S]        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java[/S]
    [S]:230)[/S]
    [S]        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)[/S]
    [S]        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java[/S]
    [S]:230)[/S]
    [S]        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)[/S]
    [S]        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12[/S]
    [S]2)[/S]
    [S]        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)[/S]
    
    [S]        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons[/S]
    [S]tructor.java:124)[/S]
    [S]        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)[/S]
    [S]        at org.bukkit.util.config.Configuration.load(Configuration.java:62)[/S]
    [S]        at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:46)[/S]
    [S]        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:[/S]
    [S]77)


    I will try to remove all my pluings and just use General and Permissions, then i'll add one plugin at a time and see what plugin is wrong Isn't the problem
    - Didn't work. There's something wrong with Permissions or General They work fine, my config[/CODE][/S]
     
  23. Offline

    An0nx

    Am i doing something wrong?
    Here is my config: http://pastebin.com/zPnsn2Vh

    Code:
    2011-01-23 19:32:58 [INFO] Starting minecraft server version Beta 1.2_01
    2011-01-23 19:32:58 [INFO] Loading properties
    2011-01-23 19:32:58 [INFO] Starting Minecraft server on 192.168.0.13:25565
    2011-01-23 19:32:58 [INFO] Preparing level "world"
    2011-01-23 19:32:58 [INFO] Preparing start region
    Preparing spawn area: 4%
    Preparing spawn area: 16%
    Preparing spawn area: 32%
    Preparing spawn area: 44%
    Preparing spawn area: 52%
    Preparing spawn area: 56%
    Preparing spawn area: 89%
    2011-01-23 19:33:06 [INFO] [Healthy] version [1.0] (Apple) loaded
    2011-01-23 19:33:06 [INFO] [iChat] version [1.0] (Reborn) loaded
    23/01/2011 7:33:07 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 a simple key
     in "<reader>", line 94, column 5:
            kinkzuleh
            ^
    could not found expected ':'
     in "<reader>", line 95, column 14:
                group: Mods
                     ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(Scanne
    rImpl.java:400)
            at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.jav
    a:231)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    2)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(P
    arserImpl.java:592)
            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.composeNode(Composer.java:132)
            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-23 19:33:07 [INFO] [BackupPlugin] (com.mysticx.bukkit.backupplugin.Backu
    pPlugin) BackupPlugin version 0.8.5 is enabled!
    2011-01-23 19:33:07 [WARNING] [BackupPlugin] (com.mysticx.bukkit.backupplugin.Ma
    pperUnit) Disabled MapperUnit, mapper_path invalid: mcmap\mcmap.exe
    2011-01-23 19:33:07 [INFO] [BackupPlugin] (com.mysticx.bukkit.backupplugin.Backu
    pPlugin) Finished setting up a thread: class com.mysticx.bukkit.backupplugin.Bac
    kupUnit Next run in: 11 minutes.
    CreeperNerf enabled.
    2011-01-23 19:33:07 [INFO] Debugger enabled, use: /debug_dynmap
    2011-01-23 19:33:07 [INFO] Set minimum priority for worker thread
    2011-01-23 19:33:07 [INFO] Map renderer has started.
    2011-01-23 19:33:07 [INFO] position failed to start WebServer (IOException)
    Loaded Essentials version 43 by Zenexer.
    ExcessLapis version 1.0 is enabled!
    2011-01-23 19:33:07 [INFO] [iChat] Permission system not enabled. Disabling plug
    in.
    2011-01-23 19:33:07 [INFO] [iChat] version [1.0] (Reborn) disabled
    PvP Control version 1.0 is enabled!
    2011-01-23 19:33:07 [INFO] Done! For help, type "help" or "?"
     
  24. Offline

    CmDark

    @An0nx

    You forgot to add a ":" after the last users name

    @Metamist

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   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:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        VIP:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.teleport'
                - 'general.player-info'
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - VIP
            permissions:
                - 'general.items'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'general.spawn'
        Admins:
            default: false
            info:
                prefix: 4[Admin] §f
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Metamist:
            group: Admins
            permissions:
        DragonGirl_03:
            group: Admins
            permissions:
        3t3rn1ty:
            group: Admins
            permissions:
    The order in which you put the - and tabs instead of space made it error
     
  25. Offline

    Metamist

    @CmDark

    The error is the '§', at prefix, i put 4[Admin] §f. i removed the '§' and it's all fix'd...the only problem is....why doesn't prefixes work?
     
  26. Offline

    An0nx

    @CmDark

    Oh, of course. Thanks for that.
    Also, are inheritances not working or something?
     
  27. Offline

    CmDark

    @Metamist I'm not sure, but might work if you remove the number in front (unknown reason, just a guess)

    @An0nx they should be working and if they arent, might be a bug that has come up.
     
  28. Offline

    Metamist

    @CmDark

    The number is for color. i want it to say [Admin] in front of my name with red color :D but it seems to fail...

    also, what is suffix?
     
  29. Offline

    CmDark

    @Metamist You could use other plugins that have colors for specific users/groups

    Suffix: it goes After the username.
    e.g.
    name= Test1

    prefix=[x]
    returns [x]Test1

    suffix=[z]
    returns Test1[z]
     
  30. Offline

    Metamist

    This ain't working, i'll remove permission plugin. it doesn't work for me. it doesn't let me use the commands. yes i've put everything right. can anyone say a good plugin for prefixes and colors?
     
  31. Offline

    Creekrat

Thread Status:
Not open for further replies.

Share This Page