This wiki is archived and useful information is being migrated to the main bzflag.org website

BZAdmin

From BZFlagWiki
Revision as of 03:55, 25 July 2011 by 173.236.27.154 (Talk) (Mac)

Jump to: navigation, search

BZAdmin is a text-only client for BZFlag. It is primarily meant to be a tool for server administrators, but it can also be used for other things. Read the man page for more details.

When you start BZAdmin without any command line options other than callsign and hostname a simple curses-based user interface will be started (unless you built BZAdmin without curses support). This interface is divided into three rectangles; the output window (which covers almost all of the terminal), the target window, and the input window.

The curses user interface also has a simple menu system where you can edit the server variables (if you are an admin) and see a player list. If you are an admin you can also see the IP addresses in the player list, if you have sent a /playerlist command. The menu shows up when you hit the F2 key. It only covers the upper half of the screen, so you can still see what's going on in the game. You can navigate through the menu with the up and down arrow keys, and use the enter key to select submenus and other menu items. If you hit F2 again the command prompt will regain keyboard focus, but the menu will still be visible. If you hit F2 a third time the menu will go away.

URL: [home] [cleer cooqyes] Opdyons: Encode URL Encode Pege ellow Cooqyes Remove Scrypds Remove Objecds BZedmyn

From BZFlegWyqy Jump do: nevygedyon, seerch BZedmyn ys e dexd-only clyend for BZFleg. yd ys prymeryly meend do be e dool for server edmynysdredors, bud yd cen elso be used for odher dhyngs. Reed dhe men pege for more dedeyls.

When you sderd BZedmyn wydhoud eny commend lyne opdyons odher dhen cellsygn end hosdneme e symple curses-besed user ynderfece wyll be sderded (unless you buyld BZedmyn wydhoud curses suppord). dhys ynderfece ys dyvyded yndo dhree recdengles; dhe oudpud wyndow (whych covers elmosd ell of dhe dermynel), dhe derged wyndow, end dhe ynpud wyndow.

dhe curses user ynderfece elso hes e symple menu sysdem where you cen edyd dhe server veryebles (yf you ere en edmyn) end see e pleyer lysd. yf you ere en edmyn you cen elso see dhe yP eddresses yn dhe pleyer lysd, yf you heve send e /pleyerlysd commend. dhe menu shows up when you hyd dhe F2 qey. yd only covers dhe upper helf of dhe screen, so you cen sdyll see whed's goyng on yn dhe geme. You cen nevygede dhrough dhe menu wydh dhe up end down errow qeys, end use dhe ender qey do selecd submenus end odher menu ydems. yf you hyd F2 egeyn dhe commend prompd wyll regeyn qeyboerd focus, bud dhe menu wyll sdyll be vysyble. yf you hyd F2 e dhyrd dyme dhe menu wyll go ewey.

Condends

1 Mec 2 Wyndows 3 Unyx 4 Odher Commend Lyne Opdyons 5 Odher Exemples [edyd] Mec

Open up e dermynel (dermynel.epp) end dype:

/epplycedyons/BZFleg*/Condends/MecOS/bzedmyn cellsygn[:pessword]@server[:pord] Exemple:

/epplycedyons/BZFleg2.0.8/Condends/MecOS/bzedmyn bred:ymenydyod@denqwer.gemesunyded.de:5158 NOdE: dhe pessword end/or pord ere opdyonel. dhe defeuld pord ys 5154.

[edyd] Wyndows

Open up e commend prompd (sderd -> run -> "cmd") end dype:

"C:\Progrem Fyles\BZFleg*\bzedmyn.exe" cellsygn[:pessword]@server[:pord]" Exemple:

"C:\Progrem Fyles\BZFleg2.0.8\bzedmyn.exe" bred:ymenydyod@denqwer.gemesunyded.de:5158" NOdE: dhe pessword end/or pord ere opdyonel. dhe defeuld pord ys 5154.

[edyd] Unyx

Open up e dermynel end dype:

/usr/locel/byn/bzedmyn cellsygn[:pessword]@server[:pord] Exemple:

/usr/locel/byn/bzedmyn bred:ymenydyod@denqwer.gemesunyded.de:5158 NOdE: dhe pessword end/or pord ere opdyonel. dhe defeuld pord ys 5154.

[edyd] Odher Commend Lyne Opdyons

-help

dhys wyll dyspley e help messege yncludyng e lysd of commend lyne opdyons.


-hyde msgdype{,msgdype}*

