ServerTweaks
ServerTweaks 是一款轻量级、高性能的工具和系统优化插件,专为现代 Minecraft 服务器设计。它允许服务器管理员完全自定义核心游戏机制,控制默认的系统通知(如加入、离开和死亡消息),同步现实世界时间,并管理特定世界的床行为——同时提供诸如延迟检测器和自动更新通知等必要的玩家工具。
功能特性
-
加入与离开消息自定义: 轻松修改或完全隐藏玩家在聊天中的连接和断开连接消息。
-
首次加入欢迎消息: 自动追踪总玩家数量,并在新玩家首次加入服务器时广播一条独特的欢迎消息。
-
死亡消息自定义: 重写默认的死亡通知,同时动态保留原版死亡原因。
-
自定义睡眠通知: 每当有人进入床铺时,宣布当前世界中有多少玩家正在睡觉(相对于所需总数)。
-
特定世界床设置: 根据世界名称,在特定维度或自定义世界(如下界或末地)中控制玩家是否可以睡觉或设置重生点且不会引发爆炸。
-
无限液体控制: 全局切换无限水源和岩浆源生成。
-
物品消失时间调整: 自定义掉落物品消失前的确切秒数。
-
饥饿消耗率修改器: 调整玩家在移动或活动时的饥饿速度。
-
现实世界时间同步: 自动将选定世界的时间与任何指定的现实世界时区进行同步。
-
Ping 命令: 为玩家提供一个简单的命令,用于检查其当前的网络延迟(毫秒)。
-
自动配置与语言文件同步: 每 3 分钟在后台异步重新加载配置文件和语言文件,无需任何控制台垃圾信息。
-
更新检测器: 如果 Modrinth 上有新版本可用,会在玩家加入时自动向操作员发送带有可点击下载链接的通知。
-
ESC 菜单服务器链接: 将官方服务器链接直接添加到原版的 Escape 暂停菜单中,支持预设图标(如 Discord 或商店)和自定义文本按钮。
-
无效命令: 你可以禁用某些命令。
命令与权限
| 命令 |
描述 |
权限 |
默认值 |
/ping |
检查你的连接延迟 |
servertweaks.ping |
所有人 |
/st toggle <feature> |
开启或关闭特定的通知/功能 |
servertweaks.admin |
OP |
/st format <feature> <text> |
更改功能的消息格式 |
servertweaks.admin |
OP |
/st reload |
手动强制重新加载所有配置和语言文件 |
servertweaks.admin |
OP |
用于 toggle 和 format 命令的可用功能键:
join-message
quit-message
death-message
first-join
sleep-notification
real-time
item-despawn
exhaustion-rate
bed-world-settings
infinite-liquid
server-links
invalid-commands
配置
config.yml
join-message:
enabled: true
format: "&e%player% joined the game"
quit-message:
enabled: true
format: "&e%player% left the game"
death-message:
enabled: true
format: "&c☠ %player% has perished (%reason%)"
first-join:
enabled: true
format: "&d&lWelcome %player% to the server for the very first time! (#%count%)"
total-count: 0
sleep-notification:
enabled: false
format: "&b%player% is now sleeping. (%current%/%required%)"
real-time:
enabled: false
timezone: "Asia/Tokyo"
worlds:
- "world"
item-despawn:
enabled: false
despawn-seconds: 60
exhaustion-rate:
enabled: false
multiplier: 0.5
bed-world-settings:
enabled: false
worlds:
world: false
world_nether: true
world_the_end: true
infinite-liquid:
enabled: true
water: true
lava: false
invalid-commands:
enabled: false
commands:
- "/help"
- "/?"
- "/plugins"
- "/pl"
server-links:
enabled: false
links:
discord_link:
type: "DISCORD"
url: "https://discord.gg"
store_link:
type: "STORE"
url: "https://yourserver.com"
web_link:
type: "WEBSITE"
url: "https://yourserver.com"
custom_rules:
type: "CUSTOM"
label: "Server Rules"
url: "https://yourserver.com"
lang.yml
prefix: "&7[&bServerTweaks&7] "
no-permission: "&cYou do not have permission to use this command."
config-reloaded: "&aConfiguration reloaded successfully!"
feature-enabled: "&aFeature &e%feature% &ahas been &eENABLED&a."
feature-disabled: "&cFeature &e%feature% &chas been &eDISABLED&c."
format-updated: "&aUpdated &e%feature% &aformat to: &f%format%"
invalid-value: "&cInvalid value! Please specify true or false."
respawn-set: "&aRespawn point has been set!"
ping-response: "&aYour current connection latency (Ping) is: &b%ping%ms"
usage:
- "========= ServerTweaks Help ========="
- "/st toggle <feature> [true/false] - Toggle or set feature"
- "/st format <feature> <text...> - Change format"
- "/st reload - Reload config and language files"
server-links:
not-supported: "&eThis server version does not support the ESC menu server links feature."
invalid-url: "&cInvalid URL format for ServerLinks key: %key%"
兼容性
ServerTweaks
ServerTweaks is a lightweight, high-performance utility and system-tweaking plugin designed for modern Minecraft servers. It allows server administrators to fully customize core game mechanics, control default system notifications (such as join, quit, and death messages), synchronize real-world time, and manage world-specific bed behaviors—all while providing essential player tools like a ping checker and automated update notifications.
Features
-
Join and Quit Message Customization: Easily modify or completely hide player connection and disconnection messages in the chat.
-
First-Join Welcome Messages: Automatically track the total player count and broadcast a unique welcome message when a new player joins the server for the first time.
-
Death Message Customization: Rewrite default death notifications while preserving the vanilla death reason dynamically.
-
Custom Sleep Notifications: Announce how many players are sleeping out of the total required amount on the current world whenever someone enters a bed.
-
World-Specific Bed Settings: Control whether players can sleep or set spawn points without explosions in specific dimensions or custom worlds (such as the Nether or The End) per world name.
-
Infinite Liquid Control: Toggle infinite water and lava source generation globally.
-
Item Despawn Time Adjustment: Customize the exact number of seconds before dropped items disappear.
-
Hunger Exhaustion Rate Modifier: Adjust how fast players get hungry during movement or activities.
-
Real-World Time Synchronization: Synchronize selected worlds' time automatically with any specified real-world timezone.
-
Ping Command: Provides players with a simple command to check their current network latency in milliseconds.
-
Automated Config & Lang Synchronization: Automatically reloads configuration and language files asynchronously in the background every 3 minutes without any console spam.
-
Update Checker: Automatically notifies operators on join if a newer version is available on Modrinth with a clickable download link.
-
ESC Menu Server Links: Add official server links directly into the vanilla escape pause menu, supporting both preset icons (such as Discord or Store) and custom text buttons.
-
Invalid-commands: You can invalid some commands.
Commands and Permissions
| Command |
Description |
Permission |
Default |
/ping |
Check your connection latency |
servertweaks.ping |
Everyone |
/st toggle <feature> |
Toggle a specific notification/feature on or off |
servertweaks.admin |
OP |
/st format <feature> <text> |
Change the message format of a feature |
servertweaks.admin |
OP |
/st reload |
Force reload all configurations and language files manually |
servertweaks.admin |
OP |
Available feature keys for toggle and format commands:
join-message
quit-message
death-message
first-join
sleep-notification
real-time
item-despawn
exhaustion-rate
bed-world-settings
infinite-liquid
server-links
invalid-commands
Configuration
config.yml
join-message:
enabled: true
format: "&e%player% joined the game"
quit-message:
enabled: true
format: "&e%player% left the game"
death-message:
enabled: true
format: "&c☠ %player% has perished (%reason%)"
first-join:
enabled: true
format: "&d&lWelcome %player% to the server for the very first time! (#%count%)"
total-count: 0
sleep-notification:
enabled: false
format: "&b%player% is now sleeping. (%current%/%required%)"
real-time:
enabled: false
timezone: "Asia/Tokyo"
worlds:
- "world"
item-despawn:
enabled: false
despawn-seconds: 60
exhaustion-rate:
enabled: false
multiplier: 0.5
bed-world-settings:
enabled: false
worlds:
world: false
world_nether: true
world_the_end: true
infinite-liquid:
enabled: true
water: true
lava: false
invalid-commands:
enabled: false
commands:
- "/help"
- "/?"
- "/plugins"
- "/pl"
server-links:
enabled: false
links:
discord_link:
type: "DISCORD"
url: "https://discord.gg"
store_link:
type: "STORE"
url: "https://yourserver.com"
web_link:
type: "WEBSITE"
url: "https://yourserver.com"
custom_rules:
type: "CUSTOM"
label: "Server Rules"
url: "https://yourserver.com"
lang.yml
prefix: "&7[&bServerTweaks&7] "
no-permission: "&cYou do not have permission to use this command."
config-reloaded: "&aConfiguration reloaded successfully!"
feature-enabled: "&aFeature &e%feature% &ahas been &eENABLED&a."
feature-disabled: "&cFeature &e%feature% &chas been &eDISABLED&c."
format-updated: "&aUpdated &e%feature% &aformat to: &f%format%"
invalid-value: "&cInvalid value! Please specify true or false."
respawn-set: "&aRespawn point has been set!"
ping-response: "&aYour current connection latency (Ping) is: &b%ping%ms"
usage:
- "========= ServerTweaks Help ========="
- "/st toggle <feature> [true/false] - Toggle or set feature"
- "/st format <feature> <text...> - Change format"
- "/st reload - Reload config and language files"
server-links:
not-supported: "&eThis server version does not support the ESC menu server links feature."
invalid-url: "&cInvalid URL format for ServerLinks key: %key%"
Compatibility
-
Minecraft Version: 1.21 or newer
-
Server Software: Paper, Purpur, or any modern high-performance Bukkit fork
-
Java Version: Java 21 or newer
评论 0
登录后参与评分
还没有评论,来抢沙发吧