Spawns Database

Spawns database plugin for external plugins

Total Downloads: 11,169 - First Release: Nov 14, 2014 - Last Update: Jul 18, 2017

4.95833/5, 24 likes
  1. How do I add several Spawns for each person, for example : Each player has a respawn home and I want to set for players born in every home. Or there is no way ?
     
  2. Did you get an answer to this? I am thinking I could use this functionality as well.

    Thanks!
     
  3. Hello, Developer!

    Ive been using outdated plugin and i wanted to fix that so i can use.
    Only problem to me is RPC error Forcepositionto

    How can i solve this code?

    Code:
    // Spawns Database functionality
                        if (SpawnsDatabase != null)
                        {
                            var loadFile1Status = SpawnsDatabase.Call("loadSpawnfile", (string) Config["TeamOneSpawnfile"]);
                            var loadFile2Status = SpawnsDatabase.Call("loadSpawnfile", (string) Config["TeamTwoSpawnfile"]);
                            if (loadFile1Status is string || loadFile2Status is string )
                            {
                                PrintWarning("Correct spawn files not found.");
                            }
                            else
                            {
                                Vector3 spawnPoint = (Vector3)GetSpawnPoint(player);
                                ForcePlayerPosition(player, spawnPoint);
                                Puts("{0} spawned using Spawns Database, to position {1}", player.displayName, spawnPoint.ToString());
                            }
    I Think this is problem.
    Code:
    static void ForcePlayerPosition(BasePlayer player, Vector3 destination)
            {
                //PutToSleep(player);
                player.transform.position = destination;
                lastPositionValue.SetValue(player, player.transform.position);
                player.ClientRPCPlayer(null, player, "ForcePositionTo", new object[] { destination });
                player.TransformChanged();            player.SetPlayerFlag(BasePlayer.PlayerFlags.ReceivingSnapshot, true);
                player.UpdateNetworkGroup();            player.SendNetworkUpdateImmediate(false);
                player.ClientRPCPlayer(null, player, "StartLoading");
                player.SendFullSnapshot();
                player.SetPlayerFlag(BasePlayer.PlayerFlags.ReceivingSnapshot, false);
                player.ClientRPCPlayer(null, player, "FinishLoading");
            }
    Can't seem find any.
     
    Last edited by a moderator: Mar 15, 2016
  4. I am having the same problem with most recent version of spawnsdb, eventmanager, deathmatch. I spawn correctly but my players spawn deep in water, not even close to the spawnpoints I have set (they are all inland). I was not using noclip when creating the spawn points.
     
  5. Does the zone have eject true? I was having that issue with eject true and disabled it. No more issues. Just my 2 cents.
     
  6. Code:
    (13:45:12) | [Oxide] 12:45 [Warning] Ignored obsolete game extension reference 'Oxide.Ext.Rust' in plugin 'Spawns'
    (13:45:14) | [Oxide] 12:45 [Info] Spawns was compiled successfully in 2000ms
    (13:45:14) | [Oxide] 12:45 [Info] Loaded plugin Spawns Database v1.1.0 by Reneb
    Is this ok?
     
  7. Try this one
     

    Attached Files:

  8. Code:
    (14:03:43) | [Oxide] 13:03 [Error] Spawns plugin failed to compile!
    (14:03:43) | [Oxide] 13:03 [Error] Compiler couldn't be started.
     
  9. Its the same as the default file just the extension reference removed and that being removed would not cause this.
    Try the command
    Code:
    reload Spawns
    When server has started
     
  10. Uh! I just copied the suggested settings, and YES I had that setting true. Thanks Altimus Maximus! :)
     
  11. i am trying to intall this plugin, but its doesn't work, seem that its's inactive and all commands are unknow
     
  12. Code:
    (16:43:24) | [Oxide] 16:43 [Error] Failed to call hook 'GetSpawnsCount' on plugin 'Spawns v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)
     
  13. can we get an update for this please
     
  14. How can I delete a whole Spawn file?

    Thanks
    Llathrum
     
  15. If anyone has any problems creating a SpawnPoint for new players:

    I use the CustomSpawnPoints Version @Pepcfreak has modified (attached)
    And the SpawnsDatabase @Resistance has modified (also attached)

    Then just
    - go to the position you want to create the new SpawnPoint.
    - /spawns_new
    - /spawns_add
    - /spawns_save spawn
    - then open you rcon tool and enter
    - spawns.config spawn

    done, now new players and random spawns after death will spawn there.
     

    Attached Files:

  16. I did a new spawn file and started an event, but everyone that Spawns in is in the water under the Arena, other take falling damage. . . any idea why? I updated the Spawns.cs

    I cannot figure out the issue here. It seems like anyone that gets TPed to the Arena for the Events all end up drowning, I take falling damage every
    time
     
  17. Try the versions I posted above, what did you use at second coordinate? Zero?
     
  18. I am running the GunGame event, I have like 17 spawn points in the game, everyone one of them so far the people die or take serious damage when they spawn in. I will give the Custom Spawn Point file a try. . . . is that your version?
     
  19. No it was posted by the guys I mentioned up there, it works as far add I can say, but I tested it only like ten times yet.
    There is a spawn check in the config as far as I remember, maybe switch it to false will help?
     
  20. Code:
    [05/05/2016 22:45:24] [Oxide] 22:45 [Error] Failed to call hook 'GetRandomSpawn' on plugin 'Spawns v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)