SupremeDarty Posted August 7, 2021 Share Posted August 7, 2021 options: prefix: &b&LOPDuprs blacklist: command block and bedrock and repeating command block and debug stick and player head and wither skeleton skull command /dupe [<number>]: trigger: set {_item} to player's tool if {@blacklist} does not contain {_item}: if inventory of {_item} is set: loop items in inventory of {_item}: if {@blacklist} contains {_item}: set {_shulkerblock} to true if {_shulkerblock} is not set: if {_item} is not air: set {_number} to min((arg-1 ? 1), 6) loop {_number} times: give player {_item} else: send "{@prefix} &3| You cannot dupe air, silly!" else: send "{@prefix} &3| Your shulker box has a blocked item!" else: send "{@prefix} &3| You cannot dupe that item!" the option blacklist doesnt count for shulkers, is there a way you can? ignore {_shulkerblock} stuff that doesnt work Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now