Supported Games
Block Remover allows admins to count and remove all building blocks which are outside of cupboard range.
Detection and removal can cause a brief server spike, but even with a large amount of entities it should not take much longer than a second. A warning message is printed to chat to let players know when an admin is removing twig building blocks.
Commands
block.count <grade>-- Count the number of<grade>blocks which are outside of cupboard rangeblock.remove <grade>-- Remove all<grade>blocks which are outside of cupboard rangeblock.countall-- Count the number of blocks which are outside of cupboard rangeblock.removeall-- Remove all blocks which are outside of cupboard range
Permissions
blockremover.countblockremover.remove
Grades
- Twigs = 0
- Wood = 1
- Stone = 2
- Metal = 3
- TopTier = 4
Configuration
{
"WarnPlayers": false,
"Version": {
"Major": 0,
"Minor": 4,
"Patch": 55
}
}
Localization
Replacement Keys
- block.Count - Block count being removed
- block.Grade - Building block grade being removed | block.remove ONLY
- block.RemoveList - A comma separated list of block types being removed with counts | block.removeall ONLY
- task.StartTime - The time the task was started
- task.EndTime - The time the task was ended
- task.ElapseSeconds - The amount of seconds it took for the task to complete
{
"Block.Remove.Grade.Start": "Admin is removing all {block.Grade} blocks outside of Building Privilege...",
"Block.Remove.Grade.End": "Admin has removed {block.Count} {block.Grade} blocks from the map",
"Block.Remove.All.Start": "Admin is removing all blocks outside of Building Privilege...",
"Block.Remove.All.End": "Admin has removed {block.Count} blocks from the map"
}
Credits
- Nogrod and bawNg for the original version
MIT License
Copyright (c) 2019 austinv900
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

