veloren_common/
shared_server_config.rs

1use serde::{Deserialize, Serialize};
2
3/// Per-server constant data (configs) that stays the same for the server's
4/// life.
5#[derive(Debug, Serialize, Deserialize, Clone)]
6pub struct ServerConstants {
7    /// How many times faster the in-game day/night cycle should be compared to
8    /// real time.
9    pub day_cycle_coefficient: f64,
10}