加入与离开
一款轻量且完全可自定义的 Minecraft 服务器加入和离开消息插件。
特性
- 全彩与 HEX 支持: 支持自定义 RGB 颜色代码(
#RRGGBB 或 &#RRGGBB)以及标准的 Minecraft 颜色代码(&a、&f 等)。
- PlaceholderAPI 支持: 无缝集成 PlaceholderAPI,以在加入/离开消息中显示动态玩家数据。
- 首次加入欢迎消息: 为首次加入服务器的玩家设置特殊的自定义欢迎消息。
- 静默加入/离开权限: 使用权限节点隐藏管理员或特定角色的加入和离开消息。
- 游戏内测试工具: 私底下测试并预览你的加入和离开消息,或模拟玩家活动,而不会刷屏打扰在线玩家。
配置
# 占位符: %player% (+ 如果安装了 PlaceholderAPI 则包含其占位符)
# 颜色: &-代码 或 hex #RRGGBB / &#RRGGBB
# https://htmlcolorcodes.com
join:
enabled: true
message: "#55FF7F + &f%player%"
first-join-enabled: false
first-join-message: "#55FF7F + &f%player% &7Welcome to the server for the first time!"
leave:
enabled: true
message: "#FF5C5C - &f%player%"
test:
amount: 30
names:
- beerigg
- ShadowCrafter
- PixelFalcon
- EnderKnight88
- BlockyWolf
- StormRider22
- CraftyPanda
- NightHawk77
- DiamondFoxx
- MysticElm
- RapidBadger
- GoldenTiger3
- FrostByte
- EmberQuill
- VividStorm
- CopperWren
- LunarSpark
- TurboYeti
- SilentArrow
- IronMaple
- CrimsonLynx
- VelvetOtter
- TitanSpruce
- WanderingCub
- EchoRavine
- ObsidianFinch
- MapleForge
- ZephyrFalls
- GraniteHawk
- VortexPine
权限
# 运行 /joinleave 所需的基础权限 (reload/test/testmany)
joinleave.use
# /joinleave reload
joinleave.reload
# /joinleave test <name>
# /joinleave testmany
joinleave.test
# 非命令 - 当玩家拥有此权限时,他们的加入/离开消息将不对任何人显示
joinleave.silent
命令
重载
/joinleave reload
无需重启服务器或插件即可重载 config.yml。
权限: joinleave.reload
测试
/joinleave test <name>
仅向命令发送者发送指定名称的加入和离开消息预览。
如果该名称匹配当前在线的玩家,PlaceholderAPI 占位符也会针对真实玩家进行解析。
权限: joinleave.test
批量测试
/joinleave testmany
仅向命令发送者发送 30 条加入消息后跟 30 条离开消息的模拟效果。
使用配置文件中 test.names 中的虚构名称。这对于测试高负载下消息的外观非常有用。
权限: joinleave.test
占位符
%player% — 玩家名称。
- PlaceholderAPI 占位符 — 安装 PlaceholderAPI 后支持使用。
颜色
- Minecraft 颜色:
&a、&f、&c 等。
- HEX:
#55FF7F
- 替代 HEX:
7FF7F
静默模式
拥有以下权限的玩家,其加入/离开消息将不会对任何人显示:
joinleave.silent
这对于希望保持隐藏的管理员、机器人或特定角色非常有用。
基本上就是这个插件的全部内容了,祝服务器顺利!
Join & Leave
A lightweight and fully customizable join and leave message plugin for Minecraft servers.
Features
- Full Color & HEX Support: Custom RGB color codes (
#RRGGBB or &#RRGGBB) as well as standard Minecraft color codes (&a, &f, etc.).
- PlaceholderAPI Support: Seamlessly integrate with PlaceholderAPI to display dynamic player stats in join/leave messages.
- First-Join Welcome Messages: Set up special custom welcome messages for players joining the server for the first time.
- Silent Join/Leave Permission: Hide join and leave messages for staff or specific roles using a permission node.
- In-Game Testing Tools: Privately test and preview your join and leave messages or simulate player activity without spamming online players.
Config
# Placeholders: %player% (+ PlaceholderAPI placeholders if installed)
# Colors: &-codes or hex #RRGGBB / &#RRGGBB
# https://htmlcolorcodes.com
join:
enabled: true
message: "#55FF7F + &f%player%"
first-join-enabled: false
first-join-message: "#55FF7F + &f%player% &7Welcome to the server for the first time!"
leave:
enabled: true
message: "#FF5C5C - &f%player%"
test:
amount: 30
names:
- beerigg
- ShadowCrafter
- PixelFalcon
- EnderKnight88
- BlockyWolf
- StormRider22
- CraftyPanda
- NightHawk77
- DiamondFoxx
- MysticElm
- RapidBadger
- GoldenTiger3
- FrostByte
- EmberQuill
- VividStorm
- CopperWren
- LunarSpark
- TurboYeti
- SilentArrow
- IronMaple
- CrimsonLynx
- VelvetOtter
- TitanSpruce
- WanderingCub
- EchoRavine
- ObsidianFinch
- MapleForge
- ZephyrFalls
- GraniteHawk
- VortexPine
Permissions
# Required to run /joinleave at all (reload/test/testmany)
joinleave.use
# /joinleave reload
joinleave.reload
# /joinleave test <name>
# /joinleave testmany
joinleave.test
# Not a command - when a player has this, their join/leave messages aren't shown to anyone
joinleave.silent
Commands
Reload
/joinleave reload
Reloads config.yml without restarting the server or plugin.
Permission: joinleave.reload
Test
/joinleave test <name>
Sends only the command sender a preview of the join and leave message for a given name.
If the name matches a player who is currently online, PlaceholderAPI placeholders resolve for the real player too.
Permission: joinleave.test
Test Many
/joinleave testmany
Sends only the command sender a simulation of 30 join messages followed by 30 leave messages.
Uses the fictional names from test.names in the config. This is useful for testing how the messages look under load.
Permission: joinleave.test
Placeholders
%player% — The player's name.
- PlaceholderAPI placeholders — Supported when PlaceholderAPI is installed.
Colors
- Minecraft Colors:
&a, &f, &c, etc.
- HEX:
#55FF7F
- Alternative HEX:
7FF7F
Silent
Players with the following permission will not have their join/leave messages shown to anyone:
joinleave.silent
This is useful for staff, bots, or specific roles that should remain hidden.
That's pretty much the whole plugin good luck with the server!
评论 0
登录后参与评分
还没有评论,来抢沙发吧