Sueta
TI

TimeVote

1.1

Vote for set the day or night with /timevote

·Plugin

Today I present to you my voting plugin to put the day or the night!
This is full configurable, you can modify all messages and times ..

Commands:
- /timevote | Vote
- /timevote end | End timer
- /timevote reload | Reload config

Permission:
- /timevote end | timevote.end
- /timevote reload | timevote.reload

If you encounter bug or consol error tell me on discord
- Akitsunaa_#7132

config.yml
#############################  
 #                           #  
 #    VOTES CONFIGURATION    #  
 #                           #  
 #############################  

 #Config the world   
world   :   "world"  

 #Config timer for the next votes (in seconds)   
timer   :  300 
 #Config the message to recap to player we can vote again (in seconds)   
count   :  120 

 #Config items in gui   
day  :  
  name   :   "&7Votes&r: &eDay"   
  lore  :  
    votes   :   "&rCurrent votes&r: &b%votes%"   
    click   :   "&7Click for &aadd &7your vote"   
    already   :   "&cYou have already voted !"  
   
night  :  
  name   :   "&7Votes&r: &9Night"   
  lore  :  
    votes   :   "&rCurrent votes&r: &b%votes%"   
    click   :   "&7Click for &aadd &7your vote"   
    already   :   "&cYou have already voted !"  
   
remove  :  
  name   :   "&cRemove your vote"  
   
votes  :  
  name   :   "&7All votes"   
  lore  :  
    vote  :  
      day   :   "&7Votes &eday&r: &b%votes%"   
      night   :   "&7Votes &9night&r: &b%votes%"   
      all   :   "&7Votes &aall&r: &b%votes%"   
      update   :   "&7Click for &aupdate &7votes&r."  
  
  
 #Config the messages  
 
messages  :  
  timeleft   :   "&7You have %timeleft% seconds for vote ! &r%cmd%"   
  alreadyvoted  :  
    day   :   "&cYou have already voted for the day !"   
    night   :   "&cYou have already voted for the night !"   
  cantvote  :  
    day   :   "&cYou can't vote for the day you have voted for the night ! Remove your vote for vote day&r."   
    night   :   "&cYou can't vote for the &9night &cyou have voted for the &eday &c! Remove your vote for vote &9night&r."   
  votes  :  
    day   :   "&aYou have voted for the &eday ! &r(&7Position&r: &b%position%&r)"   
    night   :   "&aYou have voted for the &9Night ! &r(&7Position&r: &b%position%&r)"   
  remove  :  
    day   :   "&aYour vote for &eDay &awas &cremoved&r."   
    night   :   "&aYour vote for &9Night &awas &cremoved&r."   
  wait  :  
    time   :   "&cYou have to wait &b%time% &cseconds for revote !"  
  

 #Config broadcast   
broadcast   : 
  #IMPORTANT YOU CAN'T REMOVE OR ADD LINE !   
  started  :  
    line  :  
      1   :   "&6------------------------------"   
      2   :   ""   
      3   :   "&7An vote for set the &eDay &r/ &9Night &7 has started"   
      4   :   ""   
      5   :   "&6------------------------------"   
  daywin  :  
    line  :  
      1   :   "&6------------------------------"   
      2   :   ""   
      3   :   "   &aThe votes for &eDay have &awon !"   
      4   :   ""   
      5   :   "&7Finals votes&r: &eDay &6%dayvote% &r- &6%nightvote% &9Night"   
      6   :   ""   
      7   :   "&6------------------------------"   
  nightwin  :  
    line  :  
      1   :   "&6------------------------------"   
      2   :   ""   
      3   :   "   &aThe votes for &9Night have &awon !"   
      4   :   ""   
      5   :   "&7Finals votes&r: &eDay &6%dayvote% &r- &6%nightvote% &9Night"   
      6   :   ""   
      7   :   "&6------------------------------"   
  reroll  :  
    line  :  
      1   :   "&6------------------------------"   
      2   :   ""   
      3   :   "&7The two votes are equals ! &aReroll starting !"   
      4   :   ""   
      5   :   "&6------------------------------"   
  info  :  
    line  :  
      1   :   "&7INFO: &aYou can use &6%cmd% &afor vote to set &eday &aor &9night &a!"

Similar projects

Plugin →