1

EssentialsChat and GroupManager, no prefix in chat!

Azrath •5/21/17 5:37 pm
•
6.5k
•
6/2/2017 1:59 pm
Hello!

So since yesterday I have been working on my private server for local area and well I have problems with EssentialsChat and GroupManager. Both are set up, chat look and groups and the chat in game only show like this:



Even thou the user is in designated group for the chat.

Here is the chat code:
############################################################
# +------------------------------------------------------+ #
# | 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: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'

group-formats:
Player: '[{GROUP}]{DISPLAYNAME}&7: {MESSAGE}'
Mod: '[{GROUP}]{DISPLAYNAME}&e: {MESSAGE}'
Admin: '[{GROUP}]{DISPLAYNAME}:&e {MESSAGE}'
Owner: '[{GROUP}]{DISPLAYNAME}:&e {MESSAGE}'

# If you are using group formats make sure to remove the '#' to allow the setting to be read.


Any help is welcome and what to change! I remember using Essentials and GroupManager back in the day but I heard they are outdated so if anyone has any alternatives that either work with chat or group manager I am open to them!
Posted by
Azrath
Level 27 : Expert Button Pusher
70

  Have something to say?

Join • Sign in

21

Excrele
• 06/02/2017 1:59 pm
• Level 27 : Expert Miner
change your chat format line in essentials config to this

'[{%vault_rankprefix%}]{DISPLAYNAME} &7➤&7 {MESSAGE}'
1
TastyLemonade
• 05/25/2017 8:48 am
• Level 31 : Artisan Taco
What host are you using
1
Azrath
• 05/25/2017 6:19 pm
• Level 27 : Expert Button Pusher
GGServers. I used them few years back, were bad back than and I said to my self hey maybe they improved since last few years and gave them a try... I was never so wrong!
1
Azrath
• 05/24/2017 5:21 pm
• Level 27 : Expert Button Pusher
I wish I could try it but my server host is worst ever! Good thing they let me know they add to my lost time...
1
TastyLemonade
• 05/23/2017 2:34 pm
• Level 31 : Artisan Taco
If you're using the regular Essentials, don't use it.
Instead, use EssentialsX. It's basically the same thing but it's updated since the regular essentials doesn't really work anymore. I had this exact same problem and I had to figure this out myself. Here is the link to EssentialsX: https://www.spigotmc.org/resources/essentialsx.9089/
1
Thatsmusic99
• 05/23/2017 10:56 am
• Level 20 : Expert System
I was going to say that I had no idea what was going on, but then I saw this:

Owner: '[{GROUP}]{DISPLAYNAME} &7➤&c {MESSAGE}'

Which resulted in this:



Basically inserting the {GROUP} inserts the Owner name, which is why it comes out with no colours: it doesn't pick up the prefix, which should come with the {DISPLAYNAME} tag but for some reason that doesn't work :/ try using:

Owner: '&c[&4Owner&c]&r{DISPLAYNAME} &7➤&c {MESSAGE}'

whilst the prefix chooses to stay that way, then remove the Owner part when you're done with it. It's not the smartest answer I've come up with today, but that's all I've got for now.
1
uSneakyyMurican
• 05/23/2017 11:06 am
• Level 13 : Journeyman Architect
You beat me to it XD
1
Thatsmusic99
• 05/23/2017 11:21 am
• Level 20 : Expert System
Lol, oops - sorry xD But at least we have the solution, and the fact is that you've set up the rest of the ranks too, where I just did one Now we just need to hope if the solution works, because when it comes to plugins, there's always that one moment that ruins everything - ah, joy.
1
Azrath
• 05/23/2017 10:46 am
• Level 27 : Expert Button Pusher
Bump!
1
uSneakyyMurican
• 05/22/2017 7:43 pm
• Level 13 : Journeyman Architect
1
Azrath
• 05/23/2017 12:39 am
• Level 27 : Expert Button Pusher
Are you even reading the post to follow up to situation? I said I managed to make it PARTIALLY work. It works but has no colors and I want to know why and how to fix it.
1
uSneakyyMurican
• 05/23/2017 11:05 am
• Level 13 : Journeyman Architect
I don't read for edits because I don't get any notifications for them. I read for new comments. That's like adding a sentence in a book you've already read, who's going to read it again?

