Global Configuration
data class GlobalConfiguration(val mines: List<Mine> = listOf(
Mine(
"A",
Component.text('A', NamedTextColor.GOLD),
listOf(
MineBlock(Material.COAL_BLOCK, 0, 0)
),
1,
Location(Bukkit.getWorlds()[0], 0.0, 0.0, 0.0),
Location(Bukkit.getWorlds()[0], 10.0, 10.0, 10.0),
Location(Bukkit.getWorlds()[0], 2.0, 2.0, 2.0),
Location(Bukkit.getWorlds()[0], 7.0, 7.0, 7.0),
Location(Bukkit.getWorlds()[0], 5.0, 5.0, 5.0),
10,
3L * 20L * 60L,
0,
ItemStack(Material.COBBLESTONE)
)
), val maxMineLevel: Int = 0, val warp: WarpConfiguration = WarpConfiguration(
(1 until 27).toList(),
27,
ItemStack(Material.GRAY_STAINED_GLASS_PANE),
Component.text("Warps", NamedTextColor.DARK_RED),
ItemStack(Material.BARRIER),
0,
ItemStack(Material.PAPER),
Location(Bukkit.getWorlds()[0], 0.0, 0.0, 0.0, 0F, 0F)
), val setupCommands: Boolean = false)
The global configuration data class.
Author
MarkusTieger
Since
0.2.0
Constructors
Link copied to clipboard
constructor(mines: List<Mine> = listOf(
Mine(
"A",
Component.text('A', NamedTextColor.GOLD),
listOf(
MineBlock(Material.COAL_BLOCK, 0, 0)
),
1,
Location(Bukkit.getWorlds()[0], 0.0, 0.0, 0.0),
Location(Bukkit.getWorlds()[0], 10.0, 10.0, 10.0),
Location(Bukkit.getWorlds()[0], 2.0, 2.0, 2.0),
Location(Bukkit.getWorlds()[0], 7.0, 7.0, 7.0),
Location(Bukkit.getWorlds()[0], 5.0, 5.0, 5.0),
10,
3L * 20L * 60L,
0,
ItemStack(Material.COBBLESTONE)
)
), maxMineLevel: Int = 0, warp: WarpConfiguration = WarpConfiguration(
(1 until 27).toList(),
27,
ItemStack(Material.GRAY_STAINED_GLASS_PANE),
Component.text("Warps", NamedTextColor.DARK_RED),
ItemStack(Material.BARRIER),
0,
ItemStack(Material.PAPER),
Location(Bukkit.getWorlds()[0], 0.0, 0.0, 0.0, 0F, 0F)
), setupCommands: Boolean = false)