▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/SkipNight
SkipNight

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.

688
4
Все версииSkipNight 2.0

SkipNight 2.0

Release1 мес. назад

Список изменений

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.

Файлы

skip-night-2.0.jar(25.41 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

2.0

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.16–1.21.11

Загрузок

88

Дата публикации

1 мес. назад

Загрузил

ID версии

Главная