Solved Is there any way to use mmoitems in skript?

  • 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 comminuty!

    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.

YK_DZ

Member
Jan 14, 2022
24
0
1
24
I want to use item from plugin MMOItems in my skript, for example:
Code:
if amount of mmo item "archaeological_shovel" in player's inventory < 1:
Is there any skript addon or way can let me do this?
I think I can make a function to check item nbt to do this, but I am still thinking about how to make it.
 
I want to use item from plugin MMOItems in my skript, for example:
Code:
if amount of mmo item "archaeological_shovel" in player's inventory < 1:
Is there any skript addon or way can let me do this?
I think I can make a function to check item nbt to do this, but I am still thinking about how to make it.
They might have some kinda id in nbt

So you could maybe try
Code:
if "%nbt of player's tool%" contains "archaeological_shovel"
 
They might have some kinda id in nbt

So you could maybe try
Code:
if "%nbt of player's tool%" contains "archaeological_shovel"

Oh that is worked! Thank you for your help!
Code:
if nbt of {_item} contains "archaeological_shovel":
# NBT tag is MMOITEMS_ITEM_ID
 
Status
Not open for further replies.