diff --git a/src/main/java/me/bobert/netneutrality/db/SettingType.java b/src/main/java/me/bobert/netneutrality/db/SettingType.java new file mode 100644 index 0000000..f2786e9 --- /dev/null +++ b/src/main/java/me/bobert/netneutrality/db/SettingType.java @@ -0,0 +1,21 @@ +package me.bobert.netneutrality.db; + +/* + * Copyright (c) anthorob + * + * https://discord.gg/qUa6zNFZsd + */ + +/** + * Classification of a {@link GSettings} value, used to validate incoming values and to let + * clients (e.g. a web app) render the appropriate input widget. + */ +public enum SettingType { + STRING, + INTEGER, + PERCENTAGE, + BOOLEAN, + ROLE, + CHANNEL, + ENUM +}