Merge pull request #40 from Szum123321/stable

Stable
This commit is contained in:
Szum123321 2020-09-14 20:18:57 +02:00 committed by GitHub
commit 3402654cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 4 deletions

View File

@ -1,19 +1,24 @@
# Textile Backup
>Finally, a backup mod for fabric!
[中文/Chinese](https://github.com/Szum123321/textile_backup/README_zh-CN.md)
[![Downloads](http://cf.way2muchnoise.eu/full_359893_downloads.svg)
![Available for](http://cf.way2muchnoise.eu/versions/359893.svg)](https://www.curseforge.com/minecraft/mc-mods/textile-backup)
Small, configurable, fully server-side backup mod for Fabric
Commands look like that: /backup 'operation'
Commands look like that: `/backup <operation> [args]`
Available operations are:
* start - just starts backup. You can add comment* to file by just typing it after command. For example: /backup start FabricIsGreat
* start - just starts backup. You can add comment* to file by just typing it after command. For example: `/backup start FabricIsGreat`
* restore - restores backup. Note that the current world will be backuped, and you can add comment to it. `/backup restore <version> [comment]`
* killR - terminate current restoration.
* list - lists all avaliable backups.
* cleanup - forces cleanup procedure (deletes old backups according to config)
* whitelist - here you can add, remove and list player that are allowed to run any operation within this mod despite not having high enough permission level*
* whitelist - here you can add, remove and list player that are not allowed to run any operation within this mod despite having high enough permission level*
* blacklist - here you can add, remove and list player that are not allowed to run any operation within this mod despite having high enough permission level*
All of the above can only be done by server admins(permission level 4 - configurable*) or player on a single player.
@ -26,4 +31,4 @@ Feel free to use this mod in your modpack or on a server!
\* - feature available since 1.1.0
If you have any suggestions or found a problem please report it on [Github](https://github.com/Szum123321/textile_backup).
If you have any suggestions or found a problem please report it on [Github](https://github.com/Szum123321/textile_backup).

34
README_zh-CN.md Normal file
View File

@ -0,0 +1,34 @@
# Textile Backup
>终于有了一个Fabric的备份mod
[English/英文](https://github.com/Szum123321/textile_backup/README.md)
[![下载](http://cf.way2muchnoise.eu/full_359893_downloads.svg)
![版本](http://cf.way2muchnoise.eu/versions/359893.svg)](https://www.curseforge.com/minecraft/mc-mods/textile-backup)
轻量可配置完全服务器端的备份Fabric备份mod
指令看起来应该像这样:`/backup <operation> [args]`
有效的指令包括:
* start - 创建备份。你可以为备份加入注释,只要将注释作为第二个参数传入即可。例如: `/backup start Fabric太棒了`
* restore - 恢复备份。注意当前的时间会被备份,你可以添加该备份的注释。`/backup restore <版本> [注释]`
* killR - 终止当前恢复进程。
* list - 列出所有可用备份。
* cleanup - 强制启动清理进程 - 根据配置文件删除无效备份
* whitelist - 你可以在这里添加移除和列出所有无需足够权限就可以操作这个mod的玩家白名单*
* backlist - 你可以在这里添加移除和列出所有即使有足够权限也不能操作这个mod的玩家黑名单*
上面这些只能被服务器管理员(权限等级4 - 可配置*)、白名单玩家、单人模式的玩家或局域网联机的所有玩家使用。
你可以随意在你的整合包或服务器中使用这个mod。
### 重要
* 这个mod使用的时间格式是`dd.MM.yyyy_HH-mm-ss`,当然,这是可以配置的*.
* 这个mod以jars in a jar的形式包含 **Cotton Config** 和它的依赖,这是**CottonMC**的作品_.
\* - 自1.1.0版本可用的特性
如果你有任何建议或发现了问题,请在[Github](https://github.com/Szum123321/textile_backup)报告。