skQuery 3
Control YOUR Server
skQuery is an expansive addon to the popular Bukkit plugin Skript. skQuery picks up where Skript left off and exposes almost all of the Bukkit API to server owners. By using skQuery, you can have access to cutting edge server technology without adding more plugins or needing to learn how to code.
skQuery will never break the immersion of your server by sending messages with the plugin name. Combined with Skript, you can completely overhaul the look and feel your server to exactly where you want it.
Features
- Fully customizable scoreboards - Make scoreboards work the way you want it, and customize them to your heart's content!
- Menus - Tired of other menu plugins with horrid configs? Try creating your own menus in the same way you would write a sentence!
- Fully customizable maps - Undoubtedly one feature you'll never find in another plugin. Create maps customized with images and text to display server info, game stats, or whatever you can think of!
- Plus over 100 more cutting edge features to you'd see on the latest and greatest servers!
Usage
To take advantage of all these features, just download and drop SkQuery.jar into your plugins folder with Skript. Then head over to the documentation and utilize any of the provided events, conditions, expressions, and effects like you would in a normal Skript script file. Take a look at this example using skQuery's fireworks capabilities:
# When a player dies on death: # And has the permission death.fireworks if victim has permission "death.fireworks": # Launch a firework! launch creeper firework colored red at victim with duration 1
Before using any of these features, check out Skript to learn how to make a basic script. It's as easy as writing a few sentences!
Found a major duplication exploit:
Using make player shoot item projectile with an item/speed/player over a hopper, causes the hopper to sometimes pick up the item. From here, you can easily take the item from the hopper. This is a potential duplication bug for those who use item projectiles. I hope it gets fixed soon.
I am running Spigot 1.8, skQuery 3.21.4 + 4.0 Prerelease.
I have a problem using SkQuery and spigot 1.7.2 '-' can't use the send json
Check out skunity.com;) It has a docs about all Skript addons including SkQuery!
Can you make a playerKillCount scoreboard with colors? with this plugin? :), And if you can. Can you link to some sort of a tutorial?
Where is the download of skQuery 3.22 ?
Your documentation link 404s
Okay, to clear things up, a new skQuery is being made to support 1.8 features.
Getting a sizable error in 1.8 when using any skripts that have particles, Using Skript 2.2, EffectLib 3.0, the dropbox version of SkQuery3, and using the SKQ4 pre-release,
http://pastebin.com/5vp3ZELG
@Grant1204
Did you try Skript 2.2?
Hello
I have a bungeecord with the last spigot version for 1.8. I use Skript 2..2 and Skquery that Skript creators have given on dropbox : https://www.dropbox.com/sh/f0vx74usrqb6kpv/AABMT03y_-oAyCgyCHNeA3DQa?dl=0
I have tried to use Skquery sql but it does not work.
Here is the log : http://pastebin.com/7r3CzX0U
here is my sk file : http://pastebin.com/LPRZhkTB
I'm encountering a problem running the v4 alongside 3.21.4. When I run
The inventory opens, but is empty. For the items to show up I have to click where one of the items would be, and then they show up. I'm running the latest skript version, on Spigot 1.8
Started our server up with skQuery 4.0 prerelease; skQuery 3.21.4 has been working fine alone for a long time. Skript was working, but all commands broke. Error: http://pastebin.com/tT4eJ68z
Skript 2.1.2, skQuery 3.21.4 + 4.0, WildSkript 1.8, RandomSK 2.0
Hello !
My console is being spammed by skQuerry's (I think) errors like this : http://pastebin.com/FAcvSELq
I tried to disable all my scripts one by one but it keep spamming the console :/
I'm using Spigot 1.8, Skript 2.2 and skQuery 3.21.4 + 4.0 prerelease.
Keep me in touch !
Z3dd7.
Hi destroyer4017, I've a problem with SkQuery 3.22.1 : for unknow reasons, players can't stack items «normally» in containers. I have removed SkQuery for solve this problem, but SkQuery is too awesome for be removed. ( Items have same NBT values ).
Server version : CraftBukkit version git-Spigot-1.7.9-R0.2-208-ge0f2e95 (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
Skript version : 2.1.2
SkQuery version : 3.22.1
@UltrafaceGuy
Documentation is available at skUnity for the time being.
http://www.skunity.com/doc?addon=SkQuery
I can't reach the documentation. I'm newer to skquery, and having it was suuuuuuuper helpful haha. Any idea when it'd going to be back up?
@DamianMMC
Uhum, i think its the prison.jar, what is making skquery giving errors. FIRST you need to read what the error says
Erroor! Why?
[15:57:17] [Server thread/ERROR]: Could not pass event InventoryClickEvent to SkQuery v3.21.4 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:509) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:494) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] at net.minecraft.server.v1_7_R4.PlayerConnection.a(PlayerConnection.java:1477) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] at net.minecraft.server.v1_7_R4.PacketPlayInWindowClick.a(PacketPlayInWindowClick.java:15) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] at net.minecraft.server.v1_7_R4.PacketPlayInWindowClick.handle(PacketPlayInWindowClick.java:65) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] at net.minecraft.server.v1_7_R4.NetworkManager.a(NetworkManager.java:186) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] at net.minecraft.server.v1_7_R4.ServerConnection.c(ServerConnection.java:81) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] at net.minecraft.server.v1_7_R4.MinecraftServer.v(MinecraftServer.java:734) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] at net.minecraft.server.v1_7_R4.DedicatedServer.v(DedicatedServer.java:289) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] at net.minecraft.server.v1_7_R4.MinecraftServer.u(MinecraftServer.java:584) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] at net.minecraft.server.v1_7_R4.MinecraftServer.run(MinecraftServer.java:490) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] at net.minecraft.server.v1_7_R4.ThreadServerApplication.run(SourceFile:628) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] Caused by: java.lang.NullPointerException at com.w00tmast3r.skquery.util.custom.menus.v1_.VirtualChestManager.onInventoryClick(VirtualChestManager.java:31) [?:?] at sun.reflect.GeneratedMethodAccessor192.invoke(Unknown Source) [?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.7.0_45] at java.lang.reflect.Method.invoke(Method.java:606) [?:1.7.0_45] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) [prison.jar:git-Spigot-1.7.9-R0.2-205-g2c31986] ... 13 more
It appears when you use lambdas with loops for a formatted item, they use the final value of the loop...
For example:
In this example, if a player says "Hello" and someone clicks on any of the items in the inventory, it will always send "Hello" to the last looped player. It should say "Hello" to different people depending on the order that they are looped, but the expression loop-player as well as any other variable only refers to the final or last set value when executing a lambda.
Seems long lambdas cause a server to time out. It's a 5 part lambda that sets each line of a sign to a string from a variable and then send a message to the player. Reducing it to 2 parts seems fine, 3 parts takes an extra 3-5 seconds to load, and 4+ parts times out the server. Hopefully this is a bug, but if Skript just can't parse them then that kind of ruins the purpose.
What's the new effect for display scoreboard? It's depreciated but I don't see a replacement. What are the positions for displays besides sidebar? It seems a score of 0 won't display, I'd like it to always show regardless if 0 or not. It would be great if scoreboards could display text too as the score instead of just numbers. It would also be cool if each numbered line of a scoreboard could be changed, like when setting sign text, this would also be helpful for ordering the scores.