Jump to content

Item Renaming Skript


skFox

Recommended Posts

Hello! Is it possible to make a skript that would work like /[command] and it automatically sets an item name to [formatting] [item_name]

I'm making a server with custom trades, but it'll take around an hour to finish everything, so i'm wondering if there is a way to have a command that can be edited so i can make different tiers easier. my idea is a command that would set the item name to 

&2&l[&6<Tier Number>&2&l] &6 <item name>

So the command would be /tier1, etc. or something, and it would set the item's name (for example, a diamond sword) to 

&2&l[&6Tier One&2&l] &6 Diamond Sword

If you can make this, please respond! If you think it isn't possible please let me know.

Hello. I'm Generic. My IGN is popularkid. I know its silly. 

⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸

Pronouns: He/Him

⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸

Discord: Generic Username#2861

⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸

Joined Minehut  ◄«◊»►  10/13/2019 ◄«◊»►

⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸

Default◅ | 10/13/2019 - Current Time

 

 

Link to comment
Share on other sites

  • 2 weeks later...

HI! I have a solution for your problem, it is definitely possible and really easy to make, so here is a Item Editor Skript for you to use that would be like that except you would have to write it in instead of being able to use one command for a specific name and you will need to type /ie name (itemname), color codes are supported so without further ado here you go 😄

command /ie <text> [<text>]:
   aliases: /itemeditor
   permission: itemeditor.sk
   permission message: &cInsufficient Perms
   trigger:
      if arg-1 is "name":
         set name of player's held item to colored arg 2
      if arg-1 is "lore":
         set lore of player's held item to colored arg 2
      if arg-1 is "clearenchants":
         disenchant player's tool

 

Edited by ButterflyBullets

-----------------------

Skript - 8 months

Minecraft - 8 years                         No Bitches?

-----------------------

Link to comment
Share on other sites

  • 3 weeks later...
On 11/1/2021 at 7:44 PM, ButterflyBullets said:

HI! I have a solution for your problem, it is definitely possible and really easy to make, so here is a Item Editor Skript for you to use that would be like that except you would have to write it in instead of being able to use one command for a specific name and you will need to type /ie name (itemname), color codes are supported so without further ado here you go 😄

command /ie <text> [<text>]:
   aliases: /itemeditor
   permission: itemeditor.sk
   permission message: &cInsufficient Perms
   trigger:
      if arg-1 is "name":
         set name of player's held item to colored arg 2
      if arg-1 is "lore":
         set lore of player's held item to colored arg 2
      if arg-1 is "clearenchants":
         disenchant player's tool

 

oh, thanks! i didnt see you replied, lol.

thanks so much!!

  • Like 1

Hello. I'm Generic. My IGN is popularkid. I know its silly. 

⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸

Pronouns: He/Him

⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸

Discord: Generic Username#2861

⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸

Joined Minehut  ◄«◊»►  10/13/2019 ◄«◊»►

⫷⨽⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⩶⨼⫸

Default◅ | 10/13/2019 - Current Time

 

 

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