serversigns / ServerSigns

ServerSigns (SVS) provides the ability to bind player-dispatched and server-disptached commands, messages and actions to signs and every other block in Minecraft.
https://dev.bukkit.org/projects/serversigns
GNU Affero General Public License v3.0
13 stars 13 forks source link

play sound difficulties #56

Closed aparry91 closed 1 year ago

aparry91 commented 2 years ago

/svs add <server> /playsound minecraft:entity.enderman.stare player <player>

doesn't play a sound

aparry91 commented 2 years ago

Does not work:

/svs add <server> /playsound minecraft:entity.enderman.stare player < player >
/svs add <server> /playsound minecraft:entity.enderman.stare player @p
/svs add /playsound minecraft:entity.enderman.stare player <player>

Works:

/svs add /playsound minecraft:entity.enderman.stare player @p
/svs add /playsound minecraft:entity.enderman.stare player @a

However even though it works, it only works for players with access to /playsound which causes issues Please help!

Alternative has been to add [p:minecraft.command.playsound] :

/svs add [p:minecraft.command.playsound] /playsound minecraft:entity.enderman.stare player @p
/svs add [p:minecraft.command.playsound] /playsound minecraft:entity.enderman.stare player @a

however still not working as I get error, Selector not allowed

Final way I got this working was : /svs add [p:minecraft.command.playsound] /playsound minecraft:entity.enderman.stare player <player>

EpiCanard commented 2 years ago

Hello

You can let the console execute the command for you. No need to add permission /svs add <server> playsound minecraft:entity.enderman.stare player <player>

aparry91 commented 2 years ago

Hello

You can let the console execute the command for you. No need to add permission /svs add <server> playsound minecraft:entity.enderman.stare player <player>

no, I use the functionality on many of my signs, but for some reason it is not compatible with playsound - I apologise I forgot to add in the first mention of the issue

aparry91 commented 2 years ago

ok turns out I didn't forget to mention it, its just not visible when you write it as a comment

EpiCanard commented 2 years ago

ok ok, I guess then only add temporary permission is possible