Jump to content
  • 0

How to add ETC item to server


Question

Posted (edited)

Hello again, i need someone to guide me on how can i add etc item to my server as custom etc item (not weapons, armor, garment,) just etc item like a medal something like that.

thanks !

 

how should i add it in item_db_etc.yml, iteminfo.lua and what else i need to edit?

where can i edit using offcial sprites and where should i put my custom item sprites ?

Edited by Dolphin86

2 answers to this question

Recommended Posts

  • 1
Posted (edited)

You need to declare your unique item number. Let's based it on your medal thingy. 

  - Id: 30000
    AegisName: Medal_Thingy
    Name: Medal Thingy
    Type: Etc
    Buy: 100000
    Weight: 400

Put this into your import folder. In this way you wont have to touch the original item_db_etc.yml. Once done go to your server and type @reload item. You may now @item 30000 to generate your Medal Thingy.

You will be getting an Unknown Item(apple) since its not yet on your iteminfo.lua.


You may put this in your iteminfo (Client/System/iteminfo.lub/lua

	[30000] = {
		unidentifiedDisplayName = "Medal Thingy",
		unidentifiedResourceName = "Æ÷ÀåÁö",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Medal Thingy",
		identifiedResourceName = "Æ÷ÀåÁö",
		identifiedDescriptionName = {
			"A custom Medal",
			"^FFFFFF_^000000",
			"Weight:^009900 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false
	},

That's it!

Restart your client.

P.S the Æ÷ÀåÁö is taken from the item # 7175 which uses the pic below
image.png.a643826baf487308568c209ab1e1ebc2.png

Edited by Gidz Cross
Typos
  • Upvote 2
  • Like 1
  • 0
Posted
On 10/11/2023 at 3:36 AM, Gidz Cross said:

You need to declare your unique item number. Let's based it on your medal thingy. 

  - Id: 30000
    AegisName: Medal_Thingy
    Name: Medal Thingy
    Type: Etc
    Buy: 100000
    Weight: 400

Put this into your import folder. In this way you wont have to touch the original item_db_etc.yml. Once done go to your server and type @reload item. You may now @item 30000 to generate your Medal Thingy.

You will be getting an Unknown Item(apple) since its not yet on your iteminfo.lua.


You may put this in your iteminfo (Client/System/iteminfo.lub/lua

	[30000] = {
		unidentifiedDisplayName = "Medal Thingy",
		unidentifiedResourceName = "Æ÷ÀåÁö",
		unidentifiedDescriptionName = { "..." },
		identifiedDisplayName = "Medal Thingy",
		identifiedResourceName = "Æ÷ÀåÁö",
		identifiedDescriptionName = {
			"A custom Medal",
			"^FFFFFF_^000000",
			"Weight:^009900 1^000000"
		},
		slotCount = 0,
		ClassNum = 0,
		costume = false
	},

That's it!

Restart your client.

P.S the Æ÷ÀåÁö is taken from the item # 7175 which uses the pic below
image.png.a643826baf487308568c209ab1e1ebc2.png

Hey thanks for this guide. I wonder how do u get " Æ÷ÀåÁö " from that pic in screenshot you gave above ?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...