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

+9
View File
@@ -146,6 +146,15 @@ description=在聊天中發送多色訊息
arg-message=訊息
response=__1__: __2__
[exp-commands_tag]
description=設定你的玩家標籤。
arg-tag=顯示在你名字後面的標籤,留空以清除。
description-color=設定你的玩家標籤顏色。
arg-color=要使用的顏色名稱。
description-clear=清除你或其他玩家的標籤。
arg-player=要清除標籤的玩家,預設為你。
no-tag=請先使用 /tag 設定標籤。
[exp-commands_ratio]
description=此指令將給出所選機器的輸入和輸出比率。使用此參數來計算每秒處理該數量的物品所需的機器。
arg-items-per-second=物品所需