Spawns Database

Spawns database plugin for external plugins

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

4.95833/5, 24 likes
  1. Delete the file....
     
  2. ey..i did already reserve this answer :p
     
  3. is there a way to do it through chat instead of deleting the save file through the server?
     
  4. Negative, not possible to remove files through a plugin
     
  5. Hi
    Is possible to add example 5 second god mode when player respawn ?
     
  6. Hi k1lly0u,
    can you please add a permission to allow specific players to create spawns?
    That would help to define a event-builder team of players that are not moderators or admins.
    Thanks a lot.

    [DOUBLEPOST=1473147035][/DOUBLEPOST]
    That would be great to avoid spawn kills in the event.
    However, I think that is not part of this plugin. This plugin is only managing spawn positions.
    Maybe it is possible to improve the GetRandomSpawn() function to avoid using recently uses spawn positions.
    How about creating a random order but then using always the next spawn points in the list?
     
  7. Ill consider it, wrong thread also
    I can add a permission but I wouldn't recommend letting players create spawn files. Just think of all the useless spawnfiles you are going to be removing from your server.
    Its funny you say that I was only just thinking of a way to make a round-robin type system for spawn points in Events instead of it being random. But that would be handled via eventmanager/events, not this
     
  8. How do you delete an entire spawn file instead of just removing the spawns within it? I've manually deleted the entries from the spawns_data file multiple times but they keep showing up, even though I've also deleted the corresponding spawn file itself. I'm guessing I need to do it in game for it to properly take effect.

    It also seems that when you open an existing spawnfile, add spawns, then save it, it creates a duplicate spawnfile of the same name.

    I'm also having an issue where I can't remove the final spawn on a spawnfile which is why I want the ability to remove the whole file in game.

    Here you can see I've opened the spawnfile, hit show spawns, hit spawns remove 1, and it tells me it doesn't exist.
     

    Attached Files:

    Last edited by a moderator: Sep 10, 2016
  9. Code:
    (01:43:42) | [Oxide] 02:43 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[UnityEngine.Vector3]].ContainsKey (System.String key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Spawns.LoadSpawns (System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Spawns.GetSpawnsCount (System.String filename) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Spawns.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    that problem i have on fresh server
     
  10. Hi ! I have a problem with your plugins:

    03:46 [Warning] Ignored obsolete game extension reference 'Oxide.Ext.Rust' in plugin 'Spawns'

    It's appear when i restart my server, an idea to suggest ?
     
  11. Hi, having a problem where players spawn OUTSIDE of an arena, and there is no spawn set out there, check and double checked. Any ideas?

    Also, zone is set to notp false, so that's not it either.... hmmm
     
    Last edited by a moderator: Oct 7, 2016
  12. k1lly0u updated Spawns Database with a new update entry:

    2.0.2

     
  13. I can't launch event with this update.. "Spawnfile invalide"
     
  14. Its possible to add a spawn point on Airfield for example, and after a map wipe ( with another random map ) it will still work and spawn on Airfield ?
     
  15. Nah. it works on coordinates which are always different when you change the seed. you have to redo your npc's with every wipe providing you changed seed. at least you can make it a little easier on yourself by adding an npc that's already in the data file but set to disabled. the clone will be enabled. you then set the Clones waypoint then clone him based off his id
     
  16. Ok, thx, when you set a spawn for an event, all players spawn on the same place ? Or its random in a zone ?
     
  17. Hey @Reneb I'm using this plugin with the GunGane plugin for Event Manager, but everyone always seems to spawn halfway into the foundation or under the map. Do you know what might be causing this? :) This is with a Zone without any weird flags, just undestr and nostability.
     
  18. there is a plugin that allows me to wake up all the players in the same place?
     
  19. yes, custom spawn points, i use it.
    [DOUBLEPOST=1478725432][/DOUBLEPOST]Looks like there's a bug when editing, you remove some points, then save, it seems to save but doesnt tell you its saved. Also, the last point wont remove

    Code:
    (21:00:27) | [Oxide] 13:00 [Error] Failed to call hook 'cmdSpawns' on plugin 'Spawns v2.0.2' (ArgumentException: An element with the same key already exists in the dictionary.)
    (21:00:27) | [Oxide] 13:00 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,System.Collections.Generic.List`1[UnityEngine.Vector3]].Add (System.String key, System.Collections.Generic.List`1 value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Spawns.SaveSpawnFile (.BasePlayer player, System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Spawns.cmdSpawns (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Spawns.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
    upload_2016-11-9_21-3-7.png

    upload_2016-11-9_21-3-36.png

    upload_2016-11-9_21-3-49.png

    The only way round it is to add another spawn point, then remove the one it was saying didnt exist.