Custom Spawn Points

Create custom spawn points for your server

Total Downloads: 3,683 - First Release: May 29, 2015 - Last Update: Jun 30, 2017

4.73333/5, 15 likes
  1. Same here!
    Still after 180 update
     
  2. oxide.reload CustomSpawnPoints ;)
     
  3. Can not get custom spawn to work after update
     
  4. @PlayerKnownAsRay It works (just now installed and used it). I don't think it's documented in the overview, had to go through every page of this discussion, but in RCON you have to type:
    spawns.config [filename]
    after you set and save the spawn file in-game.
     
  5. In regards to
    Custom Spawn Points for Rust | Oxide

    I was seeking information on how to disable Entity detection radius? I want to set spawns on top of foundations but cannot because of this.
    I have tried setting the radius to 0 but this does not help,

    Thanks in advance.
     
  6. The WelcomeTP plugin has disappeared and I need something that I can set as a first time login spawn for a "Welcome Center" building. Is there anyway to do that with this one for first time connection ONLY. I am using the paid random spawns plugin for normal spawning
     
  7. Wulf

    Wulf Community Admin

    WelcomeTP | Oxide < hasn't moved nor disappeared.
     
  8. Thanks ended up finding it after going thru every plugin. Wasnt showing thru alphabetically listing or googling "WelcomeTP Rust"
    Thank Wulf
     
  9. Wulf

    Wulf Community Admin

    It's a universal plugin, not just a Rust plugin.
     
  10. Ah, thats why
     
  11. Hello, I have a problem Every time I put the radius to 0 in the .conf file it automatically goes back to 10. Does anyone have an idea?
     
  12. I'm not getting a spawns.json file, but when I /spawns open and show, I can see all the spawn points I set.
     
  13. Upon server startup I get:
    Code:
    Spawns v2.0.35 by Reneb / k1lly0u on startup
    Failed to call hook 'OnPluginLoaded' on plugin 'CustomSpawnPoints v1.1.1' (NullR
    eferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.CustomSpawnPoints.LoadSpawnpoints () [0x00000] in <filename u
    nknown>:0
      at Oxide.Plugins.CustomSpawnPoints.OnPluginLoaded (Oxide.Core.Plugins.Plugin p
    lugin) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CustomSpawnPoints.DirectCallHook (System.String name, System.
    Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod meth
    od, 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[] arg
    s) [0x00000] in <filename unknown>:0
    I've tried making a new database of spawn locations with the same result.

    Possibly related plugins installed:
    Code:
    CustomSpawnPoints v1.1.1 by Reneb / k1lly0u
    NoBackpacks v1.0.3 by hoppel
    NoDeathScreen v0.1.1 by Wulf/lukespragg
    NoSleepers v0.4.1 by Wulf/lukespragg
    NoWeaponDrop v1.0.1 by FujikuraOther errors on startup (probably not related to this)
    [code]Build v1.2.5 by Reneb & NoGrod, repeatedly spams:
    Can't remove MeshFilter because Imposter (Script) depends on it
    Can't remove MeshRenderer because Imposter (Script) depends on it
    Portals v2.0.5 by LaserHydra, 5x error:
    Code:
    Duplicate permission registered 'portals.use' (by plugin 'Portals')
    Every time someone dies by arrow I get a lengthy error as well
    Code:
    Setting parent to entity that hasn't spawned yet! (net is null)
    Failed to call hook 'IOnBasePlayerAttacked' on plugin 'RustCore v2.0.3836' (Null
    ReferenceException: Object reference not set to an instance of an object)
      at BaseEntity.SetParent (.BaseEntity entity, UInt32 boneID) [0x00000] in <file
    name unknown>:0
      at WorldItem.ParentBecoming (.BaseEntity ent) [0x00000] in <filename unknown>:
    0
      at BaseCorpse.TakeChildren (.BaseEntity takeChildrenFrom) [0x00000] in <filena
    me unknown>:0
      at BasePlayer.CreateCorpse () [0x00000] in <filename unknown>:0
      at BasePlayer.OnKilled (.HitInfo info) [0x00000] in <filename unknown>:0
      at BaseCombatEntity.Die (.HitInfo info) [0x00000] in <filename unknown>:0
      at BasePlayer.Die (.HitInfo info) [0x00000] in <filename unknown>:0
      at BaseCombatEntity.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0
      at BasePlayer.Hurt (.HitInfo info) [0x00000] in <filename unknown>:0
      at BaseCombatEntity.OnAttacked (.HitInfo info) [0x00000] in <filename unknown>
    :0
      at BasePlayer.OnAttacked (.HitInfo info) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.RustCore.IOnBasePlayerAttacked (.BasePlayer player, .HitInf
    o info) [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (ob
    ject,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invoke
    Attr, System.Reflection.Binder binder, System.Object[] parameters, System.Global
    ization.CultureInfo culture) [0x00000] in <filename unknown>:0
    Any help would be welcome.
    Thanks
     
    Last edited by a moderator: Feb 25, 2018
  14. The errors thrown up by death by arrow disappeared when I unloaded NoSleepers. Using CorpseDuration instead.
    Got the same errors when using KillFeed. Using DeathNotes instead, had to add a message for "Arrow" in config.
    Still need help with Build errors and Portals errors, will ask in those channels.
     
  15. Any update on this?
     
  16. I get this error when loading my server:
    Code:
    Failed to call hook 'OnPluginLoaded' on plugin 'CustomSpawnPoints v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.CustomSpawnPoints.LoadSpawnpoints () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CustomSpawnPoints.OnPluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CustomSpawnPoints.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. hey guys, getting this error since last update game ,
    Code:
    [Error] Failed to call hook 'OnPluginLoaded' on plugin 'CustomSpawnPoints v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.CustomSpawnPoints.LoadSpawnpoints () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CustomSpawnPoints.OnPluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CustomSpawnPoints.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
    Any idea's?
     
    Last edited by a moderator: Apr 22, 2018
  18. I managed to fix the NRE on server startup. Here is a snippet, starting at line 14.

    Code:
            .....      
            private List<Vector3> spawnPoints = new List<Vector3>();
            private List<Vector3> remainingPoints = new List<Vector3>();
            private bool initialized;
            private bool started; //added        #endregion        #region Oxide Hooks      
            void OnServerInitialized()
            {
                started = true; //added
                LoadVariables();
                if (Spawns)
                    LoadSpawnpoints();
            }
            void OnPluginLoaded(Plugin plugin)
            {
                if (!initialized && started && plugin?.Title == "Spawns") //modified        
                    LoadSpawnpoints();          
            }
            object OnPlayerRespawn(BasePlayer player)
            .....
    
    Probably not the best solution, as I am doing my first steps in programming, but it's working for me so far.

    Greetings
     
  19. Getting this error upon server restarts.
    Code:
    07:00 [Error] Failed to call hook 'OnPluginLoaded' on plugin 'CustomSpawnPoints v1.1.1' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.CustomSpawnPoints.LoadSpawnpoints () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CustomSpawnPoints.OnPluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CustomSpawnPoints.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
     
    Last edited by a moderator: Apr 22, 2018
  20. Please put in an option to spawn at custom spawn points when a player dies. Let's say I have 2 pvp arena's in different areas of the map. I want dead players to have to option to choose any one of the spawn points I add in, as well as the default RANDOM