TShock version: 4.5.17
API version: 2.1
Custom Items plugin originally by Johuan/Interverse, updated by me.
- 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.
- Put the .dll file into the ServerPlugins folder
- Grant your desired group the necessary permissions to use this plugin
- Done!
customitem
- needed to use
/citem
- needed to use
customitem.give
- needed to use
/gcitem
- needed to use
< >
indicates a parameter that must be entered for the command to work, while [ ]
indicates an optional parameter. |
means OR. You must surround your parameter (player name or item name) with " "
if it contains spaces.
/customitem <itemid|"item name"> [parameters] [amount]
or/citem
for short/givecustomitem <itemid|"item name"> <"player name"> [parameters] [amount]
or/gcitem
for short
hexcolor
orhc
- Gives a custom color to an item (client side) Example of hex: 0000FF is blue
damage
ord
- Custom damage to an item
knockback
orkb
- Custom knockback
useanimation
orua
- 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
orut
- Amount of time it takes to use
shoot
ors
- The projectile shot by an item
shootspeed
orss
- The speed of the projectile shot by an item
width
orw
- Width of an item (client side)
height
orh
- Height of an item (client side)
scale
orsc
- The multiplier of an item's size when it is used (client side)
ammo
ora
- Gives an item the ammo attribute useammo 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
Order doesn't matter when inputting parameters. You can put any parameters you need, however you want them.
- Give yourself a Chlorophyte shotbow that shoots cannonballs really fast
/customitem "chlorophyte shotbow" scale 2 damage 400 useammo 0 shoot 162 shootspeed 25 usetime 4
- Give moisterrific an ultra annoying Meowmere that does big damage
/gcitem moisterrific meowmere ut 1 d 5000