Have a region with flag console-command-on-entry minecraft:clear %username%
I use the reion for event and players should not ener the region with their "outside" stuff and all works fine, but at the same time, if their game/internet crashes - they lose all their stuff when join the server because the flag works even in this case
All of the flags with on-entry suffix are only triggered when the player walks in to the region. If they somehow trigger the command it would suggest they exited the region and then came back inside it.
Have a region with flag console-command-on-entry minecraft:clear %username% I use the reion for event and players should not ener the region with their "outside" stuff and all works fine, but at the same time, if their game/internet crashes - they lose all their stuff when join the server because the flag works even in this case