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

    Joman

    My world is world and the config file got the name config.yml
     
  3. Offline

    ShadowDrakken

    Permissions 2.0 uses config.yml, Permissions 2.1 changed it to <worldname>.yml
     
  4. Offline

    Hypo2010

    ok that is funny i wrote now default instead of Default and some commands works but before my help pages are 24 and now 17 so the most of the commands i give to the other groups like teleport for moderatorss dont work for me

    EDIT: I test it with some friends and some of the essentials and lwc commands dont work
     
  5. Offline

    ShadowDrakken

    any console errors?
    verified that you added the permissions correctly? (they're case sensitive)
    some working and some not seems odd is why I ask
     
  6. Offline

    Hypo2010

    before i updated to permissions 2.1 all permissions worked for me but now the node - '*' seems towork for me
    i think all nodes are right cuz they worked on permissions 2.0

    Edit: i dont have any console errors
     
  7. Offline

    ShadowDrakken

    hrm, and you renamed config.yml to your default world, then created the extra yml files for each other world to copy those permissions to the other worlds?

    what's the pastebin of your config look like and what are a couple of the non-working commands?
     
  8. Offline

    John Callaghan

    Hi everybody, been trying for the last couple of hours to get General and Permissions up and running, but i'm getting a few problems, all I really want is /time day and /setspawn.

    Here is the error i'm getting:

    Code:
    2011-02-26 14:29:38 [INFO] Starting minecraft server version Beta 1.3
    2011-02-26 14:29:38 [INFO] Loading properties
    2011-02-26 14:29:38 [INFO] Starting Minecraft server on 81.19.217.114:25665
    2011-02-26 14:29:38 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-470-g8642b13-b452jnks (MC: 1.3)
    2011-02-26 14:29:38 [INFO] Preparing level "world"
    2011-02-26 14:29:38 [INFO] Preparing start region
    2011-02-26 14:29:38 [SEVERE] java.lang.NullPointerException
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.BlockFlowing.a(BlockFlowing.java:32)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.WorldGenLiquids.a(SourceFile:36)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.ChunkProviderGenerate.a(SourceFile:577)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.ChunkProviderServer.a(ChunkProviderServer.java:167)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.ChunkProviderServer.d(ChunkProviderServer.java:91)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.ChunkProviderServer.b(ChunkProviderServer.java:109)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.World.c(World.java:202)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.World.getTypeId(World.java:145)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.World.isEmpty(World.java:149)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.World.a(World.java:117)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.WorldProvider.a(SourceFile:51)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.World.<init>(World.java:97)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.WorldServer.<init>(WorldServer.java:24)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:151)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    2011-02-26 14:29:38 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-02-26 14:29:38 [SEVERE] Unexpected exception
    java.lang.NullPointerException
    at net.minecraft.server.BlockFlowing.a(BlockFlowing.java:32)
    at net.minecraft.server.WorldGenLiquids.a(SourceFile:36)
    at net.minecraft.server.ChunkProviderGenerate.a(SourceFile:577)
    at net.minecraft.server.ChunkProviderServer.a(ChunkProviderServer.java:167)
    at net.minecraft.server.ChunkProviderServer.d(ChunkProviderServer.java:91)
    at net.minecraft.server.ChunkProviderServer.b(ChunkProviderServer.java:109)
    at net.minecraft.server.World.c(World.java:202)
    at net.minecraft.server.World.getTypeId(World.java:145)
    at net.minecraft.server.World.isEmpty(World.java:149)
    at net.minecraft.server.World.a(World.java:117)
    at net.minecraft.server.WorldProvider.a(SourceFile:51)
    at net.minecraft.server.World.<init>(World.java:97)
    at net.minecraft.server.WorldServer.<init>(WorldServer.java:24)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:151)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Here is my permissions config.yml
    Code:
    plugin:
      permissions: {system: default}
    groups:
      Guests:
        default: true
        info: {prefix: '&8', suffix: '&8', build: true}
        inheritance: null
        permissions: [essentials.spawn, essentials.list, essentials.help, essentials.motd, essentials.rules, essentials.msg, essentials.helpop, iConomy.payment, general.spawn]
      Friends:
        default: false
        info: {prefix: '&6', suffix: '&6', build: true}
        inheritance: [Guests]
        permissions: [essentials.clearinventory, essentials.getpos, essentials.realname, essentials.compass, essentials.depth, essentials.mail, essentials.mail.send, essentials.me, essentials.home, essentials.sethome, essentials.ping, essentials.whois, essentials.afk, essentials.rules, essentials.sell]
      Moderators:
        default: false
        info: {prefix: '&2', suffix: '&2', build: true}
        inheritance: [Friends]
        permissions: [essentials.kit.tools, essentials.nick, essentials.time, essentials.kick, essentials.ban, essentials.unban, essentials.warp, essentials.warplist, essentials.tp, essentials.tphere, essentials.god]
      Admins:
        default: false
        info: {prefix: '&c', suffix: '&c', build: true}
        inheritance: [Moderators]
        permissions: ['*']
    users:
      JohnC86: {group: Admins, permissions: null}
      clb89: {group: Admins, permissions: null}
    I'm about to start working my way through the 96 pages of this thread, but I thought i might as well make a reply in case anybody sees a simple error!
     
  9. Offline

    ShadowDrakken

    That's not a Permissions config... it looks like Group Manager
    and the errors don't look like they're connected to any plugin, they look like Bukkit itself
     
  10. Offline

    Zerco

    Have you taken away any inheritance Admin has? Admin needs no inheritance and should produce problems if you give it '*' (all permissions) then try to have it inherit permissions it already has. See:
    Code:
     Admin:
       Default: false
       info:
            prefix: '&2[Admin]&f'
            suffix: '&4'
            build: true
       inheritance:
       permissions:
           - '*'
    
    
    I believe you should follow this rule as well by taking away any inheritance that Admin has, since you're granting it all permissions it doesn't need to inherit anything.
     
  11. Offline

    John Callaghan

    This completely solved the errors I was getting, however i'm still unable to do /time day or /spawn.

    Thanks btw, at least the server is up now!
     
  12. Offline

    Joman

    My Plugin is now working, thanks a lot <3
     
  13. Offline

    Hypo2010

    http://pastebin.com/ykRS5dYJ
    so i have delete the Inheritance from Admin but all commands that now work are
    the default essentials commands like /help,/list,/who,/rules

    Edit: Maybe I set up my server plugins completly new ...
     
  14. Offline

    ShadowDrakken

    very odd, I don't see any obvious issues... you're not using multiple Permissions plugins maybe?

    Edit: haha, I'm so tired I totally overlooked the spacing Zerco pointed out XD
     
  15. Offline

    Zerco

    The problem you're running into is your spacing, your spacing is off in several places and needs adjusting, your Default and Moderator groups are two of the affected.

    http://pastebin.com/f8RpWncp

    Use that as a template, I didn't add all of the permissions because I'm tired and it's all aligned properly, just hit enter to finish up the groups permissions.
     
  16. Offline

    Hypo2010

    All plugins I have are
    Achievements
    Elevators
    Essentials
    - II - Ban
    - II - Help
    - II - Spawn
    - II - Tele
    IChat
    iConomy
    Jail
    Lwc
    MinecartManiaAutoCart
    MinecartManiaCore
    Multiverse
    MyHome
    Simpleshop
    Permissions
    Stats
    WorldEdi
    WorldGuard

    Not more ... if you have Skype can we write there later pls I must repair the Soundsystem of an Friend and at 15:15 I want to be there ^^

    Thanks so much to you ... I dont see what you did other but it works only what means the inheritance - boobs ...
    ok I think I add the other nodes for the Users and If it works I say it you.

    Problem solved for now

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  17. Offline

    Zerco

    http://pastebin.com/f8RpWncp

    Updated proper layout. Without the added cleavage.

    Crap... delete it I wrote a program to make .yml files and it's early alpha... I meant to delete that mistake and I haven't added the ability to skip stuff. I accidentally went through the inheritance thing twice and needed a placeholder, as a male the first thing that popped into my head... combined with me being tired... +1 to me now I get to go to bed feeling like a retard; easy come easy go I guess.
     
  18. Offline

    ShadowDrakken

    it has to do with the spaces used to indent each line... YAML is VERY picky and having even one space too many or too few will break it
     
  19. Offline

    firefly_goat

    I can't download older versions, can someone help me? I need 2.0
     
  20. Offline

    ShadowDrakken

    Nijikokun's server is down for repairs... you'll have to dig through the thread for mirrors unfortunately
     
  21. Offline

    hakutzu

    Code:
    2011-02-26 17:11:04 [WARNING] Using the stupidly long constructor com.bukkit.DeathCradle.MultipleHomes.MultipleHomes(PluginLoader, Server, PluginDescriptionFile, File, File, ClassLoader) is no longer recommended. Go nag the plugin author of MultipleHomes to remove it! (Nothing is broken, we just like to keep code clean.)
    2011-02-26 17:11:04 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:85)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:58)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
    	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
    	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    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 Source)
    	at java.lang.reflect.Constructor.newInstance(Unknown Source)
    	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:77)
    	... 8 more
    Caused by: while scanning a simple key
     in "<reader>", line 84, column 1:
        group:Admin
        ^
    could not found expected ':'
     in "<reader>", line 86, column 1:
        permissions:
        ^
    
    	at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
    	at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
    	at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
    	at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
    	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.composeNode(Composer.java:132)
    	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:73)
    	at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:178)
    	at org.bukkit.plugin.java.JavaPlugin.<init>(JavaPlugin.java:41)
    	at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:74)
    	... 13 more
    2011-02-26 17:11:04 [INFO] [Achievements-0.54] Found required plugin: Stats
    2011-02-26 17:11:04 [INFO] [Achievements-0.54] loaded 63 achievements definitions
    2011-02-26 17:11:04 [INFO] [Achievements-0.54] Achievements 0.54 Plugin Enabled
    2011-02-26 17:11:04 [INFO] AppleTree activated.
    2011-02-26 17:11:04 [INFO] [HunkleberryGeneral]: Permissions not found. Only ops may use commands.
    2011-02-26 17:11:04 [INFO] [HunkleberryGeneral]: Unable to find MOTD: plugins/HunkleberryGeneral/MOTD.txt
    2011-02-26 17:11:04 [INFO] [HunkleberryGeneral]: HunkleberryGeneral version 0.5 is enabled
    2011-02-26 17:11:04 [INFO] [MultipleHomes] MultipleHomes version 0.3 is enabled!
    2011-02-26 17:11:04 [INFO] [MultipleHomes] Settings Loaded!
    2011-02-26 17:11:04 [INFO] Stackable: Configuration file loaded.
    2011-02-26 17:11:04 [INFO] Stackable: Version 0.4.5 enable.
    2011-02-26 17:11:04 [INFO] [Stats-0.53] Converted 0 stat files to SQLite
    2011-02-26 17:11:04 [INFO] [Stats-0.53] Using bukkit's isOp() for permissions
    2011-02-26 17:11:04 [INFO] [Stats-0.53] Plugin Enabled
    2011-02-26 17:11:04 [INFO] Tombstone v.1.02 is enabled.
    2011-02-26 17:11:04 [INFO] [Tombstone] No permissions plugin found, using default permission settings
    2011-02-26 17:11:04 [INFO] Done (1090667048ns)! For help, type "help" or "?"
    2011-02-26 17:12:07 [INFO] 143 recipes
    

    Anyone ideeas?
     
  22. Offline

    ShadowDrakken

    malformed YAML, can you pastebin your config?
    Code:
    Caused by: while scanning a simple key
     in "<reader>", line 84, column 1:
        group:Admin
        ^
    could not found expected ':'
     in "<reader>", line 86, column 1:
        permissions:
        ^
     
  23. Offline

    hakutzu

    http://pastebin.com/MbLngtXi

    And i have another problem , When player join the game the terrain is loaded verry verry hard , and i dont know what the problem is , i had hmod before and i never had this problem with them..
     
  24. Offline

    ShadowDrakken

    missing your indentation
    Code:
    users:
    
    Mr. Awesome:
    
    group:Admin
    
    permissions:
    should be (using spaces, not tabs)
    Code:
    users:
        Mr. Awesome:
            group: Admin
            permissions:
     
  25. Offline

    Jaiden207

    Help: I'm running craftbukkit 440 and am getting the following errors from players (i believe it to be directly related to permissions)


    Code:
    2011-02-26 10:30:18 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    2011-02-26 10:30:18 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    2011-02-26 10:30:18 [SEVERE]    at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:97)
    2011-02-26 10:30:18 [SEVERE]    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
    2011-02-26 10:30:18 [SEVERE]    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:68)
    2011-02-26 10:30:18 [SEVERE]    at net.minecraft.server.Packet1Login.a(SourceFile:46)
    2011-02-26 10:30:18 [SEVERE]    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    2011-02-26 10:30:18 [SEVERE]    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:34)
    2011-02-26 10:30:18 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
    2011-02-26 10:30:18 [SEVERE]    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    2011-02-26 10:30:18 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    2011-02-26 10:30:18 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    

    Heres my config:
    http://pastebin.com/zN0A7xPv
     
  26. Offline

    ShadowDrakken

    need a bit more of the error... like the beginning of it and if there's more before it ends

    the config looks ok at first glance (I'm rather tired so I'm starting to miss things myself), but you probably want to remove the original 2 default users and just have your own users :)
     
  27. Offline

    Jaiden207

    Actually thats all of the error, on startup it appears fine but upon users entering i get that error; and it lags my server to hell.
    it might be related to antibuild now that i think about it
     
  28. Offline

    darkmagic16

    Um i have 2.1 of permissions i put the jar file into my plugins load the run.bat and the permissions folder is empty were is the config.yml file >_>
     
  29. Offline

    ShadowDrakken

  30. Offline

    darkmagic16

    The run.bat in my minecraft server to run bukkit >_>
     
  31. Offline

    ShadowDrakken

    oh, the starter.bat, ok
    well, is the console spitting out any errors that mention Permissions?
     
Thread Status:
Not open for further replies.

Share This Page