Flectone LogoFlectonePulse

/poll

Command for conducting polls

command pollgui

This can also be done via a chat command command poll

Information

The interval is specified to resend a chat message about an existing poll


Localization

Path localizations → language.yml → command.poll
poll:
  null_poll: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>Poll not found"
  expired: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>The poll has ended"
  already: "<color:#ff7171><sprite_or:⁉:gui:icon/chat_modified>You have already voted in this poll"
  vote_true: "<color:#4eff52>👍 You voted for option <answer_id> in poll #<id>. There are <count> of you"
  vote_false: "<color:#ff4e4e>🖓 You rejected option <answer_id> in poll #<id>. There are <count> without you"
  format: "<br><color:#fce303>│ <status> <br>│ <message><reset> <color:#fce303><br>├─────────────<br><answers>"
  answer_template: "<color:#fce303>│ <count> → <color:#4eff52><hover:show_text:\"<color:#4eff52>Vote for <bold><answer>\"><click:run_command:\"<command> <id> <number>\"><answer> [👍]<br>"
  status:
    start: "New poll #<b><id></b> has been created"
    run: "Poll #<b><id></b> is in progress"
    end: "Poll #<b><id></b> has ended"
  modern:
    header: "Poll"
    input_name: "Name"
    input_initial: ""
    multiple_name: "Allow multiple answers"
    end_time_name: "Duration (min)"
    repeat_time_name: "Interval (min)"
    new_answer_button_name: "Add answer"
    remove_answer_button_name: "Remove answer"
    input_answer_name: "Answer <number>"
    input_answers_initial: ""
    create_button_name: "Create poll"

null_poll

Message if the poll is not found

expired

Message if a player tries to vote in a poll that has ended

already

Message if a player tries to vote in a poll more than once

vote_true

Message if a player voted for an option

vote_false

Message if a player removed their vote

format

Format of the message that will be sent

answer_template

Template for each answer

status

modern


Setting

Path command.yml → poll
poll:
  enable: true
  enable_gui: true
  last_id: 1
  range: "PROXY"
  sub_command_vote: "vote"
  sub_command_gui: "gui"
  aliases:
  - "poll"
  cooldown:
    enable: false
  sound:
    enable: false

enable

Enables or disables the functionality of the module

enable_gui

Warning

Works only for versions 1.21.6 and newer; in older versions, the command will not be registered

Adds a new command /pollgui (depends on the name of the command itself, i.e., /name + gui)

last_id

The ID of the last created poll

range

How far in blocks the message will be displayed

ValueExplanation
WORLD_TYPEThe message will be sent only to players who have the permission flectonepulse.world.type.dimension_name
WORLD_NAMEThe message will be sent only to players who have the permission flectonepulse.world.name.world_folder_name
PROXYThe message will be sent to all players on the server and on the Proxy
SERVERThe message will be sent to all players on the server
PLAYERThe message will be sent only to the sender
any number greater than 0, for example range: 100The message will be sent to players whose distance between them and the sender is less than this number. Players must also be in the same world as the sender

sub_command_vote

The name of the additional command that will be used for voting (it is always appended to the current command name, i.e., it will be /pollvote)

sub_command_gui

The name of the additional command that will be used to open the poll creation GUI (it is always appended to the current command name, i.e., it will be /pollgui)

aliases

A list of aliases for using the command

Information

Aliases can be anything. For example newcommand, newcommand_ru, ban, me etc.

cooldown

Usage delay

sound

Sound playback


Permissions

Path permission.yml → command.poll
poll:
  name: "flectonepulse.module.command.poll"
  type: "TRUE"
  create:
    name: "flectonepulse.module.command.poll.create"
    type: "OP"
  cooldown_bypass:
    name: "flectonepulse.module.command.poll.cooldown.bypass"
    type: "OP"
  sound:
    name: "flectonepulse.module.command.poll.sound"
    type: "TRUE"

name

Permission name

type

Permission type

TypeExplanation
TRUEAvailable to any player
FALSEAvailable to no one, must be granted separately (e.g., using LuckPerms)
OPAvailable to server operators
NOT_OPAvailable to NON-operators of the server

create

Permission to create polls

cooldown_bypass

Permission to ignore the cooldown between uses

sound

Permission to use the sound

Last update July 21, 2026
Edit on Github

On this page

Authors of page