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": 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)
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": 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)