Skip to content

Commit

Permalink
docs: update address
Browse files Browse the repository at this point in the history
  • Loading branch information
mymatsubara committed May 1, 2024
1 parent 02c7f22 commit 5f7ec58
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 6 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Server>();
let mut instance = server.new_instance(DimensionId::default());
Expand All @@ -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(
Expand Down

0 comments on commit 5f7ec58

Please sign in to comment.