Double prefixes
Buster801 opened this issue · 29 comments
Somehow the pex prefixes are being added twice and one of the prefixes is being shown in tab, essentials /list, etc. It is like the prefix has become a part of players' name. Any idea on what is causing this? We have tried removing plugins and changing configs and nothing is working.
@Buster801 The default config for EssentialsChat (and EssentialsXChat) contains "group name" + "prefix + username + suffix" + "message", so when you give the group a prefix in PEX's permissions.yml file, you end up with exactly what you're experiencing— GroupName GroupName PlayerName Message.
To fix that, follow these instructions.
I don't use essentials chat and I have never had this problem until updating the server to 1.12. Even when I downgraded to 1.11.2 it is still showing up twice.
So which chat management plugin are you using?
PEX itself doesn't display prefixes in-game.
Here it is but a chat plugin should effect how the prefix is shown in /list and in tab
moderator-permissions:
can-kick: true
can-ban: true
can-mute: true
can-remove-channel: true
can-modify-nick: true
can-modify-color: true
can-modify-distance: true
can-modify-password: true
can-modify-format: false
can-modify-shortcut: false
can-modify-verbose: true
can-modify-focusable: false
can-modify-crossworld: false
can-color-messages: false
can-view-info: true
can-focus: true
default-channel: Global
censors: []
format:
default: '{color}[{nick}] &f{sender}{suffix}{color}: {msg}'
announce: '{color}[{nick}] {msg}'
emote: '{color}[{nick}] * {msg}'
private-message: '&d{convoaddress} {convopartner}&d: {msg}'
use-channel-emotes: true
locale: en_US
log-chat: true
log-to-bukkit: true
twitter-style-private-messages: false
msg-sound-alert: true
msg-sound-alert-sound: ENTITY_PLAYER_LEVELUP
use-emote-alias: false
use-cross-server: false
conversation-cost: 0.0
servername: My Minecraft Server
serveralias: '[M]'
servers: ''
use-economy: false
Ok. My first look at HeroChat doesn't specifically say it's compatible with 1.12 anywhere. I'm still looking though. Give me a couple minutes. :-)
Did you pay money for the "premium" version, which is for Spigot 1.12?
Try {plainsender}
instead of {sender}
in the config.
The {sender}
variable uses the "display name" of the user, and from what I know of EssentialsChat (which may or may not be related experience here), a "display name" is the user's prefix+username+suffix. The HeroChat documentation is somewhat lacking.
That took away the double prefix but it also takes away nicknames and doesn't fix tab or anywhere else your name is shown. Display name has never included prefix or suffix for me so I have no clue why it would be doing it now
Something must have changed between HeroChat 1.11.2 and 1.12.
When they tell you how to fix this problem, I'd love to hear it too, if you don't mind coming back here to post it.
The problem isn't with herochat, it does this with herochat, with venturechat, with all essentials commands, with tab, etc.
Are you using Multiverse? That also has chat management features, and adds prefixes in-game.
I'd need to see a startup log to try to figure out what else could be causing it.
This is the config for multiverse
multiverse-configuration:
==: com.onarandombox.MultiverseCore.MultiverseCoreConfiguration
enforceaccess: 'false'
prefixchat: 'false'
prefixchatformat: '[%world%]%chat%'
useasyncchat: 'true'
teleportintercept: 'true'
firstspawnoverride: 'true'
displaypermerrors: 'true'
globaldebug: '0'
silentstart: 'false'
messagecooldown: '5000'
version: '2.9'
firstspawnworld: world
teleportcooldown: '1000'
defaultportalsearch: 'false'
portalsearchradius: '128'
I'd need to see a startup log to try to figure out what else could be causing it.
Alright, well, if you don't want to show me the startup config, you're fully on your own to figure out what's going on.
It's definitely not PEX's doing. Good luck.
Sorry it took me a sec to get it https://pastebin.com/Pw6ZhTT3
Are you running a Bungeecord server?
Line 78 of the startup config shows the server is in offline mode. PEX doesn't support this unless the server is setup correctly for Bungeecord. (We know hacked/pirated/illegal servers require this setting too, and we definitely don't support those.)
I recommend talking to HeroChat, since it's an issue on their end and I have no experience with their plugin.
It isn't an issue with them though, herochat wouldn't effect tab or other commands.
Sounds like HeroChat isn't programmed to work on 1.12, which is why I'd be talking to them.