Added example command and file format

This commit is contained in:
Teriuihi 2021-11-18 16:34:38 +01:00
parent 5e198572a1
commit a27c501513

View File

@ -14,6 +14,9 @@ public class DonorRankCommand {
.<CommandSource>literal("donorrank")
.requires(ctx -> ctx.hasPermission("command.proxy.donorrank"))
.executes(context -> {
//EX: donorrank {username} promote archduke {transaction}
//File: {transaction}, cbccaa76-906d-458e-a24e-4b74322f2bb7, none -> archduke
//EX: donorrank {username} demote archduke {transaction}
//TODO command format: /donorrank user promote rank donate_id
//TODO store the command and before and after rank in a file
//TODO remove old donor ranks and add the new one