players head in gui

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

MrFoxir

Member
Dec 16, 2018
3
0
0
21
Hello,
My english is pretty bad so excuse me in advance... (if someone's french we can talk in french)

So yeah, it's been for almost 6 hours that I've tried to make a gui with online player's head:


open chest with 6 row named "&c&lSTAFF &f&l- &b&lPLAYERS" to player
wait 3 ticks

set {_slot} to 0
loop all players:
format slot {_slot} of player with loop-player's skull named "&b&l%loop-player%" to run [send "%loop-player%"]
add 1 to {_slot}
wait 1 tick


I've done that but the message i have is the name of the last player... I understand why but idk how to fix it, I want the name of the head i clicked on.
Thanks :emoji_slight_smile:
 
Use Tuske instead of SkQuery, this won't work with SkQuery.
 
Okay thanks i'm trying it.
[doublepost=1544976374,1544973921][/doublepost]I can't manage to do it... Is it possible to show me how to do ?
And, even without skripts writen, when I /skript reload all i have more than 1500 errors, as i can see something to do with IDs, and I can also see some errors in the consol...
 
Can you send the errors?
 
of course:
there is the consol ones and ingame ones are in the screen

[17:03:58 INFO]: [TuSKe] @RepublicanSensei - 10$
[17:03:58 INFO]: [TuSKe]
[17:03:58 ERROR]: #!#!
[17:03:58 ERROR]: #!#! [Skript] Severe Error:
[17:03:58 ERROR]: #!#! TuSKe's class com.github.tukenuke.tuske.effects.EffMakeDrop generated an exception while loading
[17:03:59 ERROR]: #!#!
[17:03:59 ERROR]: #!#! Something went horribly wrong with Skript.
[17:03:59 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[17:03:59 ERROR]: #!#! You are running an outdated Minecraft version not supported by Skript.
[17:03:59 ERROR]: #!#! Please update to Minecraft 1.9 or later or fix this yourself and send us a pull request.
[17:03:59 ERROR]: #!#! Alternatively, use an older Skript version; do note that those are also unsupported by us.
[17:03:59 ERROR]: #!#!
[17:03:59 ERROR]: #!#! Again, we do not support Minecraft versions this old.
[17:03:59 ERROR]: #!#!
[17:03:59 ERROR]: #!#! Stack trace:
[17:03:59 ERROR]: #!#! java.lang.NullPointerException
[17:03:59 ERROR]: #!#! at com.github.tukenuke.tuske.effects.EffMakeDrop.<clinit>(EffMakeDrop.java:25)
[17:03:59 ERROR]: #!#! at java.lang.Class.forName0(Native Method)
[17:03:59 ERROR]: #!#! at java.lang.Class.forName(Class.java:348)
[17:03:59 ERROR]: #!#! at ch.njol.skript.SkriptAddon.loadClasses(SkriptAddon.java:108)
[17:03:59 ERROR]: #!#! at com.github.tukenuke.tuske.TuSKe.onEnable(TuSKe.java:100)
[17:03:59 ERROR]: #!#! at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321)
[17:03:59 ERROR]: #!#! at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340)
[17:03:59 ERROR]: #!#! at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405)
[17:03:59 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugin(CraftServer.java:357)
[17:03:59 ERROR]: #!#! at org.bukkit.craftbukkit.v1_8_R3.CraftServer.enablePlugins(CraftServer.java:317)
[17:03:59 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.s(MinecraftServer.java:414)
[17:03:59 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.k(MinecraftServer.java:378)
[17:03:59 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.a(MinecraftServer.java:333)
[17:03:59 ERROR]: #!#! at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:263)
[17:03:59 ERROR]: #!#! at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525)
[17:03:59 ERROR]: #!#! at java.lang.Thread.run(Thread.java:748)
[17:03:59 ERROR]: #!#!
[17:03:59 ERROR]: #!#! Version Information:
[17:03:59 ERROR]: #!#! Skript: 2.3-beta4
[17:03:59 ERROR]: #!#! Bukkit: 1.8.8-R0.1-SNAPSHOT
[17:03:59 ERROR]: #!#! Minecraft: 1.8.8
[17:03:59 ERROR]: #!#! Java: 1.8.0_181 (OpenJDK 64-Bit Server VM 25.181-b13)
[17:03:59 ERROR]: #!#! OS: Linux amd64 4.9.0-8-amd64
[17:03:59 ERROR]: #!#!
[17:03:59 ERROR]: #!#! Server platform: Spigot
[17:03:59 ERROR]: #!#!
[17:03:59 ERROR]: #!#! Current node: null
[17:03:59 ERROR]: #!#! Current item: null
[17:03:59 ERROR]: #!#!
[17:03:59 ERROR]: #!#! Thread: Server thread
[17:03:59 ERROR]: #!#!
[17:03:59 ERROR]: #!#! Language: english
[17:03:59 ERROR]: #!#! Link parse mode: DISABLED
[17:03:59 ERROR]: #!#!
[17:03:59 ERROR]: #!#! End of Error.
[17:03:59 ERROR]: #!#!
[17:03:59 INFO]: [TuSKe] Loaded 8 events, 12 conditions, 20 effects, 60 expressions and 0 types. Have fun!
[17:03:59 INFO]: Server permissions file permissions.yml is empty, ignoring it
[17:03:59 INFO]: Done (7.162s)! For help, type "help" or "?"

https://screenshot.net/0k84efe
 

Attachments

  • Capture1.PNG
    Capture1.PNG
    173.2 KB · Views: 152
Last edited:
Skript 2.3+ will not work on any version of Spigot lower than 1.9

code_language.skript:
[17:03:59 ERROR]: #!#! You are running an outdated Minecraft version not supported by Skript.
[17:03:59 ERROR]: #!#! Please update to Minecraft 1.9 or later or fix this yourself and send us a pull request.
[17:03:59 ERROR]: #!#! Alternatively, use an older Skript version; do note that those are also unsupported by us.
 
Status
Not open for further replies.