Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dont working clan tag in chat #457

Open
teslabars opened this issue Feb 27, 2025 · 57 comments
Open

Dont working clan tag in chat #457

teslabars opened this issue Feb 27, 2025 · 57 comments

Comments

@teslabars
Copy link

How can i enable to seeing clan tag in the global or local chat? I use Essentialschat

@RoinujNosde
Copy link
Owner

I recommend you to use a PlaceholderAPI compatible plug-in like Chatty. Or if you really want EssentialsChat, install the ChatInjector plug-in.

@teslabars
Copy link
Author

ChatInjector

so what tag i shoult to use, when i install chatinjector?

@RoinujNosde
Copy link
Owner

%simpleclans_tag_label%

Also install PlaceholderAPI.

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 27, 2025

global or local chat?

Set the radius in EssentialsX config. After it, add %simpleclans_tag_label% to format (if it doesn't work, try {simpleclans_tag_label} and restart the server.

@teslabars
Copy link
Author

%simpleclans_tag_label%

Also install PlaceholderAPI.

this plugin prohibits to hitting mobs

@RoinujNosde
Copy link
Owner

this plugin prohibits to hitting mobs

That's not true.

@teslabars
Copy link
Author

this plugin prohibits to hitting mobs

That's not true.

i have such effect in 1.14.4 and 1.16.5

@RoinujNosde
Copy link
Owner

It's definitely another plug-in causing it. PlaceholderAPI doesn't handle mob hits at all.

@teslabars
Copy link
Author

It's definitely another plug-in causing it. PlaceholderAPI doesn't handle mob hits at all.

i setup PlaceholderAPI, but cant see tags. it looks like text {simpleclans_tag_label}. not clan tag

@RoinujNosde
Copy link
Owner

Try %simpleclans_tag_label%

Also run /plugins and check if all plugins are green.

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 27, 2025

Check if /papi parse me %simpleclans_tag_label% return any result.
If it does then the problem with ChatInjector and EssentialsXChat, this is why we recommended to use another plugin to you.

@teslabars
Copy link
Author

Try %simpleclans_tag_label%

Also run /plugins and check if all plugins are green.

I was wrong, it works

@teslabars
Copy link
Author

Check if /papi parse me %simpleclans_tag_label% return any result. If it does then the problem with ChatInjector and EssentialsXChat, this is why we recommended to use another plugin to you.

i see clan tag in the chat

@RoinujNosde
Copy link
Owner

Glad it works!

@teslabars
Copy link
Author

teslabars commented Feb 27, 2025

Glad it works!

placeholder works/ not tag

@RoinujNosde RoinujNosde reopened this Feb 27, 2025
@teslabars
Copy link
Author

maybe i have wrong config ?

config (2).txt

@RoinujNosde
Copy link
Owner

Sends us your essentials config.

@teslabars
Copy link
Author

config (3).txt

Sends us your essentials config.

@teslabars
Copy link
Author

it was with } too

@RoinujNosde
Copy link
Owner

Can you join our discord? https://discord.roinujnosde.me

@teslabars
Copy link
Author

installed an older version of Eseentials and the problem was solved

@teslabars
Copy link
Author

teslabars commented Feb 28, 2025

Can you join our discord? https://discord.roinujnosde.me

So how to use only Essentials chat format. withous plugins's format?

@RoinujNosde
Copy link
Owner

SC doesn't have a format for local/global chats.

@teslabars
Copy link
Author

teslabars commented Feb 28, 2025

SC doesn't have a format for local/global chats.

i know. i tell about use only tags without plugin format of chat. I wish that clan name will into after nich. not before

@RoinujNosde
Copy link
Owner

You choose the tag placement by putting the placeholder wherever you want it to appear.

@teslabars
Copy link
Author

teslabars commented Feb 28, 2025

You choose the tag placement by putting the placeholder wherever you want it to appear.

i added the tag to Essentials but the result is - only plugin's chat format. with <>. Essentials hasnt this

Сложновато общаться на английском. Может, меня просто не понимают?

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 28, 2025

You choose the tag placement by putting the placeholder wherever you want it to appear.

i added the tag to Essentials but the result is - only plugin's chat format. with <>. Essentials hasnt this

Сложновато общаться на английском. Может, меня просто не понимают?

Да, тебя не понимают.
Если тебе надо отключить автоматическое форматирование чата SimpleClans'ом:
/plugins/SimpleClans/config.yml

