PlayerJoinLeaveMessages

A simple plugin to customize player join, leave, and first-time messages with Minecraft color code support, including unique player counts and console logging. Easily configurable via config.yml.

203

PlayerJoinLeaveMessages

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

- Permissions Support: Set a personalized message for players when they join the server. - Permissions Support: Welcome new players with a special message, including a unique player count. - Permissions Support: Set a custom message for when players leave the server. - Permissions Support: Use Minecraft's color and format codes to style your messages. - Permissions Support: Easily edit all messages directly in the plugin's configuration file. - Permissions Support: Quickly reload the configuration without needing to restart the server (`/playerjoinleavemessages reload`). - Permissions Support: 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

- No Lag or Performance Impact: Greet your players with customized messages that match your server's theme. - No Lag or Performance Impact: Simply edit the `config.yml` to change messages, making customization a breeze. - No Lag or Performance Impact: Use Minecraft's color codes to make messages stand out. - No Lag or Performance Impact: 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

```yaml

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

| Permission | Permission | Permission | |---------------------------------------|--------------------------------------------|--------------------------------------------| | `/playerjoinleavemessages reload` | Reload the plugin configuration. | `playerjoinleavemessages.reload` |

---

Setup - Step by Step

1. Download the Plugin: - Download the `PlayerJoinLeaveMessages` jar file from the plugin website.

2. Upload to Your Server: - Place the downloaded jar file into your server's `plugins` folder.

3. Start or Restart Your Server: - Start your server, or if it is already running, use `/reload` to load the plugin.

4. 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.).

5. Save and Reload the Config: - After customizing the messages, either restart your server or use the command `/playerjoinleavemessages reload` to apply the changes.

6. 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

- Java 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!

ADS