A PocketMine-MP plugin designed to provide flexible login notifications. It detects player login events, captures the player's name and IP address, and dispatches this information as a notification via the BindingManager plugin for extensible handling and delivery.
- Player Login Detection: Automatically identifies when players log into the server.
- IP Address Logging: Captures the IP address from which a player logs in.
- BindingManager Integration: Leverages the BindingManager plugin to dispatch detailed login notifications, allowing for customizable notification delivery methods (e.g., to Discord, Telegram, etc., depending on BindingManager's configuration).
- Lightweight: Focuses solely on login event detection and notification dispatch, ensuring minimal server overhead.
This plugin requires the following plugin to be installed on your server:
- BindingManager: Used for dispatching notifications.
Upon a player successfully logging into the server, LoginNotify creates a notification message containing the player's name and their login IP address. This message is then passed to the BindingManager plugin, which is responsible for the actual delivery and configuration of where and how these notifications are sent. LoginNotify itself does not directly send messages to players or external services.
To install the plugin, follow these steps:
- Download the latest
.pharfile from the Poggit CI page (or your preferred source). - Place the downloaded
.pharfile into theplugins/folder of your PocketMine-MP server. - Ensure you also have the BindingManager plugin installed.
- Restart your server.
LoginNotify is a very lightweight plugin and does not have its own config.yml. All notification delivery and management are handled by the BindingManager plugin. Please refer to the BindingManager documentation for notification configuration.
Contributions are welcome and appreciated! Here's how you can contribute:
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Please make sure to update tests as appropriate and adhere to the existing coding style.
This project is licensed under the CSSM Unlimited License v2.0 (CSSM-ULv2). Please note that this is a custom license. See the LICENSE file for details.