Server Utilities
Features a number of utilities for data pack creators including a player ID system, function tags for detecting server events, inventory clearing and restoring system, systems for maintaining player data across username changes, and more!
介绍
Server Utilities
Server Utilities (or Server Utils for short) is a Minecraft data pack with a number of utilities for data pack creators. It tracks a number of events regarding players on a server including players joining for the first time, players joining the server and players leaving the server.
The most recent version of the pack is made for Minecraft 1.18-1.21.8.
Documentation
The Wiki contains all the necessary documentation on how to utilise the features of Server Utilities.
Feature Overview
- Each player is given a numeric scoreboard ID
- Each player is assigned a marker entity for storing data across username changes
- Detects when a player joins the server
- Detects when a player leaves the server
- Tracks the world’s spawn point
- Inventory clearing and restoring system
- Function macros for updating text components to newer versions
Optional features (configurable):
- Command loops for 1 second, 10 seconds and 1 minute
- Player registration system when a new player joins the server
- Triggers to display players’ usernames and IDs
Player registration level and player ID are also carried over when a player changes their username.
常见问题
Server Utilities 支持哪些 Minecraft 版本?
Server Utilities 支持 Minecraft Java 版 1.17–1.21.8,共 26 个版本。下载时注意选择和你游戏版本一致的文件。
Server Utilities 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
评论
登录后评论和评分