### Quick Setup: Enable Vote2Sleep Source: https://modrinth.com/plugin/vote2sleep After placing the plugin and starting the server, enable Vote2Sleep for the current world using the /sleep enable command. ```bash /sleep enable ``` -------------------------------- ### Quick Setup: Drop Plugin Jar Source: https://modrinth.com/plugin/vote2sleep The first step in setting up Vote2Sleep is to download the plugin's JAR file and place it in the server's /plugins/ directory. ```bash Drop it into your /plugins/ folder ``` -------------------------------- ### Start or Join a Sleep Vote Source: https://modrinth.com/plugin/vote2sleep Players can initiate or join a vote to skip the night or storm using the /sleep command. This is the primary command for player interaction with the plugin. ```bash /sleep ``` -------------------------------- ### Vote2Sleep Configuration Settings Source: https://modrinth.com/plugin/vote2sleep Key settings for vote percentage, player requirements, skip delays, and enabling/disabling night and storm skips. Bed interaction can also be configured. ```yaml settings: vote-percentage: 0.5 minimum-players: 1 maximum-players: -1 skip-delay-seconds: 3 vote-timeout-seconds: 60 allow-night-skip: true allow-storm-skip: true bed-interaction: true ``` -------------------------------- ### Vote2Sleep Aliases Source: https://modrinth.com/plugin/vote2sleep Provides alternative commands that can be used to interact with the Vote2Sleep plugin, offering flexibility for players. ```bash /v2s ``` ```bash /vote2sleep ``` ```bash /sleepvote ``` ```bash /nightskip ``` -------------------------------- ### Vote2Sleep AFK Detection Configuration Source: https://modrinth.com/plugin/vote2sleep Configuration for AFK detection, including enabling the feature, preventing AFK players from voting, and specifying hooks for other plugins like EssentialsX and CMI. An internal fallback detector is also available. ```yaml afk-detection: enabled: true prevent-afk-voting: true hooks: enabled: true essentials: true cmi: true internal: enabled: true timeout-seconds: 300 ``` -------------------------------- ### Show Voting Statistics Source: https://modrinth.com/plugin/vote2sleep Displays voting statistics tracked by the plugin. This command requires the SQLite statistics tracking to be enabled in the configuration. ```bash /sleep stats ``` -------------------------------- ### Add Vote2Sleep Dependency to Gradle Build Source: https://modrinth.com/plugin/vote2sleep/version/1.3.0 Include the Vote2Sleep plugin in your project's Gradle build file. This snippet shows how to configure the repositories and add the dependency. ```gradle repositories { exclusiveContent { forRepository { maven { name = "Modrinth" url = "https://api.modrinth.com/maven" } } // forRepositories(fg.repository) // Uncomment when using ForgeGradle filter { includeGroup "maven.modrinth" } } } // Standard Gradle dependency dependencies { implementation "maven.modrinth:vfCmHiWP:czfCvGzT" } // Legacy Loom dependency dependencies { modImplementation "maven.modrinth:vfCmHiWP:czfCvGzT" } ``` -------------------------------- ### Force Skip Night or Storm Source: https://modrinth.com/plugin/vote2sleep Instantly skips the night or clears the storm without requiring a vote. This command is typically for administrative use. ```bash /sleep force ``` -------------------------------- ### View Current Vote Progress Source: https://modrinth.com/plugin/vote2sleep Use the /sleep status command to check the current progress of an ongoing sleep vote. This command provides real-time feedback to players. ```bash /sleep status ``` -------------------------------- ### Enable or Disable Vote2Sleep in a World Source: https://modrinth.com/plugin/vote2sleep Administrators can enable or disable the Vote2Sleep functionality for the current world using the /sleep enable or /sleep disable commands. ```bash /sleep enable ``` ```bash /sleep disable ``` -------------------------------- ### Reload Vote2Sleep Configuration Source: https://modrinth.com/plugin/vote2sleep Reloads the configuration and message files for Vote2Sleep. This command is useful after making changes to the config.yml or messages. ```bash /sleep reload ``` -------------------------------- ### Change Active Message Language Source: https://modrinth.com/plugin/vote2sleep Allows players to change the displayed message language for the Vote2Sleep plugin. This command is useful in multilingual server environments. ```bash /sleep language ``` -------------------------------- ### Cancel Active Vote Source: https://modrinth.com/plugin/vote2sleep Allows a player or administrator to cancel the currently active sleep vote using the /sleep cancel command. ```bash /sleep cancel ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.