Add basic raw packet parsing, hijack ping and status message
This commit is contained in:
11
src/config.rs
Normal file
11
src/config.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
/// Public address for users to connect to.
|
||||
pub const ADDRESS_PUBLIC: &str = "127.0.0.1:9090";
|
||||
|
||||
/// Minecraft server address to proxy to.
|
||||
pub const ADDRESS_PROXY: &str = "127.0.0.1:9091";
|
||||
|
||||
/// Server description shown when server is starting.
|
||||
pub const LABEL_SERVER_SLEEPING: &str = "Server sleeping...\nJoin to start it up §c♥";
|
||||
|
||||
/// Server description shown when server is starting.
|
||||
pub const LABEL_SERVER_STARTING: &str = "Server starting...\nPlease wait §c♥";
|
Reference in New Issue
Block a user