4 ms·
Also, for anyone reading this curious how this works and what it can do.. Check out the commands.js file in the repo (https://github.com/braydo25/TwitchControls
by braydo25 6y ago
Also, for anyone reading this curious how this works and what it can do.. Check out the commands.js file in the repo (https://github.com/braydo25/TwitchControlsMinecraft/blob/master/config/commands.js https://github.com/braydo25/TwitchControlsMinecraft/blob/mas...)
This has a list of the different command types presented for voting. Each command type has a set of options that are randomly selected each time a voting round starts.
Whatever gets the most votes at the end of a voting round, that command gets injected into the server via Spigot and runs in the minecraft world causing whatever was voted to happen.