osx server ? !

Need help seting up a server, or have a question on how to run one? This is the place.
Post Reply
User avatar
Private First Class
Private First Class
Posts: 9
Joined: Mon May 29, 2006 4:56 pm

osx server ? !

Post by gamercolin » Sun Nov 04, 2007 3:59 pm

hi i sloved the most problems but i have still those :
1 i cant find my server + connect in bz on localhost only if i start the ingame server but then its not the map i want
2 how i can make ingame admins ?

terminal :
Last login: Sun Nov 4 16:55:00 on ttyp1
Welcome to Darwin!
claire:~ claire$ /Users/claire/BZflagserver/bzfs/bzfs.txt
bad argument "server"
BZFlag server (protocol 0026) http://BZFlag.org/
Copyright (c) 1993 - 2006 Tim Riker

Usage: bzfs [-a <vel> <rot>] [-admsg <text>] [-advertise <group>][-autoTeam] [-b] [-badwords <filename>] [-ban ip{,ip}*] [-banfile <filename>] [-c] [-cache <url>] [-cacheout <filename>] [-conf <filename>] [-cr] [-d] [-density <num>] [-disableBots] [+f {good|<id>}] [-f {bad|<id>}] [-fb] [-filterCallsigns] [-filterChat] [-filterSimple] [-g] [-gndtex <texture>] [-groupdb <group>] [-h] [-handicap] [-helpmsg <file> <name>] [-i interface] [-j] [-lagdrop <num>] [-lagwarn <time>] [-loadplugin <pluginname>] [-masterBanURL <URL>][-maxidle <time>] [-mp {<count>|[<count>][,<count>][,<count>][,<count>][,<count>][,<count>]}] [-mps <score>] [-ms <shots>] [-mts <score>] [-noMasterBanlist][-noradar][-p <port>] [-passdb <password>] [-passwd <password>] [-pidfile <filename>] [-poll <variable>=<value>][-printscore] [-public <server>] [-publicaddr <server>[:<server>]] [-publiclist <list>] [-q] [+r] [-rabbit [score|killer|random]] [-recbuf <Mbytes>] [-recbufonly] [-recdir <dirname>] [-replay] [-reportfile <filename>] [-reportpipe <filename>] [-requireudp] [+s <flag>] [-s <flag>] [-sa] [-sb] [-set <name> <value>] [-setforced <name> <value>] [-sl <id> <num>] [-spamtime <time>] [-spamwarn <warnAmt>] [-speedtol <tolerance>] [-srvmsg <text>] [-st <time>] [-sw <num>] [-synctime] [-synclocation] [-t] [-tftimeout <seconds>] [-time <seconds>] [-timemanual] [-tk] [-tkkr <percent>] [-ts [micros]] [-userdb <user>] [-vars <filename>] [-version] [-world <filename>] [-worldsize <world>]
claire:~ claire$


