PERMISSIONS Why will you not work :'(

Discussion in 'Bukkit Help' started by lezyamin, Aug 3, 2011.

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

    lezyamin

    Ok i am wondering if anyone can help me, i have tried multiple tutorials of setting up permissions and the closest i have got is for my server to tell me i have no permission to use the admin comands, I am realy getting to my limit and if ANYONE can help me i would really appreciat it. If anyone knows what to do or even build just a simple plugin folder with permissions and me 'lezyamin' as the admin it would be greatly appreciated.
     
  2. Offline

    Pr0Failure

    Post what you have your permissions to right now and I'll see what I can do.
     
  3. Offline

    lezyamin

    When I try to use a command it says: An internal error officered when trying to use this command

    global group:
    ##
    # Permissions has AntiBuild, which prevents a player from destroying/placing blocks.
    # To prevent a group of players then set the build: flag to false (build: false).
    # If you want a group to be able to build then set it to true.
    ##
    # Groups can inherit from other groups.
    # To make a group inherit the permissions and info nodes from another
    # group, simply place the groups name in the "inheritance:" like so:
    #
    # Example:
    # inheritance:
    # - Default
    ##
    # Wildcard Permission settings:
    #
    # You can have wildcard nodes which encompass all nodes that match it.
    # For example, the node "modplugin.*" matches "modplugin.kick", "modplugin.ban",
    # "modplugin.settings.view", and so on.
    #
    ##
    # A single asterisk means that this user/group has all permissions.
    # - '*'
    ##
    # Negated nodes are created by prefixing a normal node with "-".
    # They prevent less specific wildcard nodes from matching the negated node.
    # For example:
    #
    # permissions:
    # - 'foo.*'
    # - '-foo.bar'
    #
    # In this case, the user/group will have "foo.foo", "foo.foobar", and so on, but not "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.
    ##
    #
    # For more info, visit https://github.com/TheYeti/Permissions/wiki/Guide-to-creating-YAML-configs
    #
    ##

    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    Member:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'warpplugin.warp'
    - 'econplugin.basic.*'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Member
    permissions:
    - 'modplugin.ban'
    - 'modplugin.kick'
    - 'modplugin.unban'
    Admins:
    default: false
    info:
    prefix: '&10[ADMIN]&7'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    - 'adminchat'
    - 'vote.voteyes'
    - 'vote.voteno'
    - 'vote.start.day'
    - 'vote.start.night'


    Global users:
    users:
    lezyamin:
    groups:
    - Admins
    permissions:
    hazaas139:
    groups:
    - Admins
    permissions:
    -'*'
     
  4. Offline

    Pr0Failure

    Please cut/paste that into a code format to make this easier. There's a "code" button near the quote on the far right.
     
  5. Offline

    lezyamin

    global users:
    Code:
    users:
        lezyamin:
            groups:
            - Admins
            permissions:
        hazaas139:
            groups:
            - Admins
            permissions:
            -'*'
    
    Global Groups
    Code:
    ##
    # Permissions has AntiBuild, which prevents a player from destroying/placing blocks.
    # To prevent a group of players then set the build: flag to false (build: false).
    # If you want a group to be able to build then set it to true.
    ##
    # Groups can inherit from other groups.
    #   To make a group inherit the permissions and info nodes from another
    #   group, simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   Wildcard Permission settings:
    #
    #       You can have wildcard nodes which encompass all nodes that match it.
    #       For example, the node "modplugin.*" matches "modplugin.kick", "modplugin.ban",
    #       "modplugin.settings.view", and so on.
    #
    ##
    #   A single asterisk means that this user/group has all permissions.
    #       - '*'
    ##
    #   Negated nodes are created by prefixing a normal node with "-".
    #   They prevent less specific wildcard nodes from matching the negated node.
    #   For example:
    #
    #   permissions:
    #       - 'foo.*'
    #       - '-foo.bar'
    #
    #   In this case, the user/group will have "foo.foo", "foo.foobar", and so on, but not "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.
    ##
    #
    #   For more info, visit https://github.com/TheYeti/Permissions/wiki/Guide-to-creating-YAML-configs
    #
    ##
    
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'warpplugin.warp'
                - 'econplugin.basic.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Member
            permissions:
                - 'modplugin.ban'
                - 'modplugin.kick'
                - 'modplugin.unban'
        Admins:
            default: false
            info:
                prefix: '&10[ADMIN]&7'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'adminchat'
                - 'vote.voteyes'
                - 'vote.voteno'
                - 'vote.start.day'
                - 'vote.start.night'
     
  6. Offline

    Pr0Failure

    A list of your plugins and I can make you a permissions file.
     
  7. Offline

    lezyamin

  8. Offline

    Pr0Failure

    Nah, I like helping people. I'll see what I can do to make it seem how it should be.

    Edit: WorldGuard can only be used with WorldEdit on your server first. Get that and I'll add the nodes.
     
  9. Offline

    lezyamin

    THANKS I will ad you as an admin if you want?
     
  10. Offline

    Pr0Failure

    Sure if you want, I'll add myself in the admins. Also, is the warp plugin a 'want' or a 'have'?
     
  11. Offline

    lezyamin

    a want :D
     
  12. Offline

    Pr0Failure

    Add the ones you want. And add WorldEdit, it's a requirement for WorldGuard. I suggest looking up tutorials for both seeing as it's semi-complicated. I personally know it like the back of my hand, but I don't use WorldGuard.

    Edit: Do you want mods to have time/item/teleport commands?
     
  13. Offline

    lezyamin

    yes all the commands
     
  14. Offline

    Pr0Failure

    If you only have 1 world. Or want these permissions to be set for all the worlds, use these....
    Groups/globalGroups (open)

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
            - admincmd.warp.create
            - admincmd.warp.tp
            - mywarp.warp.basic.warp
            - mywarp.warp.basic.createpublic
            - mywarp.warp.basic.createprivate
            - mywarp.warp.basic.delete
            - mywarp.warp.basic.welcome
            - mywarp.warp.basic.compass
            - mywarp.warp.basic.list
            - mywarp.warp.basic.search
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Member
            permissions:
            - admincmd.time.*
            - admincmd.item.*
            - admincmd.tp.*
            - admincmd.player.kick
            - admincmd.player.ban
            - TNTWarner.canplace
            - worldguard.fire-toggle.*
            - worldguard.halt-activity.*
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
            - '*'

    Users/globalUsers (open)

    Code:
    users:
        lezyamin:
            groups:
            - Admins
        hazaas139:
            groups:
            - Admins
        Pr0Failure:
            groups:
            - Admins

    If you have multiple worlds (which I doubt you do) you'll have edit each worlds goups/users.yml files.

    I have added myself in the users. Open up your globalGroups/globalUsers.yml files and paste that into there and save. It should all work. Admins have all the commands to everything you have/want. And Mods is self explanatory. Same for Members. Defaults can't do anything so they don't have any permissions. I didn't give Mods WorldGuard 'region' nodes because it seems like admins should only be able to do that + it'd be hard to teach them/they'd probably just ruin things.

    Edit: Make sure you know the commands/how to use all the plugins too lol.
     
  15. Offline

    lezyamin

    its now not letting me build....
     
  16. Offline

    Pr0Failure

    Testing on my server...
    Wait, hows your storageconfig.yml setup?

    Works fine on my server.
     
  17. Offline

    lezyamin

    its not setup
     
  18. Offline

    Pr0Failure

    Put this into your storageconfig.yml file.
    Code:
    permissions:
        storage:
            type: YAML
     
  19. Offline

    lezyamin

    ive donethat stil cant build join on 82.1.151.69:25567
     
  20. Offline

    Pr0Failure

Thread Status:
Not open for further replies.

Share This Page