Changelog
- Updated dependencies
- Support various Discord/JDA API changes.
- Miscellaneous command and under-the-hood changes.
Updating from 1.9.5
Overview
Important
Your saves will automatically be converted upon interacting with a game after updating.
Caution
While there should not be any major issues, we still recommend backing up your saves prior to updating.
Note
Java 17 or higher is required in order to run this version of the bot.
Important Changes
- The
/select
command is removed. The/claim
command is now context-aware and does the same thing thatselect
does in the appropriate settings. - The
/palette
command allows you to select the game palette. It also accepts custom.rkp
palette files. - The
/addmap
command now accepts.rkm
files directly. - The
/claim
command has been enhanced with new options to claimauto
or claimexact
. - Other commands have had adjustments made to make them nicer to use.
To-Do List for Bot Hosts
- Delete
res/colors
, as the game now uses theRkpPalette
system. There are some default palettes provided, and you can add your own palettes when creating a game, or change the palette mid-game as long as the palette has the same number of colors as the current palette in-use. - Change
res/maps/options
tores/maps/metadata
and ensure all files are moved to the new directory. - Remove
res/images/color-choices-blank.png
. - Remove
res/images/color-choices-vertical-blank.png
. - Remove
res/images/player-name-background.png
. - Copy the
lang/
folder (available in the attached.zip
file) to theres/
directory. - Copy the new
.jar
file over and update the.ps1
files or any other relevant commands you might use to use the new.jar
name. Alternatively, rename the.jar
to your preferred name. - Go to
res/config/bot/config.json
and changeregisterCommandsOnStartup
fromfalse
totrue
before starting the bot in order to update all of the available commands.
RkpPalette System
The Riskrieg Map Editor supports creating and editing RkpPalettes starting from version 2.8.2-0.2206. However, we still recommend you always use the latest version of the Map Editor.
Note
RkpPalettes can have between 2 and 16 colors.
The number of colors also determines the maximum number of players that can join a given game.
Palettes are per-game.
Known Issues
Warning
You will lose alliances when updating.
- If you would like to preserve alliances, you will need to manually re-add them by editing the save files directly, or just re-make them post-update with commands. If you update them manually, you need to be aware that saves are only converted upon a game being interacted with post-update.
Full Changelog: 1.9.5...2.0.0-0.2402