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 ?
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
-
Thanks! -
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()); }
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"); }
Last edited by a moderator: Mar 15, 2016 -
-
-
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
-
Attached Files:
-
-
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.
-
Try the command
Code:reload Spawns
-
-
i am trying to intall this plugin, but its doesn't work, seem that its's inactive and all commands are unknow
-
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)
-
can we get an update for this please
-
How can I delete a whole Spawn file?
Thanks
Llathrum -
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:
-
-
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 -
-
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?
-
There is a spawn check in the config as far as I remember, maybe switch it to false will help? -
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)