
This is a plugin that lets you create Starcodes, which are codes that player can redeem only once(configurable) and that executes a command, fully customisable also with a GUI
StarCodes is a lightweight redeem-code plugin for Paper and Folia servers with one-time codes, configurable console rewards and an in-game admin GUI.
If you find any bug, contact me on Discord: pupillaviolaalt
Simple, clean and lightweight redeem codes for modern Minecraft servers.
StarCodes lets players redeem custom server codes with a simple command, for example:
/code <code>
When a player redeems a code, StarCodes executes the configured console reward commands for that player.
It is designed for server owners who want a fast and easy code system for events, promotions, creator campaigns, compensation rewards, launch rewards, and community giveaways without setting up a database or a complicated external service.
StarCodes adds a configurable redeem-code system to your server.
You can use it for:
StarCodes is made to be simple, readable and practical.
No bloated systems.
No required database.
No unnecessary setup.
No remote service.
Just codes, rewards, limits and a clean admin GUI.
It is useful if you want to quickly give your players a redeemable code like:
and reward them with commands from your existing plugins.
/code <code>
Redeems a configured code.
/starcodes
Opens the admin GUI.
/starcodes reload
Reloads the plugin configuration and code files.
starcodes.admin
Allows access to the admin GUI and admin commands.
Players do not need any permission to use:
/code <code>
StarCodes supports internal placeholders inside reward commands.
%player%
The name of the player redeeming the code.
commands:
These commands are executed from the console.
Example codes.yml:
codes:
welcome:
tiktok:
display-name: "Welcome Code"
The readable name shown in the admin GUI.
enabled: true
Controls whether the code can currently be redeemed.
Set it to:
enabled: false
to temporarily disable the code.
max-global-uses: <number>
Controls how many total times the code can be redeemed globally.
Use:
max-global-uses: -1
for unlimited global uses.
Use a number like:
max-global-uses: 100
to limit the code to 100 total redemptions.
StarCodes includes an in-game admin GUI for easier code management.
Open it with:
/starcodes
From the GUI you can manage your codes without manually editing every value.
The GUI allows you to:
StarCodes is designed for modern server environments.
StarCodes uses local server files to store code and redemption data.
StarCodes does not intentionally upload player data to any remote server.
Stored data is limited to what is needed for code redemption tracking, such as which players have already redeemed a code and how many times a code has been used globally.
No. Each player can redeem each code only once.
Yes.
Use:
max-global-uses: 100
Set it to:
max-global-uses: -1
for unlimited global uses.
Yes. All reward commands are executed from console.
No. StarCodes uses local files.
Yes. StarCodes is designed to support both Paper and Folia.
Yes. If another plugin has a console command, you can use it as a StarCodes reward command.
commands:
Made by PupillaViola.