https://github.com/trilinder/limittnt
A Minecraft datapack to limit TNT lag
https://github.com/trilinder/limittnt
datapack datapacks minecraft
Last synced: 4 months ago
JSON representation
A Minecraft datapack to limit TNT lag
- Host: GitHub
- URL: https://github.com/trilinder/limittnt
- Owner: TriLinder
- License: gpl-3.0
- Created: 2021-04-29T15:09:21.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-29T15:54:40.000Z (about 5 years ago)
- Last Synced: 2025-03-02T09:28:51.354Z (over 1 year ago)
- Topics: datapack, datapacks, minecraft
- Language: mcfunction
- Homepage:
- Size: 2.32 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LimitTNT
LimitTNT is a simple datapack to protect your server from TNT lag.
**How to use:**
1. Install the datapack
2. The datapack is now fully working! But you may also like to change the settings.
**How to change settings:**
All settings are stored inside the objective `tntLimiter`.
`limit` is a soft limit, when reached, only 750 TNTs will get killed. This means that the explosion *should* still continue.
**NOTE: Setting the `limit` value lower than 750 will kill all TNTs when the limit is reached**
`limit2` is a hard limit, when reached, **ALL** TNTs will get killed.
**NOTE: You cannot change this value directly, modify the `multiplier` value instead**
`multiplier` is a multiplier of the hard limit, `limit * multiplier = limit2`
**TIP: If you want to turn off the hard limit completely, change the multiplier value to a high number**
Players with the `tntDebug` tag will get notified when a limit is reached.
