PermissionsEx

PermissionsEx

14M Downloads

Double prefixes

Buster801 opened this issue · 29 comments

commented

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.

commented

It's one of your chat plugins, not PEX. You probably have multiple set up.

commented

@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.

commented

Yes it is a bungeecord server

commented

The bungeecord plugin wasn't on it.

commented

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.

commented

So which chat management plugin are you using?

PEX itself doesn't display prefixes in-game.

commented

Herochat but I tried with VentureChat aswell and it still did it

commented

Show me the config file. I'll see if I can figure out what's going on.

commented

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
commented

Herochat

commented

Is that from HeroChat or VentureChat?

commented

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?

commented

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.

commented

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

commented

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.

commented

The problem isn't with herochat, it does this with herochat, with venturechat, with all essentials commands, with tab, etc.

commented

Are you using Multiverse? That also has chat management features, and adds prefixes in-game.

commented

I'd need to see a startup log to try to figure out what else could be causing it.

commented

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'

commented

I'd need to see a startup log to try to figure out what else could be causing it.

commented

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.

commented

Sorry it took me a sec to get it https://pastebin.com/Pw6ZhTT3

commented

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.)

commented

It is on our proxy server

commented

I recommend talking to HeroChat, since it's an issue on their end and I have no experience with their plugin.

commented

It isn't an issue with them though, herochat wouldn't effect tab or other commands.

commented

Sounds like HeroChat isn't programmed to work on 1.12, which is why I'd be talking to them.

commented

It still does it even if there is no chat plugin on the server.

commented

As ugly as it sounds, you may have to remove every plugin from the server, and add them one-by-one, testing the server after each plugin is added, to find out which one is causing the problem.