J'ai fait un Skript pour évoluer ton enderchest, mais quand j'essai d'ouvrir mon ec avec la command /ec ou /enderchest, ça me dit:
An internal error as occured while attempting to perform this command.
Et quand je clique sur un enderchest normal, ça ne fait absolument rien
Merci d'avance pour votre temps et votre aide :)!
Voici mon skript:
on inventory close:
if {container::current::%player%} is set:
if "%event-inventory%" is "inventory of <none>":
set {container::%{container::current::%player%}%::%player%} to event-inventory's serialized contents
clear {container::current::%player%}
command /ec:
permission: enderchest.open
permission message: &cYou don't have permission to use this command
trigger:
if {ec.%player%} is not set:
set {ec.%player%} to true
if {ec.%player%} is true:
set {_inv} to chest with 3 rows named "&5EnderChest &8- &5Lvl 1 &7(&5Default&7)"
if {ec.%player%} is false:
set {_inv} to chest with 4 rows named "&5EnderChest &8- &5Lvl 2"
if {ec.%player%} is now:
set {_inv} to chest with 5 rows named "&6EnderChest &8- &5Lvl 3 &7(&5Max&7)"
if {container::Test::%player%} is set:
set {_inv}'s serialized contents to {container::Test::%player%}
open {_inv} to player
set {container::current::%player%} to "Test"
command /enderchest:
permission: enderchest.open
permission message: &cYou don't have permission to use this command
trigger:
if {ec.%player%} is not set:
set {ec.%player%} to true
if {ec.%player%} is true:
set {_inv} to chest with 3 rows named "&5EnderChest &8- &5Lvl 1 &7(&5Default&7)"
if {ec.%player%} is false:
set {_inv} to chest with 4 rows named "&5EnderChest &8- &5Lvl 2"
if {ec.%player%} is now:
set {_inv} to chest with 5 rows named "&6EnderChest &8- &5Lvl 3 &7(&5Max&7)"
if {container::Test::%player%} is set:
set {_inv}'s serialized contents to {container::Test::%player%}
open {_inv} to player
set {container::current::%player%} to "Test"
on rightclick:
targeted block is ender chest:
cancel event
if {ec.%player%} is not set:
set {ec.%player%} to true
if {ec.%player%} is true:
set {_inv} to chest with 3 rows named "&5EnderChest &8- &5Lvl 1 &7(&5Default&7)"
if {ec.%player%} is false:
set {_inv} to chest with 4 rows named "&5EnderChest &8- &5Lvl 2"
if {ec.%player%} is now:
set {_inv} to chest with 5 rows named "&6EnderChest &8- &5Lvl 3 &7(&5Max&7)"
if {container::Test::%player%} is set:
set {_inv}'s serialized contents to {container::Test::%player%}
open {_inv} to player
set {container::current::%player%} to "Test"
command /ecup:
trigger:
if {ec.%player%} is not set:
set {ec.%player%} to true
if {ec.%player%} is true:
if balance of player is greater than or equal to 25:
make console execute command "/eco take %player% 25"
set {ec.%player%} to false
if {ec.%player%} is false:
if balance of player is greater than or equal to 50:
make console execute command "/eco take %player% 50"
set {ec.%player%} to now
wait 1 tick
if {ec.%player%} is now:
if balance of player is greater than or equal to 100:
make console execute command "/eco take %player% 100"
on command "/ecup":
if {ec.%player%} is now:
cancel event
send "&cYour enderchest lvl is already maxed out."
Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.
Question
WilliamEzzz
Bonjour!
J'ai fait un Skript pour évoluer ton enderchest, mais quand j'essai d'ouvrir mon ec avec la command /ec ou /enderchest, ça me dit:
An internal error as occured while attempting to perform this command.
Et quand je clique sur un enderchest normal, ça ne fait absolument rien
Merci d'avance pour votre temps et votre aide :)!
Voici mon skript:
10 réponses à cette question
Messages recommandés