PlayMoreSounds 2.3.1

Play sounds in certain events like die, join, quit, teleport...

  1. Epicnicity2016
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    PMSLogo1.png

    The plugin play some sounds to any player doing some event, such as chatting, dying, joining, leaving, teleporting, achievement get etc

    Check the sounds available in your version:

    ======================================================================
    Supported events
    ======================================================================​
    1- Red - Disabled in configuration.
    2- Blue - Compatibility dependent sounds.
    3- Green - Enabled in configuration.
    4- Yellow - Supports other plugins.

    • Death
    • Join
    • Leave
    • Change Afk Status - Depends on Essentials away
    • Chat - Supports Legendchat and UltimateChat
    • Teleport - Supports VanishNoPacket and EssentialsVanish
    • BedEnter
    • BedLeave
    • Change Hotbar
    • Hand Hit
    • Sword Hit
    • Arrow Hit
    • RegionEnter - Depends on RedProtect/WorldGuard
    • RegionLeave- Depends on RedProtect/WorldGuard
    • Command
    • Inventory Click
    • Gamemode Change
    • Item Drop
    • Achievement
    • Furnace Extract
    • Advancement Done
    • JobsJoin - Depends on JobsReborn
    • JobsLeave - Depends on JobsReborn
    • Change EXP level
    If you do not want the sound of the event to play, change it to NONE


    ======================================================================
    Commands
    ======================================================================​
    Aliases: /pms, /pmoresounds, /sounds.

    /playmoresounds - Shows the plugin description.
    /playmoresounds reload - Reloads the plugin configuration.
    /playmoresounds help - Shows the plugin help.
    /playmoresounds sounds - Check if the sounds its enabled.
    /playmoresounds toggle - Toggle the sounds to on/off.
    /playmoresounds play - Plays Sound test command.
    /playmoresounds list - Lists compatible sounds or noteblock instruments.
    /playmoresounds restore - Restore a configuration.
    /playmoresounds confirm - Confirm something.
    /playmoresounds update - Check for updates.


    ======================================================================
    Configuration
    ======================================================================​
    You can change the sounds, pitch and volume that the player makes to each event.

    Config.yml:
    Code (Text):
    # Checks for updates.
    CheckForUpdates: true

    # Auto-Update the plugin when you check for updates on command "/pms update".
    CommandAutoUpdate: true

    # If you have an outdated configuration, the plugin will ask you to restore it.
    # (If is disabled, the plugin automatically restore your outdated configs)
    ConfirmOutdatedFileRestoration: false

    # Shows debug messages to console.
    # (If you set as "developer", this will log and spam your console with all debugging tests)
    DebugOutput: false

    # EasterEggs depending on the date that the plugin runs.
    EnableEasterEggs: true

    # If a player has disabled his sounds and relogged, the sounds will be enabled.
    EnableSoundsAfterRelog: false

    # Shows the help page based on player's permissions.
    HelpBasedOnPermissions: true

    Hooks:
      Essentials: true
      Jobs: true
      Legendchat: true
      RedProtect: true
      UltimateChat: true
      VanishNoPacket: true
      WorldGuard: true

    # The language of the commands [en, br, es, cn].
    Localization: en

    # The sounds that players near to each other can hear.
    NearestSounds:
      HideOn:
        GamemodeSpectator: true
        InvisibilityEffect: true
        Vanish: true

    # Particles that will spawn when a player makes an event.
    Particles:
      Teleport:
        Enabled: true
        HideOn:
          GamemodeSpectator: true
          InvisibilityEffect: true
          Vanish: true

    # Enable the configuration "commands.yml" to play a different sound to each command.
    PerCommandSounds:
      Enabled: true

    # Enable the configuration "gamemodes.yml" to play a different sound to each gamemode.
    PerGamemodeSounds:
      Enabled: true

    # The volume and pitch that will be set if the player don't specify when the command "/pms play" is sent.
    PlayCommandDefaultPitch: 1
    PlayCommandDefaultVolume: 10

    # The sound that will play when the config is reloaded.
    ReloadCommand:
      Sound: NOTE_PLING
      Volume: 10
      Pitch: 1

    # The sounds that will play when a player change his toggle-sounds status.
    ToggleCommand:
      # Time in seconds of how long you should wait to toggle sounds again.
      Cooldown: 35s #h = hour, m = minute, s = seconds.
      ToggleSounds:
        ToggleEnabled:
          Sound: NOTE_PLING
          Volume: 10
          Pitch: 2
        ToggleDisabled:
          Sound: NOTE_BASS
          Volume: 10
          Pitch: 1

    # Check for updates every X minutes.
    # If you disable "LogToConsole" the plugin will just inform you when an update is available.
    UpdateScheduler:
      Enabled: true
      # Time in minutes of how long the plugin will check for updates again.
      Interval: 10m #h = hour, m = minute, s = seconds.
      LogToConsole: true

    # Uses hard memory-consuming methods to automatic update the server information.
    UseHardMethods: true

    # The worlds that will not play any sounds (BETA).
    World-BlackList:
    - 'example1'
    - 'example2'

    Sounds.yml:

    You can change the sound of every event, or if you want, a noteblock note.
    Code (Text):
    # Normal sound tutorial:
    #  ChangeHotbar: = The event.
    #    Cancellable: true = If another plugin has cancelled the event, the sound will not play.
    #    Sound: BLOCK_NOTE_PLING = The sound that you want to play when a change his hotbar slot.
    #    Volume: 10 = The size of blocks that the sound can be heard.
    #    Pitch: 0.4 = The pitch of the sound.

    # Noteblock notes tutorial:
    #  ChangeHotbar: = The event.
    #    Cancellable: true = If another plugin has cancelled the event, the sound will not play.
    #    Sound: Note.INSTRUMENT;NOTE = Replace INSTRUMENT to the instrument of noteblock that you want and NOTE to the note that will be played.

    # Radius tutorial:
    #  If you set the 'Radius' configuration, the plugin will play the sounds to the players that are in this distance. For example:
    #  PlayerDeath:
    #    Radius: -1 = Only the event maker will listen to the sound.
    #  PlayerChat:
    #    Radius: 0 = All players allowed to hear PlayerChat in the server will listen to this sound.
    #  PlayerTeleport:
    #    Radius: 10 = All players allowed to hear PlayerTeleport in this distance from event maker will listen to this sound.

    #When the player change his AFK status
    AFKToggle:
      Radius: 0
      Cancellable: true
      Sound: BLOCK_WOOD_BUTTON_CLICK_ON
      Volume: 10
      Pitch: 1

    #When the player shoot a mob with an arrow
    ArrowHit:
      Radius: -1
      Cancellable: true
      Sound: ENTITY_EXPERIENCE_ORB_PICKUP
      Volume: 10
      Pitch: 1

    #When the player lies on his bed
    BedEnter:
      Radius: 10
      Cancellable: true
      Sound: ENTITY_VILLAGER_AMBIENT
      Volume: 1
      Pitch: 0.6

    #When the player leave his bed
    BedLeave:
      Radius: -1
      Sound: NONE
      Volume: 1
      Pitch: 1

    #When the player change his hotbar slot
    ChangeHotbar:
      Cancellable: false
      Radius: -1
      Sound: BLOCK_NOTE_HAT
      Volume: 10
      Pitch: 2

    #When the player change his level of experience
    ChangeLevel:
      Radius: -1
      Sound: ENTITY_PLAYER_LEVELUP
      Volume: 0.6
      Pitch: 2

    #When the player craft something
    CraftingExtract:
      Radius: -1
      Sound: ENTITY_PLAYER_LEVELUP
      Volume: 10
      Pitch: 1

    #When the player extracts something from the furnace
    FurnaceExtract:
      Radius: 15
      Sound: ENTITY_GENERIC_EXTINGUISH_FIRE
      Volume: 1
      Pitch: 1

    #When the player change his game mode
    GamemodeChange:
      Cancellable: false
      Radius: -1
      Sound: BLOCK_ANVIL_PLACE
      Volume: 10
      Pitch: 1

    #When the player hit a mob
    HandHit:
      Cancellable: true
      Radius: 12
      Sound: ENTITY_PLAYER_HURT
      Volume: 1
      Pitch: 2

    #When the player clicks on his inventory
    InventoryClick:
      Cancellable: false
      Radius: -1
      Sound: UI_BUTTON_CLICK
      Volume: 0.4
      Pitch: 1

    #When the player join a job
    JobsJoin:
      Cancellable: true
      Radius: -1
      Sound: UI_BUTTON_CLICK
      Volume: 10
      Pitch: 2

    #When the player leave a job
    JobsLeave:
      Cancellable: true
      Radius: -1
      Sound: UI_BUTTON_CLICK
      Volume: 10
      Pitch: 0.85

    #When the player join to the server
    JoinServer:
      Radius: 0
      Sound: BLOCK_NOTE_PLING
      Volume: 10
      Pitch: 1

    #When the player leave the server
    LeaveServer:
      Radius: 0
      Sound: BLOCK_NOTE_BASS
      Volume: 10
      Pitch: 1

    #When the player get an achievement (Below MC 1.12)
    PlayerAchievement:
      Cancellable: true
      Radius: -1
      Sound: ENTITY_PLAYER_LEVELUP
      Volume: 10
      Pitch: 1

    #When the player makes an advancement (Above MC 1.11.2)
    PlayerAdvancementDone:
      Radius: -1
      Sound: ENTITY_PLAYER_LEVELUP
      Volume: 10
      Pitch: 1

    #When the player sends messages on chat
    PlayerChat:
      Cancellable: true
      Radius: 0
      Sound: ENTITY_ITEM_PICKUP
      Volume: 0.5
      Pitch: 1

    #When the player sends a command
    PlayerCommand:
      Cancellable: true
      Radius: -1
      Sound: ENTITY_ITEM_PICKUP
      Volume: 10
      Pitch: 1

    #When the player dies
    PlayerDeath:
      Radius: -1
      Sound: ENTITY_WITHER_SPAWN
      Volume: 10
      Pitch: 1

    #When the player drops an item
    PlayerDrop:
      Cancellable: true
      Radius: 12
      Sound: ENTITY_EGG_THROW
      Volume: 0.5
      Pitch: 1

    #When the player start flying
    PlayerFlight:
      Cancellable: true
      Radius: 8
      Sound: BLOCK_PISTON_EXTEND
      Volume: 0.2
      Pitch: 1

    #When the player stop flying
    PlayerFlightStop:
      Cancellable: true
      Radius: 8
      Sound: BLOCK_PISTON_CONTRACT
      Volume: 0.2
      Pitch: 1

    #When the player teleports
    PlayerTeleport:
      Cancellable: true
      Radius: 16
      Sound: ENTITY_ENDERMEN_TELEPORT
      Volume: 1
      Pitch: 1

    #When the player enter a WorldGuard/RedProtect region.
    RegionEnter:
      Cancellable: true
      Radius: -1
      Sound: ENTITY_EXPERIENCE_ORB_PICKUP
      Volume: 10
      Pitch: 1

    #When the player leave a WorldGuard/RedProtect region.
    RegionLeave:
      Cancellable: true
      Radius: -1
      Sound: ENTITY_EXPERIENCE_ORB_PICKUP
      Volume: 10
      Pitch: 1

    #When the player hit a mob with a sword.
    SwordHit:
      Cancellable: true
      Radius: 12
      Sound: ENTITY_PLAYER_HURT
      Volume: 1
      Pitch: 1
    Gamemodes.yml:
    Code (Text):
    #You can add gamemodes to this file and set the sound thatwill play when a player changes their game mode to it.
    #If you want to play the default sound of GamemodeChangeEvent on sounds.yml, just don't add the new gamemode to this file.

    #Examples:
    SURVIVAL:
      Sound: NONE #If a player change his gamemode to survival, it will not play any sound.
      Volume: 1
      Pitch: 1

    CREATIVE:
      Sound: BLOCK_NOTE_PLING #If a player change his gamemode to creative, it will play Note_Pling sound instead of the default sound on sounds.yml.
      Volume: 1
      Pitch: 1
    Commands.yml:
    Code (Text):
    #You can add commands to this file and set the sound that will play when a player sends this commands to server.
    #If you want to play the default sound of PlayerCommand on sounds.yml, just don't add the command to this file.

    #Examples:
    /help:
      Sound: NONE #If a player change his gamemode to survival, it will not play any sound.
      Volume: 1
      Pitch: 1

    /warp:
      Sound: BLOCK_NOTE_PLING #If a player sends this command to the server, it will play Note_Pling sound instead of the default sound on sounds.yml.
      Volume: 1
      Pitch: 1
    ======================================================================
    Permissions
    ======================================================================​
    Which player can hear the sounds?

    ======================================================================
    Compatibility
    ======================================================================​

    ==========================================================================
    Teleportation Particles

    ==========================================================================
    The plugin has a system that sends particles when the player teleports.

    [​IMG]

    This can be enabled in boolean: config.yml / Particles / TeleportParticles / Enabled
    Teleportation particles are ignored when you are: Vanished, Invisible, in Gamemode Spectator.


    ==========================================================================
    Notes
    ==========================================================================
    Want your server on the plugin page? Contact-me
    Are you getting any bugs? Report to this page

    To the 2.4
    update:
    • Compatibility with BungeeCord
    • Compatibility with SpongeAPI
    • Unused Event Register Cancellation
    • NoteBlockAPI compatibility;
    • More EasterEggs;
    This update will be VERY hard to build. The estimated time for it to be ready is 20 days (2017/09/22).

    For all those who ask me about warnings that are sent to the console at server startup:
    These warnings are sent for the reason that in MC 1.12 "PlayerAchievementAwardedEvent" event was removed from minecraft. The "Server performance will be affected" would be valid only if the plugin was registering these events in Spigot 1.12. So, as in MC 1.11.2 there are still achievements, the registration of these events is necessary to the plugin listen to the "PlayerAchievement" event.

    Check the bukkit page too:
    https://dev.bukkit.org/projects/playmoresounds
    Ajneb97, Dump, Pistak22 and 2 others like this.

