From 5f7ec58fe3793351e103284a12dff2e3bf8c5b41 Mon Sep 17 00:00:00 2001 From: Murilo Matsubara Date: Tue, 30 Apr 2024 21:25:47 -0300 Subject: [PATCH] docs: update address --- Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 2 +- src/main.rs | 8 ++++++-- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 382237f..9c80848 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1589,7 +1589,7 @@ dependencies = [ [[package]] name = "osucraft" -version = "0.1.1" +version = "0.1.2" dependencies = [ "anyhow", "bevy_ecs", diff --git a/Cargo.toml b/Cargo.toml index f8eea41..6343ac3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "osucraft" -version = "0.1.1" +version = "0.1.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/README.md b/README.md index 97ae101..48121dd 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Sugestions are more than welcomed, so feel free to open an issues or pull reques ### Windows -Download the executable [here](https://github.com/mymatsubara/osucraft/releases/tag/0.1.0) and run it. Now you should be to access the server on the address `localhost`. +Download the executable [here](https://github.com/mymatsubara/osucraft/releases/tag/0.1.0) and run it. Now you should be to access the server on the address `127.0.0.1:25565`. ### Linux and MacOS diff --git a/src/main.rs b/src/main.rs index 88996a2..cc78382 100644 --- a/src/main.rs +++ b/src/main.rs @@ -50,10 +50,14 @@ fn setup(world: &mut World) { println!("{}", header.cyan()); println!("{configs}\n"); let info = format!( - "INFO: To update any config modify the file '{}' and restart the server.\n", + "INFO: To update any config modify the file '{}' and restart the server.", configs_path.display() ); println!("{}", info.yellow()); + println!( + "{}", + "INFO: The server is running on minecraft version 1.19.3\n".yellow() + ); let server = world.resource::(); let mut instance = server.new_instance(DimensionId::default()); @@ -64,7 +68,7 @@ fn setup(world: &mut World) { world.spawn((instance, OsuInstance)); - println!("Server is running on: {}", "localhost::25565".green()) + println!("Server is running on: {}", "127.0.0.1:25565".green()) } fn init_clients(