don’t use modules everywhere
This commit is contained in:
parent
8eb44716e9
commit
36ec9d9f2d
1 changed files with 112 additions and 137 deletions
|
@ -289,14 +289,8 @@ in
|
|||
description = "Extra configuration to be added to the minecraft server properties file";
|
||||
};
|
||||
};
|
||||
bukkit-yml = mkOption {
|
||||
description = "Bukkit configuration file";
|
||||
type = types.submodule {
|
||||
options = {
|
||||
settings = mkOption {
|
||||
descriptions = "General CraftBukkit settings";
|
||||
type = types.submodule {
|
||||
options = {
|
||||
bukkit-yml = {
|
||||
settings = {
|
||||
allow-end = mkOption {
|
||||
default = true;
|
||||
type = types.bool;
|
||||
|
@ -358,12 +352,7 @@ in
|
|||
description = "Shutdown message";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
spawn-limits = mkOption {
|
||||
description = "Spawn limits";
|
||||
type = types.submodule {
|
||||
options = {
|
||||
spawn-limits = {
|
||||
monsters = mkOption {
|
||||
default = 70;
|
||||
type = types.ints.unsigned;
|
||||
|
@ -385,12 +374,7 @@ in
|
|||
description = "Max ambient";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
chunk-gc = mkOption {
|
||||
description = "Chunk garbage collection";
|
||||
type = types.submodule {
|
||||
options = {
|
||||
chunk-gc = {
|
||||
period-in-ticks = mkOption {
|
||||
default = 600;
|
||||
type = types.ints.unsigned;
|
||||
|
@ -402,12 +386,7 @@ in
|
|||
description = "Load threshold";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
ticks-per = mkOption {
|
||||
description = "Tick delays";
|
||||
type = types.submodule {
|
||||
options = {
|
||||
ticks-per = {
|
||||
animal-spawns = mkOption {
|
||||
default = 400;
|
||||
type = types.ints.unsigned;
|
||||
|
@ -425,10 +404,6 @@ in
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
whitelist = mkOption {
|
||||
default = [ ];
|
||||
type = types.listOf (types.submodule {
|
||||
|
|
Loading…
Reference in a new issue