2024-12-15 02:40:09|Myriagame |source:minecraft skins
Overview
A simple UID manager.
use
data_get
Data_get will get the Data of the player and return to EUID: Result.
/execute as <Run Function Euid: Data/Data_get
Suppose there is a group of players in the Players list as follows:
players: [{uid: 0, uuid: [1,1,1,1]}, {uid: 1, uuid: [2,2,2]},{Uid: 2, uuid: [3,3,3,3]}]
If the Data of the player who wants to get UID: 0, then EUID: Result is:
Player: {uid: 0, uuid: [1,1,1,1]}
data_modify
DATA_MODIFY will get the value from the INPUT in the EUID: Input to change (existing elements) or increase (no element) of the corresponding player's data.
Execute asRun Function EUID: Data/Data_modify
Suppose there is a player's data in the Players list as follows:
{uid: 0, uuid: [114, 114,114,114], list: [1 "]}
If you want to modify the List of the player's data, enter EUID: Input:
/data modify storage eUID: input input set value {list: [2 "," 4 "]}
Then the list of the player's data will turn down:
{uid: 0, uuid: [114, 114,114,114], list: [2 "," 4 "]}
data_remove
Data_remove will execute #euid: data_remove, you can add custom removal content in it:
/execute as <run function euid: data/data_remove
Assuming that there is a player's data in the Players list as follows:
{uid: 0, uuid: [1,1,1,1], list: [1 "]}
If you want to delete the list in the player's data, add the delete function to #euid: data_remove:
{"value": ["example: rm"]}
At the same time, you can add limited conditions to delete the function:
/execute if ...... Run Data Remove Storage EUID: Data_temp Players [-1].Data_Sort can directly call the use function, and will automatically sort the Players Data according to the size of UID (of course you can also write a SORT by yourself).
/function euid: data/data_sortPrecautions
When the player list is too large, then Data_modify and Data_get will stop finding (the number of maximum execution instructions at the same time is 65536. If such problems occur, please increase the maximum execution instructions);
When the data_modify is executed, the content of EUID: Input will not be automatically removed.
In addition to other statements, MCMOD.CN, all open public editing content uses the BY-NC-SA 3.0 protocol.
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57
The story between humans and
2025-01-28 09:16:27
Capture "Trinity 3: Artifact
2025-01-28 09:15:27
Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27
Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27
Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26
Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25
King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25
Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24
Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23
Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23
Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22
Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22
Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22