HomeJavaModsrollCommand
rollCommand
ModsJava

rollCommand

by dolosarafat · on Modrinth

The RollCommand plugin for Minecraft lets server admins create and manage random command lists for diverse gameplay. Features include customizable…

⬇ Download on Modrinth

RollCommand Plugin

RollCommand is a Minecraft plugin that allows server administrators to create and manage lists of commands to be executed at random. With this plugin, you can configure multiple command lists—each with its own cooldown and weighted command selection—to add fun and variety to your server.

Features

Commands

Configuration

The plugin configuration is defined in src/main/resources/config.yml. Below is an example configuration:

chosenList: exampleList

commandLists:
  diamondList:
    cooldown: 120
    commands:
    - command: "/give %p diamond 64"
      weight: 1
    - command: "/give %p diamond_block 32"
      weight: 2
    - command: "/effect give %p haste 300 2"
      weight: 3
  exampleList:
    cooldown: 60
    commands:
    - command: "/give %p diamond 1"
      weight: 1
    - command: "/say Hello, %p!"
      weight: 2
  funList:
    cooldown: 30
    commands:
    - command: "/effect give %p jump_boost 30 3"
      weight: 3
    - command: "/effect give %p speed 30 2"
      weight: 2
    - command: "/give %p cookie 1"
      weight: 1

Configuration Details:

Plugin Manifest

The plugin details are stored in plugin.yml. This file defines:

Quick Start

  1. Deploy the Plugin:
    Place the compiled jar (rollCommand-0.0.1.jar) into your server's plugins folder.

  2. Configure:
    Adjust the settings in config.yml as needed.

  3. Start the Server:
    Launch or reload your server.

  4. Use the Commands:

    • Execute /roll / /r to perform a random command from the active list.
    • Use /rlist to view available command lists or change the active list.
    • Test commands with /rtest (requires admin permission).
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more