PEX - Prefix not working

Discussion in 'Bukkit Help' started by rhbvkleef, Aug 26, 2014.

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

    rhbvkleef

    I have been messing around with prefixes for a while, checked most plugins if they are also adding prefixes and disabled the prefixes. I also checked all of the yml files for tabs, there are none.
    These are my plugins:
    • AutoBroadcaster
    • Essentials
    • EssentialsAtiBuild
    • EssentialsChat
    • EssentialsGeoIp
    • EssentialsProtect
    • EssentialsSpawn
    • EssentialsXMPP
    • MultiInv
    • Multiverse-Core
    • Multiverse-NetherPortals
    • Multiverse-Portals
    • PermissionsEx
    • PlotMe
    • TuxTwoLib
    • Vault
    • WorldEdit
    My permissions.yml file:
    http://pastebin.com/52YkFj3y
     
  2. Offline

    cometear

    Is it working for any of the groups? I would check Essentials to see if the formatting is interfering with that.
     
  3. Offline

    rhbvkleef

    I have uninstalled EssentialsChat and disabled PEX prefixes, I have also installed GroupManager and their prefixes work fine for me :)
     
  4. Offline

    LHammonds

    Make sure PEX is not red when you type /pl

    If it is, PEX is not working because there are format problems in the .yml file(s)

    Even if you correctly set prefix/suffix in PEX, it will not show up in chat unless you use a chat manager. You have EssentialsChat so that should allow it to work...but make sure your chat format is correct in Essential's config.yml.

    Also make sure you are using the latest pre-release (2.14.1.2) if you are using PEX 1.22 or higher.

    LHammonds
     
  5. Offline

    rhbvkleef

    Pex is not red in /pl. And I've also downloaded the newest versions of all the plugins.
     
  6. From the permissionsEx documentation, it seems to me that the prefix property should not be inside the options.

    An example:
    Code:
        Member:
            prefix: '&0(&8M&7ember&0)&7 '
            permissions:
            - modifyworld.*
            options:
                rank: '900'
    
     
  7. Offline

    LHammonds

    If you want to see a full permission file example that works with the current version (1.22.x), take a look at my tutorial page. I do not know why but the "default" permissions.yml that ships with PEX is just wrong. It has permissions under options when it should not be and "default: true" is not under options but should be. Prefix in your example does belong under options. If you have any doubt, just test it...however, you MUST be using a chat plugin for prefix/suffix to work. ;)

    LHammonds
     
  8. Offline

    Alster551

    Your file was wrongly formatted.
    Corrected:
    groups:
    default:
    options:
    default: true
    permissions:
    - modifyworld.*
    superAdmin:
    options:
    default: false
    prefix: '[SuperAdmin]'
    permissions:
    - '*'
    schema-version: 1
    users:
    melvin3456:
    group:
    - superAdmin
    8ebfa50a-30d9-4632-9cb5-90ffe3bc4c76:
    group:
    - superAdmin
    options:
    name: rhbvkleef
    prefix: '[OWNER]'
     
  9. Offline

    LHammonds

    Hehehe. And yours is wrongly formatted too now. Pasting directly in the forum strips all spacing. You should always paste .yml contents in pastebin.com and provide a link to it instead. :p
     
  10. Offline

    Alster551

    Paste it into your config and tell me if it doesnt work?
     
  11. Offline

    LHammonds

    Why should I bother? This is what I see when I copy what you pasted:
    Code:
    groups:
    default:
    options:
    default: true
    permissions:
    - modifyworld.*
    superAdmin:
    options:
    default: false
    prefix: '[SuperAdmin]'
    permissions:
    - '*'
    schema-version: 1
    users:
    melvin3456:
    group:
    - superAdmin
    8ebfa50a-30d9-4632-9cb5-90ffe3bc4c76:
    group:
    - superAdmin
    options:
    name: rhbvkleef
    prefix: '[OWNER]'
    
    If I start a server with that in the permissions.yml (with no spacing) it will not recognize ANY groups. It MUST have correct spacing. Try it yourself and see.[/code]
     
  12. Offline

    IceAspect

    Prefix is after Permissions.
     
Thread Status:
Not open for further replies.

Share This Page