PlayerJoinLeaveMessages
描述
让 PlayerJoinLeaveMessages 插件让你的 Minecraft 服务器脱颖而出!该插件提供了一种简单的方式来自定义玩家加入和离开的消息,并为首次登录的玩家提供独特的欢迎信息。每条消息都可以通过配置文件完全自定义,支持 Minecraft 颜色代码,让你轻松为服务器增添专业感。此外,它会将这些事件直接记录到服务器控制台中,提供一种清晰且有条理的方式来管理玩家互动。无论你是运营小型社区还是大型公共服务器,PlayerJoinLeaveMessages 都能让加入/离开消息的管理变得简单高效。
功能
- 可自定义的加入消息:设置玩家加入服务器时的个性化消息。
- 首次加入消息:用包含独特玩家计数的特殊消息欢迎新玩家。
- 可自定义的离开消息:设置玩家离开服务器时的自定义消息。
- Minecraft 颜色代码支持:使用 Minecraft 的颜色和格式代码来美化你的消息。
- 通过
config.yml 配置:直接在插件的配置文件中轻松编辑所有消息。
- 重载命令:无需重启服务器即可快速重载配置(
/playerjoinleavemessages reload)。
- 控制台输出:所有加入和离开消息都会记录在控制台中,方便服务器管理员监控。
- 权限支持:通过权限控制谁可以重载插件配置。
优势
- 个性化的服务器体验:用与服务器主题相匹配的自定义消息迎接你的玩家。
- 易于使用:只需编辑
config.yml 即可更改消息,使自定义变得轻而易举。
- 多彩的消息:使用 Minecraft 颜色代码让消息更加醒目。
- 追踪新玩家:显示有多少唯一玩家加入了你的服务器,增添社区氛围。
- 无卡顿或性能影响:轻量级且经过性能优化,即使在大型服务器上也能流畅运行。
Config.yml 示例
# PlayerJoinLeaveMessages 配置文件
# 普通玩家加入服务器时发送的消息。
# 使用 %player% 插入玩家名称。
join-message: "&e欢迎回来,%player%!祝你玩得愉快!"
# 玩家首次加入服务器时发送的消息。
# 使用 %player% 插入玩家名称,使用 %count% 表示总唯一玩家数量。
first-join-message: "&e欢迎 %player% 加入服务器!你是第 &a%count% 位加入的玩家!"
# 当有人离开服务器时向所有玩家发送的消息。
# 使用 %player% 插入玩家名称。
leave-message: "&e再见 %player%!期待再次见到你!"
# 是否也向控制台发送消息
console-logging: true
命令和权限
| 命令 |
描述 |
权限 |
/playerjoinleavemessages reload |
重载插件配置。 |
playerjoinleavemessages.reload |
安装步骤 - 逐步指南
-
下载插件:
- 从插件官网下载
PlayerJoinLeaveMessages jar 文件。
-
上传至服务器:
- 将下载的 jar 文件放入服务器的
plugins 文件夹中。
-
启动或重启服务器:
- 启动你的服务器,或者如果服务器已在运行,请使用
/reload 加载插件。
-
自定义消息:
- 导航至
plugins/PlayerJoinLeaveMessages/config.yml 文件。
- 编辑
join-message、first-join-message 和 leave-message 以符合你的服务器风格。使用 Minecraft 颜色代码进行自定义(例如 &e、&a 等)。
-
保存并重载配置:
- 自定义消息后,要么重启服务器,要么使用命令
/playerjoinleavemessages reload 应用更改。
-
权限设置(可选):
- 如果你想控制谁可以使用重载命令,请将权限
playerjoinleavemessages.reload 分配给管理员或版主。
使用方法
- 玩家加入服务器时,插件会自动向其发送自定义的加入消息。
- 对于首次加入者,会显示一条特殊的欢迎消息,其中包含其唯一的玩家编号。
- 当玩家离开服务器时,自定义的离开消息将显示给其他所有玩家。
要求
- Minecraft 版本: 1.21 或更高版本。
- Java 版本: 8 或更高版本。
支持
如果你遇到任何问题或有新功能建议,请随时在我们的 YouTube 频道上联系我们以获得支持。
按照上述步骤并自定义配置文件,你可以轻松为你的服务器打造一个精致、专业的形象,从而提升玩家体验。如果需要更多详细信息或修改,请告诉我!
PlayerJoinLeaveMessages
Description
Make your Minecraft server stand out with PlayerJoinLeaveMessages! This plugin provides an easy way to customize player join and leave messages, along with unique welcome messages for first-time players. Each message is fully customizable through the configuration file, with support for Minecraft color codes, making it easy for you to give your server a professional touch. Additionally, it logs these events directly to the server console, providing a clean and organized way to manage player interactions. Whether you're running a small community or a large public server, PlayerJoinLeaveMessages makes managing join/leave messages simple and efficient.
Features
- Customizable Join Message: Set a personalized message for players when they join the server.
- First-time Join Messages: Welcome new players with a special message, including a unique player count.
- Customizable Leave Message: Set a custom message for when players leave the server.
- Minecraft Color Code Support: Use Minecraft's color and format codes to style your messages.
- Configurable via
config.yml: Easily edit all messages directly in the plugin's configuration file.
- Reload Command: Quickly reload the configuration without needing to restart the server (
/playerjoinleavemessages reload).
- Console Output: All join and leave messages are logged in the console for server admins to monitor.
- Permissions Support: Control who can reload the plugin's configuration with permissions.
Benefits
- Personalized Server Experience: Greet your players with customized messages that match your server's theme.
- Ease of Use: Simply edit the
config.yml to change messages, making customization a breeze.
- Colorful Messages: Use Minecraft's color codes to make messages stand out.
- Track New Players: Display how many unique players have joined your server, providing a nice community touch.
- No Lag or Performance Impact: Lightweight and optimized for performance, even on large servers.
Config.yml Example
# PlayerJoinLeaveMessages Config File
# Message sent to regular players when they join the server.
# Use %player% to insert the player's name.
join-message: "&eWelcome back, %player%! Enjoy your stay!"
# Message sent to players when they join the server for the first time.
# Use %player% to insert the player's name and %count% for the total unique player count.
first-join-message: "&eWelcome %player% to the server! You are the &a%count%th player to join!"
# Message sent to all players when someone leaves the server.
# Use %player% to insert the player's name.
leave-message: "&eGoodbye %player%! Hope to see you again!"
# Whether to send messages to the console as well
console-logging: true
Commands and Permissions
| Command |
Description |
Permission |
/playerjoinleavemessages reload |
Reload the plugin configuration. |
playerjoinleavemessages.reload |
Setup - Step by Step
-
Download the Plugin:
- Download the
PlayerJoinLeaveMessages jar file from the plugin website.
-
Upload to Your Server:
- Place the downloaded jar file into your server's
plugins folder.
-
Start or Restart Your Server:
- Start your server, or if it is already running, use
/reload to load the plugin.
-
Customize Messages:
- Navigate to the
plugins/PlayerJoinLeaveMessages/config.yml file.
- Edit the
join-message, first-join-message, and leave-message to suit your server’s style. Use Minecraft color codes for customization (e.g., &e, &a, etc.).
-
Save and Reload the Config:
- After customizing the messages, either restart your server or use the command
/playerjoinleavemessages reload to apply the changes.
-
Permissions Setup (Optional):
- If you'd like to control who can use the reload command, assign the permission
playerjoinleavemessages.reload to admins or moderators.
How to Use
- Upon joining the server, the plugin automatically sends the custom join message to the player.
- For first-time joiners, a special welcome message is shown that includes their unique player number.
- When a player leaves the server, the custom leave message will be displayed to all other players.
Requirements
- Minecraft Version: 1.21 or later.
- Java Version: 8 or higher.
Support
If you encounter any issues or have suggestions for new features, feel free to reach out on our YouTube Channel for support.
By following the steps and customizing the configuration file, you can easily give your server a polished, professional feel that improves player experience. Let me know if you need any additional details or modifications!
评论 0
登录后参与评分
还没有评论,来抢沙发吧