With NexusTok, a gift can run a Minecraft command: spawn a zombie, give a diamond, start a thunderstorm. The app sends the command to the server over RCON, Minecraft’s remote console. So you need a Minecraft Java server: the one NexusTok installs for you, or your own.
Pick your server
- NexusTok local server: four ready-to-play Java 1.20.2 servers (CubicGame, Survival, Sandbox, Diamond). Java is bundled and RCON is already on. This is the easiest route.
- Your own Java server (Vanilla, Paper, Spigot…): you turn RCON on yourself in server.properties.
Option 1: the NexusTok local server
- 1In NexusTok, open the Game Integrations page.
- 2Under Local Server Management, pick a game mode, then click Download Server.
- 3Click Start Server. Its messages scroll in the Server Console, right inside the app.
- 4Keep the default RCON Configuration: IP 127.0.0.1, port 25575, password minecraft. These are the NexusTok servers’ settings.
- 5Launch Minecraft Java 1.20.2, open Multiplayer and join the server at localhost.
The server is installed in your user folder (%APPDATA%\NexusTok\MinecraftServers) and the app accepts the Minecraft EULA for you. Allow 2 GB of memory for the server, on top of the game.
Option 2: your own server
- 1Stop the server, then open the server.properties file at its root.
- 2Set enable-rcon to true, pick an rcon.password and keep rcon.port at 25575 (or another free port).
- 3Restart the server: the console says RCON is listening on the chosen port.
- 4In NexusTok, on the Game Integrations page, fill in the server IP, RCON port and RCON password.
server.properties
enable-rcon=truercon.port=25575rcon.password=[PASSWORD]Link a gift to a command
- 1Open the Events page and create an event, for example Gift · Rose.
- 2Add the Minecraft Command action, in the Game category.
- 3Type the command as you would in the server console, without the leading /.
- 4Click Test: the command runs in game.
Example commands
execute at @p run summon zombie ~ ~ ~give @p [ITEM] [AMOUNT]weather thundertime set nightsay Thanks {nickname} for the {giftName}!The command runs from the server console: @p targets the player closest to world spawn. If you are alone on the server, that is you. execute at @p run… runs the rest at your position, otherwise the zombie spawns at world spawn.
Live variables
In the command, these variables are replaced with the event details: {nickname} (display name), {username} (TikTok handle), {giftName}, {giftCost} (the gift’s value in diamonds) and {message} (the comment text, for a chat event).
These values come from your viewers: NexusTok strips quotes, apostrophes, braces, brackets and the @ from them. A username cannot break your command or target other players.
If the command does not go through
- “Failed to send command to Minecraft server” message: the server is stopped, or the IP, port or password does not match server.properties.
- You edited server.properties while the server was running: changes only apply after a restart. Stop the server, fix the file, start it again.
- The command is sent but nothing happens: test it in the server console first. A typo or syntax from another Minecraft version fails silently.
- The mob spawns far from you: prefix the command with execute at @p run.
- Server on another PC: check that PC’s Windows firewall lets the RCON port through.
Do I need Pro?
Not to get started: you can build your first events with the Minecraft Command action within the free plan’s action limit. Most complete Minecraft presets need Pro.
Does it work with Minecraft Bedrock?
No. RCON only exists in Minecraft Java Edition.
Do I need a second PC?
No. The server, the game, OBS and NexusTok all run on the same PC.
What about YouTube Live?
The same actions work: YouTube gifts, Super Chats and chat messages trigger the commands instead.
Set it up on your next live
Install NexusTok, connect your live, add your first overlay to OBS.
Download for freeFree to start, no credit card, Windows 10 and 11