Jump to content

How do i make an override?


Recommended Posts

You can use something like this (edit: fix the indentation, should be easy):

on break of <block type>:
    if player does not have permission "your.permission":
  		cancel event
  		message "&cYou cannot break this block."
  	
Edited by PrecedingMC

Preceding

Java & Kotlin Developer

image.png.a5242eed42a556669fac09e7187b61f1.png

image.png.022cd7123062b55fd91704851cb1f0b6.png

image.png.e5d23aba33b366e60a9276736c674901.png

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...