Solved On item receive?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Brennon

Member
Apr 2, 2022
4
1
3
is there an event for when a player receives an item? Example, when a player receive a piece of stone from essentials /give command, it triggers an event.

The purpose, I want custom lores on spawners given from silkspawners /silkspawner give command. So I'm looking for some kind of event like
"on item receive:"

Thanks in advance.
 
If you are looking to set the lore of an item that has been already spawned, you can set the lore of that item itself instead of setting it when a player receives it (as there is no event like the one you are describing). However, you could also check all player's inventory every second and if they have the item you are looking for, you can remove that and replace it with the custom lore one.

(PS: It is possible to have an item with custom lores using skript)
 
Status
Not open for further replies.