https://github.com/justdoom/minestomdatasaving
A world saving library for Minestom
https://github.com/justdoom/minestomdatasaving
java minestom minestom-library
Last synced: about 2 months ago
JSON representation
A world saving library for Minestom
- Host: GitHub
- URL: https://github.com/justdoom/minestomdatasaving
- Owner: JustDoom
- Created: 2021-07-07T11:47:44.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-08-23T01:29:32.000Z (almost 4 years ago)
- Last Synced: 2025-01-01T20:22:10.429Z (over 1 year ago)
- Topics: java, minestom, minestom-library
- Language: Java
- Homepage:
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MineStomDataSaving
This is discontinued/probably doesnt work
This is a library that allows you to easily save and load worlds
Todo
- Player data saving
Done
- World data saving
## Setup
### Maven
Repository
```
jitpack.io
https://jitpack.io
```
Dependency
```
com.github.justdoom
minestomdatasaving
-SNAPSHOT
```
### Gradle
Repository
```
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
Dependency
```
dependencies {
implementation 'com.github.justdoom:minestomdatasaving:-SNAPSHOT'
}
```
## API usage
Loading a world
```java
InstanceContainer instanceContainer = MineStomDataSaving.loadWorld("worlds/lobby");
```
Saving a world
```java
MineStomDataSaving.saveWorld("worlds/lobby", instanceContainer);
```