options:
# Permissions
blacklist-permission: xay.blacklist
prefix: [&dDupeSteal&f]
# Messages
permission-message: &cInsufficient Permissions
dupe-message: [&dDupeSteal&f] &7Duped your hand.
inventory-full: [&dDupeSteal&f] &7You do not have enough inventory space.
blacklist-add: [&dDupeSteal&f] &7Added to Blacklist.
blacklist-remove: [&dDupeSteal&f] &7Removed from Blacklist.
# Other
world: world
cooldown: 0 seconds
command /dupe [<number>]:
trigger:
if {blacklisted.items::*} contains type of tool:
send "[&dDupeSteal&f] &3| &3You cannot dupe that item!"
stop
else:
if arg-1 is not set:
add player's tool to player's inventory
stop
else:
if arg-1 is less than 2:
add player's tool to player's inventory
stop
else:
if arg-1 is more than 5:
loop 6 times:
add player's tool to player's inventory
stop
else:
loop arg-1 times:
add player's tool to player's inventory
command /blacklist <text="add">:
trigger:
if player doesn't have permission "{@blacklist-permission}":
send "{@permission-message}" to player
stop
if arg-1 = "add":
add type of player's tool to {blacklisted.items::*}
send "{@blacklist-add}" to player
else if arg-1 = "remove":
remove type of player's tool from {blacklisted.items::*}
send "{@blacklist-remove}" to player
How do I make it so I use the {blacklisted.items::*} and make it search the shulker box for items in "{blacklisted.items::*}" and cancel the dupe command if it detects any
# Permissions
blacklist-permission: xay.blacklist
prefix: [&dDupeSteal&f]
# Messages
permission-message: &cInsufficient Permissions
dupe-message: [&dDupeSteal&f] &7Duped your hand.
inventory-full: [&dDupeSteal&f] &7You do not have enough inventory space.
blacklist-add: [&dDupeSteal&f] &7Added to Blacklist.
blacklist-remove: [&dDupeSteal&f] &7Removed from Blacklist.
# Other
world: world
cooldown: 0 seconds
command /dupe [<number>]:
trigger:
if {blacklisted.items::*} contains type of tool:
send "[&dDupeSteal&f] &3| &3You cannot dupe that item!"
stop
else:
if arg-1 is not set:
add player's tool to player's inventory
stop
else:
if arg-1 is less than 2:
add player's tool to player's inventory
stop
else:
if arg-1 is more than 5:
loop 6 times:
add player's tool to player's inventory
stop
else:
loop arg-1 times:
add player's tool to player's inventory
command /blacklist <text="add">:
trigger:
if player doesn't have permission "{@blacklist-permission}":
send "{@permission-message}" to player
stop
if arg-1 = "add":
add type of player's tool to {blacklisted.items::*}
send "{@blacklist-add}" to player
else if arg-1 = "remove":
remove type of player's tool from {blacklisted.items::*}
send "{@blacklist-remove}" to player
How do I make it so I use the {blacklisted.items::*} and make it search the shulker box for items in "{blacklisted.items::*}" and cancel the dupe command if it detects any