Skip to content
This repository was archived by the owner on Jul 17, 2022. It is now read-only.

Commit 7f3aba1

Browse files
author
BuildTools
committed
0.31.0 Update
1 parent 4ca95ac commit 7f3aba1

4 files changed

Lines changed: 18 additions & 16 deletions

File tree

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@ Also used on the MCTorn Server for easier Datapack Development ([@StonkDragon](h
77

88
## Commands
99

10-
/copy - Copies the downloaded Datapack File to the Datapack Folder. (The Filename stays, so if you update, USE THE SAME FILENAME AS PREVIOUSLY)
10+
/datasync < command > - Main Command with all old Commands (see below)
1111

12-
/sync <Filename> <URL> - Downloads the Datapack to the Filename from the URL.
12+
/datasync download < link > - Download a Datapack from the Link
1313

14-
/update - Checks for Updates of the Plugin,and if there are some, immediately download the Update and replace the old version
14+
/datasync copy < link > - Copy a Datapack from the Download Directory into the Datapack Directory
1515

16-
/datasyncver - retrieve the current version and info of the plugin.
16+
/datasync update - Update the Datasync Plugin
1717

18-
/datasyncconfig - Opens a GUI for editing the Config ingame
18+
/datasync version - Show the Version of the Datasync Plugin
19+
20+
/datasync config - Show the Config of the Datasync Plugin
1921

2022

2123
### Info

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>de.notjansel</groupId>
88
<artifactId>datapacksync</artifactId>
9-
<version>0.31.0-beta1</version>
9+
<version>0.31.0</version>
1010
<packaging>jar</packaging>
1111

1212
<name>Datapacksync</name>
@@ -122,7 +122,7 @@
122122
<dependency>
123123
<groupId>io.papermc.paper</groupId>
124124
<artifactId>paper-api</artifactId>
125-
<version>1.18.2-R0.1-SNAPSHOT</version>
125+
<version>1.19-R0.1-SNAPSHOT</version>
126126
<scope>provided</scope>
127127
</dependency>
128128
<dependency>

src/main/kotlin/de/notjansel/datapacksync/Datapacksync.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ class Datapacksync : JavaPlugin() {
7070
var worlds: List<World>? = null
7171
var datapackManager: DatapackManager? = null
7272
var server: Server? = null
73-
var versiontype: VersionTypes = VersionTypes.BETA;
73+
var versiontype: VersionTypes = VersionTypes.RELEASE;
7474
lateinit var configfile: FileConfiguration
7575
lateinit var plugininstance: Plugin
76-
const val version = "0.31.0-beta1"
76+
const val version = "0.31.0"
7777

7878
@Throws(IOException::class)
7979
fun downloadFile(url: String?, path: String?) {

version.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"latest": "0.30.3",
3-
"changelog": "Refactor everything to Kotlin (no change in the code itself)",
2+
"latest": "0.31.0",
3+
"changelog": "Update to 1.19 (DO NOT UPDATE THE PLUGIN IF YOUR SERVER IS ON 1.18.2), also moved all commands into one command",
44
"beta": {
5-
"latest": "0.31.0-beta1",
6-
"changelog": "Did alot under the hood, especially moving all discrete command to one command as sub commands.",
7-
"release_instead": false
5+
"latest": null,
6+
"changelog": null,
7+
"release_instead": true
88
},
99
"release_candidate": {
1010
"latest": null,
1111
"changelog": null,
1212
"release_instead": true
1313
},
1414
"release": {
15-
"latest": "0.30.3",
16-
"changelog": "Refactor everything to Kotlin (no change in the code itself)"
15+
"latest": "0.31.0",
16+
"changelog": "Update to 1.19 (DO NOT UPDATE THE PLUGIN IF YOUR SERVER IS ON 1.18.2), also moved all commands into one command. (If you are on 0.30.1 or lower, this is the last version to support the old version string)"
1717
},
1818
"inherit": true
1919
}

0 commit comments

Comments
 (0)