|
|
@ -6,8 +6,12 @@ import org.bukkit.Bukkit
|
|
|
|
import org.bukkit.ChatColor
|
|
|
|
import org.bukkit.ChatColor
|
|
|
|
|
|
|
|
|
|
|
|
object Config : ConfigFile(BloodMoon.pl.dataFolder["config.yml"]) {
|
|
|
|
object Config : ConfigFile(BloodMoon.pl.dataFolder["config.yml"]) {
|
|
|
|
private val _world by string("world", "world")
|
|
|
|
private val w by string("world", "world")
|
|
|
|
val world get() = Bukkit.getWorld(_world)
|
|
|
|
val world get() = Bukkit.getWorld(w)!!
|
|
|
|
|
|
|
|
val startTime by int("start_time")
|
|
|
|
|
|
|
|
val endTime by int("end_time")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
val chance by double("chance", 0.2)
|
|
|
|
val chance by double("chance", 0.2)
|
|
|
|
|
|
|
|
|
|
|
|
val enabledMobs by stringList("transformed_mobs")
|
|
|
|
val enabledMobs by stringList("transformed_mobs")
|
|
|
|