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

    HotelErotica

    @Nijikokun Oh snap, Yeah i see my error now. I had a inheritance that no longer existed anymore. Thanks abunch.
     
  3. Offline

    Nijikokun

    Yeah glad you saw that, these forums keep deleting my messages when i forget to reply to someone like a minute later.
     
  4. Offline

    HotelErotica

    @Nijikokun Is it possible to make a plugin that would allow someone to promote someone through the ranks of the groups. Like a if your ranks were Untrusted -> Guest -> Regular -> Vip -> Mod -> Admin, An Admin could promote someone to the rank of Mod and a regular could upgrade an untrusted to a guest. Basically only promote someone to the rank below themselves. Not asking you to do it, Just wondering if its possiable.
     
  5. Offline

    Nijikokun

    Not currently. Maybe in the near future.
     
  6. Offline

    ppingos

    Hi, I tried installing the plugin but I receive an error on startup and no permissions work. The error message is
    Code:
    SEVERE: org.bukkit.util.config.Configuration.getKeys(Ljava/lang/String;)Ljava/util/List; (Is it up to date?)
    java.lang.NoSuchMethodError: org.bukkit.util.config.Configuration.getKeys(Ljava/lang/String;)Ljava/util/List;
            at com.nijiko.permissions.Control.load(Control.java:63)
            at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:145)
            at com.nijikokun.bukkit.Permissions.Permissions.onEnable(Permissions.java:110)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:134)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:275)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:173)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:45)
            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)
    What should I do to run the plugin?

    Nermind, I updated craftbukkit and it's ok now.
     
  7. Offline

    Dysalot

    EDIT: Fixed by updating to 1.9 apparently there was an update between when I downloaded it last night, and tried using it today.


    I like the plugin, it seems like it work well. But I was unable to get it to load on my server. Since many other plugins rely on this one, several other plugins are not working either. Right now no one can do any commands even Admins. Fixed the basic commands.

    I am on craftbukkit build #129. I have the permissions.jar in the plugins folder, the permissions folder is also in the plugins folder.

    In the logs there are warnings that Permissions aren't loaded such as:
    Code:
    [SEVERE] [MYHOME] Permissions isn't loaded, there are no restrictions.
    
    [INFO] [iConomy] Permission system not enabled. Disabling plugin.
    Here is the config:
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: GroupUsers
    
    ##
    # 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:
        Griefer:
            default: false
            info:
                prefix: NOBLD
                suffix:
                build: false
                inheritance
                permissions:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomy.rank'
    
        Moderator:
            default: false
            info:
                prefix: Mod
                suffix:
                build: true
            inheritance:
                - Default
            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:
        Dysalot:
            group: Admins
            permissions:
               - '*'
         Forealms:
            group: Admins
            permissions:
               - '*'
    sk89q:
            group: Default
            permissions:
                - 'general.time'
         papbear:
            group: Moderator
            permissions:
               -
     
  8. Offline

    Suhteevah

    I saw you sometimes use teamviewer or skype or w/e to look at peoples stuff if you want i can do that as i already am familiar with and have both programs ^^ get in touch with me via PM if you would like to look at my setup!
     
  9. Offline

    Creekrat

    Code:
    Jan 24, 2011 9:45:27 AM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to LWC
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.getInheritancePermissions(Control.java
    :321)
            at com.nijiko.permissions.Control.permission(Control.java:190)
            at com.griefcraft.listeners.LWCPlayerListener.onPlayerCommand(LWCPlayerL
    istener.java:52)
            at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.ja
    va:135)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:201)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:547)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:523)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:65)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Jan 24, 2011 9:45:27 AM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to SimpleWarp
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.getInheritancePermissions(Control.java
    :321)
            at com.nijiko.permissions.Control.permission(Control.java:190)
            at com.bukkit.JamesArchuleta.Warp.WarpPlayerListener.onPlayerCommand(War
    pPlayerListener.java:90)
            at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.ja
    va:135)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:201)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:547)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:523)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:65)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-01-24 09:45:27 [INFO] Sexiikitten102 tried command: warp aion
    
    i get this when my admins try to do anything... commands, login, basic anything "adminish"
    halp?
    heres permissions file http://pastey.net/145280-3l26
     
  10. Offline

    M1sT3rM4n

    Inheritance doesn't seem to work for special made groups. I have this installed this mod and the Genrl permission mod, and the permissions doesn't seem to go through for inheritance for specially made groups, so I have to copy and paste every essential.something node to each of the players who are in the special group.

    My original edit was that the group had all the command inherited from Default, plus some of their own.

    However, they weren't able to use it until I copied all the commands again into their permissions section in the User section instead of leaving Permission blank.
     
  11. Offline

    Hypo2010

    How can i change the group of someone in the game without switch out of the game?
     
  12. Offline

    TerraPlay

    "Security" gives me an error. "Security cannot be resolved or is not a field"
    Code:
    if (!kGeneral.Permissions.Security.permission(player, "kgeneral.give")) {
    How can i fix that?
     
  13. Offline

    DarkM

    So I have been experiencing something strange. It seems the last permission set doesn't register. I was having troubles with LWC permissions yesterday and decided to leave it until this morning. I forgot about LWC and added permissions for worldedit because it didn't let me use the commands. Now LWC works and worldedit still doesn't.

    Also, /pr isn't working. Is there a permission I have to give myself to be able to use it?
     
  14. Offline

    Mhalkyer

    Any chance of getting "/modify" or "/promote username group" working with this @Nijikokun ?

    Any ETA on this being implemented into CraftBukkit?
     
  15. Offline

    ledhead900

    0_0 and update ... to fix inheritence ........... [​IMG]

    Thank you!, I can be a pain as you know, Hey I'll work it out in the end and that I did its not that hard using this once u got your formating down pat. Thanks for the fix going to test it out now and hopes it works well.
     
  16. If /pr isn't working and you're an admin with the '*' node. Then the config.yml file is probably set up wrong. Post it on pastebin and send the link to it here and someone may see if it is the problem and may even fix it.
     
  17. Since i have the new permissions mywarp doesnt work , each time i use a command it crashes.


    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getInheritancePermissions(Control.java:321)
    at com.nijiko.permissions.Control.permission(Control.java:190)
    at me.taylorkelly.mywarp.WarpPermissions.permission(WarpPermissions.java:38)
    at me.taylorkelly.mywarp.WarpPermissions.list(WarpPermissions.java:67)
    at me.taylorkelly.mywarp.MyWarp.onCommand(MyWarp.java:105)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:17)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:84)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:157)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:541)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:523)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:65)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  18. Offline

    trivials

    Hi Guys my next problem.

    How i can load the permission.jar to load first ?
    Its important to get permission with worldedit.
     
  19. Offline

    DarkM

    http://pastebin.com/6D7BNUQj

    Also, I just looked at the server log and found this when starting the server:
     
  20. Offline

    trivials

    DarkM is permission.jar before loaded ???
     
  21. Offline

    DarkM

    Wut? I'm guessing you mean to ask if permissions.jar is loaded first, if so then I don't know how to change the load order.
     
  22. Offline

    trivials

    Thats my problem, too. Permission msut be loaded first, then it function.
     
  23. Offline

    DarkM


    Nope didn't work. LWC doesn't do anything and when I try //wand or a different worldedit command, it says I don't have permission to use that command.
     
  24. It doesn't matter the order it loads because the same happens to me. As admin the main test is try /pr and see if you can reload the plugin. If not, check the server console for errors.

    Also, that permissions config works perfectly for me (I just changed you're name to mine).
     
  25. Offline

    trivials

    how to realod a plugin ?

    Edit:

    K it function with reload, but i think the problem is the load order.
     
  26. Offline

    DarkM

    Okay /pr works, but /lwc and WorldEdit commands still don't... hmm. What craftbukkit build are you using and where can I get it? (I don't know how to download previous builds)
     
  27. Offline

    Krasus88

    Not working for me atm:

    2011-01-24 18:57:51 [SEVERE] [MYWARP] Permissions isn't loaded, there are no restrictions.
    2011-01-24 18:57:51 [INFO] [General] Permission system not enabled. Disabling plugin.
    2011-01-24 18:57:51 [INFO] [General] version [2.0] (Mafia) disabled

    Or am i doing something wrong?._.
     
  28. Offline

    h0us3cat

    Can i do this?
    users:
    modname1,modname2,modname3:
    group: Moderators
    permissions:
     
  29. Offline

    Nijikokun

    As practical as that would be no.

    Need to see more information such as your configuration, where you put Permissions.jar and Permissions/ folder.
     
  30. Offline

    h0us3cat

    So it have to be like this?

    users:
    modname1:
    group: Moderators
    permissions:

    modname2:
    group: Moderators
    permissions:

    ect...
     
Thread Status:
Not open for further replies.

Share This Page