20w06a update
parent
d73042138e
commit
0b68c2efee
|
@ -4,7 +4,7 @@
|
||||||
[
|
[
|
||||||
](https://www.curseforge.com/minecraft/mc-mods/textile-backup)
|
](https://www.curseforge.com/minecraft/mc-mods/textile-backup)
|
||||||
|
|
||||||
Small, configurable, fully server-side backup mod for Fabric
|
Small, configurable, fully server-side backup mod for Fabric
|
||||||
|
|
||||||
Commands look like that: /backup 'operation'.
|
Commands look like that: /backup 'operation'.
|
||||||
|
|
||||||
|
@ -20,4 +20,6 @@ Feel free to use this mod in your modpack or on server!
|
||||||
### Important
|
### Important
|
||||||
|
|
||||||
* Time format used by this mod is: dd.MM.yyyy_HH:mm:ss
|
* Time format used by this mod is: dd.MM.yyyy_HH:mm:ss
|
||||||
* _This mod contains **Cotton Config** and its dependencies as jars in jar, which are property of **CottonMC**_
|
* _This mod contains **Cotton Config** and its dependencies as jars in jar, which are property of **CottonMC**_
|
||||||
|
|
||||||
|
If you have any suggestions or found a problem please report it on github.
|
|
@ -1,17 +1,14 @@
|
||||||
# Done to increase the memory available to gradle.
|
# Done to increase the memory available to gradle.
|
||||||
org.gradle.jvmargs=-Xmx1G
|
org.gradle.jvmargs=-Xmx1G
|
||||||
|
|
||||||
# Fabric Properties
|
minecraft_version=20w06a
|
||||||
# check these on https://fabricmc.net/use
|
yarn_mappings=20w06a+build.15
|
||||||
minecraft_version=1.15.2
|
loader_version=0.7.8+build.184
|
||||||
yarn_mappings=1.15.2+build.7
|
|
||||||
loader_version=0.7.6+build.179
|
#Fabric api
|
||||||
|
fabric_version=0.4.32+build.296-1.16
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.0.0-1.15.2
|
mod_version = 1.0.2-20w06a
|
||||||
maven_group = net.szum123321
|
maven_group = net.szum123321
|
||||||
archives_base_name = textile_backup
|
archives_base_name = textile_backup
|
||||||
|
|
||||||
# Dependencies
|
|
||||||
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
|
|
||||||
fabric_version=0.4.29+build.290-1.15
|
|
|
@ -43,10 +43,12 @@ public class BackupHelper {
|
||||||
|
|
||||||
StringBuilder builder = new StringBuilder();
|
StringBuilder builder = new StringBuilder();
|
||||||
builder.append("Backup started by: ");
|
builder.append("Backup started by: ");
|
||||||
|
|
||||||
if( ctx != null )
|
if( ctx != null )
|
||||||
builder.append(ctx.getName());
|
builder.append(ctx.getName());
|
||||||
else
|
else
|
||||||
builder.append("SERVER");
|
builder.append("SERVER");
|
||||||
|
|
||||||
builder.append(" on: ");
|
builder.append(" on: ");
|
||||||
builder.append(getDateTimeFormatter().format(now));
|
builder.append(getDateTimeFormatter().format(now));
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
package net.szum123321.textile_backup.mixin;
|
package net.szum123321.textile_backup.mixin;
|
||||||
|
|
||||||
|
import net.fabricmc.fabric.impl.tag.extension.FabricTagHooks;
|
||||||
|
import net.fabricmc.loader.api.FabricLoader;
|
||||||
import net.minecraft.server.MinecraftServer;
|
import net.minecraft.server.MinecraftServer;
|
||||||
import net.minecraft.server.PlayerManager;
|
import net.minecraft.server.PlayerManager;
|
||||||
import net.szum123321.textile_backup.TextileBackup;
|
import net.szum123321.textile_backup.TextileBackup;
|
||||||
|
|
|
@ -29,6 +29,6 @@
|
||||||
"depends": {
|
"depends": {
|
||||||
"fabricloader": ">=0.7.2",
|
"fabricloader": ">=0.7.2",
|
||||||
"fabric": "*",
|
"fabric": "*",
|
||||||
"minecraft": "1.15.2"
|
"minecraft": "1.16.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue