2022-05-04 12:18:07 +00:00
|
|
|
package dev.plex.settings;
|
|
|
|
|
|
|
|
import com.google.common.collect.Lists;
|
2022-05-05 08:12:24 +00:00
|
|
|
import com.google.gson.annotations.SerializedName;
|
2022-05-04 12:18:07 +00:00
|
|
|
import lombok.Data;
|
|
|
|
import lombok.Getter;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
@Getter
|
|
|
|
public class ServerSettings
|
|
|
|
{
|
|
|
|
private final Server server = new Server();
|
|
|
|
|
|
|
|
@Data
|
|
|
|
public static class Server {
|
2022-05-05 07:49:03 +00:00
|
|
|
private String name = "Server";
|
2022-05-06 04:27:32 +00:00
|
|
|
private List<String> motd = Lists.newArrayList("%randomgradient%%servername% - %mcversion%", "Another motd");
|
2022-05-04 12:18:07 +00:00
|
|
|
private boolean colorizeMotd = false;
|
|
|
|
private boolean debug = false;
|
|
|
|
private final List<String> sample = Lists.newArrayList("example", "example");
|
2022-05-05 08:12:24 +00:00
|
|
|
@SerializedName(value = "add-player-count")
|
|
|
|
private int addPlayerCount = 0;
|
|
|
|
@SerializedName(value = "plus-one-max-count")
|
|
|
|
private boolean plusOneMaxPlayer = true;
|
2022-05-04 12:18:07 +00:00
|
|
|
}
|
|
|
|
}
|