PEX and ChatEx Prefixes

Discussion in 'Bukkit Help' started by PrinceVade, Dec 7, 2013.

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

    PrinceVade

    Hello there, I've been setting up a server recently and encountered this bit of trouble I cannot fix.

    I have 3 plugins with control over prefixes: PermissionsEX, ChatEx, and Villages.
    From what I've been troubleshooting, Villages has nothing to do with the problem.

    To clarify my problem: when ChatEX is enabled, it takes the prefix from a desired group, and prints it twice. I fixed this by disabling ChatEx, but now only one prefix appears.

    For example, the following code is taken from my permissons.yml

    Code:
    users:
        MrHippocrit:
            group:
            - VIP
            - Moderator
        PrinceVade:
            prefix: '&7[&4Akatosh&7] '
            group:
            - Aedra
    groups:
        default:
            default: true
            options:
                rank: '1000'
            permissions:
        Member:
            prefix: '&7[&8M&7ember&7] '
            permissions:
            options:
                rank: '900'
        VIP:
            prefix: '&7[&eVIP&7] '
            permissions:
            options:
                rank: '800'
        Moderator:
            prefix: '&7[&1Moderator&7] '
            permissions:
            options:
                rank: '100'
        Aedra:
            prefix: '&7[&0Admin&7] '
            permissions:
            - '*'
            options:
                rank: '1'
    So, the user "mrhippocrit" should has his name displayed in the chat as " [VIP][Moderator] mrhippocrit " but, it only displays his name as
    " [VIP] mrhippocrit "
    Similarly, PrinceVade's name displays as " [Akatosh] PrinceVade " and not adding the Admin prefix.
    There are no permissions cause I am not gonna set and test them until later, btw.

    Here is my ChatEx config:

    Code:
    enable: false
    message-format: '%prefix%player%suffix: %message'
    global-message-format: '&9[%world] %player%suffix: &e%message'
    ranged-mode: false
    chat-range: 100.0
    multi-prefixes: true
    multi-suffixes: false
    prepend-player-prefix: false
    prepend-player-suffix: false
    I've tried setting the multi-prefixes to true and false, with no change.

    Here's my Villages config.yml just in case something is wrong here and I just don't know it.

    Code:
    debug: false
    # What worlds to use the Villages plugin in.
    worlds:
    - Fuckyouhippo
    - Fuckyouhippo_nether
     
    - Fuckyouhippo_the_end
     
    - FlatTest
    - FlatTest_nether
    - FlatTest_the_end
    # MySQL Server Settings
    sql:
      use: false
      host: localhost
      port: '3306'
      username: root
      password: password
      database: minecraft
      prefix: Villages
    # Colors and Other chat things to use with the plugin.
    colors:
      default: '&7'
      important: '&9'
      error: '&c'
      prefix:
        chat: true
        messages: '&9[&7Villages&9]'
        village: '&9[&7%v%&9]'
        wilderness: Wilderness
      players:
        friend: '&a'
        foe: '&4'
    # Various Protection settings for inside the Wilderness and/or Villages
    protection:
      grief:
        village:
          use: true
          break: false
          place: false
          mine: false
          tnt: false
        wilderness:
          use: true
          break: true
          place: true
          mine: true
          tnt: false
      pvp:
        village:
          samevillage: false
          differentvillage: true
          notinvillage: false
        wilderness:
          samevillage: false
          differentvillage: true
          notinvillage: false
      mobspawning:
        village:
          Creeper: false
          Skeleton: true
          Spider: true
        wilderness:
          Creeper: true
          Skeleton: true
          Spider: true
      # Note! this are Players Attacking mobs, true to disable, false to enable
      mobattacking:
        village:
          CREEPER: true
          SKELETON: true
          SPIDER: true
        wilderness:
          CREEPER: false
          SKELETON: false
          SPIDER: false
    # Additional Plugin Hooking Features such as 
    # WorldGuard region checking and TagAPI Player names.
    plugins:
      worldguard: true
      tagapi: true
      herochat: true
      vault: true
    # Other Villages Features
    features:
      lists:
        topvillages: true
        villagemembers: true
        taxday: true
      cyclespeed: 60
      banks:
        item: true
        money: true
      plots: true
      updates: true
      expand:
        # Swap between CHUNK for Per-Chunk Claiming, and 
        # CLASSIC for Classic Chunk Claiming
        method: CLASSIC
      # Enable Plugin load GUI Screen
      guiscreen: true
      # Various Command Aliases (make the commands shorter)
      aliases:
        village:
        - v
        - town
        - city
      #Use Larger maps (everything is scaled down half size)
      largemaps: false
    # Set various costs
    costs:
      createvillage: 5000
      expandvillage: 1000
    # What Money will be refunded from certain things
    refund:
      closevillage: 1500
      closevillageperchunk: 100
    # Various Messages that can be used.
    messages:
      names:
        wilderness: Wilderness
      village:
        youenter: true
        friendlyenters: false
        othervillage: false
        wilderness: false
      wilderness:
        youenter: true
        friendlyenters: false
        othervillage: false
        wilderness: false
    # Commands to be run, and when to run them.
    commands:
      village:
        created:
        - say You created a village!
        deleted:
        - say Your village has been disbanded.
        playeradded:
        - say The village's population has increased by 1.
        playerremoved:
        - say The village's population has decreased by 1.
        expand:
        - say The village has been expanded!
    Please let me know if you can see an error here, or whatever may be the issue.
    If nobody knows the issue, than maybe a very reliable alternative plugin to ChatEx? I've tried Essentialschat, but I couldn't find what I needed to config it.
    Thanks in advance for the help.

    I'd really like some assistance here. Problem has persisted for a few days now.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 5, 2016
  2. Offline

    Niknea

    PrinceVade I would recommend removing ChatEX and instead have a prefix and suffix for your ranks, therefore it won't be as confusing and you will have one less plugin :)
     
  3. Offline

    PrinceVade

    From my understanding, I needed a chat-related plugin in order to display prefixes and suffixes.
    They never displayed before without it.
    And could you elaborate on "have a prefix and suffix for your ranks" maybe even give an example?
     
  4. Offline

    Niknea

    EX. "<prefix> Niknea <suffix>: Hey everyone!" You can get the prefix by typing "/pex group <group name> prefix <prefix>", and for the suffix you would type "/pex group <group name> suffix <suffix>"
     
Thread Status:
Not open for further replies.

Share This Page