display-chat-tags: false

@teslabars
Copy link
Author

teslabars commented Feb 28, 2025

You choose the tag placement by putting the placeholder wherever you want it to appear.

i added the tag to Essentials but the result is - only plugin's chat format. with <>. Essentials hasnt this
Сложновато общаться на английском. Может, меня просто не понимают?

Да, тебя не понимают. Если тебе надо отключить автоматическое форматирование чата SimpleClans'ом: /plugins/SimpleClans/config.yml

display-chat-tags: false

проверял. только толку от этого ноль. формат чата меняется, кстати, всё равно. но теперь, правда, название клана не показывается вообще

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 28, 2025

Расскажи, пожалуйста, чего ты пытаешься добиться.
Что не получается? Как должен выглядить формат чата? Как он выглядит сейчас?

@teslabars
Copy link
Author

teslabars commented Feb 28, 2025

Расскажи, пожалуйста, чего ты пытаешься добиться. Что не получается? Как должен выглядить формат чата? Как он выглядит сейчас?

  1. Формат чата в essentials: [G] [Игрок] player1899: сообщение
  2. Как должен выглядеть чат: [G] [Игрок] player1899 (Название_клана): сообщение

@teslabars
Copy link
Author

ща напишу как выглядит

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 28, 2025

Расскажи, пожалуйста, чего ты пытаешься добиться. Что не получается? Как должен выглядить формат чата? Как он выглядит сейчас?

1. Формат чата в essentials: [G] [Игрок] player1899: сообщение

2. Как должен выглядеть чат: [G] [Игрок] player1899 (Название_клана): сообщение

Скинь ссылку на ChatInjector, который ты поставил.
Ещё раз скинь как выглядит твой config.yml из Essentials.

Вот так должен выглядеть твой конфиг, если всё сделал правильно:

format: '&7[{GROUP}]&r {DISPLAYNAME} {simpleclans_tag_label}&7:&r {MESSAGE}'

@teslabars
Copy link
Author

{simpleclans_tag_label}

%simpleclans_tag_label%

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 28, 2025

%simpleclans_tag_label% используется в PlaceholderAPI и заменяется на нужное тебе "название клана".
В EssentialsX при использовании ChatInjector, {simpleclans_tag_label} трансформируется в %simpleclans_tag_label%.

Если напрямую использовать:

format: '&7[{GROUP}]&r {DISPLAYNAME} %simpleclans_tag_label%&7:&r {MESSAGE}'

Это не будет работать.

Это:

format: '&7[{GROUP}]&r {DISPLAYNAME} {simpleclans_tag_label}&7:&r {MESSAGE}'

Должно.

@teslabars
Copy link
Author

teslabars commented Feb 28, 2025

format: '&7[{GROUP}]&r {DISPLAYNAME} {simpleclans_tag_label}&7:&r {MESSAGE}'

эффект только от %. если ставлю так, чат меняется. но неправильно. вот

Image

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 28, 2025

/version ChatInjector

@teslabars
Copy link
Author

/version ChatInjector

PlaceholderAPI

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 28, 2025

Скриншот отправь выполнения этой команды.

@teslabars
Copy link
Author

Скриншот отправь выполнения этой команды.

[21:19:30 INFO]: This server is not running any plugin by that name.
[21:19:30 INFO]: Use /plugins to get a list of plugins.

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 28, 2025

Выключи сервер.
Установи в папку /plugins – ProtocolLib: https://www.spigotmc.org/resources/protocollib.1997/
В ту же папку (/plugins) установи ещё ChatInjector – https://www.spigotmc.org/resources/chatinjector-1-20.81201/

Убедись, что формат чата в EssentialsX имеет вид:

format: '&7[{GROUP}]&r {DISPLAYNAME} %simpleclans_tag_label%&7:&r {MESSAGE}'

Запусти сервер.

@teslabars
Copy link
Author

teslabars commented Feb 28, 2025

%simpleclans_tag_label%

ничего не изменилось

@teslabars
Copy link
Author

chatinjector v 1.0.3.

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 28, 2025

Ты сам находишься в клане, когда пишешь в чат?

@teslabars
Copy link
Author

Ты сам находишься в клане, когда пишешь в чат?

да

@teslabars
Copy link
Author

