Spyglass Sniper Plugin
Use an AWP-themed Spyglass to shoot at your enemies!
Features
- AWP Sniper Rifle: Players can wield the AWP sniper rifle (using a spyglass item) to shoot projectiles at entities.
- Custom Death Messages: When a player is killed by the AWP sniper rifle, custom death messages are displayed, indicating the cause of death. (configurable)
- Backfire Effect: There is a chance that the sniper rifle backfires and kills the player using it. (configurable)
- Cooldown System: Shooting the gun mutiple times makes it get hot. So you need to wait a few seconds so It cooldowns down!
Installation
- Copy the plugin
.phar
file to theplugins
directory of your PocketMine server. - Restart the server to load the plugin.
- Get a Spyglass and couple of Gold Nuggets and Start Shooting!
Config
custom-death-messages
: Set this to true to enable custom death messages when players are killed by the sniper rifle.backfire
: Set this to true to enable the chance of the sniper rifle backfiring and killing the player using it.shootable-blocks
: Set this to any blocks you want to shoot though (wallbang).
How to Contribute?
We welcome pull requests from anyone interested in improving this project. Before making major changes, please open an issue to discuss your proposed changes and gather feedback from the project maintainers. When submitting a pull request, please ensure that you have updated the relevant tests to reflect your changes and ensure they pass successfully. Other than that, Thank you for your contribution!
Credits
- PocketAI - Code generating AI revolving around Pocketmine-MP
- NhanAZ - Resource Pack Registry Library
- RafatAR32_ - Spyglass Sniper Model