Addons:
Now you can add your custom content, your own events, your own bugfixes, your compatibilities with other plugins, to PlayMoreSounds using addons! Soon I'll be opening a forum to people that want to share their own addons post them there.
The old internal boring compatibilities were removed, but soon I'll be adding them back with the new neat addons system.
Multiple sounds per event:
The sounds configuration it is all rewritten and now it has a new format:
If you wanted to play 2 or more sounds at the same time you would use something like:
Code (YAML):
ArrowHit:
Cancellable
: true
Radius
: -1
Sound
:
- 'Sound=ENTITY_EXPERIENCE_ORB_PICKUP;Interval=0;Volume=10;Pitch=1'
- 'Sound=BLOCK_NOTE_PLING;Interval=0;Volume=10;Pitch=1'
And if you want to play more than 2 sounds just copy the format and paste below how many times you want.
Interval:
The interval format allows you to wait a time/interval before playing the sound.
If you wanted to play 2 sounds on an event with 1 second of interval between them, your would use something like:
(Intervals are measured in ticks then 20 ticks = 1 second.)
Code (YAML):
ArrowHit:
Cancellable
: true
Radius
: -1
Sound
:
- 'Sound=ENTITY_EXPERIENCE_ORB_PICKUP;Interval=0;Volume=10;Pitch=1'
- 'Sound=ENTITY_EXPERIENCE_ORB_PICKUP;Interval=20;Volume=10;Pitch=1'
And if you want to play more than 2 sounds with different intervals just copy the format and paste below how many times you want. You can even play 2 sounds at the same time and one at 10 ticks after, just use the format.
Regions:
Now you can select an area and play a chosen sound when you enter/leave this region. In the future I want to add loop sounds to play when you are inside these regions.
Region commands:
/pms region: Shows the region command syntax.
/pms region create <name>: Creates a region based on your selection.
/pms region delete <region>: Deletes an existing region.
/pms region rename <region> <new name>: Renames a region.
/pms region set <p1¦p2> [<x> <y> <z>]: Set the selection positions using commands.
/pms region wand: Gives you the selection item.