Commands not working?

Discussion in 'Bukkit Help' started by DrPhizyJr, Feb 20, 2011.

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

    DrPhizyJr

    Hey guys. So I have (almost) everything working on my server. I have bukkit installed and everything. So I added some commands to admins (I made myself one), and started the server. It started with the game saying "You have no mail." which is part of the command /mail. I was excited. I tried other commands and NONE work. I tried editing the config.yml file in permissions.

    Config.yml:

    -----------------


    # 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:
    Noob:
    default: true
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - 'general.spawn'
    Moderator:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    - Default
    permissions:
    - 'general.time'
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.player-info'
    Admin:
    default: false
    info:
    prefix: '&a'
    suffix: '&a'
    build: true
    inheritance:
    - Moderator
    permissions:
    - '*'

    ##
    # DarkGrove has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
    DrPhizyJr:
    group: Admin
    permissions:
    - '*'
    LikexAxBoss:
    group: Admin
    permissions:
    - '*'
     
  2. Offline

    c0mp

    Because .yml files are so dependent upon a specific layout (which includes an affinity towards spaces over tabs), simply pasting it into a post makes it simply unreadable and hard to troubleshoot. Please either use the code tags, upload it as an attachment, or pastebin it.

    Looking solely at the information provided, it looks like you've got your default group named Noob, yet your Moderator group inherits a group called Default, which no longer exists.
     
  3. Offline

    DrPhizyJr

    It won't let me upload the file. When I paste it, it won't stay the way you want.
     
  4. Offline

    c0mp

    So then either use pastebin.com, or surround your pasted file with code tags so that it's not auto-formatted.

    And did my group inheritance recommendation get you any closer to working permissions?
     
  5. Offline

    DrPhizyJr

    Not really. What are the code tags? I don't know how to use pastebin. ( I am on a Mac).
     
  6. Offline

    mughi

    "
    Code:
      your code 
    "
    no quotes
    --- merged: Feb 22, 2011 3:43 AM ---
    fail
    --- merged: Feb 22, 2011 3:47 AM ---
    i don't know how to escape out the characters.. but on the menu bar directly above where you type your reply, there is a button (next to last) which looks like {}#

    click it, paste code, click ok
     
  7. Offline

    DrPhizyJr

    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'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admin:
            default: false
            info:
                prefix: '&a'
                suffix: '&a'
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrove has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        DrPhizyJr:
            group: Admin
            permissions:
                - '*'
    
        LikexAxBoss:
            group: Admin
            permissions:
                - '*'
    
     
Thread Status:
Not open for further replies.

Share This Page