Code Creator

Create Codes And Redeem it!

Code Creator

A full redeem-code system for Minecraft Bedrock, built entirely with the Script API. Create multi-reward codes with flexible expiry timers and use limits, let players redeem them with a simple command, hand them out through quizzes, and manage everything - including bringing back removed codes - without ever touching a config file.

✨ Features

•   Code quizzes - build a multiple-choice quiz that rewards a code; players who answer every question correctly receive it (and can redeem it on the spot)
•   Only working codes can be used as quiz rewards - the quiz builder lists just the codes that are active right now (not expired, not locked)
•   Multi-command rewards - up to 10 commands per code (items, effects, XP, anything you can run as a player)
•   Flexible expiry - minutes, hours, days, weeks, or months
•   Max-uses lock - cap a code at a total number of redemptions; it locks itself when the cap is hit
•   Archived codes - removed codes are archived, not destroyed; bring any of them back with its original rewards
•   Codes never truly disappear - an expired code just stops working, so it can be revived later
•   Per-player overrides - grant a specific player extra redemptions of any code
•   One redemption per player by default
•   Clean form-based UI - no command syntax to memorize

📜 Commands

Command Permission What it does /code:createcode Operators only Create a code: name, duration, max uses, up to 10 reward commands /code:editcode Operators only Edit an active code's duration, max uses, or commands /code:removecode Operators only Remove a code (it goes to the archive) /code:archivedcodes Operators only Browse archived codes and restore one /code:reloadcode Operators only Grant a specific player extra redemptions of any code /code:listcodes Operators only View every active code, time left, use count, command count /code:createcodequiz Operators only Build a quiz (1-5 questions) that rewards a working code /code:codequiz Everyone Take a quiz; answer everything right to earn its code /code:redeem Everyone Redeem a code

🚀 How to use

1.  Enable the pack in your world under Behavior Packs
2.  As an operator, run /code:createcode and fill out the form (use {player} for the player's name, e.g. give {player} diamond 1)
3.  Optional: run /code:createcodequiz, pick a working code as the reward, and write your questions - each has one correct answer and up to 3 wrong ones
4.  Players run /code:codequiz to earn the code, then /code:redeem to claim it (or tap Redeem now when the quiz ends)

🧠 Quiz rules

•   Players see the answers shuffled in a dropdown
•   A wrong answer locks that quiz for 60 seconds for that player
•   A quiz is only offered while its reward code still works; players who already redeemed the code can't retake it

🔧 Requirements

•   Minecraft Bedrock 1.21.100+
•   No experimental toggles required

📌 Notes

•   Codes, quizzes, and redemption history are stored per world and survive restarts
•   Behavior pack only - no resource pack needed
•   Other add-ons can open the menus through /scriptevent (see the changelog)

Made by HRCX.

Code Creator Team

profile avatar
  • 4
    Followers
  • 7
    Projects
  • 722
    Downloads

New Release HRCX Code Creator at 9:30 p.m Friday wait soooon

More from HaythamRCTView all