Помогите Я пытаюсь сделать Цветной чат, но ничего не получается

DemonKrovi

Активный участник
Пользователь
Баллы
61
Вот что написано в EssentialsChat

############################################################
# +------------------------------------------------------+ #
# | 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}] {DISPLAYNAME}&7: {MESSAGE}'

group-formats:
Player: '&8⸢&aИгрок&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
VIP: '&2[ВИП] &b{DISPLAYNAME} &6:&f {MESSAGE}'
premium: '&8⸢&e&lPremium&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
creative: '&8⸢&a&lCreative&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
admin: '&8⸢&c&lAdmin&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
ultra: '&8⸢&6&lUltra&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
god: '&8⸢&b&lGOD&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
antigreaf: '&8⸢&fANTI&cGreaf&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
root: '&8⸢&a&lROOT&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
support: '&f[&4&lSupport&f] {DISPLAYNAME} &7: {MESSAGE}'
builder: '&f[&d&lBuilder&f] {DISPLAYNAME} &7: {MESSAGE}'
gl: '&8⸢&c&lАдминистратор&8⸥ {DISPLAYNAME} &7:{MESSAGE}'

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

Что тут неверно?
 
Ошибки в консоли?
[10:34:11 WARN]: Exception in thread "Craft Scheduler Thread - 8" [10:34:11 WARN]: org.apache.commons.lang.UnhandledException: Plugin iDisguise v5.2.3 generated an exception while executing task 95 [10:35:04 WARN]: [WorldEdit] No compatible nms block class found.

Вот что в консоли написало за несколько часов
 
Установлен ли EssentialsChat? Стоит ли какой-то другой форматор чата? Что пишет тебе когда вводишь сообщение? Стоят ли пробелы перед каждой группой игрока(конфиг)?
 
Вот что написано в EssentialsChat

############################################################
# +------------------------------------------------------+ #
# | 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}] {DISPLAYNAME}&7: {MESSAGE}'

group-formats:
Player: '&8⸢&aИгрок&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
VIP: '&2[ВИП] &b{DISPLAYNAME} &6:&f {MESSAGE}'
premium: '&8⸢&e&lPremium&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
creative: '&8⸢&a&lCreative&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
admin: '&8⸢&c&lAdmin&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
ultra: '&8⸢&6&lUltra&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
god: '&8⸢&b&lGOD&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
antigreaf: '&8⸢&fANTI&cGreaf&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
root: '&8⸢&a&lROOT&8⸥ {DISPLAYNAME} &7: {MESSAGE}'
support: '&f[&4&lSupport&f] {DISPLAYNAME} &7: {MESSAGE}'
builder: '&f[&d&lBuilder&f] {DISPLAYNAME} &7: {MESSAGE}'
gl: '&8⸢&c&lАдминистратор&8⸥ {DISPLAYNAME} &7:{MESSAGE}'

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

Что тут неверно?
Установи ChatEx и не парься
 
Соглашусь, установи ChatEx

И в конфиге установи:
enable: true
message-format: '&f[Близко] %prefix %displayname %suffix: %message'
global-message-format: '&f[Рация] %prefix %displayname %suffix: %message'
ranged-mode: true
chat-range: 30.0

И при этом у тебя обязательно должен быть плагин на права, любой, PermissionEX или LuckPerms например. Через данные плагины настрой префиксы как хочешь. Это гораздо удобнее, чем через Essentials париться.

Как выдавать префиксы у PermissionEX
https://github.com/PEXPlugins/PermissionsEx/wiki/Commands#group-commands

Как выдавать префиксы у LuckPerms:
https://github.com/lucko/LuckPerms/wiki/Command-Usage:-Meta
 
Как бы вы не хотели, без прав и ChatEX работать не будет.
 
Ты скачал сборку, как я понимаю.
Необходимо выдать себе права: /pex user <nick> add '*' – выдача всех прав сервера игроку.
 
Вы где этих динозавров находите? ТС не заходил с 20-го октября.
 
Назад
Верх Низ