Recent Reviews

  1. Xzavier0722
    Xzavier0722
    4/5,
    Version: 2.3
    Good plugin. But it has some wrongs with my server. It sends WARN to my server when players use commandes to teleport other worlds. I'm not sure it is plugin's problem. Could you tell me how I can solve it? Thanks.
    This is the WARN:
    [21:21:40 WARN]: [PlayMoreSounds] Task #394 for PlayMoreSounds v2.3 generated an exception
    java.lang.IllegalArgumentException: Cannot measure distance between world and zhucheng
    at org.bukkit.Location.distanceSquared(Location.java:460) ~[paperclip.jar:git-Paper-1191]
    at org.bukkit.Location.distance(Location.java:443) ~[paperclip.jar:git-Paper-1191]
    at br.net.christiano322.PlayMoreSounds.utils.SoundPlayer.playSound(SoundPlayer.java:83) ~[?:?]
    at br.net.christiano322.PlayMoreSounds.events.sounds.PlayerTeleport$1.run(PlayerTeleport.java:65) ~[?:?]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:58) ~[paperclip.jar:git-Paper-1191]
    at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:356) [paperclip.jar:git-Paper-1191]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:833) [paperclip.jar:git-Paper-1191]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:424) [paperclip.jar:git-Paper-1191]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:767) [paperclip.jar:git-Paper-1191]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:665) [paperclip.jar:git-Paper-1191]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_141]
    1. Epicnicity2016
      Author's Response
      Thanks for the review! The error will be fixed in the next update (2.3.1)
  2. Ady100
    Ady100
    5/5,
    Version: 2.2
    Nice plugin................................................................................
  3. Moazz
    Moazz
    5/5,
    Version: 2.2
    more events? : )
    100000000000000000000000000000000000000000000000000000000000000000000000000000000
  4. superzyr
    superzyr
    5/5,
    Version: 2.1
    This is such a great plugin, add that little bit of magic to your server and truly (imo) enhances the player experience. Thanks dev!
  5. Elguerrero
    Elguerrero
    5/5,
    Version: 2.1
    Wow its say wow this plugin is amazing!:D
    Thanks by do this great plugin!:D
    Continue doing plugins and urgrading this and thanks!:D
  6. AndyYu
    AndyYu
    5/5,
    Version: 2.0
    Wonderful plugin and it deserves 5 stars! Better than the old plugin MoreSounds!
    btw can I advertise this to a Chinese Minecraft forum MCBBS? I can translate the message file into Chinese and tell them how to use it, of course I'll mark you as the author, and let them download this plugin from your spigotmc page. Can I?
  7. smiles_LT
    smiles_LT
    5/5,
    Version: 1.8.2
    This plugin is just great. Thank you for developing it. I love your work! - smiles_LT **************
  8. thomasdijkman
    thomasdijkman
    4/5,
    Version: 1.8.1
    Its a nice plugin! Im use them al longer then 3 days its a beast plugin! really nice developper! - Thomas
  9. Sidious82
    Sidious82
    5/5,
    Version: 1.7.5
    active development with reasonable results. the configurations have gotten easier over time and the addition to your server is subtly wonderful
  10. 924405813
    924405813
    5/5,
    Version: 1.7.3.1
    Do not work you should contact the author to solve instead of 1 star
    ---------------------