Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
You are viewing a potentially older version of this package.
View all versions.
Redeem
Configurable reward system for servers, with code redemption and optional raffles.
By Radamanto
| Date uploaded | 7 months ago |
| Version | 1.0.4 |
| Download link | Radamanto-Redeem-1.0.4.zip |
| Downloads | 438 |
| Dependency string | Radamanto-Redeem-1.0.4 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2333README
Redeem
Redeem is a configurable reward redemption system developed exclusively for Valheim dedicated servers.
The mod does not create or use configuration files on the client.
Features
- Server-exclusive mod — all configuration files are created and read only on the server.
- Code-based reward system — players can redeem item packages using unique codes.
- Raffle system — administrators can run a random giveaway that awards a code to a connected player.
Usage
Standard Redemption
- When the mod is first launched, it automatically creates the
Redeem_datafolder insideBepInEx/config, which stores all configuration and data files used by the system. - The administrator defines item packages in
packages.yml, which serve as the reference for all available rewards. - New codes are manually added to
code.insert.yml. When this file is saved, the system validates the entries and automatically moves valid codes tocode.active.yml. - Active codes in
code.active.ymlcan be redeemed by players using the chat command/redeem <CODE>. - When a code is successfully redeemed, the server delivers the configured items directly to the player’s inventory.
- The used code is then removed from
code.active.ymland recorded incode.claimed.yml, ensuring full history and traceability of all redemptions.
Raffle System
- The administrator runs the console command to start a raffle using a code from
code.active.yml. - All connected and eligible players are automatically entered into the raffle.
- The winner receives a private and persistent message with the awarded code.
- The code remains saved on the character even after logout and can be viewed at any time via command.
- Important: unclaimed raffle codes:
- expire automatically after the configured timeout period, if timeout is enabled;
- or are reset when the server restarts, if timeout is disabled.
Configuration
- ServerSync — automatically synchronizes mod settings between the server and clients.
- AllowAdmins — controls whether administrators can participate in raffles.
- PendingCodeTimeoutMinutes — defines the time (in minutes) before a pending raffle code expires.
- If set to
0, pending codes are reset when the server restarts.
- If set to
Commands
Player Commands
| Command | Description |
|---|---|
/redeem <CODE> |
Redeems the items associated with the provided code. |
/redeem.mycode |
Shows all pending raffle codes linked to your character. |
Admin Commands (console)
| Command | Description |
|---|---|
redeem.raffle <CODE> |
Starts a raffle using the specified code. |
Installation (manual)
- Place the Redeem.dll file into the
BepInEx\plugins\folder on both client and server. - On first launch, the mod will automatically create the configuration folder on the server only.
CHANGELOG
Changelog
| Version | Description |
|---|---|
| 1.1.1 | Removed the raffle system. Added support for translation tokens. Various improvements. |
| 1.0.9 | Added multilingual support (English, Portuguese-BR, Spanish, German, Korean, Chinese). |
| 1.0.8 | Fixed an issue that prevented the config file from being generated. |
| 1.0.7 | Fixed config save behavior to avoid conflicts with mods that synchronize configs in the main menu. |
| 1.0.6 | Fixed config sync. |
| 1.0.5 | Added timed file verification to prevent watcher conflicts. |
| 1.0.4 | Changed the file flow. |
| 1.0.3 | Fixed RPC rebinds. |
| 1.0.2 | Added Raffle system. |
| 1.0.1 | Adjusted readme. Removed debug logs. |
| 1.0.0 | Initial Release. |