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

    Jakebobjo

    nice is this usable with General yet?
     
  3. Offline

    Nijikokun

    General 1.9 uses this.
    --- merged: Jan 21, 2011 8:48 AM ---
    Updated topic with more information about how permission nodes work.
     
  4. Offline

    Jobsti

    Hey nice.

    Questions:
    Now, I don't need GroupUsers? If not, Users are still in users.txt? How I add the prefix and Colors to groups?
     
  5. Offline

    Nijikokun

    Yes you would still need to keep the jar file & all the files in GroupUser the same if you plan to use GroupUsers for permissions. This simply relays the information if you are using both. That way neither overrides the other.
     
  6. Offline

    Jakebobjo

    I still cant set general up or this can you please help? on skype or team viewer or even here plz lol Also even if i tryed suing Groupsuser thing um its not .jar for me its a folder =(
     
  7. Offline

    Nijikokun

    Sure thing.
     
  8. Offline

    Jobsti

    Soooo... installed newest general und premissions. GroupUsers still installed
    In permissions I set:

    PHP:
    groups:
        Default:
            default: 
    true
            inheritance
    :
            
    permissions:
               - 
    'general.spawn'
        
    Admins:
            default: 
    false
            inheritance
    : Default,
            
    permissions:
               - 
    '*'
    And
    PHP:
    users:
        
    Jobsti:
            
    groupAdmins
            permissions
    :
            - 
    '*'
    Nothing happend with /spawn.

    Serverconsole:
    Code:
    SHWERWIEGEND: Could not pass event PLAYER_COMMAND to General
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.permission(Control.java:124)
            at com.nijikokun.bukkit.General.iListen.onPlayerCommand(iListen.java:365)
            at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:135)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java: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-21 10:02:47 [INFO] Jobsti tried command: spawn
    
    
     
  9. Offline

    Nijikokun

    Here is mine for reference for my server:
    PHP:
    # 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,
    ##
    #   The asterisk must be placed inside double quotes to prevent errors.
    #   like so:
    #
    #       - 'com.permission.nijiko.*'
    #
    #   Otherwise errors will happen!
    ##
    groups:
        Default:
            default: 
    true
            inheritance
    :
            
    permissions:
               - 
    'general.spawn'
        
    Moderators:
            default: 
    false
            inheritance
    : Default,
            
    permissions:
               - 
    'general.time'
               
    'general.teleport'
               
    'general.teleport.here'
        
    Admins:
            default: 
    false
            inheritance
    : Default,Moderators,
            
    permissions:
               - 
    '*'

    users:
        
    darkgrave:
            
    groupAdmins
            permissions
    :
        
    protosss:
            
    groupModerators
            permissions
    :
        
    outdoordog:
            
    groupModerators
            permissions
    :
     
  10. Offline

    znoozer

    So can i make "group" for new random players who can build? Group like Default in Hey0
     
  11. Offline

    Nijikokun

    Default is recognized by: default: true
     
  12. Offline

    znoozer

    oh, so i dont need to add them 1 by 1 to Default group? :eek:

    If this is true, Im happy that someone finally did this to bukkit! [​IMG]
     
  13. Offline

    Jobsti

    So, deinstalled groupUsers... same Error.
    Whats wrong?

    Edit:
    only fuctional for me, if I use GroupUsers and
    PHP:
    plugin:
        
    permissions:
            
    systemGroupUsers
     
  14. Offline

    Nijikokun

    1.1 released.

    It prevents the error from being shown if no permissions are in a group.
    --- merged: Jan 21, 2011 9:15 AM ---
    Yes, if you are using GroupUsers that is what you do.
     
  15. I am a wee bit confused. I have set up 3 groups, and I am confident they are correct - but how do I specify who belongs to which group?

    My first instinct was to add each admin/mod to users: and have them inherit from Admins/Mods groups respectively, but does this then also require me to specify permissions: for each of them?

    EDIT: Just saw the post above mine. Guessing then that I can just rely on groupsusers to take care of the bove. :)
     
  16. Offline

    Jobsti

    For what I need this plugin if I have GroupUsers?
    my default Users can't use /spawn, with or without your plugin togehter with GroupUsers.
     
  17. Offline

    IkithME

    Not sure if this is a General issue or Permissions issue but:
    SEVERE: Could not pass event PLAYER_COMMAND to General
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.permission(Control.java:124)
    at com.nijikokun.bukkit.General.iListen.onPlayerCommand(iListen.java:541
    )
    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-21 00:57:48 [INFO] Ikithme issued server command: i 1 64
    2011-01-21 00:57:48 [INFO] Unknown console command. Type "help" for help.

    On any command that is handled by or needs to be passed to general.
     
  18. Offline

    Nijikokun

    Download 1.1, and tell me if you still get this error, also pastebin your permission file.
     
  19. Offline

    IkithME

    I still get the issue with 1.1
    Permissions
    http://pastebin.com/u9JY9M1V
     
  20. Offline

    Jakebobjo

    BTW Guys and Girls
    Tip #1
    Leave the spaces before the names :D or it will mess up rofl
     
  21. Offline

    Nijikokun

  22. Offline

    Fischmaster3000

    installed permissions 1.1 on #115, motd works but the permissions doesn't.
    i used nijikokun's permissions example file
     
  23. Offline

    IkithME

    Same issue:
    D:\Minecraft Server>"C:\Program Files (x86)\Java\jre6\bin\java.exe" -Xms1024M -X
    mx1024M -jar craftbukkit.jar
    2011-01-21 01:56:00 [INFO] Starting minecraft server version Beta 1.2_01
    2011-01-21 01:56:00 [INFO] Loading properties
    2011-01-21 01:56:00 [INFO] Starting Minecraft server on 192.168.1.240:25565
    2011-01-21 01:56:00 [INFO] Preparing level "world"
    2011-01-21 01:56:00 [INFO] Preparing start region
    Preparing spawn area: 16%
    Preparing spawn area: 69%
    2011-01-21 01:56:02 [INFO] [General] version [1.9] (Yakuza) loaded
    2011-01-21 01:56:03 [INFO] [Permissions] version [1.1] (Handler) loaded
    2011-01-21 01:56:03 [INFO] [MYHOME]: 0 homes loaded
    2011-01-21 01:56:03 [INFO] MyHome 1.6.3 enabled
    2011-01-21 01:56:03 [INFO] Done! For help, type "help" or "?"
    138 recipes
    2011-01-21 01:56:58 [INFO] Ikithme [/192.168.1.1:52872] logged in with entity id
    67
    Player count: 1
    Jan 21, 2011 1:57:14 AM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to General
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.permission(Control.java:128)
    at com.nijikokun.bukkit.General.iListen.onPlayerCommand(iListen.java:541
    )
    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-21 01:57:14 [INFO] Ikithme issued server command: i 1 1
    2011-01-21 01:57:14 [INFO] Unknown console command. Type "help" for help.
     
  24. Offline

    Nijikokun

    Could everyone from now on pastebin errors / configuration files? Thank you. Anyone not doing so will not get a response. This is to keep the thread as clean / small as possible.

    Ikithme do you have teamviewer so I could see your setup?
     
  25. Offline

    IkithME

    I do not... What do you need to know?
     
  26. Offline

    Nijikokun

    To see how you are setting it up exactly. Seeing it directly would be the easiest way to help you. The errors given through this configuration system are a bit vague even to the developer, the easiest way is by example.
     
  27. Offline

    marlenadia

    is there a way to set default group to -1 or not let them modify the world?
     
    nissehutt likes this.
  28. Offline

    RustyDagger

    Umm Im liking the look of this but im confused where is what general.spawn Grants access to set?

    is it set in the plug in or what? i'm just wondering cause i don't have groupusers cause it totally raped my server.
     
  29. Offline

    IkithME

    Okay I have teamviewer set up PM me and I will give you the info.
    --- merged: Jan 21, 2011 10:19 AM ---
    Teamviewer set up check your inbox for info.
     
  30. Offline

    Nijikokun

    Resolving some issues with java

    I will be releasing 1.2 that has a major fix soon. Please wait.
    --- merged: Jan 21, 2011 10:27 AM ---
    general.spawn = /spawn
    general.spawn.set = /setspawn

    if you did general.spawn.* it would only go to /setspawn. not spawn.
    --- merged: Jan 21, 2011 10:28 AM ---
    Hmm. Someone could make a plugin to make that a permission, I might add it in general.
     
Thread Status:
Not open for further replies.

Share This Page