Skip to content

Allows you to spawn an item with custom attributes These items will reset when you drop it, store the item in a chest or other container, or leave the server, so you cannot transfer it to another person.

Notifications You must be signed in to change notification settings

Maxthegreat99/CustomItems

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

CustomItems

Allows you to spawn an item with custom attributes These items will reset when you drop it, store the item in a chest or other container, or leave the server, so you cannot transfer it to another person.

  • Originally made by Interverse.
  • Updated to TShock 4.5.5 by comdar16.
  • Updated to TShock 5.0 by RenderBr.
  • Fixed gcitem cmd and ported to TShock 5.2 by me.

Command:

/customitem <itemid/itemname> <parameters> <#>
/citem for short.

/givecustomitem <playername> <itemid/itemname> <parameters> <#>
/gcitem for short.

Parameters:
hexcolor (hc) - Gives a custom color to an item (client side), Example of hex: 0000FF is blue.

damage (d) - Custom damage to an item.

knockback (kb) - Custom knockback.

useanimation (ua) - Amount of time an item will linger when a player uses it, Use with usetime so when an item has finished firing, the animation will finish at the same time.

usetime (ut) - Amount of time it takes to use.

shoot (s) - The projectile shot by an item.

shootspeed (ss) - The speed of the projectile shot by an item.

width (w) - Width of an item (client side).

height (h) - Height of an item (client side).

scale (sc) - The multiplier of an item's size when it is used (client side).

ammo (a) - Gives an item the ammo attribute.

useammo (uam) - Tells when ammo an item uses, useammo 0 means the weapon will not use ammo.

notammo (na) - Tells whether an item is not an ammo, Either true or false.

stack (st) - Determines how many of that item you should be given.

Order doesn't matter when inputting parameters. You can put any parameters you need, however you want them.

Permissions:
customitem,
customitem.give

About

Allows you to spawn an item with custom attributes These items will reset when you drop it, store the item in a chest or other container, or leave the server, so you cannot transfer it to another person.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%