• Hello Guest! Did you know that ProjectKorra has an official Discord server? A lot of discussion about the official server, development process, and community discussion happens over there. Feel free to join now by clicking the link below.

    Join the Discord Server

Resolved Can't get the placeholders to work

DanHosaur

Verified Member
I'm trying to make it so that players get a prefix that shows what element they chose but this happens:
3886

this is through PermissionsEx
groups:
default:
options:
default: true
prefix: '&8[{ElementColor}{Element}&8] &r'
this is my languages.yml file (i tried it both enabled and disabled and it still doesn't working)
Chat:
Enable: true
Format: '<elementcolor><element> <name>: <message>'
Colors:
Spirit: DARK_AQUA
SpiritSub: DARK_PURPLE
LightSpirit: AQUA
LightSpiritSub: WHITE
DarkSpirit: BLUE
DarkSpiritSub: DARK_GRAY
Avatar: DARK_PURPLE
Air: GRAY
AirSub: DARK_GRAY
Water: AQUA
WaterSub: DARK_AQUA
Earth: GREEN
EarthSub: DARK_GREEN
Fire: RED
FireSub: DARK_RED
Chi: GOLD
and this is my EssentialsChat
format: '{DISPLAYNAME}:&r {MESSAGE}'
#format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'
#format: '&7{PREFIX}&r {DISPLAYNAME}&r &7{SUFFIX}&r: {MESSAGE}'

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

Plugins installed:
3887
 

StrangeOne101

Staff member
Plugin Developer
Moderator
Verified Member
You should put the prefix in the chat formatting of essentials. And be sure to use fully uppercase placeholders.
 

DanHosaur

Verified Member
You should put the prefix in the chat formatting of essentials. And be sure to use fully uppercase placeholders.
Hey! So I deleted the prefix from PermissionsEx and did this on Essentials:
format: '[{ELEMENTCOLOR}{ELEMENT}] {DISPLAYNAME}:&r {MESSAGE}'
#format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'
#format: '&7{PREFIX}&r {DISPLAYNAME}&r &7{SUFFIX}&r: {MESSAGE}'
and it turned out to this:
3888
 

StrangeOne101

Staff member
Plugin Developer
Moderator
Verified Member
Seems like there is something else going on then, because even your square brackets aren't showing up in the formatting. If they were, then it may be a PK issue, but they don't come up as well.
 

DanHosaur

Verified Member
Turns out Plugman didnt reload the plugin properly and a simple restart fixed it. Thank you for the help!
 
Top