Skip to content

Commit 78bc8c8

Browse files
committed
feat(cache-players): Set default to cache players
Signed-off-by: MSDNicrosoft <wang3311835119@hotmail.com>
1 parent ae89e77 commit 78bc8c8

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

src/main/kotlin/work/msdnicrosoft/avm/config/AVMConfig.kt

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ data class AVMConfig(
4444

4545
@YamlComment("The Chat Bridge configuration")
4646
@SerialName("chat-bridge")
47-
val chatBridge: ChatBridge = ChatBridge()
47+
val chatBridge: ChatBridge = ChatBridge(),
48+
49+
// @YamlComment("The TabList Synchronization configuration")
50+
// @SerialName("tab-sync")
51+
// val tabSync: TabSync = TabSync()
4852
) {
4953
@Serializable
5054
data class Broadcast(
@@ -173,7 +177,7 @@ data class AVMConfig(
173177
@Serializable
174178
data class CachePlayers(
175179
@YamlComment("Whether to enable cache players")
176-
var enabled: Boolean = false,
180+
var enabled: Boolean = true,
177181

178182
@YamlComment("The max size of the cache")
179183
@SerialName("max-size")
@@ -371,4 +375,13 @@ data class AVMConfig(
371375
// )
372376
// }
373377
}
378+
379+
// @Serializable
380+
// data class TabSync(
381+
// val enabled: Boolean = true,
382+
// val format: String = "&8[%server_nickname%&8] %player_name%",
383+
//
384+
// @SerialName("show-ping")
385+
// val showPing: Boolean = true
386+
// )
374387
}

0 commit comments

Comments
 (0)