Transform your Minecraft world into a live, interactive experience where Twitch chat can trigger events, influence gameplay, and determine your fate!
The repository-local documentation is the canonical source for TwitchCraft setup, commands, and troubleshooting:
- Installation
- Configuration
- Commands
- Multiplayer
- Remote Control
- Troubleshooting
- Architecture
- Contributing
- Releasing
- Changelog
- Security policy
- Privacy policy
- License
External tutorials and short links later in this guide are supplemental mirrors. If they disagree with this repository, use the repository-local documentation
- Windows 10/11 (64-bit)
- Use Minecraft Java Edition version 1.20.5–1.21.11 or 26.1.0–26.3.0
- Install the correct Java Development Kit (JDK) version for the Minecraft version you plan to run
For Minecraft versions 1.20.5–1.21.11:
- You will need Java SE 21 (JDK 21)
- Download: https://www.oracle.com/java/technologies/downloads/#jdk21-windows
- Use the Windows x64 Installer version
- Any JDK 21.x version should work
For Minecraft versions 26.1.0–26.3.0:
- You will need Java SE 25 (JDK 25)
- Download: https://www.oracle.com/java/technologies/downloads/#jdk25-windows
- Use the Windows x64 Installer version
- Any JDK 25.x version should work
- In order for TwitchCraft to function, you need to connect a Twitch account to the application
- Do not use your main Twitch account for the bot if possible
- You will need to be signed into your bot account on Twitch
- Having 2FA enabled is recommended
- Follow the steps in 4. Authorizing Twitch
- Add the bot as a moderator in your Twitch chat by typing "/mod " followed by your bot's name
- Open
TwitchCraft.exe - Click Authorize Twitch above Start
- Approve the displayed device authorization in your browser
- TwitchCraft fills in the bot account automatically and keeps the authorization renewable
Getting through setup:
- Extract the
.zipto a folder - Do not remove any files from the extracted folder
- Open
TwitchCraft.exe - Enter your:
- Minecraft version
- Server Bind IP (optional, advanced users only)
- Twitch channel / streamer name
- Complete the steps in 4. Authorizing Twitch
- The Twitch bot name is filled in automatically after authorization
- Make sure all values are correct
- Confirm that the correct Java version is installed
- Click Start
- Start cannot be clicked until every required value and the current Twitch authorization are valid
- TwitchCraft will prepare the Minecraft server and then open the Start screen
Run the process:
- Select whether you want to use multiplayer and then turn Online Mode on or off (only available with multiplayer)
- Enter your Minecraft username if asked
- If you want to use an existing world, import it before starting
- Click Start
TwitchCraft includes settings to customize the bot, server, commands, tokens, statistics, backups, and more
Settings include:
- Command prefixes
- Custom commands
- Command cooldowns
- Viewer activity requirements
- Token and token-earning settings
- Statistics settings
- Automatic backup settings
- Minecraft server behavior
- Twitch chat and bot behavior
- SQLite optimization interval
- Other advanced options
Notes:
- Most settings can be changed directly through TwitchCraft without manually editing
config.json - Some settings may only take effect after restarting TwitchCraft or starting a new Minecraft server session
- If you do not understand a setting, it is best to leave it how it is
- Make sure you are on the same Minecraft version TwitchCraft is running on
- Open the Multiplayer tab in Minecraft
- Add a new server
- Enter this server address:
127.0.0.1 - Wait for TwitchCraft and the Minecraft server to fully start before joining the server
Enabling multiplayer in TwitchCraft does not automatically make your server publicly reachable
These steps work for most routers, but menu names and settings may vary:
- Enable multiplayer in TwitchCraft before starting the server
- Find your local IP and Default Gateway
- Press Win + R
- Type:
cmd - Type:
ipconfig - Find:
IPv4 Address- the number-only
Default Gateway(example:192.168.1.1)
- Open your router login page
- Type your Default Gateway into a browser
- Log in to your router
- You may need your router username and password
- Find the router setting named one of the following:
- Port Forwarding
- NAT
- Virtual Server
- Forward TCP port
25565to your local IP - Allow Java through Windows Firewall
- Have friends connect using your PUBLIC IP
- Search
what is my IPin a browser
- Search
Notes:
- Only give your public IP to people that you trust
- If someone is on the same network as you, they should use your local IP instead
- Some ISPs or router setups may require extra steps
Remote Control Mode lets TwitchCraft control an already-running Minecraft server instead of starting its own local server
Use this mode if:
- Your Minecraft server is hosted by a server host or on another computer
- You want to collaborate with one or more Twitch streamers
- You want TwitchCraft to control an existing server through RCON
Important:
- The remote Minecraft server must already be running
- The remote Minecraft server must have RCON enabled
- TwitchCraft must be able to reach the remote server's RCON port
- Remote Control Mode does not start or stop the remote Minecraft server for you
On the computer or host running the Minecraft server:
- If TwitchCraft manages the host server (default), set or copy the RCON password from Settings --> Dangerous --> RCON Password
- Otherwise, open
server.propertiesand set:enable-rcon=truercon.port=25575rcon.password=RCON_PASSWORD_HERE
- Restart the Minecraft server after changing the password
- Make sure the RCON port is allowed through the server firewall if needed
In TwitchCraft as the remote user:
- Open TwitchCraft
- Go to the Start screen
- Press Ctrl + Alt + R
- Remote Control Mode will appear
- Enter the Remote Host
- Use the server's public IP or domain if the server is hosted somewhere else
- Use the server's local IP if the server is on your home network
- Use
127.0.0.1if TwitchCraft is running on the same computer as the Minecraft server
- Enter the RCON Port
- The default port is
25575 - This must match the RCON port configured on the host server
- The default port is
- Enter the RCON Password
- This must match the RCON password configured on the host server
- Enter your Minecraft username if asked
- Click Start
To leave Remote Control Mode:
- Press Ctrl + Alt + R again on the Start screen
Safety notes:
- Never share your RCON password publicly
- Only allow RCON access from people or computers you trust
- If you port forward RCON, use a strong password and understand the security risk
- Twitch chat messages are relayed into Minecraft
- Typing
/trigger locateplayersin Minecraft chat lets you see the coordinates of all players when in multiplayer - A player list sidebar is shown in multiplayer
- Player health bars are displayed in the tab list when in multiplayer
Token earning:
- By default, all viewers who have your stream open in a browser or the Twitch app earn 1 token every 30–60 seconds
- The payout amount, interval, maximum balance, and recent-chat activity requirement can be changed in Settings
Other ways to manage tokens:
- While TwitchCraft is active, you can use these Twitch chat commands:
!givetokens <user/all/random> <amount>!removetokens <user/all/random> <amount>
Actual token file location:
%APPDATA%\TwitchCraft\viewer_tokens.db
Readable token export location:
%APPDATA%\TwitchCraft\exports\viewer_tokens.json
For reference, paste any of the file locations above into Win + R or File Explorer
Notes:
- Viewer tokens are stored in
viewer_tokens.db - The exported
viewer_tokens.jsonfile is only for viewing - Editing the exported JSON file will NOT affect TwitchCraft
- Do not edit
viewer_tokens.dbwhile TwitchCraft is active - If you manually adjust tokens, edit
viewer_tokens.dbwith a SQLite editor while TwitchCraft is shut down
Notes:
- Statistics can be enabled or disabled in Settings
- Existing saved stats are still shown while statistics are disabled, but new stats are not counted; re-enabling leaves session survival unavailable until the next fully tracked life
- Reset Statistics clears all of the saved statistics
Statistics track:
- Game commands run
- Most used command
- Tokens spent
- Effects received by the streamer
- Nicest viewer
- Most dangerous viewer
- Deaths
- Time survived
- Sessions started
Statistics file location:
%APPDATA%\TwitchCraft\statistics.db
Readable statistics export locations:
%APPDATA%\TwitchCraft\exports\statistics.json%APPDATA%\TwitchCraft\exports\statistics_viewers.json
For reference, paste any of the file locations above into Win + R or File Explorer
Technical notes:
- Editing the exported statistics JSON files will NOT affect TwitchCraft
- Do not edit
statistics.dbwhile TwitchCraft is active - If you manually adjust statistics, edit
statistics.dbwith a SQLite editor while TwitchCraft is shut down
- If you want to change the Twitch account used by your bot, reauthorize TwitchCraft with the new bot account
- Changing the bot account does not delete
viewer_tokens.dborstatistics.db - If you delete
config.json, you must set up TwitchCraft again - Reauthorization switches the bot account immediately
- If you have a saved world on the TwitchCraft Minecraft server, it may be affected
Troubleshooting has moved to a document for long-term use and dynamic updating
- TwitchCraft website: https://antnygamer.wixsite.com/twitchcraft
- TwitchCraft commands: https://rentry.co/bot-commands
- TwitchCraft trailer: https://www.youtube.com/watch?v=HM2Um3Uf1hk
- TwitchCraft setup tutorial: https://bit.ly/tutorial-twitchcraft
- TwitchCraft troubleshooting: https://bit.ly/troubleshooting-twitchcraft
- Never share Twitch authorization credentials or files publicly. Anyone with access to them may be able to control your bot account
- TwitchCraft creates backup config and token database files. These are for reference and are not normally used by TwitchCraft
- Special thanks to Lil_KleinStein, whose Minecraft streams inspired TwitchCraft's theme and creation!
TwitchCraft is an independent, community-created project by AntnyGamer and is not affiliated with Mojang or Microsoft
README — September 15th, 2026 (for TwitchCraft v1.9.0)




