ASSAULTCUBE(6)

πŸ“¦
version 1.3.0.2 Β· 2 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– ASSAULTCUBE πŸ’–

okay so bestie, welcome to the Games Manual page for ASSAULTCUBE section 6 β€” and specifically for the little script called assaultcube-server. This page is LONG (it's giving encyclopedia energy 😭) so it comes in 2 parts, and this is part 1. Buckle up. πŸŽ€


✨ NAME ✨

assaultcube-server β€” the AssaultCube server, literally the whole point of this page πŸ’…


✨ SYNOPSIS ✨

assaultcube-server [ -cN ] [ -nS ] [ -n1S ] [ -n2S ] [ -oN ] [ -iIP ] [
-fPORT ] [ -pPASSWD ] [ -mURL ] [ -xPASSWD ] [ -PfkbMASRCDEPw ] [ -V ] [
-T ] [ -lN ] [ -NID ] [ -Fn ] [ -LFn ] [ -LSn ] [ -kN ] [ -yN ] [ -kAN ]
[ -kBN ] [ -Amapname ] [ -Mcurd ] [ -Zi ] [ -Dn ] [ -DI ] [ -Wf ] [
--demofilenameformat=s ] [ --demotimestampformat=s ] [ --demotimelocal=s
] [ -Cf ] [ -Xf ] [ -rf ] [ -Bf ] [ -Kf ] [ -gf ] [ -Ef ] [ -If ] [ -Of
] [ -SWr ] [ -uN ] [ --wizard outfile relbinarypath ] [ --help ]

yes it's a lot of brackets, no we're not scared πŸ’…


✨ DESCRIPTION ✨

AssaultCube, formerly known as ActionCube, is a first-person-shooter built on top of the game Cube. It's set in a realistic looking environment β€” as far as that's even possible with this engine β€” while the gameplay stays fast and arcade πŸƒβ™€οΈπŸ’¨. The whole vibe of this game? Team oriented multiplayer fun. Periodt. πŸ‘‘

And then there's assaultcube-server, which is a script ✨. It executes /usr/lib/games/ac_server from the /usr/share/games/assaultcube/ directory. It will accept any additional options, no questions asked, she's flexible like that 🫢


✨ OPTIONS ✨

bestie this is the part where we go one by one, no skipping, every single flag gets its moment πŸ’–

  • -cN β€” sets the maximum number of players that can play on the server to N (default 6). If extra players try to connect they'll get hit with a "server full" error message 😭 sorry babe, the club's at capacity.
  • -nS β€” sets the server description that shows up in the server list. Keep it short! Otherwise it'll become truncated, like a text that got cut off mid-sentence πŸ’€ example: -n"Fruity: Bananas & Cherry" πŸ“πŸŒ
  • -n1S β€” sets a prefix for the server description that remains when the server description is changed using the /serverdesc command. A prefix AND/OR suffix MUST be specified for the /serverdesc command to work. No cap. 🫢
  • -n2S β€” sets a suffix for the server description that remains when the server description is changed using the /serverdesc command. A suffix AND/OR prefix MUST be specified for the /serverdesc command to work. (same energy, other end of the sentence πŸ’…)
  • -oN β€” sets the server's MOTD (message of the day), which appears on the clients console after they connect to the server. it's the little hello note, iconic ✨
  • -iIP β€” binds the AssaultCube server to a single IP address. This option is only of use for servers that have multiple IP addresses.
Don't use this unless you know what you're doing. 🚨 fr fr, this is not a "just try it and see" situation bestie.
  • -fPORT β€” the AssaultCube server uses 2 ports (UDP), the default ports are 28763 and 28764. You need to use different ports if you want to run several servers on the same IP address. This argument lets you bind the AssaultCube server to other ports. For example: -f9000 would run a server on ports 9000 and 9001 πŸ”₯ (yes, two ports, she's extra like that)
  • -pPASSWD β€” sets the password of the server to PASSWD. Only clients that know the password will be able to connect. Clients will be required to append the password to the end of the connect command. private party, invite only πŸŽ€
  • -mURL β€” forces the server to register with the URL of a different masterserver. When using this argument, you need to exclude the protocol at the beginning (i.e. add everything BUT https:// on to the argument). The default is -massault.cubers.net. If you want your server to be hidden and not report to the masterserver, use -mlocalhost πŸ™ˆ
  • -xPASSWD β€” sets the administrator password to PASSWD. If you don't want your commandline to contain the password, or if you need more than one admin password, use the file config/serverpwd.cfg πŸ”

Once logged in with the administrator password (by using /setadmin 1 YOURPASS), further administrator options are presented to you when opening the menu β€” however, not all of them! check the CubeScript command reference for other options. iykyk πŸ‘‘

  • -PfkbMASRCDEPw β€” sets whether the role required to call a specific vote belongs to a "player" or an "administrator". The characters fkbMASRCDEPw are used to set these requirements. A lower-case character enables normal players to call that vote, where-as an upper-case character will only allow an administrator to call the vote. If a character doesn't appear, then the defaults for that setting will be used. πŸ’…
    • f β€” Lower β€” Force a player to the enemy team.
    • k β€” Lower β€” Kick a player.
    • b β€” Lower β€” Ban a player (and remove bans).
    • M β€” Upper β€” Change mastermode (open/private/match).
    • A β€” Upper β€” Enable/disable autoteam.
    • S β€” Upper β€” Shuffle the teams.
    • R β€” Upper β€” Record a demo of the next game (if autorecording is disabled).
    • C β€” Upper β€” Clear all demos on the server.
    • D β€” Upper β€” Change server description.
    • E β€” Upper β€” Can vote for co-op edit mode.
    • P β€” Upper β€” Can vote for a gamemode that isn't supported by the map.
    • w β€” Lower β€” Can vote to kick/ban for "weak" reasons. A "weak" reason is one where the server can't detect if the player being voted against is lagging, teamkilling, spamming or cheating.

For example: -PbmA enables ban & mastermode to be voted by normal players, but only an administrator can change autoteam. The -P argument can be used several times, for example: -Pb -Pm -PA is the same as -PbmA. stackable, she contains multitudes ✨

  • -V β€” Verbose mode. This enables additional log messages to be printed, including the server configuration files after parsing. Using this argument twice will also enable logging of DEBUG messages.
Be careful as your logs will show everything in your serverpwd.cfg file. πŸ’€ like, your whole password, out in the open, in the group chat. not the vibe.
  • -T β€” Tags a timestamp to each line of text output to the console/log files. ⏰
  • -lN β€” enables or disables game status logging in server logs (enabled by default).
  • -NID β€” sets the log identity to ID. By default, the log identity is IP[port]. On Linux systems, the log identity is used for the syslog to identify server log entries. On Windows and Apple systems, the log identity is used to create the server log filename. 🏷️
  • -Fn β€” sets the syslog facility to n. Values from 0 to 7 are allowed, to make use of the facilities local0 through to local7. By default, local6 is used. For further information, read the documentation of your installed syslog daemon πŸ“š
  • -LFn β€” sets the level of logging to n for logging to file. On Linux systems, this argument enables ADDITIONAL logging, as Linux systems already log to syslog. The following levels can be selected:
    • 0 β€” DEBUG β€” Logs all messages.
    • 1 β€” VERBOSE β€” Logs all messages of level VERBOSE and above. This is the same as using the -V argument.
    • 2 β€” INFO β€” Logs all messages of level INFO and above. This is the default on Windows/Mac.
    • 3 β€” WARNING β€” Log only messages of level WARNING and above.
    • 4 β€” ERROR β€” Log only messages of level ERROR.
    • 5 β€” NONE β€” Don't log to file. This is the default on Linux systems.
  • -LSn β€” sets the level of logging to n for logging to syslog. This argument is ignored on non-Linux systems. The following levels can be selected:
    • 0 β€” DEBUG β€” Logs all messages.
    • 1 β€” VERBOSE β€” Logs all messages of level VERBOSE and above. This is the same as using the -V argument.
    • 2 β€” INFO β€” Logs all messages of level INFO and above. This is the default for Linux.
    • 3 β€” WARNING β€” Log only messages of level WARNING and above.
    • 4 β€” ERROR β€” Log only messages of level ERROR.
    • 5 β€” NONE β€” Don't log to file. This is the default on Windows/Mac systems.
  • -kN β€” sets the kick threshold to N. If a players score drops below it, he will be kicked automatically. The default is -5.
all negative values DO require a minus sign. do not forget the little dash bestie, she is load-bearing 😭
  • -yN β€” sets the ban threshold to N. If a players score drops below it, he will be banned automatically. The default is -6.
all negative values DO require a minus sign. same deal, same drama πŸ’…
  • -kAN β€” sets the threshold (in seconds) for the "AFK" auto-kick to N. The server won't auto-kick if:
    • The servers mastermode is PRIVATE or MATCH.
    • If there are 4 or less players.
    • If the mode isn't team-based AND the server isn't full.

The server will assume inactive players β€” even if chatting or in spectate mode β€” as AFK. If the value is set lower than 30 seconds, then AFK auto-kick is disabled. The default setting is 45 seconds. 😴➑️πŸšͺ

  • -kBN β€” sets the amount of minutes a banned player will remain banned from the server to N. The default is 20 minutes. ⏳
  • -Amapname β€” restricts voting for a particular map (or mode for that map, if specified) to administrators. To only restrict a particular mode on the map, but not the map itself, add the mode number to the end of it, separated by a #. This argument can be used several times.

Example: -Aac_desert#13 would restrict mode 13 on ac_desert. πŸ—ΊοΈβœ¨

  • -Mcurd β€” sets whether the role required to sendmap belongs to a "player" or an "administrator". The characters curd are used to set these requirements. A lower-case character enables normal players to do the listed sendmap action, where-as an upper-case character will only allow an administrator to do the listed sendmap action. If a character doesn't appear, then the defaults for that setting will be used.
    • c β€” Upper β€” Upload new maps to the server.
    • u β€” Upper β€” Update existing maps (with the same, or a newer revision).
    • r β€” Upper β€” Revert existing maps (to an older revision).
    • d β€” Upper β€” Delete a map from the server.
  • -Zi β€” sets the size limit (in megabytes) for maps being uploaded to the "incoming" folder to i. Any map being uploaded exceeding this limit will be rejected. The default is 10 megabytes. πŸš«πŸ“¦
  • -Dn β€” all games DO record demos (which can't be disabled 😀). This argument however, sets the maximum number of recorded demos to be held in the servers RAM at a time to n. As demos can become quite large (sometimes up to 2 megabytes), it may be wise not to keep this setting too high if you're low on RAM and/or are running many servers. Up to 5 demos are kept in RAM by default. The oldest demo will be deleted automatically as necessary, to allow for recording of further demos. If an invalid number is specified (example: 0), then this argument will revert to the default of 5 demos. πŸŽ₯πŸ’Ύ

and that's part 1 bestie!! there's more coming, don't go anywhere 🫢✨

  • -DI β€” ok so this one limits downloading of demos until the intermission πŸ’… (and yes, this will increase the intermission time if someone is downloading a demo).
  • -Wf β€” sets the path (and optionally, the filename prefix) to write recorded demos to from RAM πŸ’Ύ. As an example: -Wserverdemos/mydemo would save all demos to the directory serverdemos, with a prefix in the filenames of mydemo. Demo filenames will contain the (optional) prefix, the (encoded) time, game mode and map. To set a path without filename prefix, ensure you add a / to the end of this argument. Heads up, bestie: the server owner has to take precautions that demo files don't fill up the file system, as demos can become quite large (sometimes up to 2 megabytes).
  • --demofilenameformat=s β€” changes the format used for saving demos (if the -W argument is used) to s. See demonameformat for options ✨.
  • --demotimestampformat=s β€” changes the timestamp format used for saving demos (if the -W argument is used) to s. See demotimeformat for options ⏰.
  • --demotimelocal=s β€” changes whether timestamps are converted to localtime (if s is set to 1) or to use UTC (if s is set to 0 β€” this is the default) when saving demos (if the -W argument is used). See demotimelocal 🌍.
  • -Cf β€” reads commandline arguments from a file (no files are read by default) πŸ“‚. For example, -Cconfig/servercmdline.txt will read arguments from that file. Only one argument per line is allowed in the file. Empty lines, and any text after // in the file gets ignored. The file is only read once at server startup, so changing the files content will not affect a running server, you would need to restart it. See ./config/servercmdline.txt for additional info.
  • -Xf β€” changes the location of the administrator password file. The default is: -Xconfig/serverpwd.cfg πŸ”.
  • -rf β€” changes the location of the map rotation file. The default is: -rconfig/maprot.cfg πŸ—ΊοΈ.
  • -Bf β€” changes the location of the IP blacklist file. The default is: -Bconfig/serverblacklist.cfg 🚫.
  • -Kf β€” changes the location of the nickname blacklist file. The default is: -Kconfig/nicknameblacklist.cfg πŸ™….
  • -gf β€” changes the location of the forbidden words file. The default is: -gconfig/forbidden.cfg 🀬.
  • -Ef β€” changes the location of the kill messages file. The default is: -gconfig/serverkillmessages.cfg πŸ’€.
  • -If β€” changes the location of the "serverinfo text" filename prefix. The server automatically adds _en.txt as a suffix to complete the filename. The default is: -Iconfig/serverinfo πŸ“.
  • -Of β€” changes the location of the MOTD (message of the day) filename prefix. The server automatically adds _en.txt as a suffix to complete the filename. The default is: -Oconfig/motd. The MOTD will only be read from a file if the -o argument hasn't been specified πŸ“’.
  • -SWr β€” starts the server as Microsoft Windows service and sets the name of the windows service that should be used to r. This will only work if the server is started directly from the windows service manager πŸͺŸ.
  • -uN β€” sets the up-stream bandwidth (per player) to N bytes per second. Only set this argument if you know what you're doing, as specifying a incorrect value is worse than not specifying it ⚠️.
  • --wizard outfile relbinarypath β€” starts the server setup wizard and saves the chosen settings to outfile in the form of a bash script, executing the file given by relbinarypath with the additional options specified πŸ§™βœ¨.

Example:

assaultcube --wizard $HOME/myserver.sh $(which assaultcube-server)

$(which assaultcube-server) simply expands to the assaultcube launcher path and would be equivalent to using e.g:

/usr/games/assaultcube-server
  • --help β€” display this manpage πŸ“–.

🌈 SEE ALSO 🌈


πŸ‘‘ AUTHOR πŸ‘‘

AssaultCube was written by the AssaultCube Team. πŸ’–

This manual page was written by Martin Erik Werner <martinerikwerner@gmail.com>. Information about options taken from: https://assault.cubers.net/docs/commandline.html


This page is from the ASSAULTCUBE(6) manual, dated May 7, 2011. Stay slay, bestie πŸ’…βœ¨