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]Chat


Rekomendowane odpowiedzi

Opublikowano

Witam.

Zainstalowałem plugin factions i mcore. I format wiadomości jest taki: <[RANGA]nick> Treść. Chciałbym aby znikły te "<" przed rangą i po nicku. Bardzo proszę o pomoc, ponieważ psuję to ogólną estetykę chatu. :/

 

Opublikowano

Posiadasz jakiś plugin od czatu, czy tylko podstawowy EssentialsChat?

W przypadku EssentialsChat wklej tu fragment pliku config.yml gdzie jest konfiguracja EssentialsChat.

Jeśli masz inny plugin od czatu wklej mi tu jego config.

 

Dobrze by było jeśli wkleisz jeszcze plik konfiguracyjny factions.

Pomagam w tworzeniu for IPB za darmo. Trzy letnie doświadczenie.

Opublikowano

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

Config Factions

{
  "serverid": "9b425b30-6f5d-4817-8435-9338ce829323",
  "dburi": "default",
  "alias2uri": {
    "default": "flatfile",
    "flatfile": "flatfile://mstore",
    "mongodb": "mongodb://localhost:27017/mstore"
  }
}

Zaznaczę też, że gdy pluginu Factions nie ma wszystko działa poprawnie. Nie posiadam więcej pluginów na chat prócz essentialschat.

Opublikowano

Config EssentialsChat oraz factions jest ok.

Wklej resztę plików z folderu factions

Pomagam w tworzeniu for IPB za darmo. Trzy letnie doświadczenie.

