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

    Nijikokun

    Released 1.4

    Contains case sensitivity fixes (hopefully) and new Suffix, Prefix, and Build settings for plugin authors to tap into.
     
  3. Offline

    ledhead900

    Did I read wrong or does this also take permissions form GroupUsers plugin, as that would be really good.

    The only issue with GroupUsers is that half the plugins load before it and it wont do its job.
     
  4. Offline

    Nijikokun

    Yes, just put "GroupUsers" instead of default. and it will take from those, but its not recommended anymore since now permissions handles suffix/prefix/build. It would be best to do the PHP option as posted earlier.
     
  5. Offline

    fffizzz

    Whats with prefix/suffix? as a test i made prefix: 4 and suffic: f
    it did nothing in game, i was expecting either color 4, or to have a 4 added to the beginning og my name. Did it with a restart and /pr
     
  6. Offline

    rmb938

    They don't do anything atm hes making iChat that will make them do something
     
  7. suffix support colorcodes ?
     
  8. Offline

    Nijikokun

    Yes it should.
     
  9. dont works, i have the permission but i dont see the suf or prefix at chat
     
  10. Offline

    Nijikokun

    It doesn't actually add them into the chat, it is only a holder for other plugins to use / utilize. I've already stated this and so have a few other people... like three posts above this one.

    I'm working on a plugin to do this.

    Cleaner now supports Permissions!
     
  11. Offline

    Nijikokun

    Next time use pastebin or pastie.org

    I am going to look into it.
     
  12. Offline

    ledhead900

    yes I decided to do this shortly after posting since I rather not be running two plugins they would just confilct and add head ache to testing and fixing.

    So I guess its one more question, Will these permissions override other plugins even if i set permissions in those plugins and if not do I just add the * to each command in those plugins and then filter it in yours.
     
  13. Offline

    yottabyte

    Tried adding support for this in my plugin, I think I did everything right but I get this
    The only method I can use is the "permission(arg0, arg1)"

    Help please
     
  14. Offline

    Flopsie

    First of all, this plugin looks great, I read all these pages but I still have a problem. So I have installed this plugin, nothing else. When someone joins my server he can build, while I thought the default group is automaticly asigned to everyone who enters my server ?

    greets
     
  15. Offline

    fffizzz

    post your config.yml
     
  16. Offline

    Draconicus

    Thank you so, so much.
    I can't get on to test it but I'm already setting up the files.
    My biggest question now is: can individual users have prefix tags?
    That would make custom colors possible. :D

    EDIT:
    This plugin doesn't seem to be working. D:
     
  17. Offline

    styx31

    Same problem here. I suppose this flag is only here for a future plugin deditaced to this ?
     
  18. Offline

    Nijikokun

    1.5 Released

    Upgrade now! Replace the jar file.

    --- merged: Jan 21, 2011 4:22 PM ---

    Yes, this plugin is meant to be a.. relay. For people to tap into and utalize its functionality rather than a controller. There are no problems of it not doing it's job.
     
  19. Offline

    styx31

    Yes, I'm on it...

    But I was currently developing a plugin which was based on a simple permission based on events. Because build is a simple bool flag, why should we use a specific method instead of a simple permission flag ?

    My plugin was using the 'base' prefix with all events, like
    'base.*' to allow any build then 'base.block.place' to allow specificaly to place a bloc.

    Most users will only place the 'base.*' flag on the group they want to allow interactions with world.

    What do you think of this ?
     
  20. Same config which i had already posted
     
  21. Offline

    styx31

    I get an error when I try to use the command /time

    Code:
    GRAVE: Could not pass event PLAYER_COMMAND to General
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.getInheritancePermissions(Control.java:292)
            at com.nijiko.permissions.Control.permission(Control.java:180)
            at com.nijikokun.bukkit.General.iListen.onPlayerCommand(iListen.java:648)
            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)
    My config :

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
      permissions:
        system: default
    
    ##
    # Groups
    ##
    groups:
      Default:
        default: true
        info:
          prefix:
          suffix:
          build: false
        inheritance:
        permissions:
          - 'general.help'
    
      Members:
        default: false
        info:
          prefix:
          suffix:
          build: true
        inheritance:
          - Default
        permissions:
          - 'general.help'
          - 'general.spawn'
    
      Mods:
        default: false
        info:
          prefix:
          suffix:
          build: true
        inheritance:
          - Members
        permissions:
          - 'general.items'
          - 'general.spawn.set'
          - 'general.teleport'
          - 'general.teleport.here'
          - 'general.time'
          - 'general.player-info'
    
      Admins:
        default: false
        inheritance:
          - Mods
        permissions:
          - '*'
    
    ##
    # Users
    ##
    users:
      styx31:
        group: Admins
    --- merged: Jan 21, 2011 4:40 PM ---
    I suppose the '#' character is not supported in a regular line.
     
  22. Offline

    yottabyte

    Use quotes in the settings file for prefixes and suffixes with colors. Example:

    PHP:
    prefix'&2[Admin]&f'
     
  23. Offline

    haschtekaschte

    can you help me im using notepad++ ^and i get an error:
    could not load \permission.jar in plugins: null
    and i think its because the lines i added for the general plugin are red
     
  24. Offline

    styx31

    (For developers) Here is a simple .java zip for a plugin which disallow placing/removing blocks based on permissions. I didn't have enough time to create a proper release, so anyone can be free to use this code to implement his own plugin.
     

    Attached Files:

  25. Offline

    Nijikokun

    1.5.1 Released

    Fixes any issues you had in 1.5. Literally.
     
  26. Offline

    Jobsti

    Yeah, works fine. BIG thanks for this plugin.
    Now, go and write ichat :D

    Edit:
    build: false for default Users don't work! They can still build and break out of the Spawn.
    No ConsoleMessages
     
  27. Offline

    styx31

     
  28. Offline

    D00M.7RA1N

    Probably a poor question but i cant find any info... Can users be added to multiple groups? I know I can use inheritance, but what I want to do is add a user to two groups. One setting their name colour and the other setting their name suffix. Also for mods and admins etc a third grouping leaving their name the same but giving certain permissions. Or can prefixes and suffixes be inherited?
     
  29. Offline

    styx31

    Now I get stackoverflow exception.

    My config is the same as previously

    Edit : stacktrace :
    Code:
    at com.nijiko.permissions.Control.getInheritancePermissions(Control.java:261)
     
Thread Status:
Not open for further replies.

Share This Page