flag limiting for small games

Make suggestions for improving one of the best games on the net!
Post Reply
Mofo
Private
Private
Posts: 4
Joined: Thu Feb 24, 2005 5:19 pm

flag limiting for small games

Post by Mofo » Tue Apr 16, 2013 8:29 pm

Would it be possible to allow the server owner to restrict certain flags when there are, say 5 or less players? flags like GM and ST can be overwhelming in small games. then when the threshold is crossed they get added! something to think about.

User avatar
blast
General
General
Posts: 4744
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: flag limiting for small games

Post by blast » Tue Apr 16, 2013 9:03 pm

Sure, a server plugin could do this.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

Re: flag limiting for small games

Post by JeffM » Tue Apr 16, 2013 10:04 pm

Note that there is no way in the API to remove a flag from the game once it is added, so you would need to have a "storage tank" for flags that you added if the player count goes below your limit. Ether that or reset the entire server.

User avatar
blast
General
General
Posts: 4744
Joined: Fri Mar 21, 2003 3:49 pm
Location: playing.cxx
Contact:

Re: flag limiting for small games

Post by blast » Wed Apr 17, 2013 2:21 am

There is also the bz_eAllowFlagGrab event that you could use to prevent them from picking up specific flags, but that might be more confusing for the players.
"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Image

Post Reply