Skip to content

Using commands

madmagic007 edited this page Jan 29, 2025 · 3 revisions

Commands

Running commands

/rv commands <name>
Runs the sequence of commands defined in commands.yml as <name>

Config

To create commands, edit plugins/RaveVisual/commands.yml.
Each root key is a new command sequence.
Define commands like following example:

allbulbson:
    - fill 513 48 3492 512 48 3492 waxed_oxidized_copper_bulb[lit=true]
    - fill 510 48 3492 509 48 3492 waxed_oxidized_copper_bulb[lit=true]
    - setblock 504 47 3492 waxed_oxidized_copper_bulb[lit=true]
    - setblock 504 45 3492 waxed_oxidized_copper_bulb[lit=true]

allbulbsoff:
    - fill 513 48 3492 512 48 3492 waxed_oxidized_copper_bulb[lit=false]
    - fill 510 48 3492 509 48 3492 waxed_oxidized_copper_bulb[lit=false]
    - setblock 504 47 3492 waxed_oxidized_copper_bulb[lit=false]
    - setblock 504 45 3492 waxed_oxidized_copper_bulb[lit=false]

onlyoddbulbs:
    - rv commands allbulbsoff
    - fill 513 48 3492 512 48 3492 waxed_oxidized_copper_bulb[lit=true]
    - setblock 504 47 3492 waxed_oxidized_copper_bulb[lit=true]

Commands in RaveVisuals

Command sequences can be ran either by command, or from within scenes or the web API.

Clone this wiki locally