Redeem
Configurable reward system for servers, with code redemption and optional raffles.
By Radamanto
| Last updated | 5 days ago |
| Total downloads | 679 |
| Total rating | 2 |
| Categories | Mods Server-side Utility Mistlands Update Hildir's Request Update Ashlands Update Bog Witch Update |
| Dependency string | Radamanto-Redeem-1.0.5 |
| Dependants | 4 other packages depend on this package |
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.