I have been looking around for a guide since I am new myself. I couldn't find anything so I figured I would post how to use this plugin.
Pre-set up:
1) Make sure that you are an Admin on the server and have admin power. An easy test is to load into the game press F1 and type noclip
If you type noclip and then hit the spacebar and you can fly, then you are an admin
2) Now make sure to upload the plugin to your server. This should be placed in the folder oxide/plugins/Spawns.cs (this is the plugin)
3) In your console window type: oxide.reload * ( there is 1 space after oxide.reload then there is the *)
-This will unload and reload all plugins. You can use oxide.reload Spawns too but I always just reload them all. It's case sensitive so make sure you know the exact name of the plugin and don't add the file extension like oxide.reload Spawns.cs <-- Dont do that
*If you do not have oxide installed already, I have no guide for that. Search or ask around on how to install oxide
-
-
Alright now we are ready to use the plugin.
Now lets get back into the game.
To setup your spawn points you must first want to know where you want them to be. For example for me, I have a Zombie plugin (Reason why I needed this plugin). The plugin comes with 3 predefined options to spawn: Default, SpawnsDataBase, RandomSpawns. I am going to create my own custom spawn locations and the use the spawnsdb file with the saved spawnpoints and pass that value to my Zombie plugin.
Now this is just an example of one plugin that it can be used with. Most of the time I noticed that it is used for events.
Events, for example, can be another plugin that will spawn a helicopter to attack. With the "Zone Manager" plugin you would set a certain area/perimeter to be the "Zone" for the "Chopper Attack Event" to be located at. Then you would use the Spawns DB to create spawn points inside or just outside the zone so that players can spawn next to the event when it starts.
So to create the SpawnsDB file and locations it's fairly simple
Open the chat window in game and type the following command once you have your first spawn point that you want to create:
/spawns new
"you now creating new spawn file" <--- You should get this message back (The "are" is missing I know. Not my plugin :P)
Now stand where you want the add the spawn point and type:
/spawns add
"Added Spawn n1" <--- You should see this meaning it created a new spawn location
Do this for all the spawn points you want to create.
Once you finished creating all the spawn locations type:
/spawns show
You will now see all the spawn points with numbers
If you want to delete one of them type the following:
/spawns remove 1
This will remove spawn point 1. If you have 1-10 put in what ever spawn number you created that you want to delete.
If you are ready to save type:
/spawns save testSpawns
It should say something like:
"15 spawnpoints saved into testSpawns"
after save testSpawns is just the name I created as an example. I can name it ZombieSpawnLocations if I wanted to. This would make it easier to know why I created this spawn points.
If you didn't want to save them and just want to cancel making them, instead of save you would type:
/spawns close
This will cancel the save
Lastly if you wanted to edit a spawn file type the following command:
/spawns open
Then proceed to delete a point etc
Pre-set up:
1) Make sure that you are an Admin on the server and have admin power. An easy test is to load into the game press F1 and type noclip
If you type noclip and then hit the spacebar and you can fly, then you are an admin
2) Now make sure to upload the plugin to your server. This should be placed in the folder oxide/plugins/Spawns.cs (this is the plugin)
3) In your console window type: oxide.reload * ( there is 1 space after oxide.reload then there is the *)
-This will unload and reload all plugins. You can use oxide.reload Spawns too but I always just reload them all. It's case sensitive so make sure you know the exact name of the plugin and don't add the file extension like oxide.reload Spawns.cs <-- Dont do that
*If you do not have oxide installed already, I have no guide for that. Search or ask around on how to install oxide
-
-
Alright now we are ready to use the plugin.
Now lets get back into the game.
To setup your spawn points you must first want to know where you want them to be. For example for me, I have a Zombie plugin (Reason why I needed this plugin). The plugin comes with 3 predefined options to spawn: Default, SpawnsDataBase, RandomSpawns. I am going to create my own custom spawn locations and the use the spawnsdb file with the saved spawnpoints and pass that value to my Zombie plugin.
Now this is just an example of one plugin that it can be used with. Most of the time I noticed that it is used for events.
Events, for example, can be another plugin that will spawn a helicopter to attack. With the "Zone Manager" plugin you would set a certain area/perimeter to be the "Zone" for the "Chopper Attack Event" to be located at. Then you would use the Spawns DB to create spawn points inside or just outside the zone so that players can spawn next to the event when it starts.
So to create the SpawnsDB file and locations it's fairly simple
Open the chat window in game and type the following command once you have your first spawn point that you want to create:
/spawns new
"you now creating new spawn file" <--- You should get this message back (The "are" is missing I know. Not my plugin :P)
Now stand where you want the add the spawn point and type:
/spawns add
"Added Spawn n1" <--- You should see this meaning it created a new spawn location
Do this for all the spawn points you want to create.
Once you finished creating all the spawn locations type:
/spawns show
You will now see all the spawn points with numbers
If you want to delete one of them type the following:
/spawns remove 1
This will remove spawn point 1. If you have 1-10 put in what ever spawn number you created that you want to delete.
If you are ready to save type:
/spawns save testSpawns
It should say something like:
"15 spawnpoints saved into testSpawns"
after save testSpawns is just the name I created as an example. I can name it ZombieSpawnLocations if I wanted to. This would make it easier to know why I created this spawn points.
If you didn't want to save them and just want to cancel making them, instead of save you would type:
/spawns close
This will cancel the save
Lastly if you wanted to edit a spawn file type the following command:
/spawns open
Then proceed to delete a point etc