File Details
skip-night-1.1.jar
- R
- Aug 8, 2025
- 16.57 KB
- 104
- 1.21.8+28
File Name
skip-night-1.1.jar
Supported Versions
- 1.21.5-Snapshot
- 1.21.8
- 1.21.7
- 1.21.6
- 1.21.5
- 1.21.4
- 1.21.3
- 1.21.2
- 1.21.1
- 1.21
- 1.20.3-Snapshot
- 1.20.5-Snapshot
- 1.20.6
- 1.20.5
- 1.20.4
- 1.20.3
- 1.20.2
- 1.20.1
- 1.20
- 1.19.4
- 1.19.3
- 1.19.2
- 1.19.1
- 1.19
- 1.18.2
- 1.18.1
- 1.18
- 1.17
- 1.16
# Changelog
All notable changes to the **SkipNight** plugin will be documented in this file.
---
## [1.1.0] - "The Complete Edition"
This version represents a complete overhaul of the plugin, bundling all modern features and bug fixes into a single, stable release.
### Added ✨
- **Live Vote GUI!** A brand new command `/skipnight gui` opens a real-time graphical interface showing the vote timer, current vote count, and player heads indicating who has and has not voted.
- **Clickable Chat Messages!** When a vote starts, a clickable message is now sent in chat, allowing players to vote instantly without typing a command.
- **Full Multi-World Support!** Votes are now handled independently for each world. A vote starting in one world will no longer block players in another from starting their own.
- **Blacklisted Worlds!** A new `blacklisted-worlds` list in `config.yml` allows administrators to completely disable the plugin in specific worlds.
- **Persistent Statistics!** Total and successful vote counts are now saved to `config.yml`, ensuring that your server's stats persist through restarts.
- **Core Features:** Includes the original voting system with `/skipnight`, automatic votes at night, voting by sleeping, and configurable requirements.
### Changed ♻️
- **Complete Code Refactor:** The plugin's core logic has been rebuilt around a `VoteSession` class to cleanly manage per-world voting, improving stability and making future updates easier.
- **Full Localization:** All plugin messages, without exception, have been moved from the code into the `config.yml` file for complete customization and translation.
- **Updated Plugin Manifest:** The `plugin.yml` has been updated to include the new `gui` subcommand and its associated `skipnight.gui` permission.
### Fixed 🐛
- **Placeholder Fixes:** Fixed critical bugs where the `{prefix}` and `{percentage}` placeholders were not being correctly replaced in chat announcements and clickable messages.
- **Prefix Consistency:** Fixed the original issue where the message prefix was not applied consistently across all plugin outputs.
- **Backwards Compatibility:** Fixed a compilation error on older Spigot versions by using the compatible `world.getUID()` method instead of `world.getUniqueId()`.

