[HELP] Afficher la faction de le chat

  • Auteur de la discussion Auteur de la discussion Artyx
  • Date de début Date de début
Enfaites c'est assez simple une fois que l'on sait comment faire, rend toi ici: "/mstore/factions_mconf/" (Attention le fichier mstore n'est pas dans le dossier plugin, il est bien situé a la racine du fichier serveur !) ensuite ouvre le fichier "instance.json" et rend toi aux lignes: 12 et 15 ("chatSetFormat": et "chatParseTags") et mets les 2 sur "true," normalement ça devrait fonctionner ! ;)

Il n'a pas mstore, il a dit qu'il n'utilise pas MCore
 
Il n'a pas mstore, il a dit qu'il n'utilise pas MCore


Oui mais justement, si tu utlise Mcore, tu auras un dossier "mcore" situé dans "(fichier de ton serveur)/plugins/mcore" mais un aussi un fichier mstore situé dans "(fichier de ton serveur)/mstore" ! :cool:
 
ça se config dans essentials chat pardis !

Plugins > Essneitals > config.yml
Tu cherche

"############################################################
# +------------------------------------------------------+ #
# | 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:
# Default: '{DISPLAYNAME}&7:&r {MESSAGE}'
# Admins: '&c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'

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


Tu édite
" #format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}' "

Et si tu as installer faction,
Tu aura je crois {FACTION} ou un truc du genre !