How i cant use "play raw sounds"?

Discussion in 'Skript' started by SkyLight.server, Jul 21, 2020.

  1. spigot 1.16.1
    PERMISSION EX,
    SKRIPT(2.5-alpha5),
    SkQuery-4.1.2,
    skRayFall+v1.9.21

    Code (Text):
    play raw sound "guns.pistolshot01" at Player with pitch 1 volume 3
    [23:36:21] [Server thread/ERROR]: #!#! [Skript] Severe Error:
    [23:36:21] [Server thread/ERROR]: #!#!
    [23:36:21] [Server thread/ERROR]: #!#! Something went horribly wrong with Skript.
    [23:36:21] [Server thread/ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
    [23:36:21] [Server thread/ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
    [23:36:21] [Server thread/ERROR]: #!#! Here is full list of them:
    [23:36:21] [Server thread/ERROR]: #!#! skRayFall v1.9.21 (https://sk.rayfall.net/) skUtilities v0.9.2 (https://tim740.github.io/) SkQuery v4.1.1
    [23:36:21] [Server thread/ERROR]: #!#! We could not identify which of those are specially related, so this might also be Skript issue.
    [23:36:21] [Server thread/ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
    [23:36:21] [Server thread/ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
    [23:36:21] [Server thread/ERROR]: #!#! In that case, you will be given instruction on how should you report it.
    [23:36:21] [Server thread/ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
    [23:36:21] [Server thread/ERROR]: #!#! Only if the author tells you to do so, report it to Skript's issue tracker.
    [23:36:21] [Server thread/ERROR]: #!#!
    [23:36:21] [Server thread/ERROR]: #!#! Stack trace:
    [23:36:21] [Server thread/ERROR]: #!#! java.lang.IllegalArgumentException: No enum constant org.bukkit.Sound.guns.pistolshot01
    [23:36:21] [Server thread/ERROR]: #!#! at java.lang.Enum.valueOf(Unknown Source)
    [23:36:21] [Server thread/ERROR]: #!#! at org.bukkit.Sound.valueOf(Sound.java:1)
    [23:36:21] [Server thread/ERROR]: #!#! at com.w00tmast3r.skquery.elements.effects.EffSound.execute(EffSound.java:45)
    [23:36:21] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Effect.run(Effect.java:52)
    [23:36:21] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
    [23:36:21] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    [23:36:21] [Server thread/ERROR]: #!#! at ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
    [23:36:21] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:156)
    [23:36:21] [Server thread/ERROR]: #!#! at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:114)
    [23:36:21] [Server thread/ERROR]: #!#! at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
    [23:36:21] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589)
    [23:36:21] [Server thread/ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576)
    [23:36:21] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_16_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:465)
    [23:36:21] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_16_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:432)
    [23:36:21] [Server thread/ERROR]: #!#! at org.bukkit.craftbukkit.v1_16_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:428)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.PlayerConnection.a(PlayerConnection.java:1336)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:28)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:1)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:19)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.TickTask.run(SourceFile:18)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeTask(SourceFile:144)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.executeNext(SourceFile:118)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.MinecraftServer.aZ(MinecraftServer.java:943)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.MinecraftServer.executeNext(MinecraftServer.java:936)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.IAsyncTaskHandler.awaitTasks(SourceFile:127)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.MinecraftServer.sleepForTick(MinecraftServer.java:920)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:852)
    [23:36:21] [Server thread/ERROR]: #!#! at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$0(MinecraftServer.java:164)
    [23:36:21] [Server thread/ERROR]: #!#! at java.lang.Thread.run(Unknown Source)
    [23:36:21] [Server thread/ERROR]: #!#!
    [23:36:21] [Server thread/ERROR]: #!#! Version Information:
    [23:36:21] [Server thread/ERROR]: #!#! Skript: 2.5-alpha5 (latest)
    [23:36:21] [Server thread/ERROR]: #!#! Flavor: skriptlang-github
    [23:36:21] [Server thread/ERROR]: #!#! Date: 2020-07-02
    [23:36:21] [Server thread/ERROR]: #!#! Bukkit: 1.16.1-R0.1-SNAPSHOT
    [23:36:21] [Server thread/ERROR]: #!#! Minecraft: 1.16.1
    [23:36:21] [Server thread/ERROR]: #!#! Java: 1.8.0_251 (Java HotSpot(TM) 64-Bit Server VM 25.251-b08)
    [23:36:21] [Server thread/ERROR]: #!#! OS: Windows 10 amd64 10.0
    [23:36:21] [Server thread/ERROR]: #!#!
    [23:36:21] [Server thread/ERROR]: #!#! Server platform: Spigot
    [23:36:21] [Server thread/ERROR]: #!#!
    [23:36:21] [Server thread/ERROR]: #!#! Current node: null
    [23:36:21] [Server thread/ERROR]: #!#! Current item: sound "guns.pistolshot01"
    [23:36:21] [Server thread/ERROR]: #!#! Current trigger: rightclick with wooden hoe (rightclick holding [[itemtype:wood hoe]]) (gun.sk, line 17)
    [23:36:21] [Server thread/ERROR]: #!#!
    [23:36:21] [Server thread/ERROR]: #!#! Thread: Server thread
    [23:36:21] [Server thread/ERROR]: #!#!
    [23:36:21] [Server thread/ERROR]: #!#! Language: english
    [23:36:21] [Server thread/ERROR]: #!#! Link parse mode: DISABLED
    [23:36:21] [Server thread/ERROR]: #!#!
    [23:36:21] [Server thread/ERROR]: #!#! End of Error.
    [23:36:21] [Server thread/ERROR]: #!#!
     
  2. you can only use spigot sounds with this syntax (try play sound)
     
  3. I want use SkQuery's play sound.
     
  4. Why do you want skQuery's play sound when you can use something else?