Download the PHP package aiptu/playerwarn without Composer
On this page you can find all versions of the php package aiptu/playerwarn. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aiptu/playerwarn
More information about aiptu/playerwarn
Files in aiptu/playerwarn
Package playerwarn
Short Description A PocketMine-MP plugin that allows server administrators to issue warnings to players and keep track of their warning history.
License MIT
Informations about the package playerwarn
PlayerWarn
A PocketMine-MP plugin that allows server administrators to issue warnings to players and keep track of their warning history.
Features
- Player Warning System: A comprehensive system for issuing warnings to players who violate server rules or exhibit inappropriate behavior.
- Warning Limits: Set configurable limits on the number of warnings a player can accumulate, triggering actions when limits are reached.
- Customizable Punishments: Define various types of punishments for players exceeding the warning limit, including kicking, banning, and IP banning.
- Delayed Punishments: Schedule punishments to activate after a specified delay, allowing time for players to correct behavior.
- Warning Expiration: Assign expiration dates to warnings; players are notified when warnings expire.
- Discord Integration: Integrate with Discord via webhooks to receive notifications for warning-related events, punishments, and more.
- Player Notifications: Players receive notifications upon joining, indicating their current warning count, new warnings since last login, and active punishments.
- Update Notifications: Optionally notify administrators of plugin updates to ensure the latest version is being used.
- Configurable Warning Messages: Customize warning messages sent to players upon receiving a warning or upon warning expiration.
- Configurable Punishment Messages: Define custom messages for each punishment type, displayed when punishments are applied.
- Pending Punishments: Queue pending punishments for offline players, ensuring they are applied upon login.
- Ease of Management: Use commands to issue warnings, remove warnings, clear all warnings for a player, and view warning history.
- Flexible Configuration: Highly customizable configuration options to adapt the warning and punishment system to specific server needs.
- Event Handling: Utilize event listeners to track player actions and trigger appropriate responses based on warnings and punishments.
- Comprehensive Logging: Log errors, warnings, and important events to maintain a record of significant activities related to warnings and punishments.
Default Config
Discord Integration
Use this awesome website to generate valid json with built-in preview: Discohook, also you can send webhooks to your server with it if you just wan't fancy embed in your channel without any automatization.
-
Webhook on Discord
- Go to Server settings -> Webhooks -> Create Webhook
- Setup name, avatar and the channel, where it will be posted. Copy Webhook URL. Do not share! Very dangerous!
- Click Save and then the Done button
- Enable Discord Integration
- Open the config.yml file.
- Find the discord section and change enabled to true.
- Paste the webhook URL under webhook_url.
Commands
The PlayerWarn plugin provides the following commands for chunk clearing:
/warn <player> <reason> [duration]
: Command to issue a warning to a player.- Permission:
playerwarn.command.warn
- Permission:
/clearwarns <player>
: Command to clear all warnings for a player.- Permission:
playerwarn.command.warn
- Permission:
/warns [player]
: Command to view all warnings.- Permission:
playerwarn.command.warn
- Permission:
Permissions
To control access to the commands provided by the PlayerWarn plugin, the following permissions are available:
playerwarn.command.warn
: Allows players to use the/warn
command.playerwarn.command.clearwarns
: Allows players to use the/clearwarns
command.playerwarn.command.warns
: Allows players to use the/warns
command.
Grant these permissions to specific player groups or individuals using a permissions management plugin of your choice.
Upcoming Features
- Currently none planned. You can contribute or suggest for new features.
Additional Notes
- If you find bugs or want to give suggestions, please visit here.
- We accept all contributions! If you want to contribute, please make a pull request in here.
- Icons made from www.flaticon.com