Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 2.64 KB

README.md

File metadata and controls

38 lines (29 loc) · 2.64 KB

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/

Build Status Servers Using SkipNight Players Using SkipNight SkipNight Downloads SkipNight Latest Release SkipNight Tested Versions SkipNight Made with Love

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 to true to allow skipping the night.
  • skipday - Set to true to allow skipping the day.
  • phantom-support - Set to true 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 to true 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.21.

Special thanks to RoyCurtis, iamliammckimm, CRX VrynzX, Scarsz, Aikar, mbaxter, zml, Selida and ViMaSter!