Enable Vote to Kick with Server run via Batch file?

Started by SG-17, February 27, 2025, 04:59:45 PM

Previous topic - Next topic
I figured someone here might know, is there a way to enable Vote to Kick from a server via an argument in the Batch file used to host SWBF1 servers? I can't seem to get the Ban/Kick window to work on the server window so this would be the next best thing.
Admin of SWBFII.COM Official servers on PlayStation 2, GoG, and Classic Collection (PS4/5).

These are all commands available... so I guess that's a no:

 
Note: Not all of these may be enabled in the final shipped game.

/profile
/ai
/ainotext
/framerate
/invincible
/unlimitedammo
/demomode
/lang
/loadspam
/record
/playback
/notvalues
/ShowAllSessions
/ShowAllServers
/nointro
/AskLucasToRemovePhysicalCDCheck
/splitscreen
/split
/screenshot
/toggledisplay
/firstperson
/nonames
/bandwidth
/latency
/loss
/jitter
/nodrag
/autonet
/playercount
/playerlimit
/gamename
/lan
/norender
/nowait
/nosound
/nostartupmusic
/fixedrate
/team
/skill
/evil (forces player to side 2)
/quakecam
/soundwarning
/noai
/crashed
/throttle
/netplayers
/sideselect
/bots
/netregion ("NA" "JAP"  "EUR")
/heroes
/randomize
/nomovies
/tps
/noframelock
/nowaitlate
/waitlate
/oneworld
/splitupdate
/droplateupdate
/adminpw
/password
/noaim
/noteamdamage
/difficulty
/gameslice
/resolution
/log
/nocheckcd
/win
/fixedfunction
/install
/audiomixbuffer
/audionoenhance
/audiosamplerate
/audiomaxchannels
/logfinalscore
/spawn
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com
Donate: http://donate.swbfspy.hosted.nfoservers.com

Quote from: SG-17 on February 27, 2025, 04:59:45 PMI figured someone here might know, is there a way to enable Vote to Kick from a server via an argument in the Batch file used to host SWBF1 servers? I can't seem to get the Ban/Kick window to work on the server window so this would be the next best thing.

If I recall, I used a macro program to autoload a ban list--but I think it was based in the GUI version of the game.  Auto-IT. 

I can probably find it if needed.

You can also firewall ban from your router or when using a rented server.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

Quote from: Led on February 27, 2025, 06:06:05 PMIf I recall, I used a macro program to autoload a ban list--but I think it was based in the GUI version of the game.  Auto-IT. 

I can probably find it if needed.

You can also firewall ban from your router or when using a rented server.

I do have it handly now that I searched for the SWBFRAW32 so if the ban thing is needed let me know!
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com
Donate: http://donate.swbfspy.hosted.nfoservers.com

Hmm, thanks. A firewall ban seems like the easiest option.

As well, is there a way to setup a batch file to restart the server if it crashes without needing to click Close on the "battlefront.exe has stopped working" popup first?
Admin of SWBFII.COM Official servers on PlayStation 2, GoG, and Classic Collection (PS4/5).

Quote from: SG-17 on March 01, 2025, 05:48:34 AMHmm, thanks. A firewall ban seems like the easiest option.

As well, is there a way to setup a batch file to restart the server if it crashes without needing to click Close on the "battlefront.exe has stopped working" popup first?
Yes, here's an example:

:loop
echo(%time%) SWBF server started.

battlefront.exe /add /your /stuff /here

echo(%time%) server crashed / restarting...
goto loop
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com
Donate: http://donate.swbfspy.hosted.nfoservers.com

Hey Anyder, let's put SG-17 into the server admin group.
We can have some discussions there about protecting servers from crashing.
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

OK, SG-17, feel free to post in the new board.   :cheers:
Quote from: Abraham Lincoln. on November 04, 1971, 12:34:40 PM
Don't believe everything you read on the internet

My bad, I was moving into my parent's home for these couple of weeks for some hospital stuff. Thank you for taking care of it, Led  :cheers:
Anyder | Talent, Ops & Culture | SWBF & Player Engagement
Email: communityambassador@swbfgamers.com
SWBFSpy Discord: http://discord.swbfspy.com
SWBFSpy Info: http://info.swbfspy.com
Donate: http://donate.swbfspy.hosted.nfoservers.com