Vote icon

Vote -----

a ez vote plugin



[​IMG]
This is a simple plugin to start a vote.
Now it supports to vote YES/NO only.
You can set commands executing when vote ended.

[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]
[​IMG]

[​IMG]
/Vote help View help.
/Vote start <name> Start vote.
/Vote yes <arg> Vote yes to current vote. (arg: -a Anonymous vote)
/Vote no <arg> Vote no to current vote. (arg: -a Anonymous vote)
/Vote create <name> <message> <command> Create vote.
/Vote remove <name> Remove vote.
/Vote stop Stop current vote.
/Vote reload Reload the config.

[​IMG]
vote.start
vote.create
vote.remove
vote.stop
vote.reload

[​IMG]
Download the jar file and put it into your server's folder.

[​IMG]
↓ These files may not the latest. (1.0.3) ↓
Code (YAML):

Version
: 1.0.3

Language
: en

# second(s)
vote-time
: 10
notice-time
: 5
# for all player
vote-cd
: 30
player-vote-cd
: 60

# Check update on SpigotMC.
check-update
: true
 
Code (YAML):
kick:
  message
: '&aKick player PixelDDD'
  commands
:
   - 'kick PixelDDD'
freeDiamond
:
  message
: '&aFree diamonds!'
  commands
:
   - 'minecraft:give @a diamond 6'
Code (YAML):

Language
: en
Plugin
: 'Vote'
commands
:
  top
: '&8&m                                   '
  top-space
: '&f'
  plugin
: '         &b&l %plugin% %version%'
  help
: '&7/Vote help &6View help.'
  start
: '&7/Vote start <name> &6Start vote.'
  yes-1
: '&7/Vote yes <arg> &6Vote yes to current vote.'
  no-1
: '&7/Vote no <arg> &6Vote no to current vote.'
  create
: '&7/Vote create <name> <message> <command> &6Create vote.'
  remove
: '&7/Vote remove <name> &6Remove vote.'
  stop
: '&7/Vote stop &6Stop current vote.'
  reload
: '&7/Vote reload &6Reload the config.'
  bottom-space
: '&f'
  bottom
: '&8&m                                   '

reload-success
: '&7 [&b %plugin%&7] &aConfiguration reloaded successful!'
start-success
: '&7 [&b %plugin%&7] &aYou start the vote &9%vote%&a!'
yes-success
: '&7 [&b %plugin%&7] &aYou voted YES!'
no-success
: '&7 [&b %plugin%&7] &aYou voted NO!'
create-success
: '&7 [&b %plugin%&7] &aVote &9%vote% &ahas been created!'
remove-success
: '&7 [&b %plugin%&7] &aVote &9%vote% &ahas been removed!'
stop-success
: '&7 [&b %plugin%&7] &aYou stop the vote &9%vote%&a!'

vote-not-exists
: '&7 [&b %plugin%&7] &cVote &9%vote% &cis not exist!'
vote-already-exists
: '&7 [&b %plugin%&7] &cVote &9%vote% &cis already exist!'
no-current-vote
: '&7 [&b %plugin%&7] &cThere is no current vote exists!'
current-vote
: '&7 [&b %plugin%&7] &cThere is a current vote!'
args-wrong
: '&7 [&b %plugin%&7] &cParameter wrongs!'
vote-already
: '&7 [&b %plugin%&7] &cYou have already voted!'
no-perm
: '&7 [&b %plugin%&7] &cYou do not have permission to do that!'
cd-left
: '&7 [&b %plugin%&7] &cGlobal cooldown left: &9%time% &csecond(s).'
player-cd-left
: '&7 [&b %plugin%&7] &cYour cooldown left: &9%time% &csecond(s).'

vote-yes
: '&7 [&b %plugin%&7] &e%player% &avotes: &a&lYES &7(%amount% players voted)'
vote-no
: '&7 [&b %plugin%&7] &e%player% &avotes: &c&lNO &7(%amount% players voted)'
vote-end
: '&7 [&b %plugin%&7] &aVote &9%vote% &a is ended. &aYES&7(%yes%) &cNO&7(%no%)'
vote-force-end
: '&7 [&b %plugin%&7] &cVote is ended by &e%player%&c.'
vote-result-yes
: '&7 [&b %plugin%&7] &aResult of &9%vote% &a: &lYES'
vote-result-no
: '&7 [&b %plugin%&7] &aResult of &9%vote% &a: &c&lNO'

vote-start
:
 - '&7 [&b %plugin%&7] &aVote starts: &f%message%'
  - '&7/Vote yes &6To vote YES'
  - '&7/Vote no &6To vote NO'
  - '&aYES&7 ( %yes%) &cNO&7(%no%)'
  - '&cThere is %time% second(s) left.'

update-check
:
  invalid
: 'Unable to check for updates : '
  latest
: 'There is not a new update available.'
  outdate
: 'There is a new update available.'

anonymous
: 'Anonymous player'

 

[​IMG]

[​IMG] [​IMG] [​IMG]
Resource Information
Author:
----------
Total Downloads: 303
First Release: May 25, 2022
Last Update: May 29, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings