Ranks appearing in essentials stuff like /afk

Discussion in 'Spigot Plugin Help' started by cyrildorricott, Jun 20, 2018.

  1. When players go afk or do /seen, the rank shows up along side with it. We use PermissionsEx for the groups/prefixes and Essentials for the chat. Here is the essentialschat config:
    Code (YAML):
    ############################################################
    # +------------------------------------------------------+ #
    # |                   EssentialsChat                     | #
    # +------------------------------------------------------+ #
    ############################################################

    # This section requires the EssentialsChat.jar to work.

    chat
    :

      # If EssentialsChat is installed, this will define how far a player's voice travels, in blocks.  Set to 0 to make all chat global.
      # Note that users with the "essentials.chat.spy" permission will hear everything, regardless of this setting.
      # Users with essentials.chat.shout can override this by prefixing text with an exclamation mark (!)
      # Users with essentials.chat.question can override this by prefixing text with a question mark (?)
      # You can add command costs for shout/question by adding chat-shout and chat-question to the command costs section."
      radius
    : 0

      # Chat formatting can be done in two ways, you can either define a standard format for all chat.
      # Or you can give a group specific chat format, to give some extra variation.
      # For more information of chat formatting, check out the wiki: http://wiki.ess3.net/wiki/Chat_Formatting

      #format: '<{DISPLAYNAME}> {MESSAGE}'
      format
    : '{factions_relcolor}&l{factions_roleprefix}&r{factions_relcolor}{factions_name|rp}{DISPLAYNAME}&f:&r {MESSAGE}'

      group-formats
    :
     #  Admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'

      # If you are using group formats make sure to remove the '#' to allow the setting to be read.
     
    and here is the permissionsex config for just one of the ranks affected
    Code (YAML):
    default:
        options
    :
          prefix
    : '&7Default &8»&r '
          default
    : 'true'
        permissions
    :
       - essentials.balance
        - essentials.balancetop
        - automessage.receive.regular
        - essentials.rules
        - essentials.delhome
        - essentials.sethome
        - essentials.top
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpdeny
        - essentials.warp
        - essentials.warp.list
        - essentials.signs.use.weather
        - essentials.signs.use.free
        - essentials.signs.use.disposal
        - essentials.signs.use.balance
        - essentials.signs.use.buy
        - essentials.signs.use.sell
        - essentials.signs.use.warp
        - essentials.signs.use.kit
        - essentials.sethome.multiple.default
        - essentials.home
        - essentials.spawn
        - essentials.ping
        - essentials.msg
        - essentials.list
        - essentials.helpop
        - essentials.help
        - essentials.pay
        - essentials.sell
        - -bukkit.command.plugins
    When you go afk it says:

    ' Default » Eejayy is now afk ' when i want it to say ' Eejay is now afk '
     
  2. Make a .properties file and then call it messages_en.properties and then go to this website and copy and paste everything into the file with notepad++.
    https://github.com/AkintudnesServer/essentials/blob/master/Essentials/src/messages_en.properties
    and then edit it from there by finding stuff and changing messages
     
  3. Are you using EssentialsX? Well, in essentialsX there is a part in the config like this...


    Code (Text):
    ############################################################
    # +------------------------------------------------------+ #
    # |                 Essentials (Global)                  | #
    # +------------------------------------------------------+ #
    ############################################################

    # A color code between 0-9 or a-f. Set to 'none' to disable.
    ops-name-color: 'none'

    # The character(s) to prefix all nicknames, so that you know they are not true usernames.
    nickname-prefix: ' '

    # The maximum length allowed in nicknames. The nickname prefix is included in this.
    max-nick-length: 15

    # When this option is enabled, nickname length checking will exclude color codes in player names.
    # ie: "&6Notch" has 7 characters (2 are part of a color code), a length of 5 is used when this option is set to true
    ignore-colors-in-max-nick-length: false

    # Disable this if you have any other plugin, that modifies the displayname of a user.
    change-displayname: false

    # When this option is enabled, the (tab) player list will be updated with the displayname.
    # The value of change-displayname (above) has to be true.
    change-playerlist: false

    # When EssentialsChat.jar isn't used, force essentials to add the prefix and suffix from permission plugins to displayname.
    # This setting is ignored if EssentialsChat.jar is used, and defaults to 'true'.
    # The value of change-displayname (above) has to be true.
    # Do not edit this setting unless you know what you are doing!
    add-prefix-suffix: false

    # When this option is enabled, player prefixes will be shown in the playerlist.
    # This feature only works for Minecraft version 1.8 and higher.
    # This value of change-playerlist has to be true
    add-prefix-in-playerlist: true

    # When this option is enabled, player suffixes will be shown in the playerlist.
    # This feature only works for Minecraft version 1.8 and higher.
    # This value of change-playerlist has to be true
    #add-suffix-in-playerlist: true
    If you have that make sure that in your config

    Code (Text):
    add-prefix-suffix: false
    is set to false.
     
  4. I run EssentialsX however I run essentialschat, so I may need to switch chat plugin for that to work