chore: move to crates folder

This commit is contained in:
Alexander Medvedev committed 2026-08-06 12:56:40 +02:00
1 parent 5d10c0d8a8
commit cb3660bcd2
3393 files changed
+1270 -741

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
use serde::{Deserialize, Serialize};
/// Configuration for in-game chat behaviour.
///
/// Controls chat formatting and display.
#[derive(Deserialize, Serialize)]
#[serde(default)]
pub struct ChatConfig {
/// The custom chat format.
/// `Note`: it does not apply when secure chat is enabled.
pub format: String,
}
impl Default for ChatConfig {
fn default() -> Self {
Self {
format: "<{DISPLAYNAME}> {MESSAGE}".to_string(),
}
}
}