# -a velocity rotation
# Enables inertia and sets the maximum linear and angular accelerations. The units are somewhat arbitrary so you'll have to experiment to find suitable values. The values must be non-negative and higher values yield greater inertia.
-admsg "Remember: Now swearing, cheating or teamkilling. Be nice and enjoy you'r stay!"
# Define a message which will be broadcast to all players every 15 minutes. This option can be used multiple times to define a multiline message.
# Automatically assign players to teams when they connect so that there are an equal number of players on all available teams. Players are placed on teams that have the fewest players; otherwise they will be placed on the weakest team. Weakest team is the team with the lowest combined kill ratio.
# -b
# When -c is supplied, this option randomly rotates the buildings.
# -badwords badwordfile
# Specify a file that contains bad words that will be used when either -filterCallsigns or -filterChat is enabled.
# -ban ip{,ip}*
# Prohibits connections from the listed IP addresses. Trailing 255 bytes are treated as mask bytes.
# -banfile filename
# Specifies the name of a file where bzfs will store the banlist. It will load the banlist from this file when it starts (if the file exists), and write the banlist back to the file when someone gets banned or unbanned. If this option isn't given the banlist will not be saved.
# Enables the capture-the-flag style game. By default this allocates one team flag per team. This can be modified see +f team. By default, the free-for-all style is used.
# -cache worldCacheURL
# Specifies the URL for the world cache file. This is a binary file that clients will attempt to download before getting the world from the bzfs server.
# -cacheout filename
# Save the currently specified world into a binary cache file and exit.
# -cr
# Enables the capture-the-flag style game with random map. You can optionally specify a building density by providing a number (default is 5). One team flag per team is provided, but more can be added thru +f team. By default, the free-for-all style is used.
-d -d
# Increase debugging level. If more -d is given, more debugging info is obtained.
# -density num
# Specify density for buildings, i.e. the higher the integer number, the more buildings you will get. This applies to automatically generated maps only.
# Disallow clients from using the ROGER autopilot or from using robots.
# +f {good|bad|teamflag-id}[{count}]
# Forces the existence of the given flag. If specified multiple times for the same flag-id, then that many flags will appear. The good argument is equivalent to specifying +f once for each kind of good flag. Same goes for the bad argument. The team argument adds a team flag to each team, assuming that the game style is capture the flag. The optional {count} parameter allows the specification of multiple flags of the same type. Note that the curly braces are required.
+s 20
-s 25
-f JP
-f R
# Disallows random flags of the given type. Required flags given by the +f option are still provided. The bad argument is equivalent to specifying -f once for each kind of bad flag. Same goes for good, but you probably do not want to do that. An example of running a server with 40 to 50 flags except genocide would be "+s40 -s50 -f G". Similarly, "+f good{40} +f bad{10} -f G{40}" would give you exactly 40 good flags except genocide and 10 of each bad flag.
# Allow flags on box buildings.
# -filterCallsigns
# Turn on the filtering of callsigns and email addresses. Callsigns and addresses are compared against bad words provided via -badwords.
# -filterChat
# Turn on the filtering of chat messages. Messages have words provided via a -badwords file are replaced with !@#$%^&* characters.
# -filterSimple
# By default, all filtering is aggressive, matching much more than what is strictly listed in a -badwords file for convenience. Providing this option will make the -filterCallsigns and -filterChat comparisons exact match only.
# -g
# Quit after serving one game.
# -groupdb file
# Load groups from file
# -h
# Buildings are given random heights.
# -handicap
# Players are given a handicap advantage based on their ability in relation to the other players. Handicapped players will have faster tanks and shots. The handicap is determined by the player's score in relation to other players.
# -help
# Shows a help page and lists all the valid flag id's.
# -helpmsg file name
# Create a help message accessible by /help name, which prints the contents of file. Restricted to 10 lines per help message.
# -i interface
# Server will listen for and respond to ``pings'' (sent via broadcast) on the given interface. Clients use this to find active servers on the network. This is the TCP/UDP/IP address the server will listen on.
# Allows jumping.
-lagdrop 3
# Kicks players after warn-count lag warnings.
-lagwarn 300
# Send warnings to players that lag more than time.
# -masterBanURL URL/s
# Specify alternate URLs for the master ban file to be pulled from. This argument may be provided multiple times.
# -maxidle 180
# Kick players that did not play longer than time seconds. Pausing players are not kicked. If a player uttered a word recently, he will be kicked after thrice the given time.
-mp 0,3,3,0,0,2
# Sets the maximum number of players, total or per team. A single value sets the total number of players allowed. Five comma separated values set the maximum for each team. If a count is left blank then no limit is set for that team, except for the limit on the total number of players. Both forms may be provided.
# -mps max-score
# Sets a maximum score for individual players. The first player to reach this score is declared the winner and the game is over.
-ms 4
# Allows up to shots simultaneous shots for each player. This is 1 by default.
# -mts max-score
# Sets a maximum score for teams. The first team to reach this score is declared the winner and the game is over.
# -noMasterBanList
# Forces the server to not attempt to load the master ban list from the internet.

