SkipNight is a simple plugin that allows players to skip the night via a vote. Once a vote is started, click the yes and no interactive text in chat to vote.
SpigotMC link: https://www.spigotmc.org/resources/skipnight.48334/
Commands
/skipnight
- Starts vote to skip the night./skipday
- Starts a vote to skip the day.
Permissions
skipnight.vote.day
- Allows player to start vote to skip day, vote and be counted in vote.skipnight.vote.night
- Allows player to start vote to skip night, vote and be counted in vote.
Configuration (config.conf
)
skipnight
- Set totrue
to allow skipping the night.skipday
- Set totrue
to allow skipping the day.phantom-support
- Set totrue
to prevent players from voting if phantoms are attacking them.world-blacklist
- A list of worlds votes cannot be started in.cooldown
- A time, in seconds, after a vote finishes before another can begin.disable-header
- Set totrue
to prevent the "[Vote]" header from appearing on plugin messages.vote-duration
- A time, in seconds, corresponding to how long the vote lasts.
Messages Configuration (messages.conf
)
The messages configuration contains every string of text found in the plugin. Follow the instructions in the messages configuration to modify these for your needs.
Tested working on Paper 1.8.0 - 1.20.1.
Special thanks to RoyCurtis, iamliammckimm, CRX VrynzX, Scarsz, Aikar, mbaxter, zml, Selida and ViMaSter!