This plugin provides a way to receive notifications on a Telegram chat when a player joins or quits your Minecraft server.
- Download the latest version from the releases page.
- Place the downloaded JAR file into your server's
plugins
folder. - Start the server.
- After starting the server with the plugin installed, a
config.yml
file will be generated in theplugins/TelegramNotifier
folder. - Open the
config.yml
file and set theenabled
option totrue
. - Obtain a Telegram Bot API token and chat ID. Follow these instructions to create a bot and obtain the token, and these instructions to obtain the chat ID.
- Set the
token
andchatId
options in theconfig.yml
file to the values obtained in step 3. - Set the
prefix
option to a string that will be used as a prefix in the messages sent to the Telegram chat (optional).
After configuring the plugin, you will receive a notification in the configured Telegram chat when a player joins or quits the server.
- Add support for custom messages: Currently, the plugin sends a default message when a player joins or quits the server. Add support for custom messages that can be configured in the plugin's configuration file.
- Add support for localization: Currently, the plugin only supports a single language. Consider adding support for localization, so that the plugin can be used in different regions and languages. This could be useful for servers with international player bases.
- Add commands that help to set up the plugin without editing config manually.
This plugin is currently being used on the following Minecraft server:
- Server IP:
193.123.62.49:25565
- Telegram chat: eone666_papermc
Contributions to this project are welcome! If you find a bug or have a feature request, please create an issue on the GitHub repository. If you would like to contribute code, please fork the repository and create a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.