# -p 5154
# Listen for game connections on port instead of the default port. Use -help to print the default port, or use -d debug printing.

# -passdb file
# Load passwords from file

-passwd XXXXX
# Specify a server administrator password for use in remote administration such as /kick messages.

# -pidfile filename
# Specify a file where the server will write its process ID so it may be used for remote administration.
# -poll variable=value
# Configure several aspects of the in-game polling system
# banTime
# number of minutes player should be banned (default is 300)
# vetoTime
# max seconds authorized user has to abort poll (default is 20)
# votePercentage
# percentage of players required to affirm a poll (default is 50.1%)
# voteRepeatTime
# minimum seconds required before a player may request another vote (default is 300)
# votesRequired
# minimum number of additional votes required to make a vote valid (default is 2)
# voteTime
# maximum amount of time player has to vote, in seconds (default is 60)
# -printscore
# Write score to stdout whenever it changes
-public gamercolin's server !
# Advertise this server on the internet with the given description. By default, a server will respond to broadcast queries, allowing clients to find servers running on the standard port on the local subnet. The -public option causes the server to register itself with a list server, which clients can query to get a list of bzfs servers.

# Advertise this server with the given address and port. Only has an effect when used with -public. Normally a server advertises itself at the local address and port. Some servers are not accessible from the internet at this address (for example servers behind a firewall using Network Address Translation). Use this option to specify the address and/or port that internet users should use to access this server.

-publiclist http://my.BZFlag.org:81/db/
# Advertise this server on the list servers listed at url. Only has an effect when used with -public. A built-in url is used by default. The BZFlag clients use the same built-in url so, by default, clients will see public servers automatically. This argument may be provided multiple times to publicize a server to multiple list servers.
# -q
# If specified, the server will not listen for nor respond to ``pings''. BZFlag sends out these pings to give the user a list of available servers. This effectively makes the server private, especially if the -p option is also used.
# Makes most shots ricochet. Super bullets, shock waves, and guided missiles do not.
# -rabbit [score|killer|random]
# Enables the rabbit-hunt style game. By default, the free-for-all style is used. You must specify the algorithm used to pick a new rabbit when the old one dies. The score algorithm uses a modified wins/(wins+losses) score and picks the top scoring player to be the new rabbit. The killer algorithm specifies a reverse tag game where whomever kills the rabbit becomes the new rabbit. The random algorithm randomly picks a new rabbit without regard to score. (The score algorithm is the original behavior.)
# -recbuf size
# Start with the recording buffer active, with the specified size (in megabytes).
# -recdir directory
# Specify the directory for record and replay files.
# -replay
# Start the server in replay mode.
# -reportfile filename
# Write messages to the server admin written using the /report command to this file. If neither -reportfile or -reportpipe is used the /report command will be disabled.
# -reportpipe command
# Pipe messages to the server admin written using the /report command to this program or shell command. See -reportfile.
# -requireidentify
# Require clients register and identify before they can spawn.
# Require clients to use parallel UDP. If players fire before opening a UDP channel, kick them off the server.
#+s num-flags
# The server will have an extra num-flags random super flags available at all times. The -f option can be used to restrict which types of flags will be added. Required flags given by the +f option are not included in the num-flags total.
#-s num-flags
# The server will have up to num-flags random super flags available at any time. The -f option can be used to restrict which types of flags will be added. Required flags given by the +f option are not included in the num-flags total.
# -sa
# Antidote flags are provided for players with bad flags.
# Allow spawns on box buildings.
# -set name value
# Set BZDB variable name to value
# -sl id num
# Restrict flag id to num shots.
-spamtime 5
# Make <time> be the required time in seconds between messages sent that are alike.
-spamwarn 4
# Warn a spammer that sends messages before -spamtime times out <warnLimit> many times.
# -speedtol factor
# Override the default speed auto kick factor. The factor should not be less then 1.0. The factor is a multiplier.
# -srvmsg message
# Define a server welcome message. This option can be used multiple times to define a multiline message.
-st 6
# Bad flags are automatically dropped after time seconds.
# -sw count
# Bad flags are automatically dropped after count wins. Capturing a team flag does not count as a win.
# -synctime
# Forces all clients to use the same time of day. The current time is determined by the server's clock. This disables the + and - keys on the clients.
# -t
# Adds teleporters to the game.
# -tftimeout time-limit
# If the last player in a team leaves while someone else is carrying the team flag, the team flag will not reset until it is captured, or until the player drops it and it is left alone for some time. This option specifies the number of seconds that the flag should be left alone before it is reset. The default value is 30.
# -time time-limit
# Sets a time limit on the game to time-limit. The game will be stopped time-limit seconds after the first player connects.
# -timemanual
# When using -time, the countdown will start when the first player joins. With -timemanual, the countdown has to be started manually using the /countdown command. This is useful for matches.
# -tk
# Changes the default behavior where a player dies when he kills a teammate. When using this option, he will just get a -1 score penalty for the kill but stay alive.
# -tkkr percent
# Kicks players whose team killing to normal kill ratio is greater than percent [1-100]. A start up grace period is given to players.
# -userdb file
# Load group associations from file
# -vars file
# Loads values for game configurable variables from file. Entries are one per line in the form: set variable value. For a list of variables that are configurable, in the BZFlag client, send a message with /set as the text.
# -version
# Prints the version number of the executable.
-world /Users/claire/BZflagserver/maps/hophop.bzw
# Reads a specific BZFlag .bzw world layout file for the game map.
# -worldsize world-size
# Changes the size for random maps