As for your problem, it's that you're using EssentialsChat... and you have this bit:
format: '[{DISPLAYNAME}] &7➤&r {MESSAGE}'
#format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'

group-formats:
Default: '[{GROUP}]{DISPLAYNAME} &7➤&7 {MESSAGE}'
Player: '{DISPLAYNAME} &7➤&7 {MESSAGE}'
Mod: '{DISPLAYNAME} &7➤&5 {MESSAGE}'
Admin: '{DISPLAYNAME} &7➤&c {MESSAGE}'
Supporter: '{DISPLAYNAME} &7➤&6 {MESSAGE}'
Owner: '[{GROUP}]{DISPLAYNAME} &7➤&c {MESSAGE}'

If I'm correct, {GROUP} only displays the group name (in your case: Owner), and not the group's prefix. The solution to this would be setting your prefix in the EssentialsChat, by changing it to the desired prefix. I'll show you:
format: '[{DISPLAYNAME}] &7➤&r {MESSAGE}'
#format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'

group-formats:
Default: '&c[&7Default&c]{DISPLAYNAME} &7➤&7 {MESSAGE}'
Player: '{DISPLAYNAME} &7➤&7 {MESSAGE}'
Mod: '&c[&5Mod&c]{DISPLAYNAME} &7➤&5 {MESSAGE}'
Admin: '&c[&4Admin&c]{DISPLAYNAME} &7➤&c {MESSAGE}'
Supporter: '{DISPLAYNAME} &7➤&6 {MESSAGE}'
Owner: '&c[&4Owner&c]{DISPLAYNAME} &7➤&c {MESSAGE}'

^ ^ All I did was I used the prefixes for the provided groups in your groups.yml and put them in your formats given above. Some don't have prefixes because you didn't provide any. There's an example for you.

If you have anymore troubles, please add me on Skype @ Unrealistic.Being and we can sort this out.
1
Azrath
• 05/22/2017 7:10 pm
• Level 27 : Expert Button Pusher
Bump.
1
Azrath
• 05/22/2017 12:41 pm
• Level 27 : Expert Button Pusher
Plugins:


GroupManager groups: https://pastebin.com/2Z4nJFg6

Essentials config: https://pastebin.com/XUZu0PVt

And this is how it looks like:
1
raidarr
• 05/22/2017 12:27 pm
• Level 22 : Expert Blockhead
Indeed. It's hard to find a source of conflict if we don't even know what sources are involved.
1
uSneakyyMurican
• 05/22/2017 11:47 am
• Level 13 : Journeyman Architect
Perhaps you could post a pastebin of your groups.yml, essentials config.yml, and a list of plugins? It'd make this a lot easier xD
1
Thatsmusic99
• 05/22/2017 10:52 am
• Level 20 : Expert System
Excuse me if I've read anything wrong, but can you show me the prefix for the groups you have? If you can't find them remember you can change them using /mangaddv <group> prefix <Prefix with color codes> - and even if it doesn't show up in chat and you have Essentials, you can use /whois to check it.
1
Azrath
• 05/22/2017 11:06 am
• Level 27 : Expert Button Pusher
So so far I successfully set up ranks. Permissions work, color coding works (in chat when certain rank writes) only problem I have that the rank displayed in front of the name is white rather than colors set up in GroupManager.
1
Azrath
• 05/22/2017 8:54 am
• Level 27 : Expert Button Pusher
Bump!
1
Spigot
• 05/21/2017 7:03 pm
• Level 7 : Apprentice Pokémon
Hello, If you want to do the prefixes through group manager. You could always remove the [{GROUP}] from inside of the group formats in essentials and setup the prefixes through group manager.
1
Azrath
• 05/22/2017 2:18 am
• Level 27 : Expert Button Pusher
Removed from essentials now it doesn't even show the "default" one.

EDIT:

I uploaded some older jars from my backup servers and now it seems to be working... only problem is the ranks are all white! No color formatting at all! Chat colors and formatting now work tho so that is good.
1

Welcome