Natural Selection 2

Natural Selection 2

Shine Administration
Johnny Falcone 2021 年 4 月 4 日 上午 4:50
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 :)
最後修改者:Johnny Falcone; 2021 年 4 月 4 日 上午 4:55
< >
目前顯示第 1-3 則留言,共 3
Johnny Falcone 2021 年 4 月 4 日 上午 4:54 
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  [開發人員] 2021 年 4 月 4 日 上午 8:38 
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.
最後修改者:тѕсм.Person8880; 2021 年 4 月 4 日 上午 8:38
Johnny Falcone 2021 年 4 月 4 日 上午 10:30 
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!"
}
],
< >
目前顯示第 1-3 則留言,共 3
每頁顯示: 1530 50