Jump to content

(ADVANCED) togglable skript that stops crafting (with a message)


xp69

Recommended Posts

# skript made by xp69. please give credit if using. thanks! : )
options:
    Enabled: #put true or false. true= enabled false= disabled.

on craft: 
    if {@Enabled} is true:
        cancel the event
        
    send "&cYou Aren't Allowed to Craft!" # you can change or delete this text. this is the text that appears if they try to craft.
    
    play sound "BLOCK_ANVIL_LAND" at volume 2 at pitch 1 to player
# you can change the pitch and volume.

Edited by xp69
made it toggleable
Link to comment
Share on other sites

  • xp69 changed the title to (ADVANCED) togglable skript that stops crafting (with a message)
  • 1 month later...

This can be made a lot more simple 

on craft:
    if player's gamemode is survival:
    cancel event
    play sound "BLOCK_ANVIL_LAND" at volume 2 at pitch 1 to player
    send "&cYou Aren't Allowed to Craft!"

Edit: its not very advanced and I dont need credit for this

Edited by Lamborghini26
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...