Перейти к содержимому
Mineforgian

Данные могли устареть: источник временно недоступен, показан кэш.

SkipNight

SkipNight is a simple and configurable plugin that empowers your community to vote to skip the night, either manually or automatically when the sun goes down.

Загрузки
1K
Подписчики
5
Обновлён
6 марта 2026 г.
Лицензия
MIT

Опубликован 17 июня 2025 г.

SkipNight - Vote to Skip the Night! ☀️

Let your players democratically vote to skip the night with a modern, feature-rich plugin!

🔹 Description

SkipNight is a lightweight and highly configurable plugin that allows players to initiate a vote to fast-forward through the night. It's a simple, fair, and modern solution for any survival server, giving your community control over the day/night cycle with an amazing user experience, including multi-world support, clickable messages, a real-time vote GUI, boss bar timers, sound effects, and a powerful reward system!

✨ Key Features

YES/NO Voting System – Players can vote YES or NO, not just abstain! Full democratic control.
Interactive Voting – Vote with /skipnight yes/no, sleeping in a bed, or clicking chat buttons!
Boss Bar Timer – Visual countdown at the top of the screen showing votes and time remaining.
Action Bar Updates – Real-time vote progress displayed without chat spam.
Real-Time Vote GUI – Use /skipnight gui to see who voted YES (green), NO (red), or abstained (gray).
Sound Effects – Configurable sounds for vote start, voting, success, and failure.
Voter Rewards – Reward players with XP, custom items, or money for participating!
Flexible Thresholds – Choose percentage mode (50% of players) or absolute mode (X number of votes).
Instant Skip – When 100% vote yes, skip immediately without waiting.
Admin Controls – Cancel ongoing votes with /skipnight cancel.
Advanced Multi-World Support – Easily blacklist worlds where you don't want night-skipping enabled.
Automatic Nightly Votes – Can start a vote the moment it gets dark.
Broad Version Support – Works on Minecraft 1.16.5 through 1.21+.
Fully Customizable – Change all messages, colors, sounds, rewards, and vote requirements.
Optimized Performance – Minimal server impact, runs smoothly.

📥 Installation

  1. Download SkipNight.jar and place it in your plugins/ folder.
  2. Restart your server to generate the default config.yml.
  3. Configure settings in plugins/SkipNight/config.yml.
  4. Reload with /skipnight reload or restart to apply changes.

⚙️ Configuration (config.yml)

Customize every aspect of the plugin to fit your server perfectly.

vote-settings:
  # Automatically start a vote when night begins?
  auto-start-vote-at-night: true
  # Threshold mode: "percentage" or "absolute"
  threshold-mode: "percentage"
  required-percentage: 50
  required-absolute-count: 3
  # Allow players to vote NO (against skipping)?
  allow-vote-against: true
  # Skip instantly when 100% vote yes?
  instant-skip-at-100-percent: true
  # Disable night-skipping in these worlds.
  blacklisted-worlds:
    - "world_the_end"
    - "world_nether"

display:
  # Show updates in action bar (less spam)?
  use-action-bar: true
  # Show timer as boss bar at top?
  use-boss-bar: true
  use-chat: true

sounds:
  vote-started: "BLOCK_NOTE_BLOCK_PLING"
  player-voted-yes: "ENTITY_EXPERIENCE_ORB_PICKUP"
  player-voted-no: "BLOCK_NOTE_BLOCK_BASS"
  vote-success: "ENTITY_PLAYER_LEVELUP"
  vote-failed: "ENTITY_VILLAGER_NO"

rewards:
  enabled: true
  only-on-success: false
  xp-levels: 1  # Set to 0 to disable
  items:
    - material: "DIAMOND"
      amount: 1
      name: "&b&lVoting Reward"

⌨️ Commands

Command Description
/skipnight Starts a vote or votes YES if one is active.
/skipnight yes Vote YES to skip the night.
/skipnight no Vote NO against skipping the night.
/skipnight gui Opens the live vote status GUI.
/skipnight cancel Cancel the ongoing vote (admin only).
/skipnight stats Shows global voting statistics.
/skipnight reload Reloads the configuration file.
/skipnight help Shows all available commands.

🔑 Permissions

Permission Description Default
skipnight.vote Allows starting a vote ✅ True
skipnight.vote.yes Allows voting YES ✅ True
skipnight.vote.no Allows voting NO ✅ True
skipnight.gui Allows opening the vote status GUI ✅ True
skipnight.stats Allows viewing vote statistics ✅ True
skipnight.cancel Allows cancelling ongoing votes 🔒 Op
skipnight.reload Allows reloading the plugin's config 🔒 Op

