Hammer Time

Tweak "Demolish" and "Rotate" time when using the hammer

Total Downloads: 4,351 - First Release: Feb 19, 2016 - Last Update: Jun 30, 2018

5/5, 18 likes
  1. After update 12/01-17 I have players reporting that they can't destroy their own walls anymore.
    I've tried uninstalling the plugin and add it to my server again, but with no luck.
    However the plugin produce no errors in console
     
  2. If you remove the plugin and when somebody places a new wall or something and it's not destroyable/rotatable, then it's not the plugin. Are you sure the players have a cupboard placed and authorized?
     
  3. Didn't mean when after removing the plugin it wasn't possible... players can't remove old walls, I uninstalled plugin, then installed it again freshly and players still couldn't remove old walls, new walls can only be removed within the normal grace period per default game settings.
    And yes players have cupboard and authorized, i got a bunch of players now reporting it not working :(
     
  4. I wasn't saying that's what you meant, I was just letting you know you could test it that way if you hadn't already. ;)

    So, I'll have to take a look personally, since what you're describing does actually appear to be a bug. If I run into any issues, I'll fix them and post an update here, otherwise I'll let you know what I did for it to work.
     
  5. Just an update, I've tested it and it seems to be working fine for me... I'm not sure why it's not working for you, could you paste your config?
     
  6. Please add use for the privilege)
     
  7. I'm not sure what you're asking, sorry.
     
  8. I could guess, and try to translate:
    Please mister developer, could you add an option for using permissions with your plugin, if possible?
    Seems mostly kinda hard to let google translate put this in a full sentence :p
     
  9. Is there any possible way to get under 8 sec repair cooldown and not only on buildings ? Would be nice if this oculd work on everything u can build.
     
  10. I don't think it's possible, but I'll look into it.
     
  11. stopped working on update no error
     
  12. This plugin is causing my server to HANG when it starts up. It gets stuck right when it's trying to finish updating RustIO, making me think it was a RustIO issue but it's not... After process of elimination, server starts perfectly normal with HammerTime REMOVED from my plugins folder. Put HammerTime back, start the server up.. HANGS right around "Updating RustIO".

    EDIT - Apparently this is by design if you enabled remove after server restart.. checks every wall.. takes forever.. which is just too long for me I guess.
     
    Last edited by a moderator: Feb 10, 2017
  13. Should be pretty quick if you're on the latest version (don't know how you wouldn't be), because it just loops through the save list. How many entities are on your server? I'll try to make a test server to replicate yours.
     
  14. Not that many... 200K entities and 210K colliders..

    Here's my config:

    {
    "AllowDemolishAfterServerRestart": true,
    "AllowRotateAfterServerRestart": true,
    "AuthLevelOverrideDemolish": true,
    "DemolishTime": 172800.0,
    "MustOwnToDemolish": true,
    "MustOwnToRotate": true,
    "RepairDamageCooldown": 8.0,
    "RotateTime": 172800.0
    }
     
  15. pls UPD last rust!
     
  16. Wulf

    Wulf Community Admin

    Wulf updated Hammer Time with a new update entry:

    1.0.14

     
  17. (08:13:56) | [Oxide] 08:13 [Warning] Calling 'OnServerInitialized' on 'HammerTime v1.0.14' took 328391ms

    Any idea why this happends? Its been like this for months.
     
  18. This is because of the config options:
    Code:
    "AllowDemolishAfterServerRestart": false,
    "AllowRotateAfterServerRestart": true,
    
    If either one are set to true, it loops through the building blocks to invoke them again. Setting them to false will likely fix this, but I'm going to see about optimizing the code a bit.
     
  19. Can you add owner support from ClansIO and FriendsIO etc?

    Only thing holding me back putting this on my servers atm.