
TP HOME
set home and go home anytime. Commands: /sethome <name> /deletegame <name> /sethomelimit <number> //op /gohome <name> /listhome
5.4K
4
Список изменений
Update Log
sethomelimit Command Enhancements:
- Removed Global Override: The sethomelimit
all option has been removed as per the user's request. - Granular Limit Control: The command now provides more refined control over home limits:
- /sethomelimit
admins: Sets the default home limit for all players with administrator privileges (OP level 2+). - /sethomelimit
regulars: Sets the default home limit for regular players. - /sethomelimit
: Allows setting a specific home limit for an individual player.
- /sethomelimit
- Priority Mechanism:
- The command now adheres to a clear priority for applying limits: Specific Player Limit > Role-Based Limit (Admins/Regulars) > Default (if no specific/role limit is set).
- Feedback messages in-game clarify this priority.
- Impact Notifications: When setting role-based limits (admins or regulars), the system will now inform you how many players have specific limits set and thus will not be affected by the role-based change.
- Offline Player Limitation: Due to observed API limitations in Minecraft 1.21.10 NeoForge regarding reliable
GameProfileCache access for offline players, the /sethomelimit
and /listcustomlimits clear commands currently only support online players.
New listcustomlimits Command for Management:
- A new command, /listcustomlimits, has been added to help manage players with specific home limits:
- /listcustomlimits count: Displays the total number of players who currently have a custom home limit configured.
- /listcustomlimits view
: Shows a paginated list of players with custom limits. For online players, their current role (Admin/Regular) is displayed. For offline players, their role is listed as "Unknown (Offline)" due to API constraints in determining their OP status when not online. - /listcustomlimits clear
: Removes a custom limit previously set for a specific player (currently supports online players only). - /listcustomlimits clearrange
: Allows for batch removal of custom limits for players within a specified range from the view list.
Backend Refactoring (HomeStorage.java):
- Hierarchical Limit System: HomeStorage has been refactored to support the new limit hierarchy, including dedicated fields for adminLimit and regularLimit.
- Dynamic Limit Retrieval: The getEffectiveLimit method now dynamically calculates a player's active home limit based on the defined priority.
- Data Persistence: The storage mechanism has been updated to correctly save and load the new limit configurations.
Файлы
tphome-2.0.4.jar(149.73 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
2.0.4
Загрузчики
NeoForge
Версии игры
1.21.9
Загрузок
11
Дата публикации
4 мес. назад