Opublikowano
{
  "name": "WarZone",
  "description": "Not the safest place to be",
  "createdAtMillis": 1388244884557,
  "open": false,
  "flags": {
    "PERMANENT": true,
    "PEACEFUL": true,
    "INFPOWER": true,
    "POWERLOSS": true,
    "PVP": true,
    "FRIENDLYFIRE": true,
    "MONSTERS": true,
    "EXPLOSIONS": true,
    "OFFLINE_EXPLOSIONS": true,
    "FIRESPREAD": true,
    "ENDERGRIEF": true
  },
  "perms": {
    "BUILD": [
      "LEADER",
      "OFFICER",
      "MEMBER",
      "ALLY"
    ],
    "PAINBUILD": [],
    "DOOR": [
      "NEUTRAL",
      "RECRUIT",
      "ENEMY",
      "OFFICER",
      "TRUCE",
      "LEADER",
      "ALLY",
      "MEMBER"
    ],
    "BUTTON": [
      "NEUTRAL",
      "RECRUIT",
      "ENEMY",
      "OFFICER",
      "TRUCE",
      "LEADER",
      "ALLY",
      "MEMBER"
    ],
    "LEVER": [
      "NEUTRAL",
      "RECRUIT",
      "ENEMY",
      "OFFICER",
      "TRUCE",
      "LEADER",
      "ALLY",
      "MEMBER"
    ],
    "CONTAINER": [
      "NEUTRAL",
      "RECRUIT",
      "ENEMY",
      "OFFICER",
      "TRUCE",
      "LEADER",
      "ALLY",
      "MEMBER"
    ],
    "INVITE": [
      "LEADER",
      "OFFICER"
    ],
    "KICK": [
      "LEADER",
      "OFFICER"
    ],
    "SETHOME": [
      "LEADER",
      "OFFICER"
    ],
    "WITHDRAW": [
      "LEADER",
      "OFFICER"
    ],
    "TERRITORY": [
      "OFFICER",
      "LEADER",
      "MEMBER"
    ],
    "ACCESS": [
      "LEADER",
      "OFFICER"
    ],
    "DISBAND": [
      "LEADER"
    ],
    "PERMS": [
      "LEADER"
    ]
  }
}
{
  "name": "§2Wilderness",
  "createdAtMillis": 1388244884551,
  "open": false,
  "flags": {
    "PERMANENT": true,
    "PEACEFUL": false,
    "INFPOWER": true,
    "POWERLOSS": true,
    "PVP": true,
    "FRIENDLYFIRE": false,
    "MONSTERS": true,
    "EXPLOSIONS": true,
    "OFFLINE_EXPLOSIONS": true,
    "FIRESPREAD": true,
    "ENDERGRIEF": true
  },
  "perms": {
    "BUILD": [
      "NEUTRAL",
      "RECRUIT",
      "ENEMY",
      "OFFICER",
      "TRUCE",
      "LEADER",
      "ALLY",
      "MEMBER"
    ],
    "PAINBUILD": [],
    "DOOR": [
      "NEUTRAL",
      "RECRUIT",
      "ENEMY",
      "OFFICER",
      "TRUCE",
      "LEADER",
      "ALLY",
      "MEMBER"
    ],
    "BUTTON": [
      "NEUTRAL",
      "RECRUIT",
      "ENEMY",
      "OFFICER",
      "TRUCE",
      "LEADER",
      "ALLY",
      "MEMBER"
    ],
    "LEVER": [
      "NEUTRAL",
      "RECRUIT",
      "ENEMY",
      "OFFICER",
      "TRUCE",
      "LEADER",
      "ALLY",
      "MEMBER"
    ],
    "CONTAINER": [
      "NEUTRAL",
      "RECRUIT",
      "ENEMY",
      "OFFICER",
      "TRUCE",
      "LEADER",
      "ALLY",
      "MEMBER"
    ],
    "INVITE": [
      "LEADER",
      "OFFICER"
    ],
    "KICK": [
      "LEADER",
      "OFFICER"
    ],
    "SETHOME": [
      "LEADER",
      "OFFICER"
    ],
    "WITHDRAW": [
      "LEADER",
      "OFFICER"
    ],
    "TERRITORY": [
      "LEADER",
      "OFFICER"
    ],
    "ACCESS": [
      "LEADER",
      "OFFICER"
    ],
    "DISBAND": [
      "LEADER"
    ],
    "PERMS": [
      "LEADER"
    ]
  }
}
{
  "name": "SafeZone",
  "description": "Free from PVP and monsters",
  "createdAtMillis": 1388244884554,
  "open": false,
  "flags": {
    "PERMANENT": true,
    "PEACEFUL": true,
    "INFPOWER": true,
    "POWERLOSS": false,
    "PVP": false,
    "FRIENDLYFIRE": false,
    "MONSTERS": false,
    "EXPLOSIONS": false,
    "OFFLINE_EXPLOSIONS": false,
    "FIRESPREAD": false,
    "ENDERGRIEF": false
  },
  "perms": {
    "BUILD": [
      "LEADER",
      "OFFICER",
      "MEMBER",
      "ALLY"
    ],
    "PAINBUILD": [],
    "DOOR": [
      "NEUTRAL",
      "RECRUIT",
      "ENEMY",
      "OFFICER",
      "TRUCE",
      "LEADER",
      "ALLY",
      "MEMBER"
    ],
    "BUTTON": [
      "NEUTRAL",
      "RECRUIT",
      "ENEMY",
      "OFFICER",
      "TRUCE",
      "LEADER",
      "ALLY",
      "MEMBER"
    ],
    "LEVER": [
      "NEUTRAL",
      "RECRUIT",
      "ENEMY",
      "OFFICER",
      "TRUCE",
      "LEADER",
      "ALLY",
      "MEMBER"
    ],
    "CONTAINER": [
      "NEUTRAL",
      "RECRUIT",
      "ENEMY",
      "OFFICER",
      "TRUCE",
      "LEADER",
      "ALLY",
      "MEMBER"
    ],
    "INVITE": [
      "LEADER",
      "OFFICER"
    ],
    "KICK": [
      "LEADER",
      "OFFICER"
    ],
    "SETHOME": [
      "LEADER",
      "OFFICER"
    ],
    "WITHDRAW": [
      "LEADER",
      "OFFICER"
    ],
    "TERRITORY": [
      "OFFICER",
      "LEADER",
      "MEMBER"
    ],
    "ACCESS": [
      "LEADER",
      "OFFICER"
    ],
    "DISBAND": [
      "LEADER"
    ],
    "PERMS": [
      "LEADER"
    ]
  }
}
{
  "aliasesF": [
    "f"
  ],
  "taskPlayerPowerUpdateMinutes": 1.0,
  "taskPlayerDataRemoveMinutes": 5.0,
  "taskEconLandRewardMinutes": 20.0,
  "removePlayerDataWhenBanned": true,
  "removePlayerDataAfterInactiveDays": 20.0,
  "radiusClaimFailureLimit": 9,
  "radiusClaimRadiusLimit": 5,
  "chatSetFormat": false,
  "chatSetFormatAt": "LOWEST",
  "chatSetFormatTo": "<{factions_relcolor}§l{factions_roleprefix}§r{factions_relcolor}{factions_name|rp}§f%1$s> %2$s",
  "chatParseTags": true,
  "chatParseTagsAt": "LOW",
  "herochatFactionName": "Faction",
  "herochatFactionNick": "F",
  "herochatFactionFormat": "{color}[&l{nick}&r{color} &l{factions_roleprefix}&r{color}{factions_title|rp}{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 {factions_relcolor}&l{factions_roleprefix}&r{factions_relcolor}{factions_name|rp}{sender}{color}] &f{msg}",
  "herochatAlliesColor": "DARK_PURPLE",
  "herochatAlliesDistance": 0,
  "herochatAlliesIsShortcutAllowed": false,
  "herochatAlliesCrossWorld": true,
  "herochatAlliesMuted": false,
  "herochatAlliesWorlds": [],
  "colorMember": "GREEN",
  "colorAlly": "DARK_PURPLE",
  "colorTruce": "LIGHT_PURPLE",
  "colorNeutral": "WHITE",
  "colorEnemy": "RED",
  "colorNoPVP": "GOLD",
  "colorFriendlyFire": "DARK_RED",
  "prefixLeader": "**",
  "prefixOfficer": "*",
  "prefixMember": "+",
  "prefixRecruit": "-",
  "playersWhoBypassAllProtection": [],
  "worldsNoClaiming": [],
  "worldsNoPowerLoss": [],
  "worldsIgnorePvP": [],
  "handleExploitObsidianGenerators": true,
  "handleExploitEnderPearlClipping": true,
  "handleExploitTNTWaterlog": false,
  "logFactionCreate": true,
  "logFactionDisband": true,
  "logFactionJoin": true,
  "logFactionKick": true,
  "logFactionLeave": true,
  "logLandClaims": true,
  "logLandUnclaims": true,
  "logMoneyTransactions": true,
  "logPlayerCommands": true,
  "materialsEditOnInteract": [
    "DIODE_BLOCK_OFF",
    "DIODE_BLOCK_ON",
    "NOTE_BLOCK",
    "CAULDRON",
    "SOIL"
  ],
  "materialsEditTools": [
    "FIREBALL",
    "FLINT_AND_STEEL",
    "BUCKET",
    "WATER_BUCKET",
    "LAVA_BUCKET"
  ],
  "materialsDoor": [
    "WOODEN_DOOR",
    "TRAP_DOOR",
    "FENCE_GATE"
  ],
  "materialsContainer": [
    "DISPENSER",
    "CHEST",
    "FURNACE",
    "BURNING_FURNACE",
    "JUKEBOX",
    "BREWING_STAND",
    "ENCHANTMENT_TABLE",
    "ANVIL",
    "BEACON",
    "TRAPPED_CHEST",
    "HOPPER",
    "DROPPER"
  ],
  "entityTypesMonsters": [
    "BLAZE",
    "CAVE_SPIDER",
    "CREEPER",
    "ENDERMAN",
    "ENDER_DRAGON",
    "GHAST",
    "GIANT",
    "MAGMA_CUBE",
    "PIG_ZOMBIE",
    "SILVERFISH",
    "SKELETON",
    "SLIME",
    "SPIDER",
    "WITCH",
    "WITHER",
    "ZOMBIE"
  ]
}
{
  "enabled": true,
  "factionIdNone": "e6063cc6-f53b-476e-83ae-1d5b8661f7fa",
  "factionIdSafezone": "eea3521b-22c5-4cbc-a035-704ef438cb47",
  "factionIdWarzone": "4a90d62f-e7dd-420f-986f-4af82203ed29",
  "defaultPlayerFactionId": "e6063cc6-f53b-476e-83ae-1d5b8661f7fa",
  "defaultPlayerRole": "RECRUIT",
  "defaultPlayerPower": 0.0,
  "defaultFactionOpen": false,
  "defaultFactionFlags": {
    "PERMANENT": false,
    "PEACEFUL": false,
    "INFPOWER": false,
    "POWERLOSS": true,
    "PVP": true,
    "FRIENDLYFIRE": false,
    "MONSTERS": true,
    "EXPLOSIONS": true,
    "OFFLINE_EXPLOSIONS": false,
    "FIRESPREAD": true,
    "ENDERGRIEF": false
  },
  "defaultFactionPerms": {
    "BUILD": [
      "LEADER",
      "OFFICER",
      "MEMBER",
      "ALLY"
    ],
    "PAINBUILD": [],
    "DOOR": [
      "LEADER",
      "OFFICER",
      "MEMBER",
      "RECRUIT",
      "ALLY"
    ],
    "BUTTON": [
      "LEADER",
      "OFFICER",
      "MEMBER",
      "RECRUIT",
      "ALLY"
    ],
    "LEVER": [
      "LEADER",
      "OFFICER",
      "MEMBER",
      "RECRUIT",
      "ALLY"
    ],
    "CONTAINER": [
      "LEADER",
      "OFFICER",
      "MEMBER"
    ],
    "INVITE": [
      "LEADER",
      "OFFICER"
    ],
    "KICK": [
      "LEADER",
      "OFFICER"
    ],
    "SETHOME": [
      "LEADER",
      "OFFICER"
    ],
    "WITHDRAW": [
      "LEADER",
      "OFFICER"
    ],
    "TERRITORY": [
      "LEADER",
      "OFFICER"
    ],
    "ACCESS": [
      "LEADER",
      "OFFICER"
    ],
    "DISBAND": [
      "LEADER"
    ],
    "PERMS": [
      "LEADER"
    ]
  },
  "powerMax": 10.0,
  "powerMin": 0.0,
  "powerPerHour": 2.0,
  "powerPerDeath": -2.0,
  "canLeaveWithNegativePower": true,
  "factionMemberLimit": 0,
  "factionPowerMax": 0.0,
  "factionNameLengthMin": 3,
  "factionNameLengthMax": 16,
  "factionNameForceUpperCase": false,
  "claimsMustBeConnected": true,
  "claimingFromOthersAllowed": true,
  "claimsCanBeUnconnectedIfOwnedByOtherFaction": false,
  "claimsRequireMinFactionMembers": 1,
  "claimedLandsMax": 0,
  "homesEnabled": true,
  "homesMustBeInClaimedTerritory": true,
  "homesTeleportCommandEnabled": true,
  "homesTeleportAllowedFromEnemyTerritory": true,
  "homesTeleportAllowedFromDifferentWorld": true,
  "homesTeleportAllowedEnemyDistance": 32.0,
  "homesTeleportIgnoreEnemiesIfInOwnTerritory": true,
  "homesTeleportToOnDeathActive": false,
  "homesTeleportToOnDeathPriority": "NORMAL",
  "permanentFactionsDisableLeaderPromotion": false,
  "actionDeniedPainAmount": 2.0,
  "disablePVPForFactionlessPlayers": false,
  "enablePVPAgainstFactionlessInAttackersLand": false,
  "territoryShieldFactor": 0.3,
  "denyCommandsPermanentFactionMember": [],
  "denyCommandsTerritoryRelation": {
    "ENEMY": [
      "home",
      "sethome",
      "tpahere",
      "tpaccept",
      "tpa",
      "warp",
      "warps",
      "spawn",
      "wtp",
      "uspawn",
      "utp",
      "mspawn",
      "mtp",
      "fspawn",
      "ftp",
      "jspawn",
      "jtp"
    ],
    "NEUTRAL": [],
    "TRUCE": [],
    "ALLY": [],
    "MEMBER": []
  },
  "lwcRemoveOnChange": {
    "BUY": false,
    "SELL": false,
    "CONQUER": false,
    "PILLAGE": false
  },
  "econEnabled": false,
  "econLandReward": 0.0,
  "econUniverseAccount": "",
  "econChunkCost": {
    "BUY": 30.0,
    "SELL": -20.0,
    "CONQUER": -10.0,
    "PILLAGE": -10.0
  },
  "econCostCreate": 200.0,
  "econCostSethome": 0.0,
  "econCostJoin": 0.0,
  "econCostLeave": 0.0,
  "econCostKick": 0.0,
  "econCostInvite": 0.0,
  "econCostDeinvite": 0.0,
  "econCostHome": 0.0,
  "econCostName": 0.0,
  "econCostDescription": 0.0,
  "econCostTitle": 0.0,
  "econCostOpen": 0.0,
  "econRelCost": {
    "ENEMY": 0.0,
    "ALLY": 0.0,
    "TRUCE": 0.0,
    "NEUTRAL": 0.0
  },
  "bankEnabled": true,
  "bankFactionPaysCosts": true,
  "bankFactionPaysLandCosts": true
}

