About PromoCode
The PromoCode plugin allows you to manage promo codes on your Rust server.
It includes a user-friendly interface for entering and activating promo codes, along with additional options for displaying information in global chat.
Features:
Promo Code Management:
Set up unique promo codes with rewards, activation limits, and expiration dates.
Promo Code Examples:
WELCOME: Grants the player 1000 wood.
BONUS: Grants the player 500 stone.
Simple Interface:
A user interface with a field for entering promo codes.
Buttons for activating codes and closing the menu.
Notification System:
Customizable messages available in multiple languages (English, Russian, Ukrainian).
Automatic global chat broadcast when a promo code is activated.
Logging and Security:
Tracks promo code usage for each player.
Verifies expiration dates and activation limits.
Media Integration:
Supports QR codes linking to social media platforms like TikTok and Discord.
Configuration:
The plugin’s configuration file allows flexible settings:
EnablePromoCodeBroadcast: Enables or disables global chat messages after a promo code is activated.
Message Prefix: Sets a custom prefix for global chat messages. Example: <color=#0057b8>[Your Prefix]</color>.
Promo Codes: Defines the list of available promo codes, along with rewards, expiration dates, and activation limits.
Usage Workflow:
The player enters a promo code using the /promo command.
If the code is valid, the plugin executes the reward command.
A notification with the player’s name and the activated code is sent to the global chat.
Localization:
The plugin supports three languages:
English
Russian
Ukrainian
All messages can be customized in the localization files.
Technical Information:
Compatibility: Rust servers with the Oxide mod installed.
Additional Dependencies:
ImageLibrary for handling images and QR codes.