|
|
|
@ -6,8 +6,12 @@ import org.bukkit.Bukkit
|
|
|
|
|
import org.bukkit.ChatColor
|
|
|
|
|
|
|
|
|
|
object Config : ConfigFile(BloodMoon.pl.dataFolder["config.yml"]) {
|
|
|
|
|
private val _world by string("world", "world")
|
|
|
|
|
val world get() = Bukkit.getWorld(_world)
|
|
|
|
|
private val w by string("world", "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 enabledMobs by stringList("transformed_mobs")
|
|
|
|
|