I am new to scripting, so I don't know what to do here, I have a plugin of lootboxes, and I am trying to make a script that when executed the command, it sends a loot box to everyone on the server, but it only sends to me.
Code:
command /caixaall:
permission: supreme.caixaall
permission message: {@nopermission}
trigger:
loop all players:
make console execute command "/darcaixa %player% Basica 1"
message "Sent!"