Implemented sounds for channels and toggling (#34)

* Cleaned up diff

* Documentation on how to add a sound to a channel

* Added missing null check before trying to play a sound

* Warn when invalid sound is being used

* Set channel sound to null if invalid

* Only run if channel sound not null

* Implemented suggested changes

* One more change
This commit is contained in:
Glare authored and GitHub committed 2021-11-18 14:28:30 -06:00
1 parent dea9c433f1
commit 90cddc894c
5 files changed
+135 -3

No files matched your search

+5
View File
@@ -31,6 +31,11 @@
# DarkPurple = &9, LightGreen = &a, LightBlue = &b
# Rose = &c, LightPurple = &d, Yellow = &e, White = &f
# Sounds
# ------
# Each channel can have a sound by adding sound: SOUND_TO_USE
# Sounds can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
Channels:
general:
commands: [g]