🌟 Why Choose SkipNight?

Modern User Experience – Boss bars, action bars, clickable buttons, and real-time GUI make voting engaging and intuitive.
Full Democracy – YES/NO voting gives players real control, not just a "yes or abstain" system.
Reward Your Community – Incentivize participation with XP, items, or economy rewards.
Flexible Configuration – Percentage or absolute thresholds, instant skip, rewards on/off, display toggles.
Sound & Visual Effects – Immersive feedback with configurable sounds and boss bar timers.
Empower Your Community – Let players decide when to skip the night democratically.
Plug & Play – Works right out of the box with zero setup needed.
Modern & Maintained – Built for modern Minecraft versions (1.16.5+).

🎯 Perfect For:

  • Survival & SMP Servers – Enhance the vanilla experience with modern features.
  • Community-Focused Servers – Promote player interaction and democracy.
  • Reward-Based Servers – Incentivize participation with customizable rewards.
  • Any server that wants a simple, powerful way to manage the day/night cycle.

Lightweight ✔ Interactive ✔ Customizable ✔ Democratic ✔ Rewarding ✔

📥 Download now and empower your community to control the night! ☀️🌙


🆕 What's New in v2.0?

  • 🗳️ YES/NO Voting – Players can vote against skipping, not just abstain
  • 📊 Boss Bar Timer – Visual countdown with live vote counts
  • 💬 Action Bar Updates – Less chat spam, cleaner interface
  • 🔊 Sound Effects – Customizable audio feedback for all vote events
  • 🎁 Reward System – Give XP, items, or money to voters
  • Instant Skip – 100% yes votes skip immediately
  • 🎯 Threshold Modes – Choose percentage or absolute vote counts
  • 🛑 Vote Cancellation – Admins can cancel problematic votes
  • 🎨 Enhanced GUI – Color-coded player heads (green/red/gray)

Ченджлог

2.0Релиз1.21.9, 1.21.10, 1.21.11 · 6 марта 2026 г.

SkipNight v2.0 Changelog

🆕 New Features

Voting System Enhancements

  • Vote Against System: Players can now vote NO to oppose skipping night

    • /skipnight yes - Vote in favor
    • /skipnight no - Vote against
    • Toggle with allow-vote-against config option
  • Threshold Modes: Two voting threshold options

    • Percentage Mode: Require X% of players to vote yes (e.g., 50%)
    • Absolute Mode: Require X specific number of yes votes (e.g., 3 players)
    • Configure via threshold-mode setting
  • Instant Skip: When 100% of players vote yes, night skips immediately without waiting for timer

    • Toggle with instant-skip-at-100-percent config option
  • Vote Cancellation: Admins can cancel ongoing votes

    • /skipnight cancel command
    • Requires skipnight.cancel permission

Display & UI Improvements

  • Boss Bar Timer: Visual countdown timer at top of screen

    • Shows YES/NO vote counts and time remaining
    • Toggle with display.use-boss-bar
  • Action Bar Updates: Vote progress displayed in action bar (less chat spam)

    • Real-time YES/NO vote counts
    • Toggle with display.use-action-bar
  • Enhanced GUI: Vote status GUI now shows

    • Green player heads for YES votes
    • Red player heads for NO votes
    • Gray player heads for abstentions
    • Threshold information (percentage or absolute)
  • Clickable Vote Buttons: Separate clickable buttons for YES and NO votes in chat

Sound System

  • Configurable Sound Effects for all vote events:
    • Vote started
    • Player voted yes
    • Player voted no
    • Vote success
    • Vote failed
  • Customizable volume and pitch
  • Set any sound to "" to disable

Reward System

  • Voter Rewards: Reward players for participating in votes
    • XP Levels: Give experience levels (set to 0 to disable)
    • Items: Custom items with configurable names and lore
    • Money: Economy support (requires Vault - optional)
  • Choose to reward all voters or only when vote succeeds
  • Toggle entire system with rewards.enabled

🐛 Bug Fixes

  • Fixed deprecated HoverEvent constructor (now uses modern API)
  • Fixed redundant interface warning (CommandExecutorTabExecutor)
  • Fixed memory leak: worldIsNight map now cleaned up on world unload
  • Fixed cooldown system: Changed from per-player to per-world (prevents abuse)
  • Fixed case-sensitive world blacklist comparison (now case-insensitive)

