TNT Coin is a Minecraft BE/PE add-on designed to make it easy for players to set up and run the Minecraft TNT Challenge. This challenge, popularized on TikTok live streams, involves players trying to fill a structure with blocks while viewers send virtual gifts that spawn TNT, causing chaos and destruction.
- π Core Features
- Adding Custom Sounds
- Custom Overlay
- TikTok Gifts Emoji
- Download
- Bridging TikTok Live and Minecraft with BedrockLive
- Contributing
- License
Simply open your inventory, navigate to the Items tab, and search for "TNT Coin", and right click to open the GUI.
- Players can select the base, side, corner block types for the structure.
- The width and height of the structure can be customized.
The Gift Goal System in TNT Coin allows you to set specific gift targets for your live stream.
- Choose from available gifts with emojis, set the desired target count, and toggle the display on or off as needed.
- To enable live tracking of gift goals, connect your Minecraft world to TikTokLiveMCBE, a WebSocket server. This connection ensures that as viewers send gifts during your TikTok live stream, the progress towards the goal is updated on the action bar.
TNT Coin listens for specific script events (e.g., tntcoin:join
) received from the BedrockLive
- Member
- Follow
- Share
- Chat
- Like
- Gift
TNT Coin display messages when these events got triggered by default. You can disable them in TNT Coin Settings.
- Summon
- Fill
- Clear Blocks
- Play Sound
- Screen Title
- Screen Subtitle
- Run Command
- Jail
- TNT Coin Rain
- TNT Rocket
Activate TNT Coin Rain through the TNT Coin Menu. You can configure the rain's intensity to reduce the number of particles and TNTs spawned, and you have the option to change which entities TNT Rain will summon. By default, TNT Coin Rain spawns TikTok coin particles and shakes your camera - both effects can be disabled during TNT Coin Rain configuration. TNT Coin Rain can be stopped at any time during the rain event and can also be used as an event action.
TNT Coin rocket makes you fly like a rocket in a specified duration while it summons TNT. TNT Rocket can also be use as event action. You can also configure its speed before launching.
TNT Coin jail locks you in a cage that prevents you from placing blocks in specified amount of time. You get blindness effect by default, this can also be disable in TNT Coin Settings. TNT Coin Jail can also be use as event action.
- When the structure is completely filled, a countdown begins. The countdown determines if the player wins the round.
- During the countdown, the playerβs camera can be configured to rotate around the structure.
- Players can also configure the starting point of the countdown. Once the countdown ends, the player wins the round.
- Players can start, stop, and restart at any time.
- Players can configure the timerβs duration.
- If you run out of time, you will LOSE!
- The timer can be displayed on the action bar.
- Summon any entities within the structure.
- Summon TNT
With structure builder mode being enable, you can modify or destroy the blocks of TNT Coin Box. Enable it by unlocking the Structure in TNT Coin Menu.
Enable/Disable Barriers in TNT Coin Menu.
Players can also fill the structure through TNT Coin Menu. Fill action can also be use as event action. All Fill configurations can be fount in TNT Coin Settings.
- This feature allows players to place a random block from a predefined list whenever they use a specific item in the game.
- Update the
RANDOM_BLOCK_ITEM
to the desired item ID. - Modify the
BLOCKS
array fromscripts/config/tiktok.js
file to include any block IDs you want to be randomly selected when the specifiedRANDOM_BLOCK_ITEM
is used.
/**
Β * The item that will be used to place random block.
Β */
config.setConfig("RANDOM_BLOCK_ITEM", "minecraft:amethyst_block");
/**
* List of possible blocks when placing random blocks.
*/
config.setConfig("BLOCKS", [
"minecraft:pink_wool",
"minecraft:magenta_wool",
"minecraft:orange_wool",
"minecraft:lime_wool",
"minecraft:yellow_wool",
]);
To add custom sounds, ensure your files are in .ogg
format and place them in your resource pack in your desired directory (e.g., sounds/meme/
). Then, define them in the sounds/sound_definitions.json
file.
Below is an example of how to structure your custom sounds:
{
"vine_boom": {
"category": "meme",
"sounds": ["sounds/meme/vine_boom"]
},
"your_custom_sound": {
"sounds": ["path/to/your/sound"]
}
}
Replace the overlay.png
file located at TNTCoinRP/textures/tnt-coin/overlay.png
with your own custom overlay image. Ensure they still have the same file name overlay
.
tnt-coin/
β£ gui/
β β buttons/
β£ items/
β£ particles/
β overlay.png
Below are some of the TikTok gifts that have emoji. Each gift comes with its own emoji and coin value.
Gift Name | Emoji | Coins |
---|---|---|
Gimme The Vote | ξ | 1 |
Community Fest | ξ | 1 |
Music Play | ξ | 1 |
GG | ξ | 1 |
Ice Cream Cone | ξ | 1 |
Rose | ξ | 1 |
TikTok | ξ | 1 |
Thumbs Up | ξ | 1 |
Heart | ξ | 1 |
Cake Slice | ξ | 1 |
Love you | ξ | 1 |
Football | ξ | 1 |
Rainbow | ξ | 1 |
Flame heart | ξ | 1 |
Birthday Cake | ξ | 1 |
Heart Puff | ξ | 1 |
Heart Me | ξ | 1 |
Team Bracelet | ξ | 2 |
Finger Heart | ξ€ | 5 |
Potato | ξ | 5 |
Smart | ξ‘ | 5 |
Ladybug | ξ’ | 5 |
Tofu | ξ£ | 5 |
Applause | ξ° | 9 |
Cheer You Up | ξ± | 9 |
Friendship Necklace | ξ | 10 |
Rosa | ξ | 10 |
Tiny Diny | ξ | 10 |
ASMR Time | ξ | 10 |
Horseshoe | ξ | 10 |
Cherry Blossom Bunny | ξ | 10 |
Perfume | ξ | 20 |
Doughnut | ξ | 30 |
Sign language love | ξ | 49 |
Butterfly | ξ | 88 |
Family | ξ | 90 |
Sending strength | ξ | 90 |
Fist bump | ξ | 90 |
Paper Crane | ξ | 99 |
Little Crown | ξ‘ | 99 |
Cap | ξ’ | 99 |
Hat and Mustache | ξ£ | 99 |
Honorable Person | ξ€ | 99 |
Breakthrough Star | ξ₯ | 99 |
Kiss your Heart | ξ¦ | 99 |
Hot Shot | ξ§ | 99 |
Guitar | ξ¨ | 99 |
Like-Pop | ξ© | 99 |
Birthday Crown | ξͺ | 99 |
Self care mask | ξ | 99 |
Community Crown | ξ« | 99 |
Star | ξ¬ | 99 |
Confetti | ξ° | 100 |
Hand Hearts | ξ± | 100 |
Hand Heart | ξ² | 100 |
Bear love | ξ³ | 100 |
Marvelous Confetti | ξ΄ | 100 |
Socks and Sandals | 150 | |
Sunglasses | ξ | 199 |
Hearts | ξ | 199 |
Lock and Key | ξ | 199 |
Garland Headpiece | ξ | 199 |
Love You | ξ | 199 |
Cheer For You | ξ | 199 |
Jungle Hat | ξ | 199 |
Goalkeeper Save | ξ | 199 |
Sending positivity | ξ | 199 |
Meerkat | ξ | 199 |
Birthday Glasses | ξ | 199 |
Stinging Bee | ξ | 199 |
Massage for You | ξ | 199 |
Pinch Face | ξ | 249 |
Boxing Gloves | ξ | 299 |
Duck | ξ | 299 |
Corgi | ξ | 299 |
Dash | ξ | 299 |
Superpower | ξ | 299 |
Elephant trunk | ξ | 299 |
TikTok Crown | ξ | 299 |
Fruit Friends | ξ | 299 |
Play for you | ξ | 299 |
Important
Requirement: Enable "Beta APIs" in your world settings for this add-on to function correctly. Version: This add-on is designed for Minecraft BE/PE version 1.21.22+. Ensure your game is updated to this version or later for the best experience.
Show your support by giving it a β!
Optional: After importing the TNT Coin Resource Pack and Behavior Pack into Minecraft, move them from the
resource_packs
andbehavior_packs
folders to thedevelopment_resource_packs
anddevelopment_behavior_packs
folders inside thecom.mojang
directory. This step ensures that any changes or modifications you make to the TNT Coin packs are applied to any of your worlds.
If you want to connect your TikTok live stream to Minecraft and trigger in-game actions like automatically dropping TNT when someone sends a gift you'll need to setup BedrockLive.
See here: BedrockLive
Feel free to contribute by submitting issues or pull requests. Any improvements or new features are welcome!
This project is licensed under the terms of the MIT License.