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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    nice is this usable with General yet?
     
  3. Offline

    Nijikokun

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Sure thing.
     
  8. Offline

    Jobsti

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Soooo... installed newest general und premissions. GroupUsers still installed
    In permissions I set:

    PHP:
    1. groups:
    2.     Default:
    3.         default: true
    4.         inheritance:
    5.         permissions:
    6.            - 'general.spawn'
    7.     Admins:
    8.         default: false
    9.         inheritance: Default,
    10.         permissions:
    11.            - '*'
    12.  
    And
    PHP:
    1. users:
    2.     Jobsti:
    3.         group: Admins
    4.         permissions:
    5.         - '*'
    Nothing happend with /spawn.

    Serverconsole:
    Code (Text):
    1. SHWERWIEGEND: Could not pass event PLAYER_COMMAND to General
    2. java.lang.NullPointerException
    3.         at com.nijiko.permissions.Control.permission(Control.java:124)
    4.         at com.nijikokun.bukkit.General.iListen.onPlayerCommand(iListen.java:365)
    5.         at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:135)
    6.         at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:201)
    7.         at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:547)
    8.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:523)
    9.         at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    10.         at net.minecraft.server.NetworkManager.a(SourceFile:232)
    11.         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:65)
    12.         at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    13.         at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    14.         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    15.         at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    16. 2011-01-21 10:02:47 [INFO] Jobsti tried command: spawn
    17.  
    18.  
     
  9. Offline

    Nijikokun

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Here is mine for reference for my server:
    Code (PHP):
    1. # Supports "Default" and "GroupUsers"
    2. plugin:
    3.     permissions:
    4.         system: default
    5.  
    6. ##
    7. # Groups can contain inheritance.
    8. #   To make a group inherit the permissions from another
    9. #   group simply place the groups name in the "inheritance:"
    10. #   field seperated by commas.
    11. #
    12. #   Example: inheritance: Default,Admins,
    13. ##
    14. #   The asterisk must be placed inside double quotes to prevent errors.
    15. #   like so:
    16. #
    17. #       - 'com.permission.nijiko.*'
    18. #
    19. #   Otherwise errors will happen!
    20. ##
    21. groups:
    22.     Default:
    23.         default: true
    24.         inheritance:
    25.         permissions:
    26.            - 'general.spawn'
    27.     Moderators:
    28.         default: false
    29.         inheritance: Default,
    30.         permissions:
    31.            - 'general.time'
    32.            - 'general.teleport'
    33.            - 'general.teleport.here'
    34.     Admins:
    35.         default: false
    36.         inheritance: Default,Moderators,
    37.         permissions:
    38.            - '*'
    39.  
    40. users:
    41.     darkgrave:
    42.         group: Admins
    43.         permissions:
    44.     protosss:
    45.         group: Moderators
    46.         permissions:
    47.     outdoordog:
    48.         group: Moderators
    49.         permissions:
     
  10. Offline

    znoozer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    So can i make "group" for new random players who can build? Group like Default in Hey0
     
  11. Offline

    Nijikokun

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Default is recognized by: default: true
     
  12. Offline

    znoozer

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    So, deinstalled groupUsers... same Error.
    Whats wrong?

    Edit:
    only fuctional for me, if I use GroupUsers and
    PHP:
    1. plugin:
    2.     permissions:
    3.         system: GroupUsers
     
  14. Offline

    Nijikokun

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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. Offline

    rustybroomhandle

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Download 1.1, and tell me if you still get this error, also pastebin your permission file.
     
  19. Offline

    IkithME

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I still get the issue with 1.1
    Permissions
    http://pastebin.com/u9JY9M1V
     
  20. Offline

    Jakebobjo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    BTW Guys and Girls
    Tip #1
    Leave the spaces before the names :D or it will mess up rofl
     
  21. Offline

    Nijikokun

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  22. Offline

    Fischmaster3000

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    installed permissions 1.1 on #115, motd works but the permissions doesn't.
    i used nijikokun's permissions example file
     
  23. Offline

    IkithME

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I do not... What do you need to know?
     
  26. Offline

    Nijikokun

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    is there a way to set default group to -1 or not let them modify the world?
     
    nissehutt likes this.
  28. Offline

    RustyDagger

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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