The result from documentation is for Minecraft, while for a Rust server it looks differently.
{
"commands": [
{
"id": 1,
"command": "give {name} TNT",
"payment": 123,
"package": 123,
"conditions": {
"delay": 0,
"slots": 0
}
},
{
"id": 2,
"command": "give {name} DIRT",
"payment": 123,
"package": 123,
"conditions": {
"delay": 0,
"slots": 0
}
},
{
"id": 3,
"command": "give {name} STONE",
"payment": 123,
"package": 123,
"conditions": {
"delay": 0,
"slots": 0
}
}
]
}
{
"player": {
"id": "76561198329013959",
"username": "GabyTM",
"meta": {
"avatar": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/5e/5e0379f3c6ed827c29dbcb66f81870f3530832bf.jpg",
"avatarfull": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/5e/5e0379f3c6ed827c29dbcb66f81870f3530832bf_full.jpg",
"steamID": "STEAM_0:1:184374115"
}
},
"commands": []
}
The result from documentation is for Minecraft, while for a Rust server it looks differently.
{ "commands": [ { "id": 1, "command": "give {name} TNT", "payment": 123, "package": 123, "conditions": { "delay": 0, "slots": 0 } }, { "id": 2, "command": "give {name} DIRT", "payment": 123, "package": 123, "conditions": { "delay": 0, "slots": 0 } }, { "id": 3, "command": "give {name} STONE", "payment": 123, "package": 123, "conditions": { "delay": 0, "slots": 0 } } ] }{ "player": { "id": "76561198329013959", "username": "GabyTM", "meta": { "avatar": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/5e/5e0379f3c6ed827c29dbcb66f81870f3530832bf.jpg", "avatarfull": "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/5e/5e0379f3c6ed827c29dbcb66f81870f3530832bf_full.jpg", "steamID": "STEAM_0:1:184374115" } }, "commands": [] }