Set name of chest

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

Donut

Well-Known Member
Mar 27, 2017
1,336
177
0
U.S.
Is there a way to set the name of a chest?

I've tried this but it does not change the name:
Code:
set the block at {location} to a chest named "hi"
 
Last edited:
What do you mean by "set the name of a chest"? If you want set the inventory name of the chest you can do the following with skQuery:
code_language.skript:
set inventory name of block at {location}'s inventory to "hi"
Or if you're using the Bensku's fork you can do:
code_language.skript:
set display name of block at {location}'s inventory to "hi"
Either way will work.
 
Status
Not open for further replies.