first commit
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,31 @@
|
||||
vote-day:
|
||||
enabled: true
|
||||
|
||||
# Empty list = all worlds
|
||||
worlds: []
|
||||
|
||||
# Only allow /voteday during night
|
||||
only-during-night: true
|
||||
|
||||
# Tick time where night starts
|
||||
night-starts-at: 12542
|
||||
|
||||
# Required 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
|
||||
|
||||
messages:
|
||||
prefix: "&8[&bDirtSleep&8] &7"
|
||||
vote-added: "%prefix%&e%player% &7voted for day. &f(%votes%/%required% votes, %remaining% remaining)"
|
||||
vote-passed: "%prefix%&aVote passed! Skipping to day."
|
||||
already-voted: "%prefix%&cYou already voted."
|
||||
not-night: "%prefix%&cYou can only use this at night."
|
||||
disabled: "%prefix%&cVote day is disabled."
|
||||
world-disabled: "%prefix%&cVote day is disabled in this world."
|
||||
reloaded: "%prefix%&aConfig reloaded."
|
||||
no-permission: "%prefix%&cYou do not have permission."
|
||||
usage: "%prefix%&7Use: &f/dirtsleep reload"
|
||||
@@ -0,0 +1,21 @@
|
||||
name: DirtSleep
|
||||
version: 1.0
|
||||
main: com.bitnix.dirtsleep.DirtSleepPlugin
|
||||
api-version: '1.21'
|
||||
author: bitnix
|
||||
description: Simple vote day plugin
|
||||
commands:
|
||||
voteday:
|
||||
description: Vote to make it day
|
||||
usage: /voteday
|
||||
dirtsleep:
|
||||
description: DirtSleep admin command
|
||||
usage: /dirtsleep reload
|
||||
permission: dirtsleep.admin
|
||||
permissions:
|
||||
dirtsleep.admin:
|
||||
description: Allows reloading DirtSleep
|
||||
default: op
|
||||
dirtsleep.bypass:
|
||||
description: Excludes player from required vote calculations
|
||||
default: false
|
||||
@@ -0,0 +1,5 @@
|
||||
#Generated by Maven
|
||||
#Tue Jun 09 16:14:06 EDT 2026
|
||||
artifactId=DirtSleep
|
||||
groupId=com.bitnix
|
||||
version=1.0-SNAPSHOT
|
||||
@@ -0,0 +1 @@
|
||||
com/bitnix/dirtsleep/DirtSleepPlugin.class
|
||||
@@ -0,0 +1 @@
|
||||
/home/bitnix/Desktop/DirtSleep/src/main/java/com/bitnix/dirtsleep/DirtSleepPlugin.java
|
||||
Reference in New Issue
Block a user