Wiki 9Minecraft Wiki 9Minecraft
Streamforge Live Plugin Wiki › Guides › Execute Custom Server Commands When Viewers Subscribe

Execute Custom Server Commands When Viewers Subscribe

Connect Subscription Events

Enable subscription monitoring in the plugin settings. The plugin tracks Tier 1, Tier 2, and Tier 3 subscriptions separately, so you can create different rewards for each tier if desired.

Set Up Command Execution

Create a reward with:

  • Trigger type: "Subscription" (choose tier if differentiating)
  • Action: "Execute Command"
  • Command: Enter any valid server command (e.g., /give @s diamond_block, /effect @s speed, /say Welcome subscriber!)

The @s placeholder targets the streamer. You can use other selectors like @a to affect all players. Commands execute with server privileges, so you can run admin-level actions. Chain multiple commands by creating separate reward entries that all trigger on subscription, or use command blocks for complex sequences. Always test commands in a test world first to ensure they work as intended.