Respawner

Automatically respawns players with permission and optionally wakes them up

Total Downloads: 6,689 - First Release: Oct 22, 2014 - Last Update: Nov 9, 2017

5/5, 4 likes
  1. Wulf

    Wulf Community Admin

    I'll see if I can figure anything out. The only real option I can think of right now is adding a permission.
     
  2. How about respawn anyone inside the Arena Zone Radius?

    anyhow thanks for looking into it, would be a good addon :D
     
  3. Code:
    File: Respawner.lua Line: 103 invalid arguments to method: BasePlayer.Respawn:
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
      at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0
    
     
  4. Code:
    [Oxide] 4:42 PM [Error] Failed to run a 1.00 timer in 'Respawner v0.2.1'
    File: Respawner.lua Line: 103 invalid arguments to method: BasePlayer.Respawn:
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
      at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0 
    I was trying out this mod for a couple different purposes. I'm hoping to pair it with EventManager to keep spawns going quick in the Arena. Would it be possible to integrate functionality into zones manager? If not, I was hoping to pair it with m-Teleportation; would it be possible to force respawn at the /set home, so long as they weren't in an arena of course?
     
  5. Wulf

    Wulf Community Admin

    I'll work on getting a fix out as soon as possible.
     
  6. Code:
    [Oxide] 5:43 AM [Error] Failed to run a 1.00 timer in 'Respawner v0.2.1'
    File: Respawner.lua Line: 103 invalid arguments to method: BasePlayer.Respawn:
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unkn
    own>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System
    .Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x
    00000] in <filename unknown>:0
      at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[]
    inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
      at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename u
    Code:
      "Messages": {
        "CustomSpawn": "You've respawned at {location}",
        "SameLocation": "You've respawned at the same location",
        "SleepingBag": "You've respawned at your sleeping bag"
      },
      "Settings": {
        "AutoWakeUp": "true",
        "CustomSpawn": "false",
        "SameLocation": "false",
        "ShowMessages": "true",
        "SleepingBags": "false"
     
    Last edited by a moderator: Sep 11, 2015
  7. I have a problem.
    I want peaople resp in custom coordinates, i entered:
    Code:
    {
      "Messages": {
        "CustomSpawn": "You've respawned at {location}",
        "SameLocation": "You've respawned at the same location",
        "SleepingBag": "You've respawned at your sleeping bag"
      },
      "Settings": {
        "AutoWakeUp": "false",
        "CustomSpawn": "645, 9, 200",
        "SameLocation": "false",
        "ShowMessages": "true",
        "SleepingBags": "false"
      }
    }
    But in console i get this
    http://puu.sh/nStmd/d23622e3e2.png
     
  8. Code:
    12:57 [Error] Failed to run a 1.00 timer in 'Respawner v0.2.1'
    File: Respawner.lua Line: 103 invalid arguments to method: BasePlayer.Respawn:
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
      at LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00000] in <filename unknown>:012:57 [Error] Failed to call hook 'OnPlayerRespawned' on plugin 'Respawner v0.2.1'
    File: Respawner.lua Line: 117 invalid arguments to method: BaseEntity.ClientRPCPlayer:
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    
    Please fix problemes
     
  9. hello,

    plugin doesn't work (no message, no error in logs)

    default settings
     
  10. Wulf

    Wulf Community Admin

    It's a Lua plugin that I haven't updated to C# yet.
     
  11. Ah ok, .lua plugin doesn't work on latest oxide?
     
  12. Wulf

    Wulf Community Admin

    Lua plugins will only work if you have the Lua extension installed, which hasn't been bundled for a few months now.
     
  13. Wulf

    Wulf Community Admin

    I wouldn't bother, as this plugin is outdated. ;)
     
  14. @Wulf i would literally kiss you in you mouth if you could do a plugin that forces respawn and awake to be instant <3 I'm setting up a multi-arena server, so I can't use EventManager because it only manages 1 event at a time... :(

    I'm using ZoneManager+MagicArea+CustomSpawnPoints+SpawnDatabase, but as I said, I can't use EventManager as it doesn't support simultaneous and permanent (no time-limited) events.

    The only plugin i found is this, and I see that it's abandoned so... :(

    thx for any help provided!
     
  15. Wulf

    Wulf Community Admin

    Wulf updated Respawner with a new update entry:

    1.0.0

     
  16. Code:
    Failed to call hook 'OnEntityDeath' on plugin 'Respawner v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.Respawner.OnEntityDeath (.BaseEntity entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Respawner.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.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 
     
  17. Wulf

    Wulf Community Admin

    Wulf updated Respawner with a new update entry:

    1.0.1

     
  18. Wulf

    Wulf Community Admin

    Wulf updated Respawner with a new update entry:

    1.0.2