GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — feather/feather/server/src/options.rs at develop · aheart/feather Expand file tree/ Copy pathoptions.rsMore file actions 44 lines (34 loc) · 1.07 KB / Copy pathoptions.rsFile metadata and controls44 lines (34 loc) · 1.07 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 use base::Gamemode; use crate::favicon::Favicon; /// Options for building a [`Server`](crate::Server). #[derive(Debug, Clone)] pub struct Options { /// Port to listen on. pub port: u16, /// Addresses to bind to. pub bind_address: String, /// The server favicon. pub favicon: Option<Favicon>, /// The server MOTD. pub motd: String, /// Whether the server should authenticate players. pub online_mode: bool, /// The maximum view distance, which determines /// how far players can see. pub view_distance: u32, /// Maximum number of players to allow on the server. pub max_players: u32, /// The default gamemode for new players. pub default_gamemode: Gamemode, /// Proxy IP forwarding mode pub proxy_mode: Option<ProxyMode>, // HMAC key used with Velocity IP forwarding. pub velocity_secret: String, /// Packet size threshold at which to compress data pub compression_threshold: Option<usize>, } #[derive(Debug, Copy, Clone, PartialEq, Eq)] pub enum ProxyMode { Bungeecord, Velocity, } |
| You are visitor 01402520 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |