Stránka 1 z 1

Návod: Jak nastavit barevné psaní skupinám - EssentialsChat

Napsal: 09 dub 2015, 23:41
od mannyvee
Úvod
- Tento plugin slouží k nastavení barevného psaní v chatu pro různé skupiny (Vip, ExtraVip, Helper, Admin, atd..)
- Pokud nepoužíváte plugin Essentials, tak tento návod není pro Vás!
( Tento návod byl napsán k večeru, proto Vás prosím, veškeré chyby mi hlaště, opravím/přidám. Děkuji :D )

Download
- Plugin Essentials: http://dev.bukkit.org/bukkit-plugins/essentials/
- Plugin EssentialsChat najdete přímo v PluginManageru v sekci "Admin Tools".

Návod
- Pokud jste přidali oba pluginy na server, pokračujte ve čtení.
- Po přidání pluginu EssentialsChat by se Vám v configu Essentials měli vytvořit řádky:
Spoiler: zobrazit

Kód: Vybrat vše

############################################################
# +------------------------------------------------------+ #
# |                   EssentialsChat                     | #
# +------------------------------------------------------+ #
############################################################

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: '<{DISPLAYNAME}: {MESSAGE}'
  #format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'

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


- Teď můžete přidávat různé skupiny. Zde máte návod, jak na to:

Spoiler: zobrazit

Kód: Vybrat vše

############################################################
# +------------------------------------------------------+ #
# |                   EssentialsChat                     | #
# +------------------------------------------------------+ #
############################################################

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: '<{DISPLAYNAME}: {MESSAGE}'
  #format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'

  group-formats: #Toto "vytvoří" formátování pro barevné psaní
   Hrac: '{DISPLAYNAME} &7:&f {MESSAGE}' #Zde už jen přidáváte název skupiny a barevnost psaní
   Vip: '{DISPLAYNAME} &7:&6 {MESSAGE}'
   ExtraVip: '{DISPLAYNAME} &7:&a {MESSAGE}'
   Helper: '{DISPLAYNAME} &7:&c {MESSAGE}'   
   Admin: '{DISPLAYNAME} &7:&b {MESSAGE}'
   Majitel: '{DISPLAYNAME} &7:&3 {MESSAGE}'

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


- Jak přidat další skupinu?:
Spoiler: zobrazit

Kód: Vybrat vše

  group-formats:
   <Název_skupiny>: '{DISPLAYNAME} &<barva_dvojtečky>:&<barva_psaní> {MESSAGE}'
=> Hrac: '{DISPLAYNAME} &7:&f {MESSAGE}'
 - Takto můžete přidat libovolný počet skupin a nastavit každé skupině barevné psaní.


Závěr
- Chtěl bych Vám poděkovat za věnování trochu času tomuto návodu, až budu mít čas, vše doopravím/dopřidám.
- Veškeré chyby/neúplňky mi hlaště, díky! ;)
- Pokud si s tím nevíte rady, kontaktujte mě v SZ nebo zde, pod návodém.

Re: Návod: Jak nastavit barevné psaní skupinám - EssentialsC

Napsal: 10 dub 2015, 15:59
od VIPianni
Podotkl bych že pokud uživatelé kteří chtějí používat prefix plus suffix potřebují Plugin PermissionsEX.

Re: Návod: Jak nastavit barevné psaní skupinám - EssentialsC

Napsal: 10 dub 2015, 16:11
od DUCK
vipianni ved ten ma každy

Re: Návod: Jak nastavit barevné psaní skupinám - EssentialsC

Napsal: 10 dub 2015, 16:18
od VIPianni
Najdou se aji tací kteří nevědí vůbec co je to PermissionsEx. :D

Re: Návod: Jak nastavit barevné psaní skupinám - EssentialsC

Napsal: 10 dub 2015, 16:21
od DUCK
tak asi je nebude trápit jak nastavit suffix :D