This is a simple plugin that allows you to increase or decrease how long a player can rotate and/or demolish their building blocks (walls, floors, stairs, etc.)
Setting it to 0 will disable the option entirely. Setting it to -1 will allow a player to use the option at any time.
In order for this to work, the player who is placing the object (the owner of the object) must have the permission "hammertime.allowed".
In order for the "RepairDamageCooldown" settings to work, the person attempting to repair must have the permission "hammertime.repaircooldown".
If you want a player to be able to demolish or rotate something regardless of ownership (tool cupboard access still needed), you can grant the permissions "hammertime.demolishoverride" and "hammertime.rotateoverride", respectively.
Config (and Rust) by default allows a player to use these options for 600 seconds (10 minutes).
NOTE: This will only affect newly built structures, and not ones before installing this plugin. (Unless the AfterServerRestart config options are set to true)
Config:
{
"AllowDemolishAfterServerRestart": false,
"AllowRotateAfterServerRestart": false,
"ClanCanDemolish": false,
"ClanCanRotate": false,
"DemolishTime": 600.0,
"FriendsCanDemolish": false,
"FriendsCanRotate": false,
"MustOwnToDemolish": false,
"MustOwnToRotate": false,
"RepairDamageCooldown": 8.0,
"RotateTime": 600.0
}
"AllowDemolishAfterServerRestart": This resets the timer to the specified interval in the config whenever the server restarts again.
"AllowRotateAfterServerRestart": Same as above, but for rotating.
"DemolishTime": How long a player can demolish their object.
"RotateTime": How long a player can rotate their object.
"MustOwnToDemolish": The player must own the object to be able to remove it with the Hammer. This MUST be set to true for FriendsCanDemolish, FriendsCanRotate, ClansCanDemolish, and ClansCanRotate config options to work properly.
"MustOwnToRotate": Same as above, for rotate.
"RepairDamageCooldown": How long before you can repair an object that has been damaged again. (Currently only works with higher intervals)
The original author may request that this plugin be removed and there is a risk that the plugin may be unavailable in the future.
Note that the current maintainer may not have permission to assign a license to the plugin if they are not the original author, so explicit permission would need to be obtained from the original author in order for the plugin to remain openly available and guarantee that it will be around for all to enjoy going forward.