iSach / UltraCosmetics

Lightweight, Fun and Easy-to-Use Spigot Cosmetics plugin. (Gadgets, etc)
https://www.spigotmc.org/resources/ultra-cosmetics-halloween-update.10905/
GNU Affero General Public License v3.0
165 stars 155 forks source link

Open treasure chests in a specific place #567

Closed datatags closed 2 years ago

datatags commented 2 years ago

Describe the feature

Whenever any player opens a treasure chest, they first teleport to a specific spot defined in config.yml. It would work like the /uc treasure command, but the player would always open it at the specified coordinates instead of requiring the command to be used.

When/how would it be used?

Anytime a player opens a treasure chest.

Are there alternatives?

Currently, you can open a chest anywhere through the GUI. This is worked around by disabling treasure chests in the GUI, and using, for example, a sign that runs a command. That way you have to be within arm's reach of the sign to use it.

Additional information

I believe this is similar to how it works on Hypixel? (never done it myself)