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

    @Nijikokun

    1.8 works very well, no error.
    BUT since 1.8, with most commands, I (admin) get the message: You don't have permission to this command" (/spawn /who, /mark, /time..... but not with tkellys plugins)
    But the command works ;)

    My user get a message too:
    "No such player exists, please enter a valid name"
    But the command works, permissions too!

    Whats going on?

    Edit:
    CB #129

    get the message too, if I type /test /lalallalala etc ;)
    members become her message too if they type /anythingdoesntexist

    See:
    [​IMG]

    Post 1
    Post2
     
  3. Offline

    xZise

    Hello, is it possible to show all the permissions a user has enabled (ingame not in the config.yml)?

    Sincerely
    xZise
     
  4. Offline

    Daffman

    I'm getting this error when I run the server:
    Code:
    2011-01-23 11:07:13 [INFO] Starting minecraft server version Beta 1.2_01
    2011-01-23 11:07:13 [INFO] Loading properties
    2011-01-23 11:07:13 [INFO] Starting Minecraft server on *:25565
    2011-01-23 11:07:13 [INFO] Preparing level "world"
    2011-01-23 11:07:13 [INFO] Preparing start region
    Preparing spawn area: 40%
    2011-01-23 11:07:15 [INFO] [General] version [1.5] (Yager) loaded
    23.01.2011 11:07:15 org.bukkit.plugin.SimplePluginManager loadPlugins
    SCHWERWIEGEND: Could not load plugins/Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:82)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:115)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:80)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:41)
        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)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
        ... 8 more
    Caused by: mapping values are not allowed here
     in "<reader>", line 40, column 19:
                    suffix:
                          ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:62)
        at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:45)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:77)
        ... 13 more
    
    The server starts normal, but without the plugin. I use the craftbukkit ~125 on mac
     
  5. Offline

    Flopsie

    Euhm, hi.
    The plugin isn't working at all. I got no errors, and no commands are working like /pr. General works.
    My config file is located in : ..\Bukkit-server\bin\plugins\Permissions
    Permissions.jar file : ..\Bukkit-server\bin\plugins
    my General folder : ..\Bukkit-server\bin
    config file :
    http://pastebin.com/bfyiPUrR

    Hope someone can help me :)
     
  6. Offline

    Jobsti

    Use general 2.0 instead of 1.5
     
  7. Offline

    Jarchuleta

    iChat broke.using bukkit 69 craft 129. other plugins: General, Permissions, Big brother, Cleaner, authorize, world edit, world guard, SimpleWarp.

    Code:
    Jan 23, 2011 3:23:57 AM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins\iChat.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:83)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:117)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:82)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:43)
            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)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:81)
            ... 8 more
    Caused by: java.lang.NullPointerException
            at org.bukkit.util.config.ConfigurationNode.getProperty(ConfigurationNod
    e.java:32)
            at org.bukkit.util.config.ConfigurationNode.getString(ConfigurationNode.
    java:73)
            at org.bukkit.util.config.ConfigurationNode.getString(ConfigurationNode.
    java:90)
            at com.nijiko.iChat.configuration.ConfigurationHandler.load(Configuratio
    nHandler.java:18)
            at com.nijikokun.bukkit.iChat.iChat.<init>(iChat.java:99)
            ... 13 more
    
     
  8. Offline

    Jobsti

    Use the newest iChat. AND you have to fill the iChat config, otherwise you get consoleerrors
     
  9. Offline

    achmed

  10. Offline

    Flopsie

    Ok thank you that fixed one of the problems.
    In the default group, build is set to false. But I can still build ?
     
  11. Offline

    HotelErotica

    @Nijikokun
    Question is there any plans to be able to promote people through the groups, Thats one thing that'd be awesome. Like if your structure was Untrusted (default group with no build rights), then you had Guests, Regulars, Mods, Admins. And you wanted to give them the ability to simply do /promote <username> and whoever issuing the command could promote someone to a level below them, So a Regular could promote a Untrusted to a guest, a mod could promote someone all the way to regular.
     
  12. Offline

    WMP

    Becouse Amade on test time is normal user. But, why samoloth can't use /help, /who but can use /time or /tphere?
     
  13. Offline

    achmed

  14. Offline

    [Kor]Deer

    Code:
    Permissions\config.YML
    
    # 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:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                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:
                - '*'
    
    ##
    # INC.Deer has control over all commands.
    # Deer can use /spawn & /time
    ##
    users:
        INC.Deer:
            group: Admins
            permissions:
        Deer:
            group: Default
            permissions:
                - 'general.time'
    You do not have access to that command.

    Server -> 2011-01-23 20:46:57 [INFO] Deer issued command: /spawn
    2011-01-23 20:46:57 [WARNING] Deer was denied access to command: /spawn
    2011-01-23 20:46:59 [INFO] Deer issued command: /time
    2011-01-23 20:46:59 [WARNING] Deer was denied access to command: /time
     
  15. Offline

    BigBlueGER

    Hey,
    I'm using CraftBukkit #115 and General 1.9 and Permissions 1.2.
    Everytime I want to call '/time' it gets me this:
    Code:
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:65)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:523)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:547)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:201)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.java:135)
    at com.nijikokun.bukkit.General.iListen.onPlayerCommand(iListen.java:648)
    at com.nijiko.permissions.Control.permission(Control.java:130)
    java.lang.NullPointerException
    SEVERE: Could not pass event PLAYER_COMMAND to General
    Jan 23, 2011 12:50:40 PM org.bukkit.plugin.SimplePluginManager callEvent

    Any tip? I don't want to switch the CraftBukkit Version.
    Permission file is validated. Here:
    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:
    Default:
    default: true
    inheritance:
    permissions:
    - 'general.spawn'
    - 'general.player-info'
    Moderator:
    default: false
    inheritance:
    - Default
    permissions:
    - 'general.time'
    - 'general.teleport'
    - 'general.teleport.here'
    Admins:
    default: false
    inheritance:
    - Moderator
    permissions:
    - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
    <HEREISMYNAME>:
    group: Admins
    permissions:
    - 'general.*'
     
  16. Offline

    HotelErotica

    @[Kor]Deer
    I know he suggests doing all users in lowercase, seems fine to me though, Also why would you add someone to the default group and give them the permission to time, wouldn't you just put that in the default group?
     
  17. Offline

    Daworm

    Hotel - could be you want some trusted users to set /time but not every single player...
     
  18. Offline

    HotelErotica

    @BigBlueGER if you post a pastebin or it in the code tags i'll try to help, reading it out of format is a pain.
     
  19. Offline

    walton88

    I'm trying to get Permissions and Essentials to work together, but all my users who aren't Admins have no access to any commands.

    http://pastebin.com/qeTwyfRp (Permissions PasteBin) - Just trying to get a few essentials working at the minute, so there's only a few in there. When I get those to work I'll expand it.

    http://pastebin.com/fXEPiSYW (Essentials PasteBin)

    All my users are given a message saying they haven't got access to the commands, and I'm stumped. Please help me configure this!

    (Also, I have a Warp plugin activated, but only I seem to be able to warp, none of the other admins can, is this another Permissions issue?)
     
  20. Offline

    BigBlueGER

    Put it into code-tags.
     
  21. Offline

    [Kor]Deer

    Code:
    groups:
        default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        INC:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - default
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - INC
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    2011-01-23 21:11:51 [INFO] deer issued command: /spawn
    2011-01-23 21:11:51 [WARNING] deer was denied access to command: /spawn
     
  22. Offline

    HotelErotica

    @walton88
    it looks like your missing the permissions to the actual kits, I dont use essentials but reading the installation instructions seems like you have to give them permissions to specific kits

    essentials.kit <-- Gives access to the actual /kit command--you still need to choose specific kits
    essentials.kit.KITNAME <-- Gives access to /kit KITNAME
    essentials.kit.* <-- Gives access to all kits
     
  23. Offline

    Nijikokun

    Where are your users?
     
  24. Offline

    achmed

  25. Offline

    walton88

    I've set that up correctly as far as I know, I posted the same request for support on the Essentials thread and its stumped the creator. Oops...
     
  26. Offline

    HotelErotica

    @walton88 What are you using to edit the file?
     
  27. Offline

    [Kor]Deer

    Korea
     
  28. Offline

    Zenexer

    @walton88 Your permissions work fine for me :confused:
     
  29. Offline

    walton88

    TextEdit (Mac OSX)

    Zenexer - Seems I've stumped two plugin creators with this one!
     
  30. Offline

    SummerForce

    Is it possible to have prefixes only for players that are not in the default group? People really don't like to see "[Default]" behind their names.
     
Thread Status:
Not open for further replies.

Share This Page