NewJoinMessage -  Custom Join/Leave Messages for Each Player with Fully Customizable Configuration icon

NewJoinMessage - Custom Join/Leave Messages for Each Player with Fully Customizable Configuration -----

The NewJoinMessage plugin provides custom join and leave messages




Fixes:
  1. Trailing Space Issue: Fixed the problem where adding a space at the end of the default join or leave message prefix caused an extra space in the message.
New Features:
  1. Toggle Join and Leave Messages:
    • Added configuration options toggle-join-message and toggle-leave-message.
    • You can now enable or disable join and leave messages completely.
  2. Toggle Custom Messages:
    • Added configuration options toggle-join-custommessage and toggle-leave-custommessage.
    • You can enable or disable custom join and leave messages.
    • If custom messages are disabled, the separator - between the prefix and the message will also be disabled, keeping the message clean.
These updates give you more control over how join and leave messages are displayed on your server.
----------, Aug 19, 2024

Important Update: Plugin Compatibility with Minecraft 1.21
Hello everyone,

We want to inform you about an important update regarding the compatibility of our plugin, NewJoinMessage v2.8 Beta, with Minecraft version 1.21. After careful consideration and testing, we have determined that our current plugin version is not compatible with Minecraft 1.21.

What Does This Mean?

  • If you are running a Minecraft server on version 1.21, the NewJoinMessage v2.8 Beta plugin will automatically disable itself upon server startup.
  • This measure is to ensure that there are no unexpected issues or errors that could affect your server's stability and performance.
Why is the Plugin Disabled on Minecraft 1.21?

  • We discovered that there are critical compatibility issues that could prevent the plugin from functioning correctly on Minecraft 1.21.
  • Disabling the plugin on this version is a temporary measure while we work on a compatible update.
What Should You Do?

  • If you are running Minecraft version 1.20 or earlier, you can continue to use the plugin without any issues.
  • If you have upgraded to Minecraft version 1.21 and rely on the features of NewJoinMessage, we recommend either downgrading to a supported Minecraft version or temporarily disabling the plugin until a compatible update is released.
Looking Ahead

We are actively working on updating NewJoinMessage to be fully compatible with Minecraft 1.21. Our goal is to release this update as soon as possible, ensuring that you can continue to enjoy the full functionality of the plugin on the latest Minecraft version.

We appreciate your understanding and patience as we work through these compatibility issues. Thank you for your continued support!

If you have any questions or need further assistance, please feel free to reach out on our support forum.

Best regards,
Yanel & the NewJoinMessage Team
----------, Jul 26, 2024

Updates Summary
  1. Added Configuration Options for Welcome Message:
    • Introduced welcome-message-enabled in the config with options everytime, firstjoinonly, and disable to control the display of the welcome message.
    • Added welcome-message in the config to customize the welcome message.
  2. Support for PlaceholderAPI:
    • Integrated PlaceholderAPI to support dynamic placeholders in join and leave messages.
    • Updated the handleJoin and handleLeave methods to process placeholders using PlaceholderAPI.
  3. Configurable Join and Leave Separators:
    • Added join-separator and leave-separator options in the config to enable or disable the separator in join and leave messages.
    • Updated handleJoin and handleLeave methods to conditionally add the separator based on the config settings.
  4. Enhanced Firework Configuration:
    • Ensured that the firework.yml configuration file is created and saved correctly.
    • Allowed firework colors and types to be specified and loaded from the configuration.
  5. Improved Player Data Management:
    • Loaded player UUIDs and names from players.yml to keep track of players who have joined the server.
    • Configured the plugin to add new players to players.yml when they join for the first time.
----------, Jul 25, 2024

Updates to PlayerWelcome Class
  1. Configuration Check for Welcome Message:
    • Added a configuration option to control when the welcome message should be shown (everytime, firstjoinonly, disable).
    • Modified the onPlayerJoin method to handle the welcome message based on the configuration value.
----------, Jul 25, 2024

Njm Update Summary

1. Language Support Added:
  • New Languages: English, German, French, Spanish, Italian, Chinese, Japanese, Korean, and Russian.
  • Language Files: Created custom language files for all 9 languages.
2. MySQL Fixes:
  • Resolved Issues: Fixed problems with MySQL integration.
3. Translations:
  • Progress: 75% of the plugin's messages are now translated into the 9 supported languages.
4. New Language Selection GUI:
  • Language GUI: Added a GUI where players can select their preferred language.
  • Available Languages: Players can choose from the 9 supported languages in the GUI.
5. System Updates:
  • Version Check: Implemented a system to automatically check for plugin updates.
6. LanguageHandler Improvements:
  • Language Handling: Loads and manages language files, retrieves messages in the player's selected language.
  • Player Preferences: Reads player language preferences from DataLang.yml.
7. Command Updates:
  • Localized Commands: Updated commands to use localized messages.
  • Help Menu: The help menu now displays messages in the player's selected language.
  • Language Command: Added /njm language command to open the language selection GUI.
8. Debugging and Logs:
  • Logs: Added logs to track language preferences and message retrieval.
  • Warnings: Generates warnings for missing keys in language files to help with troubleshooting.

Photos of the update:
[​IMG]
[​IMG]
----------, Jul 9, 2024

