mirror of
https://github.com/plexusorg/Plex.git
synced 2025-07-05 00:56:42 +00:00
modify toml4j fork to automatically add new fields without overwriting previous ones and setup motd
This commit is contained in:
22
proxy/src/main/java/dev/plex/settings/ServerSettings.java
Normal file
22
proxy/src/main/java/dev/plex/settings/ServerSettings.java
Normal file
@ -0,0 +1,22 @@
|
||||
package dev.plex.settings;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
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 {
|
||||
private String name = "Plexus";
|
||||
private String motd = "Test MOTD";
|
||||
private boolean colorizeMotd = false;
|
||||
private boolean debug = false;
|
||||
private final List<String> sample = Lists.newArrayList("example", "example");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user