Skip to content

Instantly share code, notes, and snippets.

@viveleroi
Created July 14, 2020 06:57
Show Gist options
  • Save viveleroi/e178c66535875a70cd368605226eb20b to your computer and use it in GitHub Desktop.
Save viveleroi/e178c66535875a70cd368605226eb20b to your computer and use it in GitHub Desktop.
piston-use-ores {
contexts=[
"gd_claim_override=global"
]
default-value=false
description="Controls whether pistons can be used on ores (mcmmo/jobs exploit vector)."
enabled=true
permissions=[
"flag=block-break, source=minecraft:piston, target=#dhmc:ores",
"flag=block-place, source=minecraft:piston, target=#dhmc:ores",
"flag=block-break, source=minecraft:sticky_piston, target=#dhmc:ores",
"flag=block-place, source=minecraft:sticky_piston, target=#dhmc:ores"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment