Files
DirtSleep/src/main/resources/config.yml
T
2026-06-09 20:45:18 -04:00

81 lines
2.6 KiB
YAML

vote-day:
enabled: true
# Plugin will only work in these worlds
worlds:
- "world"
# Only allow /voteday during night
only-during-night: true
# Tick time where night starts
night-starts-at: 12542
# Required YES votes before changing to day
# Examples: "1", "2", "50%", "75%"
required-votes: "50%"
# Ignore players with this permission from vote requirement:
# dirtsleep.bypass
exclude-bypass: true
vote-night:
enabled: true
# Only allow /votenight during daytime
only-during-day: true
# Tick time where day effectively ends for vote checks
day-ends-at: 12542
# Required YES votes before changing to night
# Examples: "1", "2", "50%", "75%"
required-votes: "50%"
# Ignore players with this permission from vote requirement:
# dirtsleep.bypass
exclude-bypass: true
vote-session:
# How long a vote stays open
duration-seconds: 30
messages:
prefix: "&8[&6DirtBagMC&8] &7"
vote-started-day: "%prefix%&e%player% &7started a vote to make it &fday&7. &aYES: &f%yes%&7/&f%required% &8| &cNO: &f%no%"
vote-started-night: "%prefix%&e%player% &7started a vote to make it &fnight&7. &aYES: &f%yes%&7/&f%required% &8| &cNO: &f%no%"
click-prompt: "%prefix%&7Click below to vote."
vote-progress-day: "%prefix%&7Day vote status: &aYES: &f%yes%&7/&f%required% &8| &cNO: &f%no%"
vote-progress-night: "%prefix%&7Night vote status: &aYES: &f%yes%&7/&f%required% &8| &cNO: &f%no%"
vote-passed: "%prefix%&aVote passed! Skipping to day."
night-vote-passed: "%prefix%&aVote passed! Skipping to night."
vote-failed: "%prefix%&cVote failed."
vote-expired: "%prefix%&cVote to make it day expired."
night-vote-expired: "%prefix%&cVote to make it night expired."
vote-yes-confirm: "%prefix%&aYou voted YES."
vote-no-confirm: "%prefix%&cYou voted NO."
vote-already-running: "%prefix%&cA vote is already running in this world."
no-active-vote: "%prefix%&cThere is no active vote in this world."
wrong-vote-command: "%prefix%&cUse the correct vote buttons for the current vote."
already-voted: "%prefix%&cYou already voted."
night-already-voted: "%prefix%&cYou already voted for night."
not-night: "%prefix%&cYou can only start this vote at night."
not-day: "%prefix%&cYou can only start this vote during the day."
disabled: "%prefix%&cVote day is disabled."
night-disabled: "%prefix%&cVote night is disabled."
world-disabled: "%prefix%&cVote commands are disabled in this world."
reloaded: "%prefix%&aConfig reloaded."
no-permission: "%prefix%&cYou do not have permission."
usage: "%prefix%&7Use: &f/dirtsleep reload"