Jump to content

Making an item unable to be moved or dropped


Adaxer

Recommended Posts

Greetings,

I scouted the forums in search of a way to have an item in your inventory that makes so you are unable to change position or drop the item. This item will also execute a command like the script below.

 

options:
	item: stick named "&fClick to open Menu"
	command: /menu

on first join:
	give player {@item}

on right click:
	execute console command "{@command}" if player's tool is {@item}

 

So the question here is, is there a way to make a feature that makes you unable to drop and move this item?

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