/Applications/BZFlag/BZFlag-2.0.8.app/Contents/MacOS/bzfs -conf /Users/claire/BZflagserver/conffiles/conf.conf


Private First Class
Private First Class
Posts: 513
Joined: Thu Jan 20, 2005 10:24 pm

Post by Legolas_ » Sun Nov 04, 2007 5:59 pm

There are quite a few links for starting a server on macosx.

I use these commands:

Code: Select all

cd /Users/*yourname*/pathtobzflag.app/Contents/Macos

and then ./bzfs -d -conf /path/to/your/config.conf
Here is the bzflag wiki on how to create a server


User avatar
Sergeant First Class
Sergeant First Class
Posts: 142
Joined: Tue Sep 19, 2006 6:10 pm

Post by Tedius » Sun Nov 04, 2007 6:02 pm

Your problem is in the -public argument in your conf.conf. You will want quotes around it.

-public "gamercolin's server"

If everything else is right, you should be good to go. To create admins ingame, uncomment and supply a txt file for -groupdb and -userdb. The groupdb.txt is a file you'll have to fill in, the userdb.txt will just be a blank file that gets filled up by bzfs.
this signature intentionally left blank

User avatar
optic delusion
Special Forces
Special Forces
Posts: 990
Joined: Sat Sep 25, 2004 2:29 pm
Location: Planet MoFo

Post by optic delusion » Mon Nov 05, 2007 2:57 am

Request your global groups here. http://my.bzflag.org/bb/viewtopic.php?t=2660
After they are made, add registered player callsigns to each group by using the "usergroups" link at the top of any forum page.
Then you give those players the permissions that you want them to have, by using a groups file. -groupdb /path/to/groups.txt

The sample conf file on the wiki is a little more up to date, than the one you are using now, I suggest using the newer one.
Take a look at my Defender game mode concept.

Thinking is not an automatic process. A man can choose to think or to let his mind stagnate, or he can choose actively to turn against his intelligence, to evade his knowledge, to subvert his reason. If he refuses to think, he courts disaster: he cannot with impunity reject his means of perceiving reality.

Post Reply