From 4383290c561da682f0be938c4ba56697ff19632d Mon Sep 17 00:00:00 2001 From: Fauli1221 Date: Sat, 13 Apr 2024 20:10:33 +0200 Subject: [PATCH] added styled chat config --- .../config/yosbr/config/styled-chat.json | 81 +++++++++++++++++++ TrotCraft/server/index.toml | 4 + TrotCraft/server/pack.toml | 2 +- 3 files changed, 86 insertions(+), 1 deletion(-) create mode 100644 TrotCraft/server/config/yosbr/config/styled-chat.json diff --git a/TrotCraft/server/config/yosbr/config/styled-chat.json b/TrotCraft/server/config/yosbr/config/styled-chat.json new file mode 100644 index 0000000..f630c1a --- /dev/null +++ b/TrotCraft/server/config/yosbr/config/styled-chat.json @@ -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, + "respect_colors_client_setting": true + }, + "auto_completion": { + "tags": false, + "tag_aliases": false, + "emoticons": false + }, + "default": { + "display_name": "${default}", + "message_formats": { + "chat": "<${player}> ${message}", + "joined_the_game": "", + "joined_after_name_change": "", + "joined_for_first_time": "", + "left_game": "", + "base_death": "${default_message}", + "advancement_task": "", + "advancement_challenge": "", + "advancement_goal": "", + "sent_team_chat": "\\'>${team}':'${displayName}':'${message}'>", + "received_team_chat": "\\'>${team}':'${displayName}':'${message}'>", + "sent_private_message": "", + "received_private_message": "", + "say_command": "[${player}] ${message}", + "me_command": "", + "pet_death": "${default_message}" + }, + "link_style": "${link}", + "mention_style": "%player:displayname%", + "spoiler_style": "${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": [] +} \ No newline at end of file diff --git a/TrotCraft/server/index.toml b/TrotCraft/server/index.toml index 1357fe1..bb7cb93 100644 --- a/TrotCraft/server/index.toml +++ b/TrotCraft/server/index.toml @@ -40,6 +40,10 @@ hash = "7bd0bfb8bea9bf94b23b6fb154bfb0bf252041b43ec49058a0ab726b88dcd9b5" file = "config/yosbr/config/servercore/optimizations.yml" hash = "fbb29b9bf5d8f90f58568cfae7f85220d84465d78d6a4dcbfbe3c15ffd172f8d" +[[files]] +file = "config/yosbr/config/styled-chat.json" +hash = "31ee7982e161c0537d497266d83eb92aa6f20d4f3e7abfff2a07310de42d4fd0" + [[files]] file = "config/yosbr/config/styled-nicknames.json" hash = "b35b762964b545b3e5f9664111844fa562ddb992c0b662d91867dcd4743737bc" diff --git a/TrotCraft/server/pack.toml b/TrotCraft/server/pack.toml index 5a4922e..8183814 100644 --- a/TrotCraft/server/pack.toml +++ b/TrotCraft/server/pack.toml @@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "c130900eebd39dbdccbf10a1f542a634dde114175048d481b7b16a6b7283d906" +hash = "f84411cb24580b68ee4d75d1758c9e36f3c83b282bad2857b11ba99251952aef" [versions] fabric = "0.15.9"