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

    iMatthew2

    how to open a .yml with mac?
     
  3. Offline

    o0AzzA0o

    Thanks for this plugin was only thinking about a plugin that would simply check minecraft client window status to pick up zombe but this is fantastic just installed and its working great! thanks
     
  4. Offline

    Lewis

    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
            info:
                prefix: '&f[&6Guest&f]&7'
                suffix: '&f'
                build: false
            inheritance:
                - default
            permissions:
                - 'essentials.spawn'
                - 'essentials.list'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'essentials.getpos'
                - 'essentials.whois'
                - 'essentials.help'
                - 'essentials.afk'
                - 'SimpleWarp.warp'
                - 'SimpleWarp.listwarps'
                - 'jail.usercmd.jailstatus'
        builder:
            default: false
            info:
                prefix: '&b'
                suffix: '&f'
                build: true
            inheritance:
                - default
            permissions:
                - 'war.warp'
                - 'monsterhunt.usercmd.hunt'
                - 'monsterhunt.usercmd.huntscore'
                - 'monsterhunt.usercmd.huntstatus'
                - 'war.player'
                - 'skypirates.player.enable'
                - 'skypirates.player.air'
                - 'skypirates.player.changemode'
                - 'skypirates.player.help'
                - 'skypirates.modes.plane'
                - 'skypirates.modes.submarine'
                - 'skypirates.modes.hoverboat'
                - 'skypirates.items.*'
                - 'essentials.nick'
                - 'general.teleport'
                - 'SimpleWarp.warp'
                - 'SimpleWarp.listwarps'
                - 'SimpleWarp.warp'
                - 'SimpleWarp.listwarps'
                - 'lwc.protect'
                - 'multiverse.mvtp'
                - 'multiverse.spawn'
                - 'multiverse.list'
    
        mods:
            default: false
            info:
                prefix: '&9'
                suffix: '&f'
                build: true
            inheritance:
                - default
            permissions:
                - 'essentials.nick'
                - 'essentials.tphere'
                - 'essentials.tp'
                - 'general.teleport'
                - 'lwc.protect'
        admins:
            default: false
            info:
                prefix: '&f[&6Admin&f]&c '
                suffix: '&f'
                build: true
            inheritance:
                - mods
            permissions:
                - 'skypirates.admin.clear'
                - 'skypirates.admin.invincible'
                - 'essentials.nick'
                - 'essentials.mail.send'
                - 'general.items'
                - 'general.teleport.here'
                - 'general.time'
                - 'general.player-info'
                - 'essentials.heal'
                - 'essentials.motd'
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.banip'
                - 'essentials.unbanip'
                - 'essentials.setspawn'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.top'
                - 'essentials.time'
                - 'essentials.kit'
                - 'essentials.plugin'
                - 'lwc.mod'
                - 'SimpleWarp.setwarp'
                - 'SimpleWarp.removewarp'
                - 'SimpleWarp.warp'
                - 'SimpleWarp.listwarps'
                - '/locate'
                - '/worldedit'
                - 'somethingelse.dancing.*'
                - 'woolcolor.spawn'
                - 'godmode.god.self'
                - 'godmode.god.players'
                - 'godmode.god.reconfig'
                - 'herochat.createchannel'
                - 'herochat.removechannel'
                - 'monsterhunt.admincmd.huntstart'
                - 'monsterhunt.admincmd.huntstop'
                - '//'
        GM:
            default: false
            info:
                prefix: '&f[&6GM&f]&a'
                suffix: &f
                build: true
            inheritance: admins
            permissions:
                - 'war.*'
                - 'skypirates.admin.clear'
                - 'skypirates.admin.invincible'
                - 'war.player'
                - 'vanish.vanish'
                - 'vanish.vanish.list'
                - 'warnfreeze.warn'
                - 'warnfreeze.freeze'
                - 'essentials.nick'
                - 'general.spawn.set'
                - 'lwc.admin'
                - 'essentials.clearinventory'
                - '*'
                - 'permission.reload'
                - 'cleaner.*'
                - 'godmode.*'
                - 'bb.admin'
                - 'jail.modifyjail'
                - 'jail.command.jailcreate'
                - 'jail.command.jaildelete'
                - 'jail.command.jail'
                - 'jail.command.unjail'
                - 'jail.command.jailtransfer'
                - 'jail.command.jailtransferall'
                - 'jail.command.jailcheck'
                - 'jail.command.jailtelein'
                - 'jail.command.jailteleout'
                - 'jail.command.jaillist'
                - 'jail.command.unjailforce'
                - 'jail.command.jailclear'
                - 'jail.command.jailclearforce'
                - 'multiverse.mv'
                - 'multiverse.mvsetspawn'
    ##
    # For global permissions 'godmode.*'
    # DarkGrave has control over all general commands.
    # sk89q can use /spawn & /setspawn
    ##
    users:
        cjamieson:
            group: GM
            permissions:
    
        creekrat4971:
            group: GM
            permissions:
    
        Dano5_0:
            group: admins
            permissions:
    
        bioniclemanf:
            group: mods
            permissions:
    
        mjamieson:
            group: builder
            permissions:
    
        awkardninja:
            group: GM
            permissions:
    
        jordandmc:
            group: GM
            permissions:
    
        worminator88:
            group: admins
            permissions:
    
        bioniclemanf:
            group: builder
            permissions:
    
        noelfb:
            group: mods
            permissions:
    
        rex285:
            group: builder
            permissions:
    
        Haxford:
            group: mods
            permissions:
    
        AndrewDemonX:
            group: builder
            permissions:
    
        sexiikitten102:
            group: admins
            permissions:
            - '*'
            - 'permission.reload'
            - 'cleaner.*'
            - 'godmode.*'
    
        Smiley_Ranch:
            group: builder
            permissions:
    
        Zeegle:
            group: builder
            permissions:
    
        Jonon100:
            group: mods
            permissions:
    
        thedestroyer4:
            group: builder
            permissions:
    
        ZachisBlack:
            group: builder
            permissions:
    
        Hellfire447:
            group: builder
            permissions:
    
        liquidcool81:
            group: mods
            permissions:
    
        joshuajgc:
            group: mods
            permissions:
    
        rebeccatouch:
            group: builder
            permissions:
    
        Rothriel:
            group: builder
            permissions:
    
        Sr_Creeper:
            group: builder
            permissions:
            - 'essentials.nick'
            - 'general.spawn.set'
            - 'lwc.admin'
            - 'essentials.clearinventory'
            - '*'
            - 'permission.reload'
            - 'cleaner.*'
            - 'godmode.*'
            - 'bb.admin'
    
        lukesky395:
            group: builder
            permissions:
    
        HabsFan94:
            group: builder
            permissions:
    
        CoolBeanz99:
            group: builder
            permissions:
    
        jj69:
            group: builder
            permissions:
    
        ambivalence:
            group: builder
            permissions: 
    Try that bud.
     
  5. Offline

    Plutonium239

    You need the AntiBuild plugin for the build parameter to work.
     
  6. Offline

    Insanehero

    Whenever I try your import "import com.nijikokun.bukkit.Permissions.Permissions;" it says it cannot be resolved
     
  7. Offline

    Plutonium239

    Is this error happening in your IDE or at run time?
     
  8. Offline

    Insanehero

  9. Offline

    Plutonium239

    You need to make sure you add the Permissions.jar to your build path. Which IDE are you using?
     
  10. Offline

    Insanehero

    Eclipse

    Oh theres a jar for it? Whats link?
     
  11. Offline

    Plutonium239

    The same jar that you place on your server, you can get it from the Permissions thread. Place it in your project, right-click it and go to Build Path -> Add to Build Path and that should resolve the issue.
     
  12. Offline

    Gando

    Hey, whenever I load Permissions on my server, it works until I try to use my permissions config.yml file. Once I change that file, Permissions just disappears from the /pl listing and doesn't work.

    config.yml file pasted below.

    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
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.depth'
                - 'essentials.compass'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.help'
                - 'essentials.spawn'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.setwarp'
                - 'essentials.portal'
                - 'essentials.broadcast'
                - 'essentials.nick'
                - 'essentials.give'
                - 'essentials.time'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.kick'
    
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
        Tech:
            default: false
            info:
               prefix: &8Tech
               suffix:
               build:true
           inheritance:
                 permissions:
               - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        gando_depth:
            group: Tech
            permissions:
        redsoxboy:
            group: Admins
            permissions:
               
     
  13. Offline

    Lewis

    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
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.depth'
                - 'essentials.compass'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.help'
                - 'essentials.spawn'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.setwarp'
                - 'essentials.portal'
                - 'essentials.broadcast'
                - 'essentials.nick'
                - 'essentials.give'
                - 'essentials.time'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.kick'
    
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
        Tech:
            default: false
            info:
               prefix: &8Tech
               suffix:
               build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        gando_depth:
            group: Tech
            permissions:
        redsoxboy:
            group: Admins
            permissions:
    Should work. Added a space in group:Tech, also you had indented permissions wrongly near the bottom, whereas your commands were indented less than the permissions: line.
     
  14. Offline

    enchanter100

    Sorry for asking if this has been asked already, didn't wanna search through 70 pages of stuff. the simple /who command, only admins have it. How do I add that for default? - 'general.who' doesn't work?
     
  15. Offline

    Aetcho

    I get an error just like that, but it's a fresh install and it wont work :/ please help me
    --- merged: Feb 18, 2011 11:08 PM ---
    I get an error just like that, but it's a fresh install and it wont work :/ please help me
     
  16. Offline

    Gando

    Hey, once you change the file config.yml, do you have to restart the server for it to register the changes or just use /reload? It doesn't register the changes when I just use /reload. :\
     
  17. Offline

    Lewis

    /reload should work.. So should /pr.
     
  18. Offline

    Plutonium239

    You can use /pr if you're an op, but it doesn't necessarily reload everything. A restart is the safest.
     
  19. Offline

    Gando

    The problem is that it (Permissions) doesn't show up in my list of plugins when I check /pl.
    Plugins other than Permissions installed:
    Code:
    AutoSave
    Calendar
    Essentials
    EssentialsHelp
    EssentialsSpawn
    EssentialsHome
    EssentialsWarp
    LightVote
    LWC
    Whitelist
    WorldEdit
    WorldGuard
     
  20. Offline

    XeoVegaS

    Hi, I have a little problem with Permissions, 'general' doesn't work for me. I have this in config.yml :

    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
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
            - 'myhome.home.*'
                - 'lwc.protect'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all general commands.
    # sk89q can use /spawn & /setspawn
    ##
    users:
        xeovegas:
            group: Admins
            permissions:
            - 'general.*'
            - 'myhome.home.*'
    The commands (/who, /tp etc...) don't work when I type them.
     
  21. Offline

    Ben Allison

    How can I make it so that default/moderator can't give them self items (use /i,/item/give,) and so admins can.
    thanks
    great plugin
     
  22. Offline

    SeeJay

    I am a tiny bit confused. My Plugins arent recognising the Permisions and are saying " Plugin X: Permissions not detected, Disabling plugin." Someone please help me!!
     
  23. Offline

    Superhykle

    Code:
    plugin:
        permissions:
            system: default
    
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'essentials.spawn'
        Member:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.jump'
    
        Trusted Member:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance: Default,Member
    
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.jump'
    
    Trial Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance: Default,Member,Trusted Member
    
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.jump'
                - 'essentials.ban'
                - 'essentials.time'
    
    Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance: Default,Member,Trusted Member,Trial Admins
    
            permissions:
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.ban'
                - 'essentials.jump'
                - 'essentials.item'
                - 'essentials.give'
                - 'essentials.time'
    
    Honorary Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
    
            permissions:
              - '*'
    
    Owner:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
              - '*'
    well I putted plugin.yml in my permissions but it still don't work, and it doesnt matter what permissions i insert cause everyone can use the same commands? anyone know why? and do i need to delelete everyone in ops?
    here are permissions again:
     
  24. Offline

    havejack

    hey can u add a hookk to change prefixs in game plz
     
  25. Offline

    civ77

    hi i have some sort of problem with permissions and general.

    Code:
    2011-02-18 20:21:02 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-18 20:21:02 [WARNING] **** NOT ENOUGH RAM!
    2011-02-18 20:21:02 [WARNING] To start the server with more ram, launch it as "j
    ava -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-02-18 20:21:02 [INFO] Loading properties
    2011-02-18 20:21:02 [INFO] Starting Minecraft server on *:25565
    2011-02-18 20:21:02 [INFO] This server is running Craftbukkit version git-Bukkit
    -hudson-dev-CraftBukkit-16 (MC: 1.2_01)
    2011-02-18 20:21:02 [INFO] Preparing level "world"
    2011-02-18 20:21:02 [INFO] Preparing start region
    2011-02-18 20:21:03 [INFO] Preparing spawn area: 20%
    2011-02-18 20:21:04 [INFO] Preparing spawn area: 28%
    2011-02-18 20:21:05 [INFO] Preparing spawn area: 52%
    2011-02-18 20:21:06 [INFO] Preparing spawn area: 81%
    2011-02-18 20:21:07 [INFO] Preparing spawn area: 93%
    Feb 18, 2011 8:21:07 PM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins\General.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:79)
            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:53)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            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:77)
            ... 8 more
    Caused by: java.lang.NullPointerException
            at org.bukkit.util.config.ConfigurationNode.getProperty(ConfigurationNod
    e.java:44)
            at org.bukkit.util.config.ConfigurationNode.getBoolean(ConfigurationNode
    .java:182)
            at com.nijiko.General.ConfigurationHandler.load(ConfigurationHandler.jav
    a:18)
            at com.nijikokun.bukkit.General.General.<init>(General.java:93)
            ... 13 more
    Feb 18, 2011 8:21:07 PM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:79)
            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:53)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            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:77)
            ... 8 more
    Caused by: while parsing a block collection
     in "<reader>", line 52, column 13:
                    - 'general.spawn'
                    ^
    expected <block end>, but found Scalar
     in "<reader>", line 63, column 15:
                   - 'worldedit.snow'
                      ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:520)
            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.composeSequenceNode(Composer.jav
    a:203)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
            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.composeMappingNode(Composer.java
    :230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.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.<init>(JavaPlugin.java:46)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    74)
            ... 13 more
    2011-02-18 20:21:07 [INFO] WorldEdit 3.2.2 loaded.
    2011-02-18 20:21:07 [INFO] WorldEdit: No known permissions plugin detected. Usin
    g configuration file for permissions.
    2011-02-18 20:21:08 [INFO] WorldGuard 3.2.2 loaded.
    2011-02-18 20:21:08 [INFO] WorldGuard: No known permissions plugin detected. Usi
    ng configuration file for permissions.
    2011-02-18 20:21:08 [INFO] WorldGuard: Single session is enforced.
    2011-02-18 20:21:08 [INFO] WorldGuard: TNT ignition is PERMITTED.
    2011-02-18 20:21:08 [INFO] WorldGuard: Lighters are PERMITTED.
    2011-02-18 20:21:08 [INFO] WorldGuard: Lava fire is blocked.
    2011-02-18 20:21:08 [INFO] WorldGuard: Fire spread is UNRESTRICTED.
    2011-02-18 20:21:08 [INFO] Done! For help, type "help" or "?"
    
    and heres my properties

    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:
        Mirek:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
        Noobs:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - '/locate
        Builders:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Noobs
            permissions:
               - 'worldedit.snow'
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'worldedit.thaw'
                - 'worldedit.extinguish'
       UuberUsers:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        darkgrave:
            group: Admins
            permissions:
        civ77:
            group: UuberUsers
            permissions:
        masonstone:
            group: Builders
            permissions:
        pyro_chinchilla:
            group: Builders
            permissions:
     
  26. Offline

    Plutonium239

    @civ77 You're missing a ' after /locate and your - 'worldedit.snow' needs one more space to line up with the rest.
     
  27. Offline

    civ77

    unfortunately its still not working, heres the error message incase it changed
    Code:
    2011-02-18 22:14:59 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-18 22:14:59 [WARNING] **** NOT ENOUGH RAM!
    2011-02-18 22:14:59 [WARNING] To start the server with more ram, launch it as "j
    ava -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-02-18 22:14:59 [INFO] Loading properties
    2011-02-18 22:14:59 [INFO] Starting Minecraft server on *:25565
    2011-02-18 22:14:59 [INFO] This server is running Craftbukkit version git-Bukkit
    -hudson-dev-CraftBukkit-16 (MC: 1.2_01)
    2011-02-18 22:14:59 [INFO] Preparing level "world"
    2011-02-18 22:14:59 [INFO] Preparing start region
    2011-02-18 22:15:00 [INFO] Preparing spawn area: 20%
    2011-02-18 22:15:01 [INFO] Preparing spawn area: 36%
    2011-02-18 22:15:02 [INFO] Preparing spawn area: 57%
    2011-02-18 22:15:03 [INFO] Preparing spawn area: 85%
    Feb 18, 2011 10:15:04 PM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins\General.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:79)
            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:53)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            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:77)
            ... 8 more
    Caused by: java.lang.NullPointerException
            at org.bukkit.util.config.ConfigurationNode.getProperty(ConfigurationNod
    e.java:44)
            at org.bukkit.util.config.ConfigurationNode.getBoolean(ConfigurationNode
    .java:182)
            at com.nijiko.General.ConfigurationHandler.load(ConfigurationHandler.jav
    a:18)
            at com.nijikokun.bukkit.General.General.<init>(General.java:93)
            ... 13 more
    Feb 18, 2011 10:15:04 PM org.bukkit.plugin.SimplePluginManager loadPlugins
    SEVERE: Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:79)
            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:53)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            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:77)
            ... 8 more
    Caused by: while parsing a block mapping
     in "<reader>", line 2, column 1:
        plugin:
        ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 70, column 4:
           UuberUsers:
           ^
    
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
            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.composeDocument(Composer.java:12
    2)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.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.<init>(JavaPlugin.java:46)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    74)
            ... 13 more
    2011-02-18 22:15:04 [INFO] WorldEdit 3.2.2 loaded.
    2011-02-18 22:15:04 [INFO] WorldEdit: No known permissions plugin detected. Usin
    g configuration file for permissions.
    2011-02-18 22:15:04 [INFO] WorldGuard 3.2.2 loaded.
    2011-02-18 22:15:04 [INFO] WorldGuard: No known permissions plugin detected. Usi
    ng configuration file for permissions.
    2011-02-18 22:15:04 [INFO] WorldGuard: Single session is enforced.
    2011-02-18 22:15:04 [INFO] WorldGuard: TNT ignition is PERMITTED.
    2011-02-18 22:15:04 [INFO] WorldGuard: Lighters are PERMITTED.
    2011-02-18 22:15:04 [INFO] WorldGuard: Lava fire is blocked.
    2011-02-18 22:15:04 [INFO] WorldGuard: Fire spread is UNRESTRICTED.
    2011-02-18 22:15:05 [INFO] Done! For help, type "help" or "?"
    
    hope someone can help
    [​IMG]
     
  28. Offline

    Plutonium239

    @civ77 Add one more space before UuberUsers:
     
  29. Offline

    Smashdex

  30. Offline

    Aetcho

    I get an error every time i start my server, permissions wont load.
    I think theres a problem with my .yml

    Please help me by checking it out and see whats wrong
    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
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        moderators:
            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:
                - moderators
            permissions:
                - '*'
    
    ##
    # Aetcho has control over all commands.
    # mehrhehasdjhasdjhas can use /spawn & /time
    ##
    users:
         aetcho
            group:admins
            permissions:'- multiverse.world.import'
                                              '- multiverse.world.create'
                                              '- multiverse.world.list'
                                              '- multiverse.world.remove'
                                              '- multiverse.portal.select'
                                              '- multiverse.portal.destination'
                                              '- multiverse.portal.create'
                                              '- multiverse.world.spawn'
        tomthetechy
          group:moderators
          permissions:
         
                                              
     
  31. Offline

    Plutonium239

    Try this:

    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
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        moderators:
            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:
                - moderators
            permissions:
                - '*'
    
    ##
    # Aetcho has control over all commands.
    # mehrhehasdjhasdjhas can use /spawn & /time
    ##
    users:
        aetcho:
            group: admins
            permissions:
                - 'multiverse.world.import'
                - 'multiverse.world.create'
                - 'multiverse.world.list'
                - 'multiverse.world.remove'
                - 'multiverse.portal.select'
                - 'multiverse.portal.destination'
                - 'multiverse.portal.create'
                - 'multiverse.world.spawn'
    
        tomthetechy:
            group: moderators
            permissions:
     
Thread Status:
Not open for further replies.

Share This Page