Bukkit Plugin : Permissions problem

Discussion in 'Bukkit Help' started by JanTTuX, May 7, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    JanTTuX

    what is this error with permissions? i tryed solve it but no not working (look at the red error text)

    [Lnet.minecraft.server.Statistic;@1e152c5
    146 recipes
    [Lnet.minecraft.server.Statistic;@1e152c5
    16 achievements
    18:34:49 [INFO] Starting minecraft server version Beta 1.5_02
    18:34:49 [INFO] Loading properties
    18:34:50 [INFO] Starting Minecraft server on *:25565
    18:34:50 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    18:34:50 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    18:34:50 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    18:34:50 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    18:34:50 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-706-
    gf53e007-b740jnks (MC: 1.5_02)
    18:34:50 [INFO] Preparing level "perttilandia1"
    18:34:50 [INFO] Preparing start region
    18:34:51 [INFO] Preparing spawn area: 36%
    18:34:52 [INFO] Preparing spawn area: 89%
    18:34:53 [INFO] LWC Loading shared objects
    18:34:53 [INFO] LWC Native library: plugins/LWC/lib/native/Windows/x86/sqlit
    ejdbc.dll
    18:34:53 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':

    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:138)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:160)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:108)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: mapping values are not allowed here
    in "<reader>", line 81, column 16:
    default: false
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:74
    5)
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:307)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.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.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 com.nijiko.configuration.NotNullConfiguration.load(NotNullConfigurati
    on.java:58)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    132)
    ... 13 more
    18:34:53 [INFO] [AdminCmd] Plugin Enabled. (version4.7.1)
    18:34:53 [INFO] AppleTree activated.
    18:34:53 [INFO] [BlackJack v1.5]: Table ready
    18:34:53 [INFO] BlocksOnGlass version 0.2 is enabled!
    18:34:53 [INFO] [BoosterTrax] Plugin enabled! (version1.1)
    18:34:53 [INFO] Chat v 0.1 is enabled
    18:34:53 [INFO] CopyCat 0.2 Enabled
    18:34:53 [INFO] DailyBonus is running!
    18:34:53 [INFO] DeathMessagePlugin version 1.9 is enabled without permissions!
    18:34:53 [INFO] Loaded Essentials build 2.2.8 maintained by Zenexer, ementalo, A
    elux, Brettflan, KimKandor, snowleo and ceulemans.
    18:34:53 [INFO] FireFix configuration loaded.
    18:34:53 [INFO] FireFix version 1.1 enabled.
    18:34:53 [INFO] [FishPeople] version 1.3 is enabled!
    18:34:53 [SEVERE] [GODMODE] The settings file isn't properly set up. Please set
    it up before using the plugin. The plugin will be disabled until you do.
    18:34:53 [INFO] [GODMODE] Disabled
    18:34:53 [INFO] HomeX enabled
    18:34:53 [INFO] Permission system not detected, defaulting to OP
    18:34:53 [INFO] iChat (v2.2.3) enabled
    18:34:53 [INFO] [iConomy] Logging is currently disabled.
    18:34:54 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    18:34:54 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    18:34:54 [INFO] [BlackJack] Successfully linked with iConomy.
    18:34:54 [INFO] InstaBreak version 1.5 is enabled!
    18:34:54 [INFO] Permission system not detected, defaulting to OP
    18:34:54 [INFO] LWC Loaded 116 locale strings (0 overrides)
    18:34:54 [INFO] LWC Loading SQLite
    18:34:55 [INFO] SQLite Using: Native
    18:34:55 [INFO] LWC At version: v2.31
    18:34:55 [INFO] [MotherNature] Neither Permissions or GroupManager found. Using
    ops.txt for permission handling
    18:34:55 [INFO] [MotherNature] Plugin enabled! (version 1.2)
    18:34:55 [INFO] NoExplode version 1.4 is enabled!
    18:34:55 [INFO] [OwnBlocks] Database read in from file
    18:34:55 [INFO] Permission system not detected, defaulting to OP
    18:34:55 [INFO] [OwnBlocks] version 9.0 initialized
    18:34:55 [INFO] [SignColours] Permission system not enabled. Enabling coloured s
    igns for all users
    18:34:55 [INFO] Skillz Enabled!
    18:34:55 [INFO] [SpawnMob] Using ops.txt!
    18:34:55 [INFO] [STEPS] Steps - Enabled. By Adamki11s.
    18:34:55 [INFO] TravelPortals version 1.5 is enabled!
    18:34:55 [INFO] WoolSwitch version 1.2 is enabled without permissions!
    18:34:55 [INFO] Done (0.494s)! For help, type "help" or "?"
    >
     
  2. Offline

    Jeyge

    Somewhere at or around line 81 in your permissions.yml file, you have an error. Post the permissions file and someone should be able to help.
     
  3. Offline

    JanTTuX

    here

    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    # Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    # If this file is for your default world (the one in server.properties) then you must
    # leave copies blank.
    # Example: copies: Derp - This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name. So if it is level-name: world then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document. Use only spaces. A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
    permissions:
    system: default
    copies:

    ##
    # AntiBuild is included with this. To disable a group from being able to build then
    # set the build: flag to true (build: true). If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    # To make a group inherit the permissions from another
    # group simply place the groups name in the "inheritance:" like so:
    #
    # Example:
    # inheritance:
    # - Default
    ##
    # All permissions including the asterisks must be placed in single quotes.
    # like so:
    #
    # - 'foo.bar'
    #
    # Otherwise errors will happen!
    ##
    # Globalized Permission settings:
    #
    # If a permission contains periods (.) you can denote a globalized parameter:
    #
    # - 'foo.*'
    #
    # This will allow you to use all general commands.
    #
    ##
    # Single Asterisk denotes all commands:
    #
    # - '*'
    # If you give a group this permissions, do not have the group inherit any permissions
    # from other groups. Any users assigned to this group should NOT be given any additional
    # permissions either.
    ##
    # To exempt a node use the - prefix like so:
    # - '-foo.bar'
    ##
    # prefix: and suffix: do not do anything on their own. You need another outside plugin
    # such as iChat or HeroChat in order for these to do anything.
    groups:
    Default:
    default: true
    info:
    prefix: 'Member'
    suffix: '&3'
    build: true
    inheritance:
    permissions:
    - 'wormhole.simple.use'
    - 'iJobs.user.menu'
    - 'iJobs.user.join'
    - 'iJobs.user.browse'
    - 'iJobs.user.payday'
    - 'iJobs.user.info'
    - 'stargate.use'
    - 'OwnBlocks.use'
    - 'OwnBlocks.info'
    - 'admincmd.player.msg'

    Moderator: ValentynxD Asd396 Cheye40
    default: false
    info:
    prefix: 'Moderator'
    suffix: '&a'
    build: true
    inheritance:
    - Default
    permissions:
    - 'wormhole.simple.use'
    - 'iJobs.user.menu'
    - 'iJobs.user.join'
    - 'iJobs.user.browse'
    - 'iJobs.user.payday'
    - 'iJobs.user.info'
    - 'stargate.use'
    - 'OwnBlocks.use'
    - 'OwnBlocks.info'
    - 'admincmd.player.msg'


    Admins: JanTTuX
    default: false
    info:Admin
    prefix: 'Admin'
    suffix: '&c'
    build: true
    inheritance:
    permissions:
    - 'wormhole.simple.build'
    - 'wormhole.simple.use'
    - 'wormhole.simple.config'
    - 'wormhole.simple.remove'
    - '[+health]'
    - 'iJobs.user.join'
    - 'iJobs.user.browse'
    - 'iJobs.user.payday'
    - 'iJobs.user.info'
    - 'iJobs.admin.setpayday'
    - 'iJobs.admin.set'
    - 'iJobs.admin.reload'
    - 'godSelf'
    - 'godOther'
    - 'noFire'
    - 'stargate.use'
    - 'stargate.create'
    - 'stargate.create.personal'
    - 'stargate.destroy.all'
    - 'stargate.destroy.owner'
    - 'stargate.hidden'
    - 'stargate.private'
    - 'stargate.free.use'
    - 'stargate.free.create'
    - 'stargate.free.destroy'
    - 'stargate.world.{worldname}'
    - 'stargate.network.{networkname}'
    - 'stargate.option.hidden'
    - 'stargate.option.alwayson'
    - 'stargate.option.private'
    - 'stargate.option.free'
    - 'instabreak.breakbedrock'
    - 'admincmd.item.noblacklist'
    - 'OwnBlocks.ignoreOwnership'
    - 'OwnBlocks.use'
    - 'OwnBlocks.info'
    - 'admincmd.player.msg'


    ##
    # Users denote which users are included in which group.
    # JanTTuX is in the Admin group
    # ValentynxD is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
     
  4. Offline

    Jeyge

    You will actually want to enter your users in the users: section and no after the group names. It should look something like this:
    Code:
    users:
        ValentynxD:
            group: Moderator
            permissions:
        Asd396:
            group: Moderator
            permissions:
        Cheye40:
             group: Moderator
             permissions:
         JanTTuX:
            group: Admins
            permissions:
     
  5. Offline

    JanTTuX

    ok thx
     
Thread Status:
Not open for further replies.

Share This Page