#(admiralthr) Hello, is there any way to make NPC characters play custom sounds?

13 messages · Page 1 of 1 (latest)

white verge
#

Hello, We are working on a series of Quests for our server and we would like to enhance them by adding spoken dialogue to our NPCs. Is there a way to make them play custom sounds please?

marsh phoenixBOT
#

(admiralthr) Hello, is there any way to make NPC characters play custom sounds?

marsh phoenixBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

ionic crypt
#

!c playsound

lavish glacierBOT
# ionic crypt !c playsound
Group

world

Syntax

playsound (<location>|...) (<player>|...) [sound:<name>] (volume:<#.#>) (pitch:<#.#>) (custom) (sound_category:<category_name>)

Short Description

Plays a sound at the location or to a list of players.

Description

Plays a sound to a player or nearby players at a location.
The sound is played through the player's client just like any other sounds in Minecraft.

For a list of all sounds, check https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html

Sounds are by default played under their normal sound type (eg zombie sounds are under the type Mobs/Animals).
You can optionally instead specify an alternate sound category to use.
For a list of all valid sound categories, check <@link url ht...

ionic crypt
#

You can play any sound, including custom ones, with this

plain mountain
#

Feel free to ask if you need any more help, otherwise -

elfin torrentBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@white verge

white verge
#

thank you!

elfin torrentBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@white verge