✨ Improvements

  • Tab Completion: Added tab completion for all subcommands
  • Help Command: New /skipnight help command with permission-aware display
  • Config Validation:
    • required-percentage bounded to 1-100%
    • vote-duration-seconds minimum 5 seconds
    • night-start-tick and night-end-tick validation
  • Display Toggles: Can now independently toggle chat, action bar, and boss bar
  • Better Vote Tracking: Separate tracking of yes/no votes for accurate counting

📝 New Commands

  • /skipnight yes - Vote YES to skip night
  • /skipnight no - Vote NO against skipping
  • /skipnight cancel - Cancel ongoing vote (admin only)
  • /skipnight help - Show help menu

🔐 New Permissions

  • skipnight.vote.yes - Allow voting yes (default: true)
  • skipnight.vote.no - Allow voting no (default: true)
  • skipnight.cancel - Allow cancelling votes (default: op)

⚙️ Configuration Changes

New Config Sections

  • display: Control action bar, boss bar, and chat output
  • sounds: Configure all sound effects
  • rewards: Set up voter rewards (XP, items, money)

New Vote Settings

  • threshold-mode - Choose "percentage" or "absolute"
  • required-absolute-count - Number of votes needed in absolute mode
  • allow-vote-against - Enable/disable NO voting
  • instant-skip-at-100-percent - Skip instantly at unanimous yes

New Message Keys

  • vote-started-clickable-yes / vote-started-clickable-no - Clickable vote buttons
  • voted-yes / voted-no - Vote confirmation messages
  • vote-cancelled - Admin cancellation message
  • vote-progress / vote-progress-absolute - Progress for percentage/absolute modes
  • error-vote-against-disabled - Error when NO voting is disabled
  • reward-received - Reward notification
  • gui-voter-yes / gui-voter-no / gui-voter-abstain - GUI vote status labels

🔄 Breaking Changes

None - Fully backward compatible with v1.1 configurations


Full Compatibility: v2.0 works with existing v1.1 configs. New features use sensible defaults.

1.1Релиз1.21.6, 1.21.7, 1.21.8 · 8 августа 2025 г.

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().
1.0Релиз1.21.4, 1.21.5, 1.21.6 · 17 июня 2025 г.

☀️ SkipNight v1.0 - The Ultimate Day/Night Voting System

Let your players democratically vote to skip the night! A modern, automatic, and highly configurable solution.

✨ Key Features

🔹 Democratic Voting System - Allows players to vote using /skipnight or by sleeping in a bed
🔹 Automatic Nightly Votes - Optionally starts a vote automatically the moment night falls
🔹 Wide Minecraft Compatibility - Natively supports versions from 1.16.5 to 1.21+
🔹 Real-Time Vote Progress - Broadcasts live updates on vote counts and time remaining
🔹 Fully Customizable Messages - Edit prefixes, colors, and all text to match your server's theme
🔹 In-Game Vote Statistics - Track successful and total votes with the /skipnightstats command
🔹 Lightweight & Efficient - Designed to be fast and have zero impact on server performance

🚀 Quick Start

📥 Installation

  1. Download SkipNight.jar from the releases page
  2. Place it in your server's plugins/ folder
  3. Restart the server to generate config.yml
  4. Customize the configuration to your liking
  5. Reload with /skipnight reload

⚙️ Core Configuration

vote-settings:
  # Automatically start a vote when night begins?
  auto-start-vote-at-night: true
  # Percentage of players needed to skip the night.
  required-percentage: 50
  # How long the vote lasts in seconds.
  vote-duration-seconds: 30

🔑 Permissions

Node Description Default
skipnight.vote Allows starting and participating in votes ✅ True
skipnight.stats Allows viewing of vote statistics ✅ True
skipnight.reload Access to the admin reload command ⚠️ OP

💡 Pro Tips

  • Set auto-start-vote-at-night to true for a fully automated experience
  • Adjust the required-percentage based on your community's size and preference
  • Customize the prefix in messages to integrate seamlessly with your server's chat format
  • Inform your players that sleeping in a bed also counts as a "yes" vote!

📦 Technical Specs

  • Minecraft: 1.16.5 - 1.21+
  • Java: 17+
  • Dependencies: None! (Standalone)

📥 Download now and empower your players to control the cycle of day and night!

🔗 Full documentation available on GitHub

Комментарии

Загружаем…