LightSwitch

Allows you to turn on and off all the lights on the server

Total Downloads: 1,040 - First Release: Dec 29, 2015 - Last Update: Jan 2, 2016

5/5, 6 likes
  1. Oxide for Hurtworld | Oxide There is where you can download the oxide plugin-server.
     
  2. Eee, cheers thanks)
     
  3. Plug-in is to put the position, please G: \ SteamCMD \ hurtworld \ oxide \ config
     
  4. Getting this error after the update on 2/5/2016

    3:55 AM [Error] Failed to call hook 'LightManagerLightsCommand' on plugin 'LightSwitch v1.0.2' (KeyNotFoundException: The given key was not present in the dictionary.)

    Along with
    Code:
    3:55 AM [Debug]  at System.Collections.Generic.Dictionary`2[uLink.NetworkViewID,NetworkViewData].get_Item (NetworkViewID key) [0x00000] in <filename unknown>:0
      at NetworkManager.RemoveRPCsByName (uLink.NetworkView view, System.String rpcName) [0x00000] in <filename unknown>:0
      at HurtMonoBehavior.RemoveRPCsByName (System.String rpcName) [0x00000] in <filename unknown>:0
      at OnOffDeviceServer.SetPowered (Boolean powered) [0x00000] in <filename unknown>:0
      at OnOffDeviceServer.StartUse (.WorldItemInteractServer usedBy) [0x00000] in <filename unknown>:0
      at FireTorchServer.StartUse (.WorldItemInteractServer usedBy) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LightSwitch.TurnOffLights (.PlayerSession s, Single radius) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LightSwitch.LightManagerLightsCommand (.PlayerSession session, System.String cmd, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.LightSwitch.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Oct 11, 2016
  5. Support itemV2?