Mechanic

giveitem

Gives the target an item or droptable

Aliases

givegiveitemsitemgive

Configuration Fields (2)

NameTypeDefaultDescription
items
item, i
DropTableThe item(s) or droptable to give
doFakeLooting
fl, fakelooting
booleanfalseWhether to play the pickup animation from the origin

Examples & Notes

Examples

  Skills:
  - giveitem{i=diamond_sword} @PIR{r=20} ~onSpawn
  - ...

The below example would give the players 6 cookies.

  Skills:
  - giveitem{i=cookie 6} @PIR{r=20} ~onSpawn
  - ...

Universal Mechanic Options

Author:
Ashijin
Community-maintained documentation for the Mythic plugin ecosystem.