New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Naming items doesn't work #1505
Comments
|
yea, it's very uncomfortable >.< |
|
p.s. |
|
The parse issue appears to not be solved, though I'm not sure if it could also be an user error. Regardless, naming items will now work if the syntax is recognized. |
|
Hey, So I see it said it was fixed. But it seems to have gotten worse ;) It now won't even give me an item. Edit: as per my examples above, if I put the item name in quotes and parse it as an item, it will give me the named item. |
|
@ShaneBeee yeah, @Pikachu920 has told bensku about that an hour ago, thanks for reporting here though 👍 |
|
@Nicofisi You're welcome :) |
|
After 2.3-alpha4 you can name items but if you add lore same issue happens |
Can confirm, I can't spawn items with lore. Gist |
This is due to the incompatibility of skQuery with the latest version of Skript. @GiraffeCubed if you use something from skQuery that's not available in other addons please make a feature request about it here in the Skript's issue tracker, or talk about this to some addon dev - skQuery has been abandoned, unsupported and not recommended to use by pretty much everyone for quite a while. @TheLimeGlass to repeat, if you plan to keep developing your fork of skQuery, please delete the ExprLoredItemStack class altogether |
|
@RiverThrough could you please exactly describe what happens to you and with what code |
Oops sorry, I had completely forgotten the "with lore" syntax was part of skquery and not vanilla skript, the issue is not for to report then my apologies |
|
Can someone confirm that this works in vanilla Skript with no addons, please <3 |
@Nicofisi here is what I tested (no addons, fresh install of skript alpha 4) This gives me 1 diamond sword named TEST and also a diamond sword (unnamed) but the lore is correct "Lore Test" |
|
I ran in to the same problem with this. Named items work, and lored items work, but named + lored items lose their name. |
|
I'm making #1620 the primary source of discussion for the issue of item name and lore expressions not working when used together since the problem that this issue was initially addressing (the named item expression not working) seems to be resolved. |



I noticed Bensku added 1.13 to the main branch so im going to post my findings.
(Skript version 2.3-alpha1)
It appears that skript isn't parsing aliases as items properly
example:
or
Both of these just give said player a diamond sword with its default name
But if I set {_test} to a diamond sword, as text parsed as an item:
This will give the player a diamond sword with a name
Same goes for enchantments and lore.
The text was updated successfully, but these errors were encountered: