diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-10-20 02:52:57 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-10-20 02:52:57 +0200 |
commit | 927613461a6a9021e55da187e87edfb25f13cb2f (patch) | |
tree | 99a94f9138ebb11e62d3cf747f7886b6526507b9 /Readme.md | |
parent | 4d1ec9a337db8b4915ea5672f5e46fccc351ca3a (diff) | |
download | parquet-927613461a6a9021e55da187e87edfb25f13cb2f.tar.gz |
reworked /savedata to /stats
Diffstat (limited to 'Readme.md')
-rw-r--r-- | Readme.md | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -14,20 +14,18 @@ Invocation Location is saved and restored on exit to make it less exploitable Not using `/c` and `/s` to be carpet compatible -### `/savedata` +### `/stats <player>` -#### `playersave list` +#### `get <stat>` -List all player savefiles, UUIDs are resolved to names if in usercache - -#### `stats` - -Query user statistics and import them to the scoreboard. This work for both online and offline players, if they are in +Query user statistics. This work for both online and offline players, if they are in usercache. -`/savedata stats PLAYER STATISTIC [import OBJECTIVE [MULTIPLIER]]` +#### `import <scoreboard> [multiplier]` + +import the corresponding user statistic to a scoreboard. -If `MULTIPLIER < 0` the score is modified with `1/MULTIPLIER`, since FloatArgumentType does not support exponentials +If `multiplier < 0` the score is modified with `1/multiplier`, since FloatArgumentType does not support exponentials like 1.3e-4 ### `/r` |