mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-22 02:25:48 +01:00
Updated Server setup (markdown)
parent
ac20356c10
commit
5e9627f9c3
@ -27,4 +27,12 @@ Here is a correct example:
|
||||
}
|
||||
```
|
||||
|
||||
However even after those steps you will not be able to connect, what we miss here is an instance (the world)
|
||||
However even after those steps, you will not be able to connect, what we miss here is an instance (the world)
|
||||
|
||||
_Please check the [instances](https://github.com/Minestom/Minestom/wiki/Instances) and [events](https://github.com/Minestom/Minestom/wiki/Events) pages if you have any question of how to create/listen to one_
|
||||
|
||||
```java
|
||||
player.addEventCallback(PlayerLoginEvent.class, event -> {
|
||||
event.setSpawningInstance(YOUR_SPAWNING_INSTANCE);
|
||||
});
|
||||
```
|
Loading…
Reference in New Issue
Block a user