Ah merci bien, je cherchais ces commandes depuis un bon bout de temps, un grand merci
Du coup j'en profite
:
Je suis sur Spigot 1.8. Le soucis, c'est que quand je parle dans le chat, je n'ai pas la couleur de ma faction. Je sais pas si je suis assez clair, en gros quand tu met ennemy une faction, le nom de leur faction apparaît en rouge dans le chat, ma faction apparaît en vert et les ally en violet (pour les couleurs de bases, je sais que certain change). Du coup dans la config de Faction j'ai mis "chatParseTagsColored": true (au lieu de False) . Et mon problème est résolut ! Je vois toutes les couleurs ! Sauf que quand je parle j'obtiens deux messages au lieu de un x) . Un sans les couleurs, et un avec les couleurs.
Pour mieux comprendre je te donne deux exemples :
- Sans la modif, quand parle dans le chat ça donne çà :
"Faction
Grade Pseudo msg"
(Le nom de ma faction n'est pas en couleur)
- Avec la modification j'obtient çà :
Faction
Grade Pseudo msg
Faction Grade Pseudo msg
(Le message est doublé, et la couleur ce met sur la deuxième ligne mais pas là première)
-----------------------------------------------------------------------------
J'utilise Essentials Chat, voici la config :
format: '<{DISPLAYNAME}> {MESSAGE}'
#format: '&7[{GROUP}]&r{DISPLAYNAME}&7:&r {MESSAGE}'
------------------------------------------------------------------------------
J'utilise Faction, voici la config complète :
{
"colorMember": "GREEN",
"colorAlly": "DARK_PURPLE",
"colorTruce": "LIGHT_PURPLE",
"colorNeutral": "WHITE",
"colorEnemy": "RED",
"colorNoPVP": "GOLD",
"colorFriendlyFire": "DARK_RED",
"factionFlagDefaults": {
"PERMANENT": false,
"PEACEFUL": false,
"INFPOWER": false,
"POWERLOSS": true,
"PVP": true,
"FRIENDLYFIRE": false,
"MONSTERS": true,
"EXPLOSIONS": true,
"FIRESPREAD": true,
"ENDERGRIEF": false
},
"factionPermDefaults": {
"BUILD": [
"RECRUIT",
"OFFICER",
"ALLY",
"MEMBER",
"LEADER"
],
"PAINBUILD": [],
"DOOR": [
"RECRUIT",
"OFFICER",
"ALLY",
"MEMBER",
"LEADER"
],
"BUTTON": [
"RECRUIT",
"OFFICER",
"ALLY",
"MEMBER",
"LEADER"
],
"LEVER": [
"RECRUIT",
"OFFICER",
"ALLY",
"MEMBER",
"LEADER"
],
"CONTAINER": [
"OFFICER",
"MEMBER",
"LEADER"
],
"INVITE": [
"OFFICER",
"LEADER"
],
"KICK": [
"OFFICER",
"LEADER"
],
"SETHOME": [
"OFFICER",
"LEADER"
],
"WITHDRAW": [
"OFFICER",
"LEADER"
],
"TERRITORY": [
"OFFICER",
"LEADER"
],
"CAPE": [
"OFFICER",
"LEADER"
],
"ACCESS": [
"OFFICER",
"LEADER"
],
"DISBAND": [
"LEADER"
],
"PERMS": [
"LEADER"
]
},
"factionRankDefault": "MEMBER",
"powerPlayerMax": 10.0,
"powerPlayerMin": -10.0,
"powerPlayerStarting": 10.0,
"powerPerMinute": 0.2,
"powerPerDeath": 4.0,
"scaleNegativePower": false,
"scaleNegativeDivisor": 40.0,
"powerRegenOffline": false,
"powerOfflineLossPerDay": 0.0,
"powerOfflineLossLimit": 0.0,
"powerFactionMax": 0.0,
"prefixLeader": "**",
"prefixOfficer": "*",
"prefixMember": "",
"prefixRecruit": "",
"factionTagLengthMin": 3,
"factionTagLengthMax": 10,
"factionTagForceUpperCase": false,
"newFactionsDefaultOpen": false,
"factionMemberLimit": 0,
"newPlayerStartingFactionID": "0",
"canLeaveWithNegativePower": true,
"chatSetFormat": true,
"chatSetFormatTo": "<{faction_relcolor}§l{faction_roleprefix}§r{faction_relcolor}{faction_tag_pr}§f%s> %s",
"chatParseTags": true,
"chatParseTagsColored": false,
"chatSingleFormats": {
"pb": " %s ",
"pl": " %s",
"pr": "%s "
},
"chatTagFormat": "%s§f",
"herochatFactionName": "Faction",
"herochatFactionNick": "F",
"herochatFactionFormat": "{color}[&l{nick}&r{color} &l{faction_roleprefix}&r{color}{faction_title_pr}{sender}{color}] &f{msg}",
"herochatFactionColor": "GREEN",
"herochatFactionDistance": 0,
"herochatFactionIsShortcutAllowed": false,
"herochatFactionCrossWorld": true,
"herochatFactionMuted": false,
"herochatFactionWorlds": [],
"herochatAlliesName": "Allies",
"herochatAlliesNick": "A",
"herochatAlliesFormat": "{color}[&l{nick}&r&f {faction_relcolor}&l{faction_roleprefix}&r{faction_relcolor}{faction_tag_pr}{sender}{color}] &f{msg}",
"herochatAlliesColor": "DARK_PURPLE",
"herochatAlliesDistance": 0,
"herochatAlliesIsShortcutAllowed": false,
"herochatAlliesCrossWorld": true,
"herochatAlliesMuted": false,
"herochatAlliesWorlds": [],
"herochatAllyName": "Allies",
"broadcastDescriptionChanges": false,
"saveToFileEveryXMinutes": 30.0,
"autoLeaveAfterDaysOfInactivity": 10.0,
"autoLeaveRoutineRunsEveryXMinutes": 5.0,
"autoLeaveRoutineMaxMillisecondsPerTick": 5,
"removePlayerDataWhenBanned": true,
"worldGuardChecking": false,
"lwcIntegration": false,
"onUnclaimResetLwcLocks": false,
"onCaptureResetLwcLocks": false,
"logFactionCreate": true,
"logFactionDisband": true,
"logFactionJoin": true,
"logFactionKick": true,
"logFactionLeave": true,
"logLandClaims": true,
"logLandUnclaims": true,
"logMoneyTransactions": true,
"logPlayerCommands": true,
"handleExploitObsidianGenerators": true,
"handleExploitEnderPearlClipping": true,
"handleExploitInteractionSpam": true,
"handleExploitTNTWaterlog": false,
"homesEnabled": true,
"homesMustBeInClaimedTerritory": true,
"homesTeleportToOnDeath": true,
"homesRespawnFromNoPowerLossWorlds": true,
"homesTeleportCommandEnabled": true,
"homesTeleportCommandEssentialsIntegration": true,
"homesTeleportCommandSmokeEffectEnabled": true,
"homesTeleportAllowedFromEnemyTerritory": true,
"homesTeleportAllowedFromDifferentWorld": true,
"homesTeleportAllowedEnemyDistance": 32.0,
"homesTeleportIgnoreEnemiesIfInOwnTerritory": true,
"friendlyFireFromRel": "TRUCE",
"disablePVPForFactionlessPlayers": false,
"enablePVPAgainstFactionlessInAttackersLand": false,
"noPVPDamageToOthersForXSecondsAfterLogin": 3,
"permanentFactionsDisableLeaderPromotion": false,
"claimsMustBeConnected": false,
"claimingFromOthersAllowed": true,
"claimsCanBeUnconnectedIfOwnedByOtherFaction": true,
"claimsRequireMinFactionMembers": 1,
"claimedLandsMax": 0,
"radiusClaimFailureLimit": 9,
"protectOfflineFactionsFromExplosions": false,
"offlineExplosionProtectionDelay": 2.0,
"actionDeniedPainAmount": 2,
"permanentFactionMemberDenyCommands": [],
"territoryNeutralDenyCommands": [],
"territoryEnemyDenyCommands": [
"home",
"sethome",
"spawn",
"tpahere",
"tpaccept",
"tpa",
"warp"
],
"territoryShieldFactor": 0.3,
"pistonProtectionThroughDenyBuild": true,
"spoutFactionTagsOverNames": true,
"spoutFactionTitlesOverNames": true,
"spoutHealthBarUnderNames": true,
"spoutHealthBarLeft": "{c}[",
"spoutHealthBarSolid": "|",
"spoutHealthBarBetween": "&8",
"spoutHealthBarEmpty": "|",
"spoutHealthBarRight": "{c}]",
"spoutHealthBarSolidsPerEmpty": 1.0,
"spoutHealthBarColorTag": "{c}",
"spoutHealthBarWidth": 30,
"spoutHealthBarColorUnderQuota": {
"1.0": "&2",
"0.8": "&a",
"0.5": "&e",
"0.4": "&6",
"0.3": "&c",
"0.2": "&4"
},
"spoutCapes": true,
"spoutTerritoryDisplayPosition": 1,
"spoutTerritoryDisplaySize": 1.0,
"spoutTerritoryDisplayShowDescription": true,
"spoutTerritoryAccessShow": true,
"spoutTerritoryNoticeShow": true,
"spoutTerritoryNoticeTop": 40,
"spoutTerritoryNoticeShowDescription": false,
"spoutTerritoryNoticeSize": 1.5,
"spoutTerritoryNoticeLeaveAfterSeconds": 2.0,
"econEnabled": false,
"econUniverseAccount": "",
"econCostClaimWilderness": 30.0,
"econCostClaimFromFactionBonus": 30.0,
"econClaimAdditionalMultiplier": 0.5,
"econClaimRefundMultiplier": 0.7,
"econClaimUnconnectedFee": 0.0,
"econCostCreate": 100.0,
"econCostSethome": 30.0,
"econCostJoin": 0.0,
"econCostLeave": 0.0,
"econCostKick": 0.0,
"econCostInvite": 0.0,
"econCostHome": 0.0,
"econCostTag": 0.0,
"econCostDesc": 0.0,
"econCostTitle": 0.0,
"econCostList": 0.0,
"econCostMap": 0.0,
"econCostPower": 0.0,
"econCostShow": 0.0,
"econCostOpen": 0.0,
"econCostAlly": 0.0,
"econCostTruce": 0.0,
"econCostNeutral": 0.0,
"econCostEnemy": 0.0,
"econLandRewardTaskRunsEveryXMinutes": 20,
"econLandReward": 0.0,
"bankEnabled": true,
"bankFactionPaysCosts": true,
"bankFactionPaysLandCosts": true,
"playersWhoBypassAllProtection": [],
"worldsNoClaiming": [],
"worldsNoPowerLoss": [],
"worldsIgnorePvP": []
}
J'espère que le tout est plutôt lisible. Demande moi ce que tu veux si quelque chose est flou ou si tu veux plus d'informations. Encore merci