skip-night-1.1.jar
What's new
# 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()`.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

