ZNPCsPlus/plugin/src/main/java/lol/pyr/znpcsplus/config/MainConfig.java
2023-05-03 07:25:52 +01:00

29 lines
983 B
Java

package lol.pyr.znpcsplus.config;
import space.arim.dazzleconf.annote.ConfComments;
import space.arim.dazzleconf.annote.ConfKey;
import static space.arim.dazzleconf.annote.ConfDefault.*;
public interface MainConfig {
@ConfKey("view-distance")
@ConfComments("How far away do you need to be from any NPC for it to disappear, measured in blocks")
@DefaultInteger(32)
int viewDistance();
@ConfKey("line-spacing")
@ConfComments("The height between hologram lines, measured in blocks")
@DefaultDouble(0.3D)
double lineSpacing();
@ConfKey("check-for-updates")
@ConfComments("Should the plugin check for available updates and notify admins about them?")
@DefaultBoolean(true)
boolean checkForUpdates();
@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();
}