The
EndWar Plugin is a lightweight and efficient solution for restricting the placement of specific items, such as End Crystals and Respawn Anchors, in the End dimension. It provides easy-to-use commands, permission-based access, and dynamic toggling of restrictions, ensuring administrators have complete control over their server.
Features
- Customizable Restrictions:
- Prevent the placement of specific items (e.g., End Crystals, Respawn Anchors) in the End.
- Fully configurable via config.yml.
- Real-Time Toggling:
- Enable or disable restrictions on the fly using commands.
- Permission-Based Access:
- Ensure only authorized players can toggle restrictions or bypass them.
- Tab Completion:
- Simplifies command usage with intelligent tab-completion.
- Optimized for Performance:
- Built to handle large servers without impacting performance.
Installation
Step 1: Download the Plugin
Download the latest .jar file from the SpigotMC page or any other trusted source.
Step 2: Place the Plugin in the Server
- Drag and drop the .jar file into your server's plugins folder.
- Restart the server to load the plugin.
Step 3: Configure the Plugin
- After restarting, the plugin will generate a config.yml file in the plugins/EndWarPlugin/ directory.
- Edit config.yml to customize the restricted items and settings.
- Use /endwar reload to reload the configuration without restarting the server.
Commands
Command
Description
Permission
/endwar enable Enables item restrictions in the End. endwar.admin
/endwar disable Disables item restrictions in the End. endwar.admin
/endwar Displays usage instructions. endwar.admin
Permissions
Permission
Description
Default
endwar.admin Allows toggling restrictions and using commands. OP
endwar.bypass Allows bypassing restrictions. False
How It Works
Block Placement Restrictions
When restrictions are enabled:
- If a player attempts to place a banned block (e.g., RESPAWN_ANCHOR), the action is canceled, and the player is notified with a custom message.
- OPs or players with the endwar.bypass permission can bypass these restrictions.
End Crystal Restrictions
End Crystals are treated as entities, not blocks. The plugin listens for player interactions and prevents the placement of End Crystals in the End.
Changelog
Version 1.0
- Initial release.
- Features:
- Restrict placement of banned items in the End.
- Dynamic toggling of restrictions.
- Permission-based access control
Support
If you encounter any issues or have suggestions, feel free to reach out via:
https://discord.knightmc.fun