mirror of
https://github.com/nesquate-mcserver/modpack-server.git
synced 2026-06-06 05:48:55 +00:00
Configurated Styled Chat & Styled Player List
This commit is contained in:
81
config/styled-chat.json
Normal file
81
config/styled-chat.json
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
{
|
||||||
|
"CONFIG_VERSION_DONT_TOUCH_THIS": 3,
|
||||||
|
"_comment": "Before changing anything, see https://github.com/Patbox/StyledChat#configuration",
|
||||||
|
"text_formatting": {
|
||||||
|
"legacy_formatting": true,
|
||||||
|
"parse_links": true,
|
||||||
|
"parse_mentions": true,
|
||||||
|
"markdown": true,
|
||||||
|
"formatting_from_other_mods": true
|
||||||
|
},
|
||||||
|
"auto_completion": {
|
||||||
|
"tags": false,
|
||||||
|
"tag_aliases": false,
|
||||||
|
"emoticons": false
|
||||||
|
},
|
||||||
|
"default": {
|
||||||
|
"display_name": "%luckperms:prefix%${default}",
|
||||||
|
"message_formats": {
|
||||||
|
"chat": "<${player}> ${message}",
|
||||||
|
"joined_the_game": "<yellow><lang:multiplayer.player.joined:'${player}'></yellow>",
|
||||||
|
"joined_after_name_change": "<yellow><lang:multiplayer.player.joined.renamed:'${player}':'${old_name}'></yellow>",
|
||||||
|
"joined_for_first_time": "<yellow><lang:multiplayer.player.joined:'${player}'></yellow>",
|
||||||
|
"left_game": "<yellow><lang:multiplayer.player.left:'${player}'></yellow>",
|
||||||
|
"base_death": "${default_message}",
|
||||||
|
"advancement_task": "<lang:chat.type.advancement.task:'${player}':'${advancement}'>",
|
||||||
|
"advancement_challenge": "<lang:chat.type.advancement.challenge:'${player}':'${advancement}'>",
|
||||||
|
"advancement_goal": "<lang:chat.type.advancement.goal:'${player}':'${advancement}'>",
|
||||||
|
"sent_team_chat": "<lang:'chat.type.team.sent':'<hover\\:\\'<lang\\:chat.type.team.hover>\\'><suggest_command\\:\\'/teammsg \\'>${team}':'${displayName}':'${message}'>",
|
||||||
|
"received_team_chat": "<lang:'chat.type.team.text':'<hover\\:\\'<lang\\:chat.type.team.hover>\\'><suggest_command\\:\\'/teammsg \\'>${team}':'${displayName}':'${message}'>",
|
||||||
|
"sent_private_message": "<gray><italic><lang:commands.message.display.outgoing:'${receiver}':'${message}'>",
|
||||||
|
"received_private_message": "<gray><italic><lang:commands.message.display.incoming:'${sender}':'${message}'>",
|
||||||
|
"say_command": "[${player}] ${message}",
|
||||||
|
"me_command": "<lang:'chat.type.emote':'${player}':'${message}'>",
|
||||||
|
"pet_death": "${default_message}"
|
||||||
|
},
|
||||||
|
"link_style": "<underline><c:#7878ff>${link}",
|
||||||
|
"mention_style": "<c:#7878ff>%player:displayname%",
|
||||||
|
"spoiler_style": "<gray>${spoiler}",
|
||||||
|
"spoiler_symbol": "▌",
|
||||||
|
"formatting": {
|
||||||
|
"dark_red": true,
|
||||||
|
"green": true,
|
||||||
|
"underline": true,
|
||||||
|
"dark_green": true,
|
||||||
|
"black": true,
|
||||||
|
"yellow": true,
|
||||||
|
"bold": true,
|
||||||
|
"italic": true,
|
||||||
|
"dark_blue": true,
|
||||||
|
"dark_purple": true,
|
||||||
|
"gold": true,
|
||||||
|
"red": true,
|
||||||
|
"aqua": true,
|
||||||
|
"gray": true,
|
||||||
|
"light_purple": true,
|
||||||
|
"blue": true,
|
||||||
|
"white": true,
|
||||||
|
"dark_aqua": true,
|
||||||
|
"dark_gray": true,
|
||||||
|
"spoiler": true,
|
||||||
|
"strikethrough": true
|
||||||
|
},
|
||||||
|
"emoticons": {
|
||||||
|
"$emojibase:builtin:joypixels": "${emoji}",
|
||||||
|
"shrug": "¯\\_(ツ)_/¯",
|
||||||
|
"table": "(╯°□°)╯︵ ┻━┻",
|
||||||
|
"sword": "🗡",
|
||||||
|
"bow": "🏹",
|
||||||
|
"trident": "🔱",
|
||||||
|
"rod": "🎣",
|
||||||
|
"potion": "🧪",
|
||||||
|
"shears": "✂",
|
||||||
|
"bucket": "🪣",
|
||||||
|
"bell": "🔔",
|
||||||
|
"item": "[%player:equipment_slot mainhand%]",
|
||||||
|
"pos": "%player:pos_x% %player:pos_y% %player:pos_z%"
|
||||||
|
},
|
||||||
|
"custom_message_types": {}
|
||||||
|
},
|
||||||
|
"styles": []
|
||||||
|
}
|
||||||
20
config/styledplayerlist/config.json
Normal file
20
config/styledplayerlist/config.json
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"config_version": 2,
|
||||||
|
"__comment": "Before changing anything, see https://github.com/Patbox/StyledPlayerList#configuration",
|
||||||
|
"default_style": "default",
|
||||||
|
"messages": {
|
||||||
|
"switch": "Your player list style has been changed to: <gold>${style}</gold>",
|
||||||
|
"unknown": "<red>This style doesn't exist!</red>",
|
||||||
|
"no_permission": "<red>You don't have required permissions!</red>"
|
||||||
|
},
|
||||||
|
"player": {
|
||||||
|
"modify_name": true,
|
||||||
|
"passthrough": false,
|
||||||
|
"hidden": false,
|
||||||
|
"format": "%player:displayname%",
|
||||||
|
"update_on_chat_message": true,
|
||||||
|
"update_tick_time": 20,
|
||||||
|
"styles": []
|
||||||
|
},
|
||||||
|
"client_show_in_singleplayer": true
|
||||||
|
}
|
||||||
50
config/styledplayerlist/styles/default.json
Normal file
50
config/styledplayerlist/styles/default.json
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
{
|
||||||
|
"style_name": "Default",
|
||||||
|
"update_tick_time": 2,
|
||||||
|
"list_header": {
|
||||||
|
"change_rate": 1,
|
||||||
|
"values": [
|
||||||
|
[
|
||||||
|
"<rb:1:1:0>Nesuqate's Server</rb>",
|
||||||
|
"<color:#555555><strikethrough> </strikethrough>[ </color><color:#FF5555>%server:online%<color:#6666676>/</color>%server:max_players%</color><color:#555555> ]<strikethrough> </strikethrough></color>"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"<rb:1:1:0.1>Nesuqate's Server</rb>",
|
||||||
|
"<color:#555555><strikethrough> </strikethrough>[ </color><color:#FF5555>%server:online%<color:#6666676>/</color>%server:max_players%</color><color:#555555> ]<strikethrough> </strikethrough></color>"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"<rb:1:1:0.2>Nesuqate's Server</rb>",
|
||||||
|
"<color:#555555><strikethrough> </strikethrough>[ </color><color:#FF5555>%server:online%<color:#6666676>/</color>%server:max_players%</color><color:#555555> ]<strikethrough> </strikethrough></color>"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"<rb:1:1:0.3>Nesuqate's Server</rb>",
|
||||||
|
"<color:#555555><strikethrough> </strikethrough>[ </color><color:#FF5555>%server:online%<color:#6666676>/</color>%server:max_players%</color><color:#555555> ]<strikethrough> </strikethrough></color>"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"<rb:1:1:0.4>Nesuqate's Server</rb>",
|
||||||
|
"<color:#555555><strikethrough> </strikethrough>[ </color><color:#FF5555>%server:online%<color:#6666676>/</color>%server:max_players%</color><color:#555555> ]<strikethrough> </strikethrough></color>"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"<rb:1:1:0.5>Nesuqate's Server</rb>",
|
||||||
|
"<color:#555555><strikethrough> </strikethrough>[ </color><color:#FF5555>%server:online%<color:#6666676>/</color>%server:max_players%</color><color:#555555> ]<strikethrough> </strikethrough></color>"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"<rb:1:1:0.6>Nesuqate's Server</rb>",
|
||||||
|
"<color:#555555><strikethrough> </strikethrough>[ </color><color:#FF5555>%server:online%<color:#6666676>/</color>%server:max_players%</color><color:#555555> ]<strikethrough> </strikethrough></color>"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"<rb:1:1:0.7>Nesuqate's Server</rb>",
|
||||||
|
"<color:#555555><strikethrough> </strikethrough>[ </color><color:#FF5555>%server:online%<color:#6666676>/</color>%server:max_players%</color><color:#555555> ]<strikethrough> </strikethrough></color>"
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"<rb:1:1:0.8>Nesuqate's Server</rb>",
|
||||||
|
"<color:#555555><strikethrough> </strikethrough>[ </color><color:#FF5555>%server:online%<color:#6666676>/</color>%server:max_players%</color><color:#555555> ]<strikethrough> </strikethrough></color>"
|
||||||
|
]
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"list_footer": [
|
||||||
|
"<color:#555555><strikethrough> </strikethrough></color>",
|
||||||
|
"<gray>TPS: %server:tps_colored% <dark_gray>|</dark_gray> <gray>MSPT: %server:mspt_colored% <dark_gray>|</dark_gray> <gray>Ping: <color:#ffba26>%player:ping%</color>"
|
||||||
|
],
|
||||||
|
"hidden_in_commands": false
|
||||||
|
}
|
||||||
12
index.toml
12
index.toml
@@ -4,6 +4,18 @@ hash-format = "sha256"
|
|||||||
file = "README.md"
|
file = "README.md"
|
||||||
hash = "4fb0cb37de5a6de765958c81c93af543c6c89b69d0fbbf9eda2380c3138101d2"
|
hash = "4fb0cb37de5a6de765958c81c93af543c6c89b69d0fbbf9eda2380c3138101d2"
|
||||||
|
|
||||||
|
[[files]]
|
||||||
|
file = "config/styled-chat.json"
|
||||||
|
hash = "fc67b511f239aaf82dee4480ccce15c29f0870f956ee668a106f2ec25093e540"
|
||||||
|
|
||||||
|
[[files]]
|
||||||
|
file = "config/styledplayerlist/config.json"
|
||||||
|
hash = "b87de7a7b0911989d203f78a034f1ab15d26ee3ac985adc40be9cffa8c27aeff"
|
||||||
|
|
||||||
|
[[files]]
|
||||||
|
file = "config/styledplayerlist/styles/default.json"
|
||||||
|
hash = "7daf3398b2ed1aa1fed812bbad1bde2e99ad7ad34d38fecba23ca1f12d266bdd"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "mods/LuckPerms-Fabric-PlaceholderAPI-Hook.jar"
|
file = "mods/LuckPerms-Fabric-PlaceholderAPI-Hook.jar"
|
||||||
hash = "8725f502a6277a38be066c0c7b8a11a193381c0de8e1f5857debd67f282cbd04"
|
hash = "8725f502a6277a38be066c0c7b8a11a193381c0de8e1f5857debd67f282cbd04"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
|
|||||||
[index]
|
[index]
|
||||||
file = "index.toml"
|
file = "index.toml"
|
||||||
hash-format = "sha256"
|
hash-format = "sha256"
|
||||||
hash = "6353dc7cd09e21939e76325a291c421b4ee97a62556322a78d83034bc7d91f8d"
|
hash = "bf5b937cb2598ea53c687fa33b7c0213c8c6b224b94dfa60d66c14f311493a3f"
|
||||||
|
|
||||||
[versions]
|
[versions]
|
||||||
fabric = "0.14.21"
|
fabric = "0.14.21"
|
||||||
|
|||||||
Reference in New Issue
Block a user