Skip to content

Commit b62ee67

Browse files
committed
rx: v1.0.3
1 parent 9d23302 commit b62ee67

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

data/rx.playerdb/functions/admin/debug.mcfunction

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,14 @@
1010
#> 3. Copy logs and throw it into pastebin (or alt)
1111
#> 4. Send me a link w/ bug description
1212

13+
#define storage rx:debug
14+
data modify storage rx:debug playerdb set from storage rx:global playerdb
15+
data remove storage rx:debug playerdb.players[].data
16+
1317
tellraw @a[tag=rx.admin] ["", {"storage": "rx:info", "nbt": "playerdb.pretty_name", "interpret": true}, " ", {"storage": "rx:info", "nbt": "playerdb.pretty_version", "interpret": true}]
14-
tellraw @a[tag=rx.admin] ["", {"color": "gold", "text": "rx.uuid0: "}, {"score": {"name": "@s", "objective": "uuid0"}}, ", ", {"color": "gold", "text": "uid: "}, {"score": {"name": "@s", "objective": "rx.uid"}}, ", ", {"color": "gold", "text": "HasEntry: "}, {"score": {"name": "@s", "objective": "rx.pdb.HasEntry"}}]
18+
tellraw @a[tag=rx.admin] ["", {"color": "gold", "text": "rx.uuid0: "}, {"score": {"name": "@s", "objective": "rx.uuid0"}}, ", ", {"color": "gold", "text": "uid: "}, {"score": {"name": "@s", "objective": "rx.uid"}}, ", ", {"color": "gold", "text": "HasEntry: "}, {"score": {"name": "@s", "objective": "rx.pdb.HasEntry"}}]
1519

16-
tellraw @a[tag=rx.admin] ["", {"color": "gold", "text": "playerdb.players: "}, {"storage": "rx:global", "nbt": "playerdb.players[{selected:1b}]"}]
20+
tellraw @a[tag=rx.admin] ["", {"color": "gold", "text": "current player: "}, {"storage": "rx:debug", "nbt": "playerdb.players[{selected:1b}]"}]
1721

18-
tellraw @a[tag=rx.admin] ["", {"color": "gold", "text": "playerdb.players: "}, {"storage": "rx:global", "nbt": "playerdb.players"}]
19-
tellraw @a[tag=rx.admin] ["", {"color": "gold", "text": "playerdb.players: "}, {"storage": "rx:global", "nbt": "playerdb.uuid"}]
22+
tellraw @a[tag=rx.admin] ["", {"color": "gold", "text": "playerdb.players: "}, {"storage": "rx:debug", "nbt": "playerdb.players"}]
23+
tellraw @a[tag=rx.admin] ["", {"color": "gold", "text": "playerdb.uuid: "}, {"storage": "rx:debug", "nbt": "playerdb.uuid"}]

data/rx.playerdb/functions/init.mcfunction

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
#> LL Load + version
88
scoreboard players set rx.PlayerDB load 1
99

10-
data modify storage rx:info playerdb.version set value {major: 1, minor: 0, patch: 1}
10+
data modify storage rx:info playerdb.version set value {major: 1, minor: 0, patch: 3}
1111
scoreboard players set rx.pdb.major load 1
1212
scoreboard players set rx.pdb.minor load 0
13-
scoreboard players set rx.pdb.patch load 1
13+
scoreboard players set rx.pdb.patch load 3
1414

1515
data modify storage rx:info playerdb.pretty_version set value '[{"storage": "rx:info", "nbt": "playerdb.version.major"}, ".", {"storage": "rx:info", "nbt": "playerdb.version.minor"}, ".", {"storage": "rx:info", "nbt": "playerdb.version.patch"}]'
1616

project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ config-version = '1.1.1'
1111
# output-folder = <folder name to output>
1212

1313
title = 'PlayerDB'
14-
version = 'v1.0.2'
14+
version = 'v1.0.3'
1515
name-format = '{title} {version} {release_name}'
1616

1717
[global]

0 commit comments

Comments
 (0)