33 lines
809 B
Java
33 lines
809 B
Java
package com.alttd.cometskyblock.configuration;
|
|
|
|
import lombok.Getter;
|
|
|
|
import org.spongepowered.configurate.objectmapping.ConfigSerializable;
|
|
import org.spongepowered.configurate.objectmapping.meta.Comment;
|
|
|
|
@ConfigSerializable
|
|
@Getter
|
|
@SuppressWarnings({"CanBeFinal", "FieldMayBeFinal"})
|
|
public class PluginConfiguration implements Configuration {
|
|
|
|
@Comment("Generate debug messages")
|
|
private boolean debug = true;
|
|
|
|
private WorldGenerator worldGenerator = new WorldGenerator();
|
|
@ConfigSerializable @Getter
|
|
public static class WorldGenerator {
|
|
|
|
private int centerX = 0;
|
|
private int centerZ = 0;
|
|
private int size = 100;
|
|
|
|
private int spawnX = 0;
|
|
private int spawnY = 63;
|
|
private int spawnz = 0;
|
|
|
|
}
|
|
|
|
private int requestTimeOut = 30;
|
|
|
|
}
|