Skip to content

This PocketMine-MP plugin provides flexible login notifications by capturing player names and IP addresses and dispatching them via the BindingManager for extensible handling and delivery.

License

Notifications You must be signed in to change notification settings

newlandpe/LoginNotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoginNotify

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.

Features

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

Dependencies

This plugin requires the following plugin to be installed on your server:

Working Principle

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.

Installation

To install the plugin, follow these steps:

  1. Download the latest .phar file from the Poggit CI page (or your preferred source).
  2. Place the downloaded .phar file into the plugins/ folder of your PocketMine-MP server.
  3. Ensure you also have the BindingManager plugin installed.
  4. Restart your server.

Configuration

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.

Contributing

Contributions are welcome and appreciated! Here's how you can contribute:

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Please make sure to update tests as appropriate and adhere to the existing coding style.

License

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.

About

This PocketMine-MP plugin provides flexible login notifications by capturing player names and IP addresses and dispatching them via the BindingManager for extensible handling and delivery.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •  

Languages