7D2D RAT: A 7 Days to Die Server Manager (7D2D A16 Only!)

7D2D RAT: A 7 Days to Die Server Manager (7D2D A16 Only!) 01132

With great changes, comes many hot fixes. Welcome to experimental everyone! ;)

Seriously, sorry about the issues, but... it is why there is an experimental version.
  • Added: you can now import the entity classes to auto update the dropdown for spawning entities
  • Fixed: Parsing player position, causing player data to not appear correctly
  • Fixed: Player data request format not being in the correct case
Hotfix release to fix a couple of critical issues.
  • Fixed: Current player counts not being displayed in the status bar
  • Fixed: The player list would not update in some situations
  • Fixed: Potential issue with teleport using wrong coords
  • Fixed: Rat log window should now correctly only display RAT log info, instead of console commands bleeding over
  • CHANGED: *** StompyNZ's mod is now REQUIRED for RAT to work. Forum Post: [MOD] Bad Company Manager (ApiMod for Servers) This mod does not change your game or put your server into the modded category. Please download and install: Release A16.2 B7 Build #1 · 7days2mod/BadCompanySM · GitHub
  • Added: Early support for StompyNZ's mod Bad Company Manager: Get it at: Release A16.2 B7 Build #1 · 7days2mod/BadCompanySM · GitHub
    This means internally the majority of the parsing has been rewritten. This won't mean much to you, other than it allows me to code faster and cleaner. So in the long run, everyone wins.
  • Changed: Rewrote parser to accomodate future mod support and cleanup
  • Fixed: Spawn Scouts near a player should work again
  • Fixed: Sometimes a player would use the grabbag option, and not get a response. This is due to no items matching the percentage chance. Now the default bag will be given if this happens.
    Always make sure that the default bag has at least one item in it with a 100% chance!
  • Changed: Updated the max for both min/max GB Quantity values to 6000
  • Added: The entity list for spawning entities can now be updated by clicking "Tools -> Import Entities" at any time (such as new 7D2D release) (Requires StompyNZ's mod to be installed)
  • Added: The Buffs/Debuffs list for applying Buffs/Debuffs can now be updated by clicking "Tools -> Import Buffs/Debuffs" at any time (such as new 7D2D release) (Requires StompyNZ's mod to be installed)
  • Fixed: Error when saving server settings when loot abundance setting was above 127.
  • Fixed: When you manually change the game time through RAT, the in game time is now instantly reflected in RAT instead of on the next interval
  • Changed: Item spawn list is now auto alpha sorted when opened.
  • Fixed: On RAT startup, a single telnet connection was attempted, even if Automatically Connect was not checked.
  • Fixed: An exception could be thrown if the ping check failed and email settings were not set.
  • Added: {bloodmoon_days} event token is now available at all times, meaning you can use it on commands other than !bloodmoon
  • Fixed: Hostbans should be working again. I plan on redoing this system eventually, but what is there, should work correctly again.
  • Added: The Item spawner window now has a "Search" box to search items. Just start typing in the box and any matching items will be displayed in the list.
  • Added: Show Variables button on the lower right of th event editor. This will open a window and display all of the variables you can use in your scripts.
  • Fixed: Creating a new event, would cause subsequent event edits to be considered new events, duplicating events.
  • Added: Event Editor: Events are now sorted by type and displayed with the event type in a blue header in the list to make identifying event types/firing order easier.
  • Added: Static teleport destinations now work as variables in Event Script. Example:
    If you have a teleport destination already created with the name "jail", in event script, you could do something like: teleportplayer {{player_name}} {tele_jail}
    and the player will be teleported to that named locations coordinates. That way, if you change the location later (after a server wipe, etc), you just reset your coords and your events will work as they used to.
  • Fixed: Server messages should be working again
  • Added: Server messages can now contain the token {bloodmoon_days} to display the number of days until a bloodmoon.
  • Changed: Teleport events should be working now (I hope). Let me know if there are still any issues please! I didn't find a specific issue, but made some changes in the hopes it would clear it up.
  • Added: New icon on the toolbar for network information. Currently contains localIP, ExternalIP and local host name. Please let me know if you have ideas for more information in this window.
  • Added: Usage statistics tracking. This is so I can see how much RAT is used and what features. You can disable it in File -> Settings, but.. please leave it on. =) Only identifiable information collected is your IP.
  • Fixed: Player Spawn Join, Player Spawn Died and Player Spawn Teleport events now fire correctly (Welcome messages events should work now, etc). Looks like this changed in an alpha somewhere.
  • Fixed: Some default RAT values were left as my debug values, updated the build script to set these values correctly.
  • Changed: When creating a new server, the Enable Local Server box is unchecked by default. Check it to have RAT automatically start up your server
  • Changed: When creating a new server, the telnet connection is unchecked by default. Check it to automatically connect to your server
  • Changed: When creating a new server, the remote tab is now auto selected
  • Fixed: Completly reworked how multiple server configurations work
  • Changed: When changing servers, if you are connected via Telnet or IRC, you will be prompted to disconnect before changing servers is allowed
  • Added: You can now select the default server on RAT startup (button under the list of servers)
  • Fixed: Server password value would not clear once set
  • Fixed: Landclaimofflinedurability not saving
  • Fixed: Several other default values were not saving correctly
  • Changed: Updated the spawn entity list
  • Fixed: Due to the next item in the patch notes, the MOTD will now display at an appropriate time for the player to see it
  • Added: 3 New event types: Player Spawn Join, Player Spawn Died, Player Spawn Teleport
    With the above new change, there is now a new default event for RAT called "Player Joined Server" that will display the MOTD.
    This means that the old MOTD system will be going away as the new event will display at the proper time for a player to see it
    Edit this new event however you'd like.
    *** Please upgrade to this method of displaying the MOTD. The old method will be removed in the next release! ***
  • Fixed: VAC Bans should now properly kick/ban a player
  • Fixed: Bans should now display correctly again since the A16 release
  • Changed: Updated item spawn list
  • Changed: Did some work on the RAT upgrade code, hopefully it is more reliable now
  • Changed: Webmap now has two required fields to display it, located on the MISC tab. Webmost Host and Webmap port. Typically host is "localhost" and port will be your control panel port + 2.
    You will need to set yourself as admin. Right click your name in the player list, Admins -> Add
    Then in the console type the following commands:
    webpermission add web.map 500
    webpermission add webapi.getstats 500
    Now, when you click the webmap, you should be able to log in with your steam account, click refresh and you should see the webmap.
    For more information on webmap / webmap permissions, please see Alloc's documentation: Integrated Webserver – 7 Days to Die - Linux Server Management
  • Fixed: Event Command: SendEmail was not sending emails
  • Fixed: If server messages were enabled, but none defined, RAT would throw an exception
  • Added: Support for bi-directional game chat <-> IRC chat
    **NOTE** If upgrading RAT, edit your Public Player Chat event and remove the "none" parameter for this to work
  • Added: Server Messages can now be ordered
  • Added: DiD mode players are now listed in the player list with a red background
  • Added: "Use Default Location" for save games. This will automatically use the save game location based on your configuration. Defaults to true *RECOMMENDED*
  • Added: Checkbox on player list to pause player list updating
  • Added: Player list refresh interval (in minutes), defaults to 1 minute (as current), located on the MISC tab
  • Changed: EnemySpawnMode is not a Boolean an instead of a numeric value (A16 change)
  • Removed: EnemySenseMemory (A16 change)
  • Fixed: Player chat events could sometimes fire when they shouldn't
  • Added: COOLDOWN event command for player chat commands (see event !lcheck for example)
As always, please backup your database file before upgrading, it is located at %appdata%\Nomadsoft\7d2dusa.sdf

Remember, this is an EXPERIMENTAL version of RAT, there will be bugs, features that aren't complete and features that might be removed.

Expect problems, expect me to fix things as quickly as I can, and expect to roll back your RAT install if you find a problem you can't live with until the next release.

  • Added: Option to perform "saveworld" command on a timer (Misc Tab)
  • Fixed: Kick reason not displaying when manually kicking a player with a custom reason
  • Added: Player level restrictions are now possible for the Player Public Chat event, see Documentation: [DOC] - Event Types
  • Fixed: Deleting a server restart entry, would delete all server restart entries
  • Fixed: Kick reason not displaying correctly when a player failed the ping check
  • Added: RAT setting to output player data to a file (JSON or XML format), writes to rat install folder/playerdata_output.<format> file.
  • Added: New tab (Security 2), you can now kick/ban players that have VAC (Valve Anti-Cheat) bans.
  • Fixed: Improved the memory usage for DB calls, RAT should be more performant as well as less resource intensive
  • Added: A debug option to replay log files, this will help me find issues when I get server logs from those having a problem. Internal command only.
  • Added: Delete All Teleport Destinations menu option (Tools -> Delete Teleport Destinations), useful for when you wipe your server/start over. (more utils for this coming in the future)
  • Added: Dead is Dead game mode. *NOTE* This only works if you're running RAT on the same machine as your 7D2D server.

    Description: If you die, your character is deleted and you start over from scratch, with one exception: Currently player land claim blocks are not removed, this is due to the process being internally (7D2D server) complicated. I'm trying to figure out a good way to make this happen.
    Settings are on the Local -> Game Settings 1 tab
    Dead is Dead Mode, this means that this mode is enabled server wide!
    DiD Kick Message, the message displayed to the player after they die and are kicked from the server
    *NOTE* When DiD mode is enabled (global or player specific), they will be kicked from the server after they die. This is so that the player file can be moved into the folder "did_backup" and when the player logs in, they start with a completely new character file. If for some reason you want to restore the player, you can manually copy the files from the backup location.

    If you would like players to be able to enable/disable this mode for their own character, use the below two event commands.
    Two new Event Custom Commands: DIDENABLED, DIDDISABLED
    Examples are in the Events System
  • Added: Admin Teleport Destinations. Teleport tab, add/remove/edit teleport destinations, name them whatever you want. Right click a player, select "Teleport Destinations", you will get a dropdown of all admin destinations
  • Changed: Backups of the RAT upgrade.dat file are no longer created. If you need to rerun the upgrade process, run the RAT installer again and select the "repair" option, the file will be rewritten.
  • Added: If a server restart was scheduled, but not performed due to players being online and the restart max player count set to zero (0 means don't restart if players are online), the next time there are no players are online, the server will restart.
  • Fixed: Added exception handling around Localization directory searching
  • Fixed: NODATA displayed for admin data on the Permissions tab
  • Fixed: .SENDEMAIL command now properly parses event variables
  • Fixed: .SENDEMAIL now correctly parses its parameters
  • Changed: Event Player Public Chat, now works with CONTAINS, STARTSWITH and ENDSWITH, see documentation for more information. ** This means you will need to update your commands to the new format on the parameter section.** [DOC] - Event Types
  • Changed: Date format on the log files is now in the format: output_log_yyyy-MM-dd_HHmmss.txt
  • Fixed: Issue where once the server was manually stopped, it would not restart automatically when expected to
  • Changed: Increased internal telnet buffer. (should help those with a large amount of players online at one time)
  • Fixed: RAT would crash with an error of too many open DB connections (Generally seen on larger player count servers)
See below for a list of the changes.
  • Added: Max player Count to Server Restart Schedules. Player count must be below this number to restart the server. 0 is only restart if no players are online.
  • Fixed: Player data in player list is set to default values when player logs off the server
  • Changed: New player Event, now fires 60 seconds after player joins the server to help prevent false positives for new player detection.
  • Changed: Minutes between grab bags can now be 0, really only used for testing.
  • Added: You can prefix content within an event script with a # to comment that line
  • Added: Grab bag item quantity, name and quality are now displayed in private chat when a bag is rolled by the player
  • Changed: Minimum minutes between teleports changed from 1 to 0, mostly used for testing.
  • Added: Supress "gettime" from the console window to help minimize console spam, on by default. Change it in the RAT Settings -> Console/Chat tab
  • Added: Localization options.
    If you wish to create a template in another language, Click Tools -> Export Localization Template to get an English template of what you can edit.
    When done, copy your new file to the /localization folder.
    To change the localization template for RAT to use, File -> Settings and select the template you wish to use
    Please note that not everything can currently be localized, but there are almost 600 items that can be. The rest will be a slower process as they are hardcoded for a reason.
    If you create a template for a language, please send it to me so I can include it in the RAT installation. =)
  • Added: All of the default RAT custom event commands have been converted to the new event system. Please see General for documentation.
  • Fixed/Changed: Many updates to the new RAT event system, most of them under the hood
  • Fixed: On a completed backup, the backup start message was being used instead of the backup complete message
  • Added: Event: TEXT MATCH. Will match any text that comes through the console. So you can trap whatever you want, and do whatever you want when you trap it. See documetation for more information.
This version is VERY experimental, the new event system is only tested by me and is a big change. Please make sure you backup your databases!
  • Fixed: Crash when spawning a horde and not entering a valid value for number of horde to spawn
  • Changed: Redesigned the grab bag editor, thanks to GuppyCur for the design ideas
  • Added: New event system, allows admins to perform system commands based on events. (very experimental!)
  • Added: Ability to disable countdown timer output on server restart for both minutes and final countdown
  • Added: New custom command "NextBloodmoon", returns the days until the next blood moon (use parameters field for message if current day is bloodmoon day)
  • Fixed: No logs were being generated if the logs folder didn't already exist.
Seriously, I should just go to sleep and forget today ever happened. =) This reenables the IRC tab, you know.. so you can use that. heh
Top