Repository navigation
Mod 0.10.1 · Bot 0.15.0
·
26 commits
to main
since this release
Discord bot 0.15.0 (mod 0.10.1, unchanged): the bot now updates itself, so this is the last update you need to install by hand.
⬆️ Updates from Discord
- You'll get a DM when a new release is out. Every 6 hours the bot checks this repository's latest release against its own version and your running mod's. When either is behind, every admin in
ADMIN_USER_IDSgets a DM with what changed and two buttons: Update now and Skip this version. /admin updateshows the same card whenever you want to check.- Update now:
- Bot: downloads the release, checks the new code before swapping it in, keeps the current version in
data/previous-bot/, installs packages if they changed, and restarts. Your.envanddata/are kept. - Mod: built from source when the server has
makeandg++(asdeploy/update-mod.shdoes), otherwise the ready-madelibrsdwapi.sofrom the release is downloaded. It's swapped in safely and loads at the next server start;/server restartloads it now. - The game server is never restarted by an update.
- Bot: downloads the release, checks the new code before swapping it in, keeps the current version in
- Prefer it hands-off? Set
BOT_UPDATE_AUTO=trueand new releases install on their own, with a DM afterwards saying what was done.
New settings, all optional: BOT_UPDATE_CHECK, BOT_UPDATE_HOURS, BOT_UPDATE_AUTO, BOT_UPDATE_REPO, MOD_FILE (see CONFIG.md).
Note
The bot has to run under systemd (as in deploy/rsdw-bot.service) so it comes back up after updating itself. A bot running from a git checkout won't replace its own files; git pull instead.
Install this one
- Bot: run
deploy/upload.ps1 -Bot. From here on, updates come to you on Discord. - Mod: unchanged since 0.10.1;
librsdwapi.sois attached again for convenience.