Jump to content

Item Edit


Skray

Recommended Posts

I need help with 3 scripts

Command /name <text>
  permission: op
    name player's hold item <text>

Command /lore <text>
  permission: op
    lore player's hold item <text>

Command /unbreakable
  permission: op
     make player's hold item unbreakable
Link to comment
Share on other sites

command /name <text>:
	trigger:
    	set name of player's held item to arg-1
        
command /lore <text>:
	trigger:
    	set lore of player's held item to arg-1
        

I don't really know how to make the player's held item to be unbreakable but those two should work for the name and lore. However it is still untested.

  • Thanks 1

Hello! I'm SoloStrafe!
 

Skills:

Skript (4+ years experience)

Most of the plugins on MH

Servers:

- Westmine (Developer)

- Mineport (Admin)

Minehut:

Untitled.png.395f912cec0139eaf122fc8874f57045.png

I got VIP rank on 8/1/2019 -> Current

Link to comment
Share on other sites

8 hours ago, SoloStrafe said:

command /name <text>:
	trigger:
    	set name of player's held item to arg-1
        
command /lore <text>:
	trigger:
    	set lore of player's held item to arg-1
        

I don't really know how to make the player's held item to be unbreakable but those two should work for the name and lore. However it is still untested.

Do you think this would work? Also does the other commands only work for items, or do they work for tools too?

Command /unbreakable:
  add unbreakable to player's held item

 

Link to comment
Share on other sites

21 hours ago, SoloStrafe said:

command /name <text>:
	trigger:
    	set name of player's held item to arg-1
        
command /lore <text>:
	trigger:
    	set lore of player's held item to arg-1
        

I don't really know how to make the player's held item to be unbreakable but those two should work for the name and lore. However it is still untested.

Can I make it work with colors?

Link to comment
Share on other sites

Here is the unbreakable skript.

command /unbreakable:
	permission: unbreakable
	permission message: No
	trigger:
		if player's held item is not air:
			add "{Unbreakable:1b}" to nbt of player's held item
		else:
			message "&cYou must hold something in order to do this!"

 

Hello, I'm Nolan!


Cool Links

Vote Please - bit.ly/3tMXajE

MC Server - bit.ly/3hqYAOy


Please leave a like if I helped!


 

 

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...