Added PerChatWordSounds: You can now play a sound when a specific word is said on chat. You can also highligh the word in the config.
Added more DebugOutput developer logs.
Added regions.yml and chatwords.yml to /pms restore command.
Added version-independent sounds: now you do not need to search sounds for each version. You can use one sound for all minecraft versions.
Added ‘Enabled’ boolean to disable the event from playing a sound and consuming memory.
Added ‘Ignore Toggle’ option to sound format – The sound will play even if the player has disabled his sounds with /pms toggle.
Added ‘Location’ option to sound format – You can choose what location should the sound be played. EYE – Player’s eye location (Changes when crouching) or DEFAULT – The default location that is around player's feet.
Added ‘Permission Listen’ option to sound format – Only players that have permission to listen to the sound will be able to hear it. If you won’t use this function, you don’t need to add it to the sound format.
Added ‘Permission Required’ option to sound format – Only players with the specified permission can reproduce the sound. If you won’t use this function, you don’t need to add it to the sound format.
Added ‘Radius’ per interval that before was only one radius to all intervals.
Added ‘Sound Position’ option to sound format – You can change the original sound location by adding blocks to right, left, up, down, front and back. If you won’t use this function, you don’t need to add it to the sound format.
Addons will now be enabled earlier, so you can change the properties of PlayMoreSounds’s startup.
BugFix: If a player used /pms restore, any other player could confirm the restoration of this player request.
BugFix: Noteblock notes was being recognized as a sound instead of a note.
BugFix: The sound was not being disabled by ‘None’.
BugFix: ‘CN’ was being recognized as an available language.
Changed Noteblock notes separator from : to ;
Changed the Sound Error Messages format to be more understandable.
Changed the sound format configuration – not messed up as the older one... I think. Now you don’t need to add every single option to the sound format, if you won’t use it, you can just remove it. Currently the removable sound options are: PermissionListen, PermissionRequired, SoundPosition.
Modified the place of some things in the default configuration.
Removed teleport particles. (Sorry)
Removed the worldsettings.yml code that was not suposed to be generated in this version.
Removed ‘None’ sound.
Sound Unregister Memory Saver rewritten.
Sounds.yml configuration is now generated by code due to events available per minecraft version.
Switched Global radius to Private radius. Now -1 will be considered to all players online and 0 to the private sound. – This was done because -1 in all plugins is considered as ‘infinite’ or ‘all’ and 0 means nothing (no radius, just the event maker can hear it and anyone else) so new people can understand easily. (It can be confusing at first but in the end we get used to it.)
The plugin was 99% rewritten and 99% optimized.
Updated spanish language file.
[API] Added getPMSConfig(), getSoundsConfig(), getCustomConfig(), getCommandsConfig(), getRegionsConfig(), getGamemodesConfig() FileConfigurations that returns you to the respective configuration (if available).
[API] Added getPostionsOf() to PlayMoreSounds api that returns the positions set to the respective sound.
[API] Added getVersionRestrictorStatus() boolean so you can check if the version restrictor is enabled or not.
[API] Added Interval object so yoy can get the options of an interval more easily.
[API] Added SoundConfig object to api so you can create sounds more easily.
[API] Added the integer final to getSoundOf(), getVolumeOf(), getPitchOf(), getRadiusOf(), isCancellableEnabled() to indicate what interval section’s thing that they want to get.
[API] Added toggleErrorMessages() to the API so addons developers can make a new type of sound without any trouble.
[API] Added toggleVersionRestrictor() void to the API – now you can disable the version check code that disables the plugin when a version is not compatible.
[API] Changed some docs lines.
[API] Changed the final of getSoundOf(), getVolumeOf(), getPitchOf(), getRadiusOf(), isCancellableEnabled() from EventName to String so can support Addons’s custom sounds that are not on the EventName enum – the EventName enum is pretty useless now but who knows in the future I add something to it.
[API] Changed the getSound() from Sound to String on ReproduceSoundEvent.
[API] Changed the old v2.3.1 code of getSoundOf(), getVolumeOf(), getPitchOf(), getRadiusOf(), isCancellableEnabled() to match the new sound format.
[API] Removed getListeners() from the ReproduceSoundEvent from API – was dumb coded.
[API] SoundAddon reloadConfig() void was actually reloading sounds.yml instead of customsounds.yml. ‘Sound player’ code rewritten again. – lighter... kind of – Now it can match to the new sound format and supports absent player events (Events that aren’t triggered by a player, like PerWorldTime event, RainStartsEvent etc.).