TShock version: 4.4.0 pre-8
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/citemfor short/givecustomitem <itemid|"item name"> <"player name"> [parameters] [amount]or/gcitemfor short
hexcolororhc- Gives a custom color to an item (client side) Example of hex: 0000FF is blue
damageord- Custom damage to an item
knockbackorkb- Custom knockback
useanimationorua- 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
usetimeorut- Amount of time it takes to use
shootors- The projectile shot by an item
shootspeedorss- The speed of the projectile shot by an item
widthorw- Width of an item (client side)
heightorh- Height of an item (client side)
scaleorsc- The multiplier of an item's size when it is used (client side)
ammoora- Gives an item the ammo attribute useammo Tells when ammo an item uses useammo 0 means the weapon will not use ammo
notammona- 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