We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 717a410 + 41b639d commit a2f5bfeCopy full SHA for a2f5bfe
1 file changed
Economics.RPG/RPG.cs
@@ -49,9 +49,11 @@ private void PlayerHooks_PlayerChat(PlayerChatEventArgs e)
49
if (level != null && !string.IsNullOrEmpty(level.ChatFormat))
50
{
51
TShock.Utils.Broadcast(string.Format(level.ChatFormat,
52
- level.ChatPrefix,
53
- e.Player.Name,
54
- level.ChatSuffix,
+ e.Player.Group.Name, //{0} 组名
+ level.Name, //{1} 职业名
+ level.ChatPrefix, //{2} 聊天前缀
55
+ e.Player.Name, //{3} 玩家名
56
+ level.ChatSuffix, //{4} 聊天后缀
57
e.RawText),
58
(byte)level.ChatRGB[0],
59
(byte)level.ChatRGB[1],
0 commit comments