Ты сам находишься в клане, когда пишешь в чат?

посмотри еще раз на скриншот. это без плейсхолдера и с ним

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 28, 2025

Удаляй ChatInjector и EssentialsXChat, ставь ChatEx.
https://www.spigotmc.org/resources/chatex.71041/

В конфиге ChatEx:

ranged-mode: true
message-format: '%prefix%player%suffix %simpleclans_tag_label%: %message'
global-message-format: '&9[%world] %prefix%player%suffix %simpleclans_tag_label%: &e%message'

@teslabars
Copy link
Author

teslabars commented Feb 28, 2025

Удаляй ChatInjector и EssentialsXChat, ставь ChatEx. https://www.spigotmc.org/resources/chatex.71041/

В конфиге ChatEx:

ranged-mode: true
message-format: '%prefix%player%suffix %simpleclans_tag_label%: %message'
global-message-format: '&9[%world] %prefix%player%suffix %simpleclans_tag_label%: &e%message'

нет. у меня тогда другие плагины слетают

ладно, не получается, так не судьба

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 28, 2025

Удаляй ChatInjector и EssentialsXChat, ставь ChatEx. https://www.spigotmc.org/resources/chatex.71041/
В конфиге ChatEx:

ranged-mode: true
message-format: '%prefix%player%suffix %simpleclans_tag_label%: %message'
global-message-format: '&9[%world] %prefix%player%suffix %simpleclans_tag_label%: &e%message'

нет. у меня тогда другие плагины слетают

ладно, не получается, так не судьба

Какие плагины у тебя слетают?
Что у тебя использует EssentialsXChat?

Для справочки EssentialsX и EssentialsXChat – это разные плагины.

Image

@teslabars
Copy link
Author

teslabars commented Feb 28, 2025

Удаляй ChatInjector и EssentialsXChat, ставь ChatEx. https://www.spigotmc.org/resources/chatex.71041/
В конфиге ChatEx:

ranged-mode: true
message-format: '%prefix%player%suffix %simpleclans_tag_label%: %message'
global-message-format: '&9[%world] %prefix%player%suffix %simpleclans_tag_label%: &e%message'

нет. у меня тогда другие плагины слетают
ладно, не получается, так не судьба

Какие плагины у тебя слетают? Что у тебя использует EssentialsXChat?

Для справочки EssentialsX и EssentialsXChat – это разные плагины.

Image

я очень давно чат настраивал. скорее всего, не хочу лишнего функционала и не смог настроить префиксы просто. ещё слетало что-то, что уже не помню

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 28, 2025

@teslabars

Поставил EssentialsX, EssentialsXChat, ChatInjector, ProtocolLib и PlaceholderAPI, установил последнюю версию SimpleClans с jenkins.

Установил формат на:

Image

Результат:
Image

Моя папка с /plugins:

Image

Версия ChatInjector:

Image

@teslabars
Copy link
Author

@teslabars

Поставил EssentialsX, EssentialsXChat, ChatInjector, ProtocolLib и PlaceholderAPI, установил последнюю версию SimpleClans с jenkins.

Установил формат на:

Image

Результат: Image

Моя папка с /plugins:

Image

Версия ChatInjector:

Image

версия сервера, может, другая?

@Tomut0
Copy link
Collaborator

Tomut0 commented Feb 28, 2025

версия сервера, может, другая?

1.20.4

@teslabars
Copy link
Author

версия сервера, может, другая?

1.20.4

у меня 1.16.5
essentials 2.20.1
chatinjector 1.0.3
placeholderapi 2.11.2

@teslabars
Copy link
Author

teslabars commented Mar 1, 2025

попытялся использовать другой плагин на кланы вместе с chatex - тоже теги не работают

@teslabars
Copy link
Author

версия сервера, может, другая?

1.20.4

в итоге все заработало в chatex, но он сбрасывает таб на обычные белые ники. бросил в итоге это дело. поставлю плагин на кланы попроще

@Tomut0
Copy link
Collaborator

Tomut0 commented Mar 1, 2025

Image
Ты не пробовал... выключить... изменение таба в ChatEx...?

@teslabars
Copy link
Author

teslabars commented Mar 1, 2025

Image Ты не пробовал... выключить... изменение таба в ChatEx...?

если бы все так было просто, я бы сюда не писал. сначала показывается. как напишу в чат - таб сбрасывается

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants