Item Names

  • 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.

JTNCrafter

Member
Jan 6, 2018
21
1
3
Hello, I was wondering how I can do this:

if player has 1 raw mutton:

This seems simple, like I know how it works, but certain names do not work. Like this:

Works: if player has 1 light green stained glass pane:

Does not work: if player has 1 lime stained glass pane:

The thing is that the actual name is lime stained glass pane.

I got gold ore, iron ore, raw beef to work, but somethings I can't figure out.

raw mutton
raw rabbit
raw fish

Please help me figure out the name of these to put in the code.

Error looks like this: '1 raw mutton' is not an item type
 
Put the ID of the item and you will get a skript warning telling you what to use instead (at least that works for me). Optionally, you can skim through your skript aliases file and find the names.

Raw Mutton ID = 423
Raw Rabbit ID = 411
Raw Fish ID = 349

In my 1.12.2 spigot and dev34 of beksu fork, the item names are as follows:

raw_mutton
raw_rabbit
RAW_FISH
 
Hello, its been a while but. It still does not work. I am running a 1.8 Spigot Server.

IDs, they do not help for some reason.
 
Thank you Donut,

This helped with the fish problem, but not for the mutton or the rabbit problem. If anyone could help me, that would be great!
 
Still does not seem to work. Also, I am looking in the aliases file, and I see no sign of rabbit or mutton.
 
you can add it yourself or delete the file and see if it regenerates correctly
 
Status
Not open for further replies.