9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2026-01-04 15:31:37 +00:00

Add /userdata dump command, for file/web dumping of user data json

This commit is contained in:
William
2022-10-07 22:52:58 +01:00
parent cbf5d9c24e
commit 7536bfaaf5
18 changed files with 276 additions and 14 deletions

View File

@@ -24,4 +24,12 @@ userdata {
version brigadier:string single_word;
}
}
dump {
name brigadier:string single_word {
version brigadier:string single_word {
web;
file;
}
}
}
}

View File

@@ -19,7 +19,7 @@ commands:
usage: '/husksync <update/info/reload/migrate>'
description: 'Manage the HuskSync plugin'
userdata:
usage: '/userdata <view/list/delete/restore/pin> <username> [version_uuid]'
usage: '/userdata <view/list/delete/restore/pin/dump> <username> [version_uuid]'
description: 'View, manage & restore player userdata'
inventory:
usage: '/inventory <username> [version_uuid]'