Crate veloren_server

Source

Re-exportsยง

pub use crate::error::Error;
pub use crate::events::Event;
pub use crate::input::Input;
pub use crate::settings::CalendarMode;
pub use crate::settings::EditableSettings;
pub use crate::settings::Settings;

Modulesยง

automod
character_creator ๐Ÿ”’
chat
chunk_generator
chunk_serialize ๐Ÿ”’
client
cmd
Implementing new commands.
connection_handler
data_dir ๐Ÿ”’
error
events
input
location
lod
login_provider
metrics
persistence
DB operations and schema migrations
pet ๐Ÿ”’
presence
rtsim
settings
state_ext
sys
terrain_persistence
weather ๐Ÿ”’
wiring

Structsยง

BattleModeBuffer
Store of BattleMode cooldowns for players while they go offline
ChunkRequest
GenOpts
HwStats
IndexOwned
An owned reference to indexed data.
Server
SpawnPoint
SpawnPoint corresponds to the default location that players are positioned at if they have no waypoint. Players should always have a waypoint, so this should basically never be used in practice.
Tick
TickStart
World
WorldOpts

Enumsยง

DisconnectType ๐Ÿ”’
FileOpts
ServerInitStage
WorldCivStage
WorldGenerateStage
WorldSimStage

Constantsยง

DEFAULT_DATA_DIR_NAME
Used so that different server frontends can share the same server saves, etc.
DEFAULT_WORLD_MAP
The default world map.
DEFAULT_WORLD_SEED
This is not the seed used to generate the default map, this seed was used to generate a better set of biomes on it as the original ones were unsuitable.
MIN_VD

Functionsยง

add_admin
If successful returns the Some(uuid) of the added admin
handle_edit
remove_admin
If successful returns the Some(uuid) of the removed admin