Guarmanda / LootChest

Plugin to reload chest with hologram, particles, and editing menu
GNU General Public License v3.0
9 stars 21 forks source link

Feature Idea: On respawn command #35

Closed Gabo6480 closed 1 year ago

Gabo6480 commented 2 years ago

The title is pretty self explanatory. Just adding a field to add a command that is run when the chest spawns, with some placeholders we can use to fill in the information. With this the user could use commands like DiscordSRV's /discord broadcast <text> to send a message in their discord server announcing the respawn of the chest.

Gabo6480 commented 2 years ago

Either that, or you can add a DiscordSRV integration

Gabo6480 commented 2 years ago

Or you could add a custom event for when a LootChest respawns with all the relevant information, such as the message which is going to be broadcasted. That way we can use the alerts.yml in DiscordSRV to create a custom alert in the discord chat.

Guarmanda commented 1 year ago

an event would be a better and easyer idea, yep

Guarmanda commented 1 year ago

Custom event added