Skip to content

Brandons404/VoteNextMap-V7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

See a list of maps

image

Vote for a map

image

When another player votes

image

When voting is complete

image

When there is a tie

image

Vote next map

A lightweight javascript plugin that adds a map list command, and map voting with votes that expire.

Installing

Simply download the zip file, pull the folder inside of it out, and put it into your config/mods folder. (A server restart is required to update mods/plugins on your server.)

Usage

Client Commands

/maps will show a list of (custom) maps on the server

/nextmap <map number> will vote for specified map

Server Commands

votechangesmap <true/false> will set whether a vote changes the map after. This saves between server restarts

After the first player votes, a 1.5 minute timer is started. After the timer runs out, the votes for each map are counted and the map with the most votes will be selected next.

If there is a tie in votes, it will pick randomly from the winners.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published