on inventory close:
if {don.open.%player%} is set:
set {don.contain} to event-inventory's serialized contents
delete {don.open.%player%}
delete {don.inuse}
command /don:
trigger:
if player's gamemode is survival:
if {don.inuse} is not set:
set {don.inuse} to player
set {_inv} to chest with 6 rows named "Don"
if {don.contain} is set:
set {_inv}'s serialized contents to {don.contain}
open {_inv} to player
set {don.open.%player%} to true
else:
send "&cL'interface de don est déjà ouvert par %{don.inuse}%"
every hour:
delete {don.contain}
Pour les 4 slots par personne c'est impossible...