Drop exp_legacy player data that inventory_sync covers (#491)

Inventory sync already stores the player colour, tag, quickbar and alt
view (game view settings), so the legacy alt-view, quickbar and tag
modules and the colour persistence are removed along with
/save-quickbar and its quickbar presets.

The /tag, /tag-color and /tag-clear commands move to exp_scenario and
write player.tag directly, which inventory sync then carries between
servers. /tag-color reads the current text back out of the tag, so it
now needs a tag to be set first. It also used to concatenate the colour
table into the tag and error, it now formats it as rich text.

player-colours keeps giving new players their preset or a random
colour on creation, inventory sync replaces it with the stored one for
anyone who has played before.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
BastiaanandClaude Opus 5.5 authored and GitHub committed 2026-10-11 18:29:11 +01:00
1 parent 1c5c9909cc
commit 11ccee572b
17 files changed
+103 -286

No files matched your search

-18
View File
@@ -23,31 +23,13 @@ message-set=Your join message has been updated.
message-get=Your join message is: __1__
message-cleared=Your join message has been cleared.
[quickbar]
saved=Your quickbar filters have been saved.
[exp-settings]
Colour=Colour
Colour-tooltip=Your player colour
Colour-value-tooltip=Change by using /color
JoinMessage=Join Message
JoinMessage-tooltip=The message displayed when you join
JoinMessage-value-tooltip=Change by using /join-message
QuickbarFilters=Quickbar Filters
QuickbarFilters-tooltip=The filters on your quickbar
QuickbarFilters-value-tooltip=Change by using /save-quickbar
UsesAlt=Alt View
UsesAlt-tooltip=Whether you use alt view when you play
UsesAlt-value-tooltip=Change by pressing __CONTROL__show-info__
UsesServerUps=Server UPS
UsesServerUps-tooltip=Whether the current server UPS is shown
UsesServerUps-value-tooltip=Change by using /server-ups
Tag=Player Tag
Tag-tooltip=The tag shown after your name
Tag-value-tooltip=Change by using /tag
TagColor=Player Tag color
TagColor-tooltip=The color of the tag shown after your name
TagColor-value-tooltip=Change by using /tag-color
Bonus=Player Bonus
Bonus-tooltip=The bonus given to your character
Bonus-value-tooltip=Change by using /bonus
-18
View File
@@ -23,31 +23,13 @@ message-set=你的加入信息已更新。
message-get=你的加入信息為: __1__
message-cleared=你的加入信息已清除。
[quickbar]
saved=你的工具列已儲存。
[exp-settings]
Colour=顏色
Colour-tooltip=你的人物顏色
Colour-value-tooltip=使用 /color 來更換你的人物顏色
JoinMessage=加入信息
JoinMessage-tooltip=你加入時所顯示的信息
JoinMessage-value-tooltip=使用 /join-message 來更換加入信息
QuickbarFilters=快捷欄
QuickbarFilters-tooltip=快捷欄的選項
QuickbarFilters-value-tooltip=使用 /save-quickbar 來更換快捷欄的選項
UsesAlt=細節模式
UsesAlt-tooltip=你加入時是否使用細節模式
UsesAlt-value-tooltip=按下 __CONTROL__show-info__ 來更改
UsesServerUps=服務器更新數 (SUPS)
UsesServerUps-tooltip=現在是否顯示服務器更新數 (SUPS)
UsesServerUps-value-tooltip=使用 /server-ups 來更換顯示
Tag=你的人物標籤
Tag-tooltip=你的人物標籤
Tag-value-tooltip=使用 /tag 來更換你的人物標籤
TagColor=人物標籤顏色
TagColor-tooltip=你的人物標籤顏色
TagColor-value-tooltip=使用 /tag-color 來更換你的人物標籤顏色
Bonus=人物附加屬性
Bonus-tooltip=你的人物附加屬性
Bonus-value-tooltip=使用 /bonus 來更改
-18
View File
@@ -23,31 +23,13 @@ message-set=你的加入信息已更新。
message-get=你的加入信息為: __1__
message-cleared=你的加入信息已清除。
[quickbar]
saved=你的工具列已儲存。
[exp-settings]
Colour=顏色
Colour-tooltip=你的人物顏色
Colour-value-tooltip=使用 /color 來更換你的人物顏色
JoinMessage=加入信息
JoinMessage-tooltip=你加入時所顯示的信息
JoinMessage-value-tooltip=使用 /join-message 來更換加入信息
QuickbarFilters=快捷欄
QuickbarFilters-tooltip=快捷欄的選項
QuickbarFilters-value-tooltip=使用 /save-quickbar 來更換快捷欄的選項
UsesAlt=細節模式
UsesAlt-tooltip=你加入時是否使用細節模式
UsesAlt-value-tooltip=按下 __CONTROL__show-info__ 來更改
UsesServerUps=服務器更新數 (SUPS)
UsesServerUps-tooltip=現在是否顯示服務器更新數 (SUPS)
UsesServerUps-value-tooltip=使用 /server-ups 來更換顯示
Tag=你的人物標籤
Tag-tooltip=你的人物標籤
Tag-value-tooltip=使用 /tag 來更換你的人物標籤
TagColor=人物標籤顏色
TagColor-tooltip=你的人物標籤顏色
TagColor-value-tooltip=使用 /tag-color 來更換你的人物標籤顏色
Bonus=人物附加屬性
Bonus-tooltip=你的人物附加屬性
Bonus-value-tooltip=使用 /bonus 來更改