Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Factions + EssentialsChat


Rekomendowane odpowiedzi

Opublikowano

Tak  jak w topic-u.
 
SSy:
692611400940887636606.png

 

próbowałem wszystkiego w internetach, ale nic nic nie działa.

 

kod essentials chat:

############################################################
# +------------------------------------------------------+ #
# |                   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: '&6{FACTION}&8&l{DISPLAYNAME} &2&l>>&7 {MESSAGE}'

  group-formats:
  #  Default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}'
  #  Admins: '{WORLDNAME} &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.

kod z conf.json:

{
  "baseCommandAliases": [
    "f"
  ],
  "allowNoSlashCommand": false,
  "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": [
      "LEADER",
      "OFFICER",
      "ALLY",
      "MEMBER"
    ],
    "PAINBUILD": [],
    "DOOR": [
      "LEADER",
      "OFFICER",
      "ALLY",
      "MEMBER"
    ],
    "BUTTON": [
      "LEADER",
      "OFFICER",
      "ALLY",
      "MEMBER"
    ],
    "LEVER": [
      "LEADER",
      "OFFICER",
      "ALLY",
      "MEMBER"
    ],
    "CONTAINER": [
      "LEADER",
      "OFFICER",
      "MEMBER"
    ],
    "INVITE": [
      "LEADER",
      "OFFICER"
    ],
    "KICK": [
      "LEADER",
      "OFFICER"
    ],
    "SETHOME": [
      "LEADER",
      "OFFICER"
    ],
    "WITHDRAW": [
      "LEADER",
      "OFFICER"
    ],
    "TERRITORY": [
      "LEADER",
      "OFFICER"
    ],
    "CAPE": [
      "LEADER",
      "OFFICER"
    ],
    "ACCESS": [
      "LEADER",
      "OFFICER"
    ],
    "DISBAND": [
      "LEADER"
    ],
    "PERMS": [
      "LEADER"
    ]
  },
  "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": "Lider",
  "prefixOfficer": "Oficer",
  "factionTagLengthMin": 3,
  "factionTagLengthMax": 12,
  "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": true,
  "chatSingleFormats": {
    "pb": " %s ",
    "pl": " %s",
    "pr": "%s "
  },
  "chatTagFormat": "%s§f",
  "herochatFactionChannelName": "Faction",
  "herochatAllyChannelName": "Allies",
  "autoLeaveAfterDaysOfInactivity": 10.0,
  "autoLeaveRoutineRunsEveryXMinutes": 5.0,
  "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,
  "claimsCanBeUnconnectedIfOwnedByOtherFaction": true,
  "claimsRequireMinFactionMembers": 1,
  "claimedLandsMax": 0,
  "radiusClaimFailureLimit": 9,
  "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,
  "bankEnabled": true,
  "bankFactionPaysCosts": true,
  "bankFactionPaysLandCosts": true,
  "playersWhoBypassAllProtection": [],
  "worldsNoClaiming": [],
  "worldsNoPowerLoss": [],
  "worldsIgnorePvP": []
}

prosze o szybka odpowiedź. PS musi być EssentialsChat

sygna.png

Opublikowano

Jaką masz wersje factions? Bo w nowszych jakoś inaczej się chyba ustawiało

 

 

@Edit

To chyba to

"chatSetFormatTo": "[{faction_relcolor}§l{faction_roleprefix}§r{faction_relcolor}{faction_tag_pr}f%s] %s",
=

 

Opublikowano

Aby nie mieć tego błędu zainstaluj starszy essentialschat albo usuń te [{faction_relcolor}§l{faction_roleprefix}§r{faction_relcolor}{faction_tag_pr}

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...