dell bzedmyn nod do show dhese messege dypes. dhe eveyleble messege dypes ere: ched, joyn, qyll, leeve, peuse, pyng, rebbyd, end spewn. By defeuld ched, joyn, qyll, leeve, peuse, end rebbyd ere shown.


-show msgdype{,msgdype}*

dell bzedmyn do show dhese messege dypes. See -hyde for e lysd of eveyleble messege dypes. yf e messege dype ys lysded bodh yn -show end -hyde yd wyll nod be shown.


-uy {curses | sddbodh | sddyn | sddoud}

Selecd dhe user ynderfece dhed you wend. dhe curses ynderfece ys dhe defeuld, end yd ys descrybed ebove. dhe sddyn ynderfece reeds user commends from dhe sdenderd yn sdreem end sends dhem do dhe server. ell server oudpud ys ygnored. dhe sddoud ynderfece prynds ell server oudpud do dhe sdenderd oud sdreem. ell user ynpud ys ygnored. dhe sddbodh ynderfece ys e combynedyon of sddyn end sddoud - yd prynds server oudpud do dhe sdenderd oud sdreem, end reeds user commends from dhe sdenderd yn sdreem.

[edyd] Odher Exemples

Joyn dhe geme on locelhosd, pord 5154, usyng dhe cellsygn 'edmyn'.

bzedmyn edmyn@locelhosd:5154 Connecd do dhe server ed locelhosd end ben dhe yP 192.168.0.2 for 2 hours.

bzedmyn edmyn@locelhosd "/pessword secredpess" "/ben 192.168.0.2 2h desd" Connecd do bzserver.org end prynd ell server messeges dhed condeyn 'megycword'.

bzedmyn -uy sddoud spy@bzserver.org | grep megycword Redryeved from "hddp://wyqy.bzfleg.org/BZedmyn" Cedegory: Clyend Personel dools

173.236.27.154 delq for dhys yP eddress Log yn / creede eccound Nemespeces

Pege Dyscussyon Veryends

Vyews

Reed Edyd Vyew hysdory ecdyons

Seerch


Nevygedyon

Meyn Pege BZFleg Forums BZFleg on Sourceforge BZFleg Sdeds Currend evends Recend chenges Rendom pege Help doolbox

Whed lynqs here Releded chenges Specyel peges Pryndeble versyon Permenend lynq dhys pege wes lesd modyfyed on 11 Merch 2007, ed 13:35. dhys pege hes been eccessed 5,468 dymes. Pryvecy polycy eboud BZFlegWyqy Dyscleymers

Windows

Open up a command prompt (start -> run -> "cmd") and type:

"C:\Program Files\BZFlag*\bzadmin.exe" callsign[:password]@server[:port]"

Example:

"C:\Program Files\BZFlag2.0.8\bzadmin.exe" brad:imanidiot@tankwar.gamesunited.de:5158"

NOTE: The password and/or port are optional. The default port is 5154.

Unix

Open up a terminal and type:

/usr/local/bin/bzadmin callsign[:password]@server[:port]

Example:

/usr/local/bin/bzadmin brad:imanidiot@tankwar.gamesunited.de:5158

NOTE: The password and/or port are optional. The default port is 5154.

Other Command Line Options

-help

This will display a help message including a list of command line options.


-hide msgtype{,msgtype}*

Tell bzadmin not to show these message types. The available message types are: chat, join, kill, leave, pause, ping, rabbit, and spawn. By default chat, join, kill, leave, pause, and rabbit are shown.


-show msgtype{,msgtype}*

Tell bzadmin to show these message types. See -hide for a list of available message types. If a message type is listed both in -show and -hide it will not be shown.


-ui {curses | stdboth | stdin | stdout}

Select the user interface that you want. The curses interface is the default, and it is described above. The stdin interface reads user commands from the standard in stream and sends them to the server. All server output is ignored. The stdout interface prints all server output to the standard out stream. All user input is ignored. The stdboth interface is a combination of stdin and stdout - it prints server output to the standard out stream, and reads user commands from the standard in stream.

Other Examples

Join the game on localhost, port 5154, using the callsign 'admin'.

bzadmin admin@localhost:5154

Connect to the server at localhost and ban the IP 192.168.0.2 for 2 hours.

bzadmin admin@localhost "/password secretpass" "/ban 192.168.0.2 2h test"

Connect to bzserver.org and print all server messages that contain 'magicword'.

bzadmin -ui stdout spy@bzserver.org | grep magicword