How to kick a player?
How to kick a player?
Hello, i have some problem. One time per week we are playing BZFlag at school, throught lan. How can i kick a player? If i start a server, im automatically administrator? Then to chat /kick playername?
Thanks, Chambo
Thanks, Chambo
-
- Private First Class
- Posts: 204
- Joined: Mon Jan 31, 2005 12:00 am
- Location: hiding behind box...a real Bz coward :/
Generally many servers support the "kick" command, however normally at least three registered players are needed to execute a "poll-kick".
Here the poll-kick command:
After you typed this command, you need generally at least two other registered player who "vote yes".
Btw, often it makes more sense to accomplish a poll-ban, instead of a poll-kick, as there is a high chance that a kicked player will return immediatelly and will go on with his behaviour.
Don't worry btw, a poll ban generally only last few hours.
Here the poll-kick command:
Code: Select all
/poll kick "player name"
Code: Select all
/vote yes
Don't worry btw, a poll ban generally only last few hours.
Last edited by z[h]ero on Wed Dec 10, 2008 7:25 pm, edited 1 time in total.
Wirth's law: "Software is getting slower more rapidly than hardware becomes faster."
-
- Private First Class
- Posts: 204
- Joined: Mon Jan 31, 2005 12:00 am
- Location: hiding behind box...a real Bz coward :/
First, a player needs to be registered on this forum (like you are registered here, else you couldn't write posts).chambo wrote:How to register on server?
Secondly after you select "join game" in bzflag you need to enter your callsign and your forum-password in the identical textfields, if you do it correctly a "+"-symbol will occur next to your callsign.
Yep, names work, too.chambo wrote:And we dont have computers IP, but names, will ban work too?
Wirth's law: "Software is getting slower more rapidly than hardware becomes faster."
-
- Private First Class
- Posts: 330
- Joined: Tue Feb 08, 2005 6:06 pm
- Location: Lancaster, PA
- Contact:
No, you're not automatically an administrator even if you make a server yourself. For casual use over a LAN, you could just add to the command line or your conf file when you start the server. If you're not using a command line interface to start the server, I'm not sure what to do if anything.
Yeah, will work. If you're the administrator, you can also use the /playerlist command, which lists all players on the server and gives them a player number. Often, is easier when you get some wiseacre with a callsign like jhlkadfljciaje.
Code: Select all
-passwd <your password>
Yeah,
Code: Select all
/kick <callsign>
Code: Select all
/kick #7
-
- Private First Class
- Posts: 330
- Joined: Tue Feb 08, 2005 6:06 pm
- Location: Lancaster, PA
- Contact:
Oh, and to use the global registration, you need add a few things to your configuration rather than simply being signed up here.
Unless I'm mistaken, you need the following in your conf to use the global registration: -publicaddr followed by either your external IP address and port the server is listening on, -public followed by a title like "my server", and optionally, -advertise with a comma separated list of groups to advertise to. If you want a private server that uses global logins, you can use -advertise NONE to keep it off the public list.
I'm guessing that unless you're really good buddies with the school's IT person, you won't be able to use the -publicaddr switch because you're most likely behind some sort of router, and for this to work, you'd need to forward outside connections to the server on your LAN. Since global login system is an outside connection, if you don't have that port forwarded, you can't use the global login.
For what you're doing, I'd just use the -passwd switch. Hopefully, you don't have some smart cracker on your system that knows how to sniff for plain text passwords.
Unless I'm mistaken, you need the following in your conf to use the global registration: -publicaddr followed by either your external IP address and port the server is listening on, -public followed by a title like "my server", and optionally, -advertise with a comma separated list of groups to advertise to. If you want a private server that uses global logins, you can use -advertise NONE to keep it off the public list.
I'm guessing that unless you're really good buddies with the school's IT person, you won't be able to use the -publicaddr switch because you're most likely behind some sort of router, and for this to work, you'd need to forward outside connections to the server on your LAN. Since global login system is an outside connection, if you don't have that port forwarded, you can't use the global login.
For what you're doing, I'd just use the -passwd switch. Hopefully, you don't have some smart cracker on your system that knows how to sniff for plain text passwords.
-
- Private First Class
- Posts: 204
- Joined: Mon Jan 31, 2005 12:00 am
- Location: hiding behind box...a real Bz coward :/
In order to become administrator you first need to add the "passwd"-command like Longhair told.chambo wrote:im administrator?
Afterwards during in-game type:
Code: Select all
/password HereYourPasswordOfYourConfigFile
And an @-symbol will occur next to your callsign.
Wirth's law: "Software is getting slower more rapidly than hardware becomes faster."
- A Meteorite
- Private First Class
- Posts: 1786
- Joined: Thu Apr 28, 2005 12:56 am
- Location: California, U.S.
- Contact:
You need to kick someone on a LAN? Back in the days, we used to just go up and give them a real kick!
Obligatory note: I do not condone violence.![Tongue :P](./images/smilies/icon_tongue.gif)
Probably in this case it'd be easiest and likely more logical to use a password instead of global login, because as Longhair mentioned, you need your server publicly accessible for it to work (and at every school I've been to, they always use NAT, so you would have to have an administrator port forward to your server... and most probably wouldn't).
Obligatory note: I do not condone violence.
![Tongue :P](./images/smilies/icon_tongue.gif)
Probably in this case it'd be easiest and likely more logical to use a password instead of global login, because as Longhair mentioned, you need your server publicly accessible for it to work (and at every school I've been to, they always use NAT, so you would have to have an administrator port forward to your server... and most probably wouldn't).
Owner @ BZFX
Core Admin @ CAN
Email me: bzmet…@gmail.com
how to use command line interface to start it? we are starting it throught game - join server start server, then set it, and start. so how to start it throught command line?Longhair wrote:No, you're not automatically an administrator even if you make a server yourself. For casual use over a LAN, you could just addto the command line or your conf file when you start the server. If you're not using a command line interface to start the server, I'm not sure what to do if anything.Code: Select all
-passwd <your>
A Meteorite wrote:You need to kick someone on a LAN? Back in the days, we used to just go up and give them a real kick!
![Smile :)](./images/smilies/icon_smile.gif)
![Sad :(](./images/smilies/icon_sad.gif)
-
- Private First Class
- Posts: 330
- Joined: Tue Feb 08, 2005 6:06 pm
- Location: Lancaster, PA
- Contact:
If you're lucky enough to be using Linux based computers on your school system, it's as simple as opening up a terminal and doing Switches are the little -j -world -public -passwd etc. To find out what the switches are, type on in a terminal: (man is the "manual")
If you're stuck on a Windows based system, and most likely you are, things get more complicated because there's no built in executable path. You don't have man pages either. Explaining how to start bzfs from a command prompt in Windows is beyond what can be explained in a forum post. To give you some hints:
You get to a command prompt by going Start->Run and type in cmd.
Read up through the bzflag wiki for starting servers in general. There's lots of good information in there.
You can Google around a bit for "bzfs man page". That should also be a big help.
Also, there are a zillion posts in this forum where people have asked the same question. Searching around for them might help. I'd start with the wiki, because it's organized.
Good luck.
Code: Select all
bzfs <switches>
Code: Select all
man bzfs
If you're stuck on a Windows based system, and most likely you are, things get more complicated because there's no built in executable path. You don't have man pages either. Explaining how to start bzfs from a command prompt in Windows is beyond what can be explained in a forum post. To give you some hints:
You get to a command prompt by going Start->Run and type in cmd.
Read up through the bzflag wiki for starting servers in general. There's lots of good information in there.
You can Google around a bit for "bzfs man page". That should also be a big help.
Also, there are a zillion posts in this forum where people have asked the same question. Searching around for them might help. I'd start with the wiki, because it's organized.
Good luck.
Yes, *most* of the public servers run on linux, but the majority of the players use windows.
There is nothing worse than aggressive stupidity. -- Johann Wolfgang von Goethe
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln
"How many legs does a dog have if you call his tail a leg? Four. Calling a tail a leg doesn't make it a leg." -- Abraham Lincoln