timed match procedure

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
User avatar
mathiaz
Private First Class
Private First Class
Posts: 9
Joined: Sat May 27, 2006 11:59 pm

timed match procedure

Post by mathiaz » Wed Mar 28, 2018 8:44 pm

Hi all,

I would like to know the procedure to run a timed match with :
- countdown
- time limit
- and number of player limited when match is running

I don t find nor on the forum nor in the wiki

Thanks
<°)))><|

User avatar
Zehra
Private First Class
Private First Class
Posts: 432
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic
Contact:

Re: timed match procedure

Post by Zehra » Wed Mar 28, 2018 11:37 pm

I'm not sure if this helps, but here's some configurations I've used to start up a local server with countdown.

Localgroup.txt

Code: Select all

EVERYONE: +REPORT +TIMELIMIT +COUNTDOWN
VERIFIED:
LOCAL.ADMIN: +TIMELIMIT +ENDGAME
BZFS options

Code: Select all

-groupdb Localgroup.txt -timemanual -loadplugin TimeLimit,15,20,30 -password myPassword  -p 5154 -world "PathToWorldFile.bzw"
Please note that the "pass to world file" option needs to be set to your operating system.
The options might vary a bit between operating systems, but this is the basic format which can be used for a timelimit based system.

I'm not exactly sure what you mean by 'and number of player limited when match is running', but if it is to prevent people from joining when a match is running, there is the playerJoinHandler by Allejo.

-Zehra
There's this game I love and it's called Ducati. ~Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
The details and the skill of knowing and applying them is what excellence is made of. ~Zehra
The best player is the one who knows what to do and when and applies it successfully. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
My blog is available at zehrahblog.wordpress.com.
See when I've last been active at Strayers.

User avatar
allejo
Breaker of Builds
Breaker of Builds
Posts: 721
Joined: Sun Feb 17, 2008 10:01 pm
Location: /dev/null
Contact:

Re: timed match procedure

Post by allejo » Thu Mar 29, 2018 5:18 am

Adding on to Zehra's post, keep in mind that the use of -password is highly discouraged on public servers. The only other option that's needed is -time, which defines the default timed match duration.

Code: Select all

-time 1800 # 30 minutes; value in seconds
Here's my personal website and my open source projects are available on GitHub; I work on a lot of cool things.

Image

User avatar
mathiaz
Private First Class
Private First Class
Posts: 9
Joined: Sat May 27, 2006 11:59 pm

Re: timed match procedure

Post by mathiaz » Thu Mar 29, 2018 7:17 am

Bonjour,

Thanks countdown works.

Which command may i use to change the match time. I still have default time (-time 900).
I try /timelimit /time without success

Why -password is highly discouraged on public servers? Even if the server is occassionaly up, just for some match?

When i have time i will compil playerJoinHandler module.

Thanks for the answers
<°)))><|

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

Re: timed match procedure

Post by blast » Thu Mar 29, 2018 10:22 am

We do include a readme file for each plugin, and the TimeLimit plugin's readme includes the commands.

https://github.com/BZFlag-Dev/bzflag/bl ... eLimit.txt

The -password option is insecure as there is no way to change a password on a live server and it's prone to being accidentally sent to chat (since an extra leading space or missing the forward slash on the command will instead send it to chat).
"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
Zehra
Private First Class
Private First Class
Posts: 432
Joined: Sun Oct 18, 2015 3:36 pm
Location: Arctic
Contact:

Re: timed match procedure

Post by Zehra » Thu Mar 29, 2018 7:14 pm

Mathiaz,

You might want to consider using the "superUser" plug-in.
From the readme:

Code: Select all

The superUser plugin lets a server owner grant permissions to globally
authenticated users based on BZID so they don't have to set up specific
admin groups in the global space.
It's much safer and is easier to use compare to /password. (No password guessing by others and no need to type in /password.)
I'm sorry if the '-passwd' option added any confusion, it is very strongly discouraged and should not be used for any globally authenticated server.
I only recommend the use global groups or the SuperUser plug-in for permissions on globally authenticated servers.

-Zehra
There's this game I love and it's called Ducati. ~Zehra
Those who are critical of me, I'll likely be the same of them. ~Zehra
There's always something to remember and it's been a game I love. ~Zehra
The time spent is a time which can never be regained, so it's a time to enjoy. ~Zehra
The decisions we make are the ones we look forward too and the ones we regret. ~Zehra
The details and the skill of knowing and applying them is what excellence is made of. ~Zehra
The best player is the one who knows what to do and when and applies it successfully. ~Zehra
There's a difference between knowing my name and knowing me, one shows respect to my name and the other is to who I am. ~Zehra
My blog is available at zehrahblog.wordpress.com.
See when I've last been active at Strayers.

User avatar
mathiaz
Private First Class
Private First Class
Posts: 9
Joined: Sat May 27, 2006 11:59 pm

Re: timed match procedure

Post by mathiaz » Thu Mar 29, 2018 8:52 pm

oki

I had to compile bzfs with options:

./configure --enable-shared --disable-client --enable-custom-plugins=playerJoinHandler,TimeLimit

and everything is working well.

Thanks
<°)))><|

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

Re: timed match procedure

Post by blast » Thu Mar 29, 2018 9:01 pm

You don't need the --enable-shared option as that's the default. Also, TimeLimit is an included plugin, so you don't need to pass that one to --enable-custom-plugins. You only pass extra plugins to --enable-custom-plugins. The bundled ones are always built.
"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

Who is online

Users browsing this forum: No registered users and 1 guest