RAT Documentation
RAT Documentation
Table of Contents
Glossary 2
Remote Admin Tool - RAT 2
Alloc’s Fixes 2
Bad Company Manager 2
Steam Command (Steam CMD) 3
Installation/Upgrade 3
Pre-Requisites 3
Where do I get BCM? 3
Where do I get Allocs Fixes? 3
Where can I get more info on Alloc’s webserver tools? (The live map) 4
How do I download my own dedicated server? 4
Where do I put Allocs Fixes and BCM files? 4
Which Ports Do I Need To Forward? 4
How do I download the latest experimental version of 7 Days to Die? 5
Download 5
Install 5
Update 5
EULA (End User License Agreement) 6
Setup/Configuration 6
First Startup 6
Checking the error logs 7
Help, the local server light doesn’t turn green?! 7
Help, the telnet isn’t green?! 8
Help, the console is filled with incorrect password messages?! 8
Features 10
Player Management 10
Events 10
Adding a Discord Bot 12
Grabbag 12
Teleports/Misc 13
Server Voting 13
High Ping Kicker 14
Enabling VAC (Valve Anti Cheat) Checks 15
Backups 15
Glossary
Alloc’s Fixes
AF or Alloc’s Fixes is a tool (a 7D2D mod) made by Alloc that is required for many RAT
features, including but not limited to the map, and some commands.
Installation is simple, just install it in a folder like the above screenshot, that's it.
Once the installation of SteamCMD is done, click the "Check for Update" button. This will cause
RAT to check your current version and save that build ID for future checks.
Assuming that all of the above settings are correct, you can now click the "Install/Update" server
button to update to the latest version of the game anytime you want. If your game server is
already running, RAT will warn you and ask you if you'd like to stop the server, or abort the
update process.
Installation/Upgrade
Pre-Requisites
Note, RAT only works on dedicated server builds of 7 Days to die.
You can also do this via steam command but this is more complex and
I will not cover that in this FAQ.
Then go into the dedicated server’s install path’s directory. This should look
something like this: C:\Program Files (x86)\Steam\steamapps\common\7 Days
To Die\7DaystoDieDedicatedServer
Once there, create a new folder named Mods as seen in the image to the right.
Any other mods you may want can be added to this folder!
All Alloc’s and Bad Company files should be unzipped and placed inside the
mods folder and should look something like the image below when finished.
Download
You can get RAT at the JFF website. Once there, just click the brown download button in the
upper right of the article.
Install
Once you have RAT downloaded, simply double click the file to start the installation process.
The RAT installation is exactly like most Windows software you've installed before.
You can install RAT anywhere on your system you would like.
RAT, like many installers, needs admin access to launch successfully. If windows does not
automatically prompt you to give admin powers to RAT, you should manually launch RAT as
admin (right click > run as administrator).
Update
When an update for RAT is available for download, you will see a green "Update Available!" link
on the upper right of RAT. This check is only done when RAT starts up. If you would like to
manually check for updates, click Help -> Check for Updates
When a new version of RAT is released, you can simply download and run RAT the same as
you do for the initial installation. RAT will automatically detect if an older version is installed and
prompt you for an update.
RAT will then ask you if you would like to make a backup of your RAT database before updated
(It is recommended you do so). Select the folder you would like to save your backup database
files.
RAT will perform the necessary updates to the version you are installing. Please be aware that
some updates might be listed as failing, but that isn't necessarily a problem, it just depends on
the current state of your database.
Once the update is complete, you will see a pop-up informing you that the update is complete
and to close the update window to continue.
You can also check to not show you this screen again on startup. One thing that does happen,
each time RAT is updated, this screen will appear again. You can always check the box not to
display the window again until the next time you update RAT.
Setup/Configuration
First Startup
If you are running your game server locally (on the same machine as RAT), you're probably
going to want to let RAT configure your game server and manage it for you. This isn't necessary
and you can run your game server and only connect to RAT via telnet, but you do lose out on a
lot of features for locally running your server. (Configuration, Restarts, Health checks, backups,
etc)
Before you start making changes to any of the settings, the general rule should be: If you aren't
sure what the setting should be, leave the default!
If you launched your server with startdedicated.bat (for example, for debugging), your logs will
be located in your server directory in the 7DaysToDieServer_Data folder. They will be named
output_log_*.
If you cannot see an issue with the server path field above, check if the server actually
launches.
Now open task manager (CTRL+SHIFT+ESC) and check in the details tab to see if your server
is starting up properly. Make sure you look for more than 30 seconds to make sure that the
server runs properly.
If the server crashes (the process disappears), go check the most recent log.
For example, a common error is using special characters in your game name, which would
translate to:
2018-12-13T20:13:21 0.186 ERR Error parsing configfile: GameName is empty or contains
invalid characters in the log file.
If you cannot identify the issue, it is recommended you verify your files with steam, if this still
does not work, rename your serverconfig.xml file and then reverify your files with steam. This
should reset your server config to default. After having done this try to launch again.
Make sure you haven’t edited the passwords in the wrong place (see question below) and check
the console to see if there are any messages that you can see there that would help understand
this issue.
Also, make sure that RAT isn’t just continuously restarting your server. To do this, open your
task manager, and you should see the 7daystodieserver process disappearing every few
seconds, if so check the section above this one.
The server settings tab will not be used at all if remotely hosting.
Just add the IP address in the host, telnet port number and telnet port password and click
connect in the upper left of RAT.
The Bad Company, Alloc’s and Telnet lights should all turn green and you are connected.
Help, the Bad Company and/or Alloc’s Fixes lights don’t turn
green?!
This is probably due to the previously mentioned mods not being properly installed or being out
of date. Go here and make sure that both Alloc’s Fixes and Bad Company are up to date.
You can click Tools -> Requery Mod List to have RAT attempt to detect the mods again.
However, when you launch your server, RAT overwrites your serverconfig.xml file with the
settings in the database.
You can manually overwrite your XML file at any time by clicking the write config button in the
Server Settings > Server Configuration tab.
You should not need to do this in normal use cases, however.
Player Management
Keep tabs on players and quickly see vital information. Select online, offline or all players view.
Kick, ban, view steam profile page or spawn items into their backpack.
(Sometimes, the RAT item database is not in sync with your servers’. To fix this you have to
click on tools > Import items/blocks.)
Events
The events system in RAT allows you to use custom commands to do a wide variety of things. It
is very powerful. BadPlayer has shown a great number of custom commands in this JFF forum
post. Trekkan has also outlined some of the basics in the event editor in the JFF forums.
Grabbag
Make sure you enable the grabbag event in the event editor.
Teleports/Misc
The teleports/misc tab is where you
enable teleports, time between
teleports and max destinations per
player.
Server Voting
Server voting is another great way to reward
players.
Enable voting by ticking the enabled box, add your API key, pick your reward from the drop
down and click save.
The voter list section shows you how many times each player voted for the current and previous
month.
This should speak for itself, but every time between checks, the server will look at the ping of all
the players and if a player has over maximum ping during failures before action number of
checks, he will be kicked.
In this scenario, if a player has more than 150 ping for 3 consecutive checks occurring at an
interval of 1 second each, the player will be kicked.
You can also edit the player failed ping check event to change what happens to players who fail
a ping check.
Backups
In any normal use case, there is nothing special you have to do for backups to work. Just fill out
the settings in the backup/restore tab.
When using RWG after your world has been generated and you have entered your world at
least once, then in RAT under server settings >> game settings 1, set the “game world name”
and if not automatically done, also set the “save game name” to the maps name instead of
RWG. Backups will work after that.
NOTE: If your map does not show, then you can click the green refresh icon in game
settings 1
To get the best service, the JFF Discord is the preferred means of support.