Home›Java›Mods›VoteForCommand
VoteForCommand
ModsJava

VoteForCommand

Java mod listed for Minecraft 1.21. Downloads from the MC Java Mods app on Android.

by leonidussaks · on Modrinth

Plugin that allows players to vote on executing commands on the server. Admins can create configuration files to specify exactly which commands they want…

⬇ Download on Modrinth
VoteForCommand — screenshot 1VoteForCommand — screenshot 2

About

VoteForCommand allows players to vote for server commands execution.

This easy-to-use plugin can liven up the atmosphere on your server, as it allows you to add commands of any complexity.

img

Configuration

You can fully customize voting options in the config:

votingCommands:
  freeDiamond:
    name: "FREE DIAMOND!!" # Display name in menu and chat
    description: "Give a random player diamond!" # Description shown to players
    material: "DIAMOND" # Item used as icon in menu
    commands: # Commands executed if vote passes
      - "execute as @r run give @s minecraft:diamond 1"
    cooldown: 3600 # Cooldown in seconds before this vote can be started again
    percentToWin: 50.0 # Required % of FOR votes to pass
    minimumOnline: 5 # Minimum players online to start vote
  heal:
    name: "Sacred blessing"
    description: "Sacred blessing of the goddess of health. All players will receive regeneration."
    material: "GOLDEN_APPLE"
    commands:
      - "execute as @a at @s run particle minecraft:heart ~ ~1 ~ 0.5 1 0.5 0.1 10"
      - "effect give @a minecraft:glowing 5 0 true"
      - "effect give @a minecraft:regeneration 120 1 true"
    cooldown: 3600
    percentToWin: 70.0
    minimumOnline: 10

Permissions and commands

commands:
  vote:
    description: "Open vote menu."
    usage: "/vote"
    permission: "voteforcommand.vote.use"
  reload:
    description: "Reload plugin config."
    usage: "/reload"
    permission: "voteforcommand.reload.use"
    aliases:
      - votereload
permissions:
  voteforcommand.vote.use:
    description: "Allow player to use /vote command (open menu)."
    default: true
  voteforcommand.vote.participant:
    description: "Allow player to click [FOR] and [AGAINST] buttons in chat."
    default: true
  voteforcommand.reload.use:
    description: "Allow admin to use /reload command for plugin."
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.

File checked by MCModsHub

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

Explore more