[Help] Errors on console + problems with permission.

Discussion in 'Bukkit Help' started by Kevlawliet, Jan 26, 2011.

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

    Kevlawliet

    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:
        Guest:
            default: true
            info:
                prefix: Guest
                suffix:
                build: false
            inheritance:
            permissions:
                - 'essentials.spawn'
        Moderator:
            default: false
            info:
                prefix: Moderator
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.me
                - 'essentials.tpchere
                - 'essentials.tpc
                - 'essentials.accept
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.list'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.getpos'
                - 'essentials.whois'
                - 'essentials.spawn'
                - 'essentials.setspawn'
                - 'essentials.top'
                - 'essentials.time'
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.banip'
                - 'essentials.unbanip'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.msg'
                - 'essentials.ping'
        Admins:
            default: false
            info:
                prefix: Admins
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        kevlawliet:
            group: Moderator
            permissions:
        anoob1:
            group: Moderator
            permissions:
        douchebag:
            group: Moderator
            permissions:  
    Hello. I have problems each time I type commands it shows out errors on console. And permission, I am trying to restrict my mods from using items. But they can still use it. Like for example I want to restrict everyone except me, from using command /item from Essentials. Maybe somethings wrong with the config or something else. Anyways, LWC also displays something. This happens when i log in to my server with Authorize.


    SEVERE: Could not pass event PLAYER_COMMAND to LWC
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getInheritancePermissions(Control.java
    :321)
    at com.nijiko.permissions.Control.permission(Control.java:190)
    at com.griefcraft.listeners.LWCPlayerListener.onPlayerCommand(LWCPlayerL
    istener.java:52)
    at org.bukkit.plugin.java.JavaPluginLoader.callEvent(JavaPluginLoader.ja
    va:135)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:201)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:547)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:523)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:232)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:65)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:261)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:197)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  2. Offline

    TnT

    Try posting in the Authorize thread, you'll have better luck getting support there.
     
Thread Status:
Not open for further replies.

Share This Page