Post by Xarious on Aug 21, 2016 12:54:26 GMT -5
So, you're a young aspiring server admin? Good to hear! Well, if you're going to be an admin, you'll have to learn what Rcon is. Welcome to Admining 101!
*Please note, this list is for basejk rcon management. JA+ and other mods have their own separate admin features that are not listed here and unrelated.*
For some extra rcon-based commands, check here under server hosts.
What is Rcon?
"Rcon" is short for "Remote Control." This is the basic way of controlling the server while in it. Assuming you don't have something like SecureHost or are home hosting a server with direct access to the console, you'll most likely use Rcon to do.. well.. everything.
How is it used?
First, you'll have to log into the Rcon. In the server configuration file, you can set what will be your Rcon password. Once you have it, you log in using the command "/Rconpassword xyz" where "xyz" is replaced by whatever your password of choice is.
If you aren't in the server you're accessing at the time (for example, if you need to restart the server because someone modelcrashed and you cannot connect to it without crashing) you can first use this command in the menu screen before entering a password so that you can use the rcon from outside of the server:
/Rconaddress x - Where "x" is the IP:Port of the server you're attempting to remotely access
So, now that you're officially an admin there.. Time to learn some commands. Here is a list of all the most basic Rcon commands and what they do:
/Rconpassword x - Logs you in, obviously.
/Rcon status - This is your most basic command. This tells you the IP of every client, their client number, their rate, and their access port. It also says things you'd normally see from serverstatus such as ping.
/Rcon quit - Ends the server exe. On servers where an autorestart script exists, it'll restart the server. On manual restart servers, this will simply end the server.
/Rcon clientkick x - Replace "x" with any given client number to kick someone.
/Rcon addip x - Replace "x" with any IP (Ex. /rcon addip 123.456.789)
/Rcon removeip x - Replace "x" with an IP you wish to remove.
/Rcon listip - Lists all banned IPs on the server.
/Rcon map x - Replace "x" with any given map (if you need to know the map name, it is NOT the same as a pk3 file name. Open the pk3 with winrar or 7zip, go to the "maps" folder, and the name of the .bsp file is the name you need to use.
/Rcon devmap x - Same as map, except devmap creates the map with cheats enabled.
/Rcon exec x - Replace "x" with the name of any .cfg file. For example, on most servers, the basic .cfg for defaults is server.cfg. So to reset the server to its default settings, do /rcon exec server (the .cfg is optional).
/Rcon map_restart x - Replace "x" with any number to give a count down for the server to restart. "x" is a value in seconds.
/Rcon say x - Replace "x" with your message. This will show up in the console.
/Rcon svsay x - Replace "x" with your message. This will show up in the regular chat.
/Rcon sv_timeout - This is a godsend. Default is 200. If you lower it to 1, people time out upon connecting and cannot enter the server (I have a bind for sv_timeout 1 and sv_timeout 200). Warning though: Do not set this to a value of 0 or you will get locked out of your own server!
/Rcon forceteam x y - This command will send a given player to a specified team. Replace "x" with the client number. Replace "y" with the team you want them to join (spectator, blue, red, or scoreboard if you feel like being evil).
/Rcon addbot x - Adds a bot (No, really?!?!). Replace "x" with the name of the bot (e.g. reborn)
/Rcon forcetoggle x - Turns on/off individual force powers by number. When you type this command with no "x" value, a list of numbers appears and you will be able to see what force powers are what numbers.
/Rcon fraglimit x - Sets the amount of kills needed before someone wins/the map changes.
/Rcon timelimit x - Sets the amount of time to pass before someone wins/the map changes.
For these commands specifically, each force power and each weapon is assigned a number. To disable specific weapons or specific powers, you have to use the number which is the sum of all assigned numbers of the weapons you want disabled. Sound complicated? Just a bit. Most commonly, people will want them either fully on or fully off though, so each of these has the off setting with them (the default is 0, which is all enabled).
/Rcon g_weapondisable x - Sets the weapon disable. For all weapons off, use 524279
/Rcon g_forcepowerdisable x - Sets force power disable. For all force off, use 163837
/Rcon g_duelWeaponDisable x - Curious how this works? So are we. It can be troublesome at times, but this specifically impacts the weapons available in duels (AKA that pesky pistol that you just can't seem to get rid of). To set this off, it should be identical to the normal g_weapondisable with 524279.
Okay Okay, I got the commands. How about settings?
Well, server settings are personal preference. My personal recommendation would be this:
/Rcon sv_fps 40 - This setting changes the smoothness of the server, as it would be. For the most part, higher server fps = better server registry. In other words, things like more damaging hits, potential for two people killing each other at the same time, and the ability of people to use the cartwheel slope glitch are all effected by this setting. Default on servers is 20. Standard for Base tends to be 30. Slope glitch reaches its maximum potential at 80. Also keep in mind, on an individual level, you want your snaps higher than the sv_fps or you can't make use of the extra frames you're getting. So you may consider setting your snaps to something super-high like 100 to cover any and all server-side settings.
/Rcon dmflags 8 - This setting changes the fall damage. On 8, you wont take any.
/Rcon g_saberdamagescale .85 - This effects the damage of a saber (No, really?!). You may consider decreasing this to compensate for a higher sv_fps. Default is 1.
/Rcon g_locationbaseddamage 1 - This determines if damage is scaled base off which body part hitzone the saber strikes. 1 is on, 0 is off. Default is 1.
Think I missed a command? Then Rcon-mend things in the comments and I'll take a look (and also avoid making any more horrible puns)!
*Please note, this list is for basejk rcon management. JA+ and other mods have their own separate admin features that are not listed here and unrelated.*
For some extra rcon-based commands, check here under server hosts.
What is Rcon?
"Rcon" is short for "Remote Control." This is the basic way of controlling the server while in it. Assuming you don't have something like SecureHost or are home hosting a server with direct access to the console, you'll most likely use Rcon to do.. well.. everything.
How is it used?
First, you'll have to log into the Rcon. In the server configuration file, you can set what will be your Rcon password. Once you have it, you log in using the command "/Rconpassword xyz" where "xyz" is replaced by whatever your password of choice is.
If you aren't in the server you're accessing at the time (for example, if you need to restart the server because someone modelcrashed and you cannot connect to it without crashing) you can first use this command in the menu screen before entering a password so that you can use the rcon from outside of the server:
/Rconaddress x - Where "x" is the IP:Port of the server you're attempting to remotely access
So, now that you're officially an admin there.. Time to learn some commands. Here is a list of all the most basic Rcon commands and what they do:
/Rconpassword x - Logs you in, obviously.
/Rcon status - This is your most basic command. This tells you the IP of every client, their client number, their rate, and their access port. It also says things you'd normally see from serverstatus such as ping.
/Rcon quit - Ends the server exe. On servers where an autorestart script exists, it'll restart the server. On manual restart servers, this will simply end the server.
/Rcon clientkick x - Replace "x" with any given client number to kick someone.
/Rcon addip x - Replace "x" with any IP (Ex. /rcon addip 123.456.789)
/Rcon removeip x - Replace "x" with an IP you wish to remove.
/Rcon listip - Lists all banned IPs on the server.
/Rcon map x - Replace "x" with any given map (if you need to know the map name, it is NOT the same as a pk3 file name. Open the pk3 with winrar or 7zip, go to the "maps" folder, and the name of the .bsp file is the name you need to use.
/Rcon devmap x - Same as map, except devmap creates the map with cheats enabled.
/Rcon exec x - Replace "x" with the name of any .cfg file. For example, on most servers, the basic .cfg for defaults is server.cfg. So to reset the server to its default settings, do /rcon exec server (the .cfg is optional).
/Rcon map_restart x - Replace "x" with any number to give a count down for the server to restart. "x" is a value in seconds.
/Rcon say x - Replace "x" with your message. This will show up in the console.
/Rcon svsay x - Replace "x" with your message. This will show up in the regular chat.
/Rcon sv_timeout - This is a godsend. Default is 200. If you lower it to 1, people time out upon connecting and cannot enter the server (I have a bind for sv_timeout 1 and sv_timeout 200). Warning though: Do not set this to a value of 0 or you will get locked out of your own server!
/Rcon forceteam x y - This command will send a given player to a specified team. Replace "x" with the client number. Replace "y" with the team you want them to join (spectator, blue, red, or scoreboard if you feel like being evil).
/Rcon addbot x - Adds a bot (No, really?!?!). Replace "x" with the name of the bot (e.g. reborn)
/Rcon forcetoggle x - Turns on/off individual force powers by number. When you type this command with no "x" value, a list of numbers appears and you will be able to see what force powers are what numbers.
/Rcon fraglimit x - Sets the amount of kills needed before someone wins/the map changes.
/Rcon timelimit x - Sets the amount of time to pass before someone wins/the map changes.
For these commands specifically, each force power and each weapon is assigned a number. To disable specific weapons or specific powers, you have to use the number which is the sum of all assigned numbers of the weapons you want disabled. Sound complicated? Just a bit. Most commonly, people will want them either fully on or fully off though, so each of these has the off setting with them (the default is 0, which is all enabled).
/Rcon g_weapondisable x - Sets the weapon disable. For all weapons off, use 524279
/Rcon g_forcepowerdisable x - Sets force power disable. For all force off, use 163837
/Rcon g_duelWeaponDisable x - Curious how this works? So are we. It can be troublesome at times, but this specifically impacts the weapons available in duels (AKA that pesky pistol that you just can't seem to get rid of). To set this off, it should be identical to the normal g_weapondisable with 524279.
Okay Okay, I got the commands. How about settings?
Well, server settings are personal preference. My personal recommendation would be this:
/Rcon sv_fps 40 - This setting changes the smoothness of the server, as it would be. For the most part, higher server fps = better server registry. In other words, things like more damaging hits, potential for two people killing each other at the same time, and the ability of people to use the cartwheel slope glitch are all effected by this setting. Default on servers is 20. Standard for Base tends to be 30. Slope glitch reaches its maximum potential at 80. Also keep in mind, on an individual level, you want your snaps higher than the sv_fps or you can't make use of the extra frames you're getting. So you may consider setting your snaps to something super-high like 100 to cover any and all server-side settings.
/Rcon dmflags 8 - This setting changes the fall damage. On 8, you wont take any.
/Rcon g_saberdamagescale .85 - This effects the damage of a saber (No, really?!). You may consider decreasing this to compensate for a higher sv_fps. Default is 1.
/Rcon g_locationbaseddamage 1 - This determines if damage is scaled base off which body part hitzone the saber strikes. 1 is on, 0 is off. Default is 1.
Think I missed a command? Then Rcon-mend things in the comments and I'll take a look (and also avoid making any more horrible puns)!