ReaperKraken Posted August 4, 2023 Share Posted August 4, 2023 command /claim [<text>]: trigger: if {pos1.%player%} isn't set: set {pos1.%player%} to location of player else: set {pos2.%player%} to location of player loop blocks within {pos1.%player%} to {pos2.%player%}: add location of loop-block to {claim.%player%::*} on place: if {claim.%player%::*} doesn't contain location of event-block: send "&cYou can't place blocks outside of your claim!" on break: if {claim.%player%::*} doesn't contain location of event-block: send "&cYou can't break blocks outside of your claim!" Alr so this is my code, it works entirely fine except that you can't place chests, stairs, doors inside of your claim. There's probably more blocks that can't be placed but can anyone help me with those specifically? 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