Fixes Implemented:
  1. New Player Join Message:
    • Resolved issue where setting the join message to false now correctly disables it.
  2. Exception Handling:
    • Implemented proper exception handling for IOException and InvalidConfigurationException when loading firework.yml.
  3. Explicit YamlConfiguration Instance:
    • Created a dedicated instance of YamlConfiguration to explicitly load firework.yml, ensuring robust configuration handling.
  4. Logging Enhancements:
    • Enhanced logging messages for clearer output during the reload process, especially for firework.yml.
  5. Dependency Management:
    • Ensured correct import and usage of required dependencies (org.bukkit.* and others).
  6. Code Organization:
    • Structured the code to follow a clear approach for reloading configurations and managing changes in MySQL connection status.
  7. Reload Command Enhancement:
    • Improved the reliability and functionality of the reload command, ensuring all configurations are properly reloaded.
----------, Jun 25, 2024

Details:
Fix Mysql. when the plugin is linked with database but it says not

fix with reload command {/njm reload}.

making the plugin faster


and much more....
----------, Feb 3, 2024

  1. /njm info [player] command: Now you can use this command to view stats about player join/leave messages.

  2. Bug Fixes: We've addressed some issues related to MySQL and configuration to ensure smoother performance.

  3. Clear Commands: We've added new clear commands to clear join and leave message to default to makeyour experience better.

  4. Full Permissions System in Display Menu and Chat Help: You now have access to a comprehensive permissions system that enhances your interactions with the display menu and chat help.
----------, Jul 31, 2023

Here's an updated description of what we have made, including the new commands, fixes, and the new permission system:

Commands:

  1. /njm setplayer [player] [join/leave] [message]: Sets a custom join or leave message for the specified player.
    • Example: /njm setplayer player123 join Welcome to the server!
  2. /njm set [join/leave] [message]: Sets a custom join or leave message for yourself.
    • Example: /njm set leave Goodbye! See you next time.
  3. /njm clear [join/leave/all] [player]: Clears the join or leave message for the specified player, or resets all messages.
    • Example: /njm clear join player456
  4. /njm reload: Reloads the JoinLeaveMessage plugin.

  5. /njm gui: This command is exclusive to players and opens a graphical user interface (GUI) for managing join and leave messages.
Fixes:

  • Fixed an issue where console commands, such as "/njm gui", were causing errors. Now, the plugin prevents console users from executing the "/njm gui" command to avoid any issues.
New System and Permissions: We have added a new system that detects the permissions of players. In the display menu, accessible in the chat, players can now view the commands they have permissions for. The menu provides a clear overview of the available commands and guides players on how to use them.
[​IMG]
For example, players without any permissions will be informed in the display menu that they don't have access to any commands. On the other hand, if a player has a specific permission, like the "join" permission, the display menu will indicate that they have access to the command and provide instructions on how to use it.
[​IMG]

This new permission system allows server administrators to control and manage command access based on player permissions, providing a more streamlined and personalized experience for players.
----------, Jul 10, 2023

Added:
1- Added the JoinLeaveGUI class: We created a new class called JoinLeaveGUI to handle the graphical user interface (GUI) functionality. This class includes methods for opening the GUI, handling inventory click events, and starting message setting conversations.
2- Integrated the JoinLeaveGUI into the main plugin class: We modified the JoinleaveMessage class, which is your main plugin class, to register the JoinLeaveGUI as a listener. Additionally, we added the /njm gui command, which allows players to open the GUI.
3- Improved command handling: We enhanced the onCommand method in the JoinleaveMessage class to handle the /njm command and its subcommands, such as set and reload. We also added support for tab completion, making it easier for players to enter commands, and improved error handling for cases of invalid command usage.
4- Permission check for opening the GUI: We implemented a permission check in the openGUI method of the JoinLeaveGUI class. This ensures that only players with the required permission can open the GUI.
5- Code organization and clean-up: We made adjustments to the code structure and formatting to enhance readability and maintainability of the plugin.
6- VanishAPI: We integrated the VanishAPI, which detects whether players are vanished or not. If a player is vanished, the join/leave message will be disabled for them. This provides a way to respect the privacy of vanished players and avoid revealing their presence through join/leave messages.
7- Fireworks on first join: We added a feature to trigger fireworks when a player joins the server for the first time. This provides a visual celebration to welcome new players.
8- Welcome message for first-time joining: We included a welcome message for players who join the server for the first time. This message serves as a warm greeting and introduction to the server community.
9- Added data.yml and players.yml config files: We introduced two new configuration files, data.yml and players.yml, to store specific data related to join/leave messages and player joining status.
10- data.yml: This config file is responsible for storing join/leave messages. It allows players to customize their join/leave messages by saving them in the data.yml file. Each player's message is associated with their UUID.
11- players.yml: This config file keeps track of players' first-time joining status. When a player joins the server for the first time, their UUID is stored in the players.yml file to indicate that they are a new player.
12- These additional config files provide a structured way to manage and store specific data related to join/leave messages and player joining status.



Fix:
1- MySQL issue resolved: We have fixed the MySQL connection issue, and now it should work properly. You can use MySQL for data storage without any problems.
2- GUI compatibility: The GUI functionality has been updated to work across different versions of Minecraft, specifically from 1.8 to 1.20.1. If you encounter any issues with the GUI, please let me know on Discord, and I will assist you further.
3- Join/leave messages fixed: The join and leave messages are now displaying correctly in the chat when a player joins or leaves the server. You should see the appropriate messages without any issues.
4- Firework functionality fixed for Minecraft 1.14: The firework feature has been fixed specifically for Minecraft version 1.14. Players will now experience firework effects when they join the server for the first time.
----------, Jul 7, 2023

Resource Information
Author:
----------
Total Downloads: 600
First Release: Jul 4, 2023
Last Update: Aug 19, 2024
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings