feat: allow /phome <name> on uniquely named homes

If multiple public homes with the same name exist, typing /phome (name) will bring up a filtered public home list containing the list of public homes with that name for you to click on. The username-prefixed name will also be the only one to show up in TAB.

This commit also fixes a bug with home/warp lists showing a blank description on hover instead of `(none)`.
This commit is contained in:
William committed 2024-03-31 17:40:38 +01:00
1 parent 0135966c6e
commit 4e9046395c
32 files changed
+353 -81

No files matched your search

@@ -142,6 +142,7 @@ locales:
error_no_homes_set: '[错误:](#ff3300) [你还没设置任何家!](#ff7e5e)'
error_no_public_homes_set: '[错误:](#ff3300) [没有任何公共的家!](#ff7e5e)'
error_no_warps_set: '[错误:](#ff3300) [没有任何地标!](#ff7e5e)'
error_unknown_public_home: '[Error:](#ff3300) [Could not find a public home with the name "%1%".](#ff7e5e)'
error_public_home_invalid: '[错误:](#ff3300) [%1% 没有 %2% 公共家.](#ff7e5e)'
error_set_home_maximum_homes: '[错误:](#ff3300) [最多可以设置 %1% 个家!](#ff7e5e)'
error_spawn_not_set: '[错误:](#ff3300) [重生点尚未设置](#ff7e5e)'