2023-04-26 16:08:14 +00:00
|
|
|
package lol.pyr.znpcsplus.config;
|
|
|
|
|
2023-05-11 05:46:56 +00:00
|
|
|
import lol.pyr.znpcsplus.storage.NpcStorageType;
|
2023-04-26 16:24:47 +00:00
|
|
|
import space.arim.dazzleconf.annote.ConfComments;
|
2023-04-26 16:08:14 +00:00
|
|
|
import space.arim.dazzleconf.annote.ConfKey;
|
|
|
|
|
|
|
|
import static space.arim.dazzleconf.annote.ConfDefault.*;
|
|
|
|
|
|
|
|
public interface MainConfig {
|
|
|
|
@ConfKey("view-distance")
|
2023-04-26 16:24:47 +00:00
|
|
|
@ConfComments("How far away do you need to be from any NPC for it to disappear, measured in blocks")
|
2023-04-26 16:08:14 +00:00
|
|
|
@DefaultInteger(32)
|
|
|
|
int viewDistance();
|
|
|
|
|
|
|
|
@ConfKey("line-spacing")
|
2023-04-26 16:24:47 +00:00
|
|
|
@ConfComments("The height between hologram lines, measured in blocks")
|
2023-04-26 16:08:14 +00:00
|
|
|
@DefaultDouble(0.3D)
|
|
|
|
double lineSpacing();
|
|
|
|
|
|
|
|
@ConfKey("check-for-updates")
|
2023-04-26 16:24:47 +00:00
|
|
|
@ConfComments("Should the plugin check for available updates and notify admins about them?")
|
2023-04-26 16:08:14 +00:00
|
|
|
@DefaultBoolean(true)
|
|
|
|
boolean checkForUpdates();
|
2023-04-26 16:24:47 +00:00
|
|
|
|
|
|
|
@ConfKey("debug-enabled")
|
|
|
|
@ConfComments({"Should debug mode be enabled?", "This is used in development to test various things, you probably don't want to enable this"})
|
|
|
|
@DefaultBoolean(false)
|
|
|
|
boolean debugEnabled();
|
2023-05-11 05:46:56 +00:00
|
|
|
|
|
|
|
@ConfKey("storage-type")
|
|
|
|
@ConfComments("The storage type to use. Available storage types: YAML")
|
|
|
|
@DefaultString("YAML")
|
|
|
|
NpcStorageType storageType();
|
2023-04-26 16:08:14 +00:00
|
|
|
}
|