To są wszystkie pliki należące do factions.

Opublikowano

Prosze, napisz czy działa :).

 

{
  "aliasesF": [
    "f"
  ],
  "taskPlayerPowerUpdateMinutes": 1.0,
  "taskPlayerDataRemoveMinutes": 5.0,
  "taskEconLandRewardMinutes": 20.0,
  "removePlayerDataWhenBanned": true,
  "removePlayerDataAfterInactiveDays": 20.0,
  "radiusClaimFailureLimit": 9,
  "radiusClaimRadiusLimit": 5,
  "chatSetFormat": false,
  "chatSetFormatAt": "LOWEST",
  "chatSetFormatTo": "{factions_relcolor}§l{factions_roleprefix}§r{factions_relcolor}{factions_name|rp}§f%1$s %2$s",
  "chatParseTags": true,
  "chatParseTagsAt": "LOW",
  "herochatFactionName": "Faction",
  "herochatFactionNick": "F",
  "herochatFactionFormat": "{color}[&l{nick}&r{color} &l{factions_roleprefix}&r{color}{factions_title|rp}{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 {factions_relcolor}&l{factions_roleprefix}&r{factions_relcolor}{factions_name|rp}{sender}{color}] &f{msg}",
  "herochatAlliesColor": "DARK_PURPLE",
  "herochatAlliesDistance": 0,
  "herochatAlliesIsShortcutAllowed": false,
  "herochatAlliesCrossWorld": true,
  "herochatAlliesMuted": false,
  "herochatAlliesWorlds": [],
  "colorMember": "GREEN",
  "colorAlly": "DARK_PURPLE",
  "colorTruce": "LIGHT_PURPLE",
  "colorNeutral": "WHITE",
  "colorEnemy": "RED",
  "colorNoPVP": "GOLD",
  "colorFriendlyFire": "DARK_RED",
  "prefixLeader": "**",
  "prefixOfficer": "*",
  "prefixMember": "+",
  "prefixRecruit": "-",
  "playersWhoBypassAllProtection": [],
  "worldsNoClaiming": [],
  "worldsNoPowerLoss": [],
  "worldsIgnorePvP": [],
  "handleExploitObsidianGenerators": true,
  "handleExploitEnderPearlClipping": true,
  "handleExploitTNTWaterlog": false,
  "logFactionCreate": true,
  "logFactionDisband": true,
  "logFactionJoin": true,
  "logFactionKick": true,
  "logFactionLeave": true,
  "logLandClaims": true,
  "logLandUnclaims": true,
  "logMoneyTransactions": true,
  "logPlayerCommands": true,
  "materialsEditOnInteract": [
    "DIODE_BLOCK_OFF",
    "DIODE_BLOCK_ON",
    "NOTE_BLOCK",
    "CAULDRON",
    "SOIL"
  ],
  "materialsEditTools": [
    "FIREBALL",
    "FLINT_AND_STEEL",
    "BUCKET",
    "WATER_BUCKET",
    "LAVA_BUCKET"
  ],
  "materialsDoor": [
    "WOODEN_DOOR",
    "TRAP_DOOR",
    "FENCE_GATE"
  ],
  "materialsContainer": [
    "DISPENSER",
    "CHEST",
    "FURNACE",
    "BURNING_FURNACE",
    "JUKEBOX",
    "BREWING_STAND",
    "ENCHANTMENT_TABLE",
    "ANVIL",
    "BEACON",
    "TRAPPED_CHEST",
    "HOPPER",
    "DROPPER"
  ],
  "entityTypesMonsters": [
    "BLAZE",
    "CAVE_SPIDER",
    "CREEPER",
    "ENDERMAN",
    "ENDER_DRAGON",
    "GHAST",
    "GIANT",
    "MAGMA_CUBE",
    "PIG_ZOMBIE",
    "SILVERFISH",
    "SKELETON",
    "SLIME",
    "SPIDER",
    "WITCH",
    "WITHER",
    "ZOMBIE"
  ]
}

Pomagam w tworzeniu for IPB za darmo. Trzy letnie doświadczenie.

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...