mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 14:38:49 +00:00
Drop MineDown & Mojangson
This commit is contained in:
1 parent
dc09504bd3
commit
d7b3b01c2b
7 files changed
+20
-78
No files matched your search
@@ -1,8 +0,0 @@
|
||||
package net.draycia.carbon.api.adventure;
|
||||
|
||||
public enum FormatType {
|
||||
MOJANG,
|
||||
MINIMESSAGE_MARKDOWN,
|
||||
MINIMESSAGE,
|
||||
MINEDOWN
|
||||
}
|
||||
@@ -11,6 +11,4 @@ public interface MessageProcessor {
|
||||
|
||||
@NonNull AudienceProvider audiences();
|
||||
|
||||
@NonNull FormatType formatType();
|
||||
|
||||
}
|
||||
@@ -1,6 +1,5 @@
|
||||
package net.draycia.carbon.api.config;
|
||||
|
||||
import net.draycia.carbon.api.adventure.FormatType;
|
||||
import org.checkerframework.checker.nullness.qual.NonNull;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
import org.spongepowered.configurate.CommentedConfigurationNode;
|
||||
@@ -64,10 +63,6 @@ public final class CarbonSettings {
|
||||
" channel as well as this setting.")
|
||||
private @NonNull MessagingType messagingType = MessagingType.NONE;
|
||||
|
||||
@Setting
|
||||
@Comment("Options: MOJANG, MINIMESSAGE_MARKDOWN, MINIMESSAGE, MINEDOWN")
|
||||
private @NonNull FormatType formatType = FormatType.MINIMESSAGE;
|
||||
|
||||
@Setting
|
||||
@Comment("The credentials necessary to connect to your redis server")
|
||||
private @NonNull RedisCredentials redisCredentials = new RedisCredentials();
|
||||
@@ -136,8 +131,4 @@ public final class CarbonSettings {
|
||||
public @NonNull WhisperOptions whisperOptions() {
|
||||
return this.whisperOptions;
|
||||
}
|
||||
|
||||
public @NonNull FormatType formatType() {
|
||||
return this.formatType;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user