Hammer Time

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

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

5/5, 18 likes
  1. Hi,
    I don't have the demolish option, is this normal ?
     
  2. Make sure you have a cupboard placed and you're authorized on it.
     
  3. Since last Oxide update i get this error:

    (10:04:29) | Failed to call hook 'OnServerInitialized' on plugin 'HammerTime v1.0.17' (NullReferenceException: Object reference not set to an instance of an object)

    (10:04:29) | at InvokeAction.GetHashCode () [0x00000] in <filename unknown>:0

    at System.Collections.Generic.EqualityComparer`1+DefaultComparer[InvokeAction].GetHashCode (InvokeAction obj) [0x00000] in <filename unknown>:0

    at System.Collections.Generic.Dictionary`2[InvokeAction,System.Int32].TryGetValue (InvokeAction key, System.Int32& value) [0x00000] in <filename unknown>:0

    at ListHashSet`1[InvokeAction].Remove (InvokeAction val) [0x00000] in <filename unknown>:0

    at InvokeHandler.QueueRemove (InvokeAction invoke) [0x00000] in <filename unknown>:0

    at InvokeHandler.CancelInvoke (UnityEngine.Behaviour sender, System.Action action) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.HammerTime.CancelInvoke (System.String methodName, System.Object obj) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.HammerTime.DoInvokes (.BuildingBlock block, Boolean demo, Boolean rotate) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.HammerTime.OnServerInitialized () [0x00000] in <filename unknown>:0

    at Oxide.Plugins.HammerTime.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  4. and i have this problem, after restart server
     
  5. Shady757 updated Hammer Time with a new update entry:

    1.0.18

     
  6. I have a problem sometimes with HammerTime, most of the walls I can demolish, some walls not for some reason, despite being right next to walls I can (all in cupboard radius). Triangle Foundation I can't demolish at all, not even with the demolish override on.
     
  7. Is this a problem everyone on the server is facing, or just you? Also, could you please paste your config? Thanks!
     
  8. Yes all have the problem.

    Config file:

    {
    "AllowDemolishAfterServerRestart": true,
    "AllowRotateAfterServerRestart": true,
    "ClanCanDemolish": true,
    "ClanCanRotate": true,
    "DemolishTime": -1.0,
    "FriendsCanDemolish": false,
    "FriendsCanRotate": false,
    "MustOwnToDemolish": true,
    "MustOwnToRotate": true,
    "RepairDamageCooldown": 8.0,
    "RotateTime": -1.0
    }
     
  9. Is it possible to make an option in the config, so admins can demolish pasted structures without having tc's ?
    Working on an event server on a 150x70 arena/playfield
     
  10. Unfortunately, due to most of the GUI being handled almost exclusively client-side, I don't think it would be possible to have the option show up without TC access.

    If you don't mind my asking, is there a reason you need hammer remove and not something like "ent kill" or even RemoverTool's admin remove?
     
  11. I Don't want to use the buils tool too much, and the remover tool removes more then I want with 1 click, messing up my event playfield :p

    EDIT: and also, with remove I have to type continuesly to remove and disable remover tool to build again
     
  12. you can bind /remove to a key by typing bind # "chat.say /remove"
     
  13. That does not take away the problem than more that one thing gets removed sometimes with 1 single click ;)
     
  14. i was just giving the solution to having to type out /remove all the time :p
     
  15. never had 2 things get removed by using this plugin.
    Maybe the user is pressing the button twice.Its easy to do .
     
  16. If I " grant group default hammertime.allowed " will this allow all players to access the mod?
     
    Last edited by a moderator: Nov 13, 2017
  17. If you read the overview, your answer is in there.
    Every player who joins the first time is default.
     
  18. Ok, the way I read it was I had to assign the privileges to each user. The question is if I can assign to everyone as a group using default.

    If I misread or misunderstood help me out. thx
     
  19. You can assign the permissions to the group, yes. This goes for any permission in any plugin, as far as I know. ;)
     
  20. Thanks for confirming that Shady :)