Essentials-chat

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
cz_martin_k
Příspěvky: 478
Registrován: 12 kvě 2012, 17:54
Reputation: 0

Essentials-chat

#1 Příspěvekod cz_martin_k » 13 úno 2013, 18:54

Zdravím,
už dlouho řeším chat na serveru, chci, aby hráči psaly bíle a admini výrazně, jenže to nejde, PermissonsEx mám na MySQL. Mám tam nastavený Prefix a suffix. Prefix ten funguje, ale suffix ne, zprávy jsou od všech bílé. Když dám barvu ručně, třeba &b, tak to jde. Nastavil jsem si teda k vůli tomu v Essentialu chat podle Hodnosti, ale ten nejde, jde jen ten pro všechny.

Config Essentialu:

Kód: Vybrat vše

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.
  # If set to the default chat format which "should" be compatible with ichat.
  # For more information of chat formatting, check out the wiki: http://wiki.ess3.net/wiki/Chat_Formatting 

  format: '&b[&a{WORLDNAME}&b] [FACTION]&1 {DISPLAYNAME}&a->&f {MESSAGE}'
  #format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'

  group-formats:
  Hrac: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&f {MESSAGE}'
  Admin: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&b {MESSAGE}'
  Majitel: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&b {MESSAGE}'
  Stavitel: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&b {MESSAGE}'
  Pomocnik: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&b {MESSAGE}'

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


Ten chat nejde ani, když dám křížek před toto globální: format:

Kód: Vybrat vše

format: '&b[&a{WORLDNAME}&b] [FACTION]&1 {DISPLAYNAME}&a->&f {MESSAGE}'

Zkoušel jsem taky použít ChatManager, který mi fungoval dobře, ale pak mi přestal obarvovat chat, bude to asi tim, že mám PermissionsEx na MySQL. Teď mi ale už ani nejde ChatManager, tady na fóru jsem to už řešil, ale nevyřešilo se to proč nejde. Nechce se vůbec spustit, ani když mám v configu: enable:true. Je mi jedno, co z toho půjde, ale chci VIP a Adminy rozlišit od hráčů.
Předem všem moc děkuji.

Uživatelský avatar
zdenda204
Příspěvky: 3617
Věk: 36
Registrován: 23 kvě 2012, 21:38
Reputation: 0

Re: Essentials-chat

#2 Příspěvekod zdenda204 » 13 úno 2013, 18:57

TakŽe ani takto to nejde?
Spoiler: zobrazit

Kód: Vybrat vše

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.
  # If set to the default chat format which "should" be compatible with ichat.
  # For more information of chat formatting, check out the wiki: http://wiki.ess3.net/wiki/Chat_Formatting 

  #format: '&b[&a{WORLDNAME}&b] [FACTION]&1 {DISPLAYNAME}&a->&f {MESSAGE}'
  #format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'

  group-formats:
  Hrac: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&f {MESSAGE}'
  Admin: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&b {MESSAGE}'
  Majitel: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&b {MESSAGE}'
  Stavitel: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&b {MESSAGE}'
  Pomocnik: '[&a{WORLDNAME}&f] [FACTION] {DISPLAYNAME}&5->&b {MESSAGE}'

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


Zkus u prefixu něco v tomto stylu &2[Admin]&1
Přijímám zakázky na skripty/pluginy v PHP/Javě za malý poplatky! A kup mi sušenku :) Obrázek Obrázek
⇨Projekt Market⇦

cz_martin_k
Příspěvky: 478
Registrován: 12 kvě 2012, 17:54
Reputation: 0

Re: Essentials-chat

#3 Příspěvekod cz_martin_k » 13 úno 2013, 19:02

Ne, to se ten chat pak rozhodí. Já to udělám a dám sem screen.

//Edit:
Já vím, že bych si měl na toto založit nové téma, ale mě se to zná zbytečné. Nevíš z jakého pluginu je příkaz /s <jménohráče>?
Protože toto dělají u mne na serveru a tim může někdo portnout na sebe hráče. A teď to někdo dělá a všechny kiluje.
Přílohy
chat.png
chat.png (17.01 KiB) Zobrazeno 2196 x


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 31 hostů