Natural Selection 2

Natural Selection 2

Shine Administration
Seeding a Server
Hello Mr. Person8880

I would like to share an idea from another game and since I'm getting headaches while trying to understand how to create a mod, I'll hope that you like it:

It's about seeding a server.
I would like to have the option to type in !seeding

So if you type in the command !seeding
Then !csay messages pop up like:

"Server is seeding at the moment, please try not to end the game too early, once server reaches 16/20 players, the match can be resetted/finished"

or:

if "!seeding"
then
!csay SEEDING RULES:
!csay Try to balance
!csay Don't do hard pushes
!csay Don't use bile-bomb until seeded
!csay Server = Seeded with 10 / 15+ players

Something like that?

Once the server is seeded, you could add a command like !live

So !live
"Seeding-Phase is over, server is LIVE!"

Also, I know those kinda thing doesn't apply to everyone or they just want to set up the rules slightly different. So if there's a way to custom it relativly easy ingame, it would be awesome

I came up with this idea since owning a server with players joining which doesn't understand how to seed a server.

If you like the idea, i would be glad to explain it maybe a little further so, just hit me up or add me :)
Last edited by Johnny Falcone; 4 Apr, 2021 @ 4:55am
< >
Showing 1-3 of 3 comments
Johnny Falcone 4 Apr, 2021 @ 4:54am 
Another option would be a editable plug-in "Seeding"

which automatically registrates how many people are on the server and create automatically those messages once you join or every 5-10minutes.

Once the server reaches a certain amount of players, it could pop up the message:
"Seeding-Phase over, server is LIVE!"
тѕсм.Person8880  [developer] 4 Apr, 2021 @ 8:38am 
You should be able to do most, if not all, of what you want to do with the existing adverts plugin[github.com].

You can setup an advert cycle with your seeding rules/messages with a "MaxPlayers" value set to what you consider a seeding round to have. Then have another advert cycle with "MinPlayers" that's one more and with "Loop" set to false, which displays your message about the seeding phase being over.

This would result in periodic messages while there's a low player count, which automatically stop once the player count is high enough.
Last edited by тѕсм.Person8880; 4 Apr, 2021 @ 8:38am
Johnny Falcone 4 Apr, 2021 @ 10:30am 
so something like this?

"TriggeredAdverts": {
"IntervalInSeconds": 300
"Loop": false,
"MinPlayers": 3 [
{
"Message": "SEEDING-PHASE"
}
{
"Message": "Please don't try to end the match early!"
}
{
"Message": "Server is seeded with 14+ Players"
}
"TriggeredAdverts": {
"MaxPlayers": 14 [
{
"Message": "Seeding is over, Server is LIVE!"
}
{
"Message": "Thanks for seeding! GL & HF!"
}
],
< >
Showing 1-3 of 3 comments
Per page: 1530 50