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

    Jobsti

    /modgrp ?!
     
  3. Offline

    LolRiTTeR

    /modgrp = /modifygroup

    Syntax: /modgrp username groupname
     
  4. Offline

    Jobsti

    From which plugin is this cmd?
     
  5. Offline

    LolRiTTeR

    Sorry, i really dont know ^^
     
  6. Offline

    Moe041991

    Iam really new to this stuff, and its not working on my server. I used the defaukt config.yml and just replaced Darkgrave with my Minecraft name. I also downloaded the General mod and left it the way it is.
    I upload it on my server, restartet it, and joined on it.

    For exsample the command /help is working.
    But i cant use any commands, (I tried a lot /spawn and /setspawn).

    So iam not sure if this is a Permissions or a General problem iam dealing with.

    Sorry for me being a newb and poor english, but does anyone have an idea whats going wrong?
     
  7. Offline

    DerET

    &6 and &e are gold and yellow ;)
     
  8. Offline

    GyD

  9. Offline

    Jobsti

    @Moe041991
    You have to be in the Group: Admins, and Admins need the permission '*'
    So, you can use all commands.

    With #186 setspawn and spawn are not working, /i and give only with /i "yourname" "id ""amount"

    @GyD
    Thx.

    @LolRiTTeR
    You have to post in the essentials topic ;)
     
  10. Offline

    Moe041991

    As i said, i used the original config and just replaced Darkgrave with my Minecraft name.

    users:
    Moe041991:
    group: Admins
    permissions:
     
  11. Offline

    Bigglesworth

    Ok, thats it. I give up on this damn plugin. I have tried to set it up on 2 servers now, and neither essentials OR permissions will show up. In the server log, it shows that it is loading the 2 plugins fine but when I log in, none of the commands work, and there is no MOTD. Here is my permissions config:
    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:
        guest:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.me'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.whois'
                - 'essentials.getpos'
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.compass'
                - 'essentials.ping'
                - 'essentials.list'
        Mod:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - guest
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.item'
                - 'essentials.give'
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.unbanip'
                - 'essentials.kill'
                - 'essentials.tree'
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Mod
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Bigglesworth94:
            group: Admin
            permissions:
        Matthewbri:
            group: Admin
            permissions:
        Crdub09:
            group: Mod
            permissions:
    Please find something wrong with this. If there isnt, I close the server and quit minecraft.
     
  12. Offline

    MonsieurApple


    Please post the output from the console.
     
  13. Offline

    zergilng

    Code:
    plugin:
        permissions:
            system: default
    
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
        Member:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - '*'
        Mod:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Member
            permissions:
                - '*'
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Mod
            permissions:
                - '*'
    
    users:
        515:
            group: Admin
            permissions:
    Code:
    2011-01-31 19:28:18 [INFO] Starting Minecraft server on *:51515
    2011-01-31 19:28:18 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    2011-01-31 19:28:18 [WARNING] The server will make no attempt to authenticate us
    ernames. Beware.
    2011-01-31 19:28:18 [WARNING] While this makes the game possible to play without
    internet access, it also opens up the ability for hackers to connect with any u
    sername they choose.
    2011-01-31 19:28:18 [WARNING] To change this, set "online-mode" to "true" in the
    server.settings file.
    2011-01-31 19:28:18 [INFO] Preparing level "world"
    2011-01-31 19:28:18 [INFO] Preparing start region
    2011-01-31 19:28:19 [INFO] Preparing spawn area: 32%
    2011-01-31 19:28:20 [INFO] Preparing spawn area: 61%
    2011-01-31 19:28:21 [INFO] Preparing spawn area: 85%
    2011-01-31 19:28:22 [INFO] [Permissions] version [1.9] (Handler) loaded
    2011. 1. 31 7:28:22 org.bukkit.craftbukkit.CraftServer loadPlugins
    : java.lang.Integer cannot be cast to java.lang.String (Is it up to date?)
    java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Stri
    ng
            at com.nijiko.permissions.Control.load(Control.java:112)
            at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permiss
    ions.java:145)
            at com.nijikokun.bukkit.Permissions.Permissions.onEnable(Permissions.jav
    a:110)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:370)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:175)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:61)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:42)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:154)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:141)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:102)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:179)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-01-31 19:28:22 [INFO] Done! For help, type "help" or "?"
    i'm try to only load permissions plugin
    my config is wrong?
    plz help me..
    default permissions config.yml isn't working too..

    Do I forget anything? plz salvation me............ T.T
     
  14. Offline

    stkeroro

    Hi, first of all, sorry for my english.
    Seems permissions don't work properly, worldedit and worldguard permissions only works with players on op.txt, and general permissions seems broken on /spawn commands.

    greetings from spain, and keep that good work man!
     
  15. Offline

    Runelynx

    Anyone able to assist? When using /pr in-game, it tells me Error:null and Permissions then disables itself. This has been happening for at least a week now so craftbukkit updates should not be the problems. (Yes I know I need to switch the WorldEdit / commands to the new node format but this error has been coming even when the /commands were the proper way to give those)

    Code:
    plugin:
      permissions: {system: default}
    groups:
      Citizen:
        default: true
        info: {prefix: '&f[&eCitizen&f]', build: true}
        permissions: [iConomy.payment, iConomy.rank, iConomy.list, essentials.spawn, essentials.tpdeny,
          essentials.tpaccept, essentials.helpop, essentials.home, essentials.help, essentials.sethome,
          essentials.list, essentials.mail, essentials.afk, essentials.depth, essentials.msg,
          essentials.me, essentials.warp, essentials.mail.*, essentials.motd, lwc.protect,
          mcbans.vote, mcbans.vote.msg, essentials.kit, essentials.kit.starter, petition]
      Mentor:
        default: false
        info: {prefix: '&f[&aMentor&f]', build: true}
        inheritance: [Citizen]
        permissions: [essentials.time, mcbans.vote.*]
      Mod:
        default: false
        info: {prefix: '&f[&bMod&f]', build: true}
        inheritance: [Citizen]
        permissions: [mcbans.vote.*, /worldguardnotify, essentials.warp, essentials.tp,
          essentials.tphere, essentials.item, essentials.give, essentials.getpos, /worldeditselect,
          //, /butcher, /ex, /fixwater, /fixlava, /region, //wand, //pos1, //pos2, //hpos1,
          //hpos2, //expand, //contract, //stack, //move, essentials.setspawn, essentials.tree,
          essentials.bigtree, essentials.top, essentials.time, essentials.heal, essentials.spawnmob,
          essentials.tele, essentials.tpa, essentials.tpahere, essentials.clearinventory,
          essentials.getpos, /stack, /stopfire, /allowfire, lwc.mod, mcbans.kick, mcbans.ban.*,
          mcbans.view_ban, mcbans.unban, mcbans.tempban, mcbans.reload, petition.moderate]
      Admin:
        default: false
        info: {prefix: '&f[&cAdmin&f]', build: true}
        inheritance: [Mod]
        permissions: ['*']
    users:
      runelynx: {group: Admin}
      erthael: {group: Admin}
      benbestvater: {group: Admin}
      kotone: {group: Mod}
      minikyuubi: {group: Mod}
      steveval: {group: Mod}
      robertr: {group: Mod}
      xenoxhawk: {group: Mentor}
      treminer: {group: Mentor}
      timetuner: {group: Mentor}
      SethyBoy0: {group: Mentor}
      levitater: {group: Mentor}
      jackwhitaker: {group: Mentor}
      hamish_g: {group: Mentor}
      giester: {group: Mentor}
      fingerpaint: {group: Mentor}
      fallz2772: {group: Mentor}
      ericson666: {group: Mentor}
      drage65: {group: Mentor}
      cowmanodoom: {group: Mentor}
      AlleyxD: {group: Mentor}
      clay3120: {group: Mentor}
      dethknaw: {group: Mentor}
     
  16. Offline

    MiniKahn

    Same here..
    When I /mod a user, all plugins are reloaded..
    Incuding the "Authorize" Plugin.. with /login-System..
    The Users can't move becoause the /login Plugin block this..
    When I now /login it's fine..
     
  17. Offline

    xxxfakaxxx

    I have been working for my config about 3 days, but i didnt get
    someone, please, help me.
    add me in skype: xxxfakaxxx
     
  18. Offline

    fffizzz

    to all people having problems with /pr, we need an update to this to change the command for reloading permissions.

    Bukkit added a /pr to reload plugins, but this breaks plugins that havent updated to the new system.

    So, a quick fix would be to give us a new command for reloading, like /permissions, kinda like you do /essentials to reload essentials config.
     
  19. Offline

    MonsieurApple

    You need to download the latest craftbukkit here.
    --- merged: Jan 31, 2011 4:02 PM ---
    Start with the default config make sure that is working.

    Then add a few things at a time. When something doesn't work or the server doesn't start, find out where it's going wrong.
    --- merged: Jan 31, 2011 4:08 PM ---
    Uh no. Bukkit does not have a "/pr" command... This is part of the permissions plugin. Yes it will reload plugins. And yes those plugins that have not been updated will not work... But if they don't work with /pr, won't they not work at startup anyways?
     
  20. Offline

    zergilng

    Thank you for reply my post
    but i'm already using to latest version of craftbukkit T.T
    Help me..
     
  21. Offline

    fffizzz

    Well, if i do a pr now, it disables a bunch of plugins which start fine on startup.
     
  22. Offline

    SeeD419

    Also experiencing this same issue.
     
  23. Offline

    MonsieurApple

    What version of craftbukkit? Can you give some example plugins?
    --- merged: Jan 31, 2011 4:51 PM ---
    Are you using the latest permissions too? They both work for me.
     
  24. Offline

    SeeD419

    Yes I am, build 168.

    If you really wanna know:
    http://pastebin.com/q3CsA6de
     
  25. Offline

    MonsieurApple

    Thats a mighty fine lot of plugins :p

    As for the error(s), I'm not sure. If you want more help, I'd recommend hopping on irc.
     
  26. Offline

    SeeD419

    Dude...I took some plugins out earlier for testing too.

    It's really unbelievable how many I run, lol.
     
  27. Offline

    zergilng

    i'm using to the latest permission plugin too TT
    one choice;only delete the config.yml
    no error showing..
    is my config.yml is wrong?
     
  28. Offline

    xZise

    In the original config is Darkgrave a normal user, so we couldn't know that you also changed this. I would suggest that you post your console output and your configuration file (because it's not the original anymore).

    @zergilng: What is, if you don't add a number as username? Maybe the parser struggles when there is a node which could be a number.

    And on my server “/pr” reloads all plugins, but I don't know how to get the build.

    Fabian
     
  29. Offline

    zergilng

    i'm newbie
    what is mean that add number as username?
    users.txt?
    how to add number as username?
    sorry..
     
  30. Offline

    Josch

    Is there any way you could add a possibility to give a group every right except some specific things?
    I am thinking about things like:
    Code:
    VIP:
        default: false
        info: {prefix: '[VIP]', suffix: '', build: true}
        inheritance: [Default]
        permissions: [essentials.*]
        disallowed:  [essentials.setspawn]
    
    Now I have to enter every permission essentials has, except setspawn. And if there is an update, I have to add new permissions!
     
  31. Okay so my providers finally updated craftbukkit, but permissions STILL refuse to load! All my other plugins like general and iChat Load as they should!! It's really confusing :/ I have tried redownloading the jar several times.
     
Thread Status:
Not open for further replies.

Share This Page