TnT Level Limit
What is TnT Level Limit?
TnT Level Limit is an anti-griefing plugin primarily aimed at server owners/moderators which allows you to set at which level TnT can be placed. We're currently working hard on the next build where you can expect to find upcoming features listed below on this page!
DOWNLOAD VERSION 1.2.5 - fixes major issue with config not saving. (delete your old config).
Installation
Just drop the file in your plugins folder, and restart your server. The configuration will be generated automatically. You can then either edit the configuration file, or use the in-game commands to alter the plugin settings.
Commands
Command | Args | Description |
---|---|---|
/tntlevellimit | None | Shows the list of all TnTLevelLimit commands |
/tntlevel limit <value> | <value> the new TnT level limit | Sets the new height level for TnT |
/tntlevel reload | None | Reloads the TnTLevelLimit Configuration |
Command Aliases: /tntlevellimit or /tntlevel or /tntl
Args Aliases: limit or l
Permissions
Permission Node | Permission Description |
---|---|
tntlevel.setlimit | Allow players to set the TnT level limit. |
tntlevel.reload | Allow players to reload the configuration. |
tntlevel.bypass | Allow players to place TnT above the limit. |
tntlevel.nobypass | Disallow OPs to place TnT above the limit. |
tntlevel.log | The coordinates of a player with this permission are printed to the console showing their location. |
How TnT Level Limit Works
This plugin will protect TnT from being placed above a certain level. E.g. y=30. This means that all players can place TnT below level 30, but not above it.
You can specify a permission for players to override this limit. "tntlevel.bypass"
You can either change the limit in the config.yml file, and then restart your server (or run /tntlevel reload). OR you can change the value dynamically in-game with /tntlevel limit <value> You may also check what the current setting is by using /tntlevel limit by itself.
Note: This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Gravity's auto-updater also checks for the latest version of TnTLevelLimit and will say if there is an update in the console. To disable this notification, change update-check in the config.yml in the TnTLevelLimit folder to false instead of true.
Upcoming Features
Update checking.- Set individual limits via permission nodes e.g. tntlevel.limit.<limit>
- Block TnT damage above the level, even when TnT is below the limit.
If you have any comments or improvements to the plugin that we could make, then please feel free to comment!