mirror of
https://github.com/darksaid98/TownyChat.git
synced 2026-12-04 06:28:57 +00:00
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:
1 parent
dea9c433f1
commit
90cddc894c
5 files changed
+135
-3
No files matched your search
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user