Help with permissions

Discussion in 'Bukkit Help' started by Smashdex, Feb 18, 2011.

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

    Smashdex

    About - http://forums.bukkit.org/threads/admn-info-permissions-v2-0-revolutionizing-the-group-system.1403/

    Help please? [​IMG]
    [​IMG]

    Something to do with my .yaml but I can't tell what.

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    #------------------------------------------------------------------
    # Message of the Day Settings
    #
    # As described earlier in the ops-name-color, you can use the
    # minecraft color codes 0 - F. This time you MUST use the ampersand
    # character (&) like this: &f or &c to denote the start of colored
    # text.
    #
    # You may also use the various variables that follow:
    # {PLAYER}     - The display name of the current player.
    # {IP}         - The IP address of the current player.
    # {ENTITY}     - The entity ID of the player. (Useful for plugin
    #                Developers)
    # {PLAYERLIST} - A list of all players currently online.
    #
    # To use words with contractions like: don't, can't, doesn't, etc..
    # you must escape these characters with a double apostraphe.
    #
    # Here are the words escaped: don''t, can''t, and doesn''t.
    #
    # Furthermore, you can add or subtract any lines that you wish.
    #---------------------------------------------------------------
     
    ##
    # 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:
    #
    #       - '*'
    ##
     
    #-------------------------------------------------------------------
    # Minecraft color codes go from 0 - F which are base-16
    # numbers. In order to supplement numbers after 9, we use A - F.
    #
    # Generally you would use a § or & character to designate a
    # color code, but in this case since the key name (ops-name-color)
    # assumes that it's going to be a color, we only need to specify
    # the color code.
    #-------------------------------------------------------------------
    
    #------------------------------------------------------------------
    # The number of mobs that a player is allowed to spawn with the
    # command: /spawnmob
    #------------------------------------------------------------------
     
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'preciousstones.bypass.*'                   #can bypass all protection (mods)
                - 'Spells.commands.cast'
                - 'Spells.commands.spells'
                - 'Spells.cast.*
                - 'general.spawn'
                - 'skypirates.admin.invincible' - stops damage to boats.
                - 'skypirates.admin.clear' - allows access to the clear command.
                - 'skypirates.player.enable' - enables default functions of SkyPirates. (jumping boat, mode change command access)
                - 'skypirates.player.air' - gives unlimited air while in submarine mode.
                - 'skypirates.player.changemode' - allows a player to change modes.
                - 'skypirates.player.help' - gives access to the help command
                - 'skypirates.modes.plane' - allows a player to change mode to plane.
                - 'skypirates.modes.submarine' - allows a player to change mode to submarine.
                - 'skypirates.modes.hoverboat' - allows player to change mode to submarine.
                - 'skypirates.items.*' - allows access to item abilities - detailed later in the post. Possible items are:obsidian, snowblock, diamonds, coal, and helmets. Use the names for specific items access.
    
    Member:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'preciousstones.benefit.*'                  #can create precious stones (members)
                - 'preciousstones.whitelist.*'                #can add others to their blocks (members)
         Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
    
        Admins:
            default: false
            info:
                prefix:[Admin]
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'Spells.commands.cast'
                - 'Spells.commands.spells'
                - 'Spells.cast.*
                - 'skypirates.admin.invincible' - stops damage to boats.
                -  'skypirates.admin.clear' - allows access to the clear command.
                - 'skypirates.player.enable' - enables default functions of SkyPirates. (jumping boat, mode change command access)
                - 'skypirates.player.air' - gives unlimited air while in submarine mode.
                - 'skypirates.player.changemode' - allows a player to change modes.
                - 'skypirates.player.help' - gives access to the help command
                - 'skypirates.modes.plane' - allows a player to change mode to plane.
                - 'skypirates.modes.submarine' - allows a player to change mode to submarine.
                - 'skypirates.modes.hoverboat' - allows player to change mode to submarine.
                - 'skypirates.items.*' - allows access to item abilities - detailed later in the post. Possible items are:obsidian, snowblock, diamonds, coal, and helmets. Use the names for specific items access.
                - 'iConomy.payment' - Allows users to use /money pay
                - 'iConomy.access' - Allows users to view other players accounts.
                - 'iConomy.rank' - /money rank
                - 'iConomy.list' - /money top
                - 'iConomy.withdraw' - /money withdraw
                - 'iConomy.deposit' - /money deposit
                - 'iConomy.reset' - /money reset
                - 'towny.admin' : User is able to use /townyadmin, as well as the ability to build/destroy anywhere. User can also able to make towns or nations when set to admin only.
                - 'towny.wild.*' : User is able to build/destroy in wild regardless if the config says no.
                - 'towny.wild.build'
                - 'towny.wild.destroy'
                - 'towny.wild.switch'
                - 'towny.spawntp' : Must have this permission to use "/town spawn [town]" (teleport to other towns).
                - 'monsterhunt.admincmd.huntstart'
                - 'monsterhunt.admincmd.huntstop'
                - 'monsterhunt.usercmd.hunt'
                - 'monsterhunt.usercmd.huntscore'
                - 'monsterhunt.usercmd.huntstatus'
                - 'monsterhunt.rewardeverytime'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'
                - 'jail.usercmd.jailstatus'
                - 'jail.modifyjail'
    
    users:
        Smashdex5:
            group: Admins
            permissions:
                - '*'
     
  2. Offline

    Plutonium239

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    #------------------------------------------------------------------
    # Message of the Day Settings
    #
    # As described earlier in the ops-name-color, you can use the
    # minecraft color codes 0 - F. This time you MUST use the ampersand
    # character (&) like this: &f or &c to denote the start of colored
    # text.
    #
    # You may also use the various variables that follow:
    # {PLAYER}     - The display name of the current player.
    # {IP}         - The IP address of the current player.
    # {ENTITY}     - The entity ID of the player. (Useful for plugin
    #                Developers)
    # {PLAYERLIST} - A list of all players currently online.
    #
    # To use words with contractions like: don't, can't, doesn't, etc..
    # you must escape these characters with a double apostraphe.
    #
    # Here are the words escaped: don''t, can''t, and doesn''t.
    #
    # Furthermore, you can add or subtract any lines that you wish.
    #---------------------------------------------------------------
    
    ##
    # 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:
    #
    #       - '*'
    ##
    
    #-------------------------------------------------------------------
    # Minecraft color codes go from 0 - F which are base-16
    # numbers. In order to supplement numbers after 9, we use A - F.
    #
    # Generally you would use a § or & character to designate a
    # color code, but in this case since the key name (ops-name-color)
    # assumes that it's going to be a color, we only need to specify
    # the color code.
    #-------------------------------------------------------------------
    
    #------------------------------------------------------------------
    # The number of mobs that a player is allowed to spawn with the
    # command: /spawnmob
    #------------------------------------------------------------------
    
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'preciousstones.bypass.*'                   #can bypass all protection (mods)
                - 'Spells.commands.cast'
                - 'Spells.commands.spells'
                - 'Spells.cast.*'
                - 'general.spawn'
                - 'skypirates.admin.invincible'
                - 'skypirates.admin.clear'
                - 'skypirates.player.enable'
                - 'skypirates.player.air'
                - 'skypirates.player.changemode'
                - 'skypirates.player.help'
                - 'skypirates.modes.plane'
                - 'skypirates.modes.submarine'
                - 'skypirates.modes.hoverboat'
                - 'skypirates.items.*'
    
        Member:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'preciousstones.benefit.*'
                - 'preciousstones.whitelist.*'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
    
        Admins:
            default: false
            info:
                prefix: [Admin]
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'Spells.commands.cast'
                - 'Spells.commands.spells'
                - 'Spells.cast.*'
                - 'skypirates.admin.invincible'
                - 'skypirates.admin.clear'
                - 'skypirates.player.enable'
                - 'skypirates.player.air'
                - 'skypirates.player.changemode'
                - 'skypirates.player.help'
                - 'skypirates.modes.plane'
                - 'skypirates.modes.submarine'
                - 'skypirates.modes.hoverboat'
                - 'skypirates.items.*'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.withdraw'
                - 'iConomy.deposit'
                - 'iConomy.reset'
                - 'towny.admin'
                - 'towny.wild.*'
                - 'towny.wild.build'
                - 'towny.wild.destroy'
                - 'towny.wild.switch'
                - 'towny.spawntp'
                - 'monsterhunt.admincmd.huntstart'
                - 'monsterhunt.admincmd.huntstop'
                - 'monsterhunt.usercmd.hunt'
                - 'monsterhunt.usercmd.huntscore'
                - 'monsterhunt.usercmd.huntstatus'
                - 'monsterhunt.rewardeverytime'
                - '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'
                - 'jail.usercmd.jailstatus'
                - 'jail.modifyjail'
    
    users:
        Smashdex5:
            group: Admins
            permissions:
                - '*'
     
  3. Offline

    Padeius Etoh

    the #can bypass all protection (mod) may be your problem, it says you cant have special characters and for that matter what is all the explanations after the skypirates, not sure that is allowed either.
     
  4. Offline

    Smashdex

    Thanks guys I got it :), one question though where is sqlite stored? MainFolder>Lib>Sqlite?
     
  5. Offline

    Phaedrus

    sqlite libraries should probably go in the main craftbukkit dir with cractbukkit.jar
     
Thread Status:
Not open for further replies.

Share This Page