Jump to content

Skript command doesn't exist


DaCoolDude

Recommended Posts

Hey, on my server i've been trying to make minigames like Skymine and KitPVP. The thing that happened is I reloaded my skript and it said "No errors", but it's not listed in the command list. I've already tried executing the command anyway, but it didn't work.

command /gamemenu:
	executable by: players
	trigger:
		open virtual chest inventory with size 3 named "Game Selecion" to player
		format gui slot 0 of player with black stained glass pane named " "
		format gui slot 1 of player with black stained glass pane named " "
		format gui slot 2 of player with black stained glass pane named " "
		format gui slot 3 of player with black stained glass pane named " "
		format gui slot 4 of player with black stained glass pane named " "
		format gui slot 5 of player with black stained glass pane named " "
		format gui slot 6 of player with black stained glass pane named " "
		format gui slot 7 of player with black stained glass pane named " "
		format gui slot 8 of player with black stained glass pane named " "
		format gui slot 9 of player with black stained glass pane named " "
		format gui slot 10 of player with iron sword named "&aPvP" with lore "&7%{_pvpplayers}% &7Playing!"

I have another skript with no errors and that is supposed to define the value of the variable.

every 30 seconds in world "pvp":
	set {_pvpplayers} to amount of players in "pvp"

So just some extra details here are my plugins on the server - Essentials, EssentialsChat, HolographicDisplays, LuckPerms, Multiverse-Core, Skript, skript-holo, TuSKe, Vault, ViaVersion

I've heard that reloading all with TuSKe breaks stuff but I never reloaded all at once.


Thank you for your help! Sincerely, DaCoolDude

Edited by DaCoolDude
Link to comment
Share on other sites

13 hours ago, DaCoolDude said:

Hey, on my server i've been trying to make minigames like Skymine and KitPVP. The thing that happened is I reloaded my skript and it said "No errors", but it's not listed in the command list. I've already tried executing the command anyway, but it didn't work.

command /gamemenu:
	executable by: players
	trigger:
		open virtual chest inventory with size 3 named "Game Selecion" to player
		format gui slot 0 of player with black stained glass pane named " "
		format gui slot 1 of player with black stained glass pane named " "
		format gui slot 2 of player with black stained glass pane named " "
		format gui slot 3 of player with black stained glass pane named " "
		format gui slot 4 of player with black stained glass pane named " "
		format gui slot 5 of player with black stained glass pane named " "
		format gui slot 6 of player with black stained glass pane named " "
		format gui slot 7 of player with black stained glass pane named " "
		format gui slot 8 of player with black stained glass pane named " "
		format gui slot 9 of player with black stained glass pane named " "
		format gui slot 10 of player with iron sword named "&aPvP" with lore "&7%{_pvpplayers}% &7Playing!"

I have another skript with no errors and that is supposed to define the value of the variable.

every 30 seconds in world "pvp":
	set {_pvpplayers} to amount of players in "pvp"

So just some extra details here are my plugins on the server - Essentials, EssentialsChat, HolographicDisplays, LuckPerms, Multiverse-Core, Skript, skript-holo, TuSKe, Vault, ViaVersion

I've heard that reloading all with TuSKe breaks stuff but I never reloaded all at once.


Thank you for your help! Sincerely, DaCoolDude

TuSKe is severly outdated, use skript-gui.

Also to shorten that first skript you could do

format gui slot (integers between 0 and 9) of player with black stained glass pane named " "

 

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Owner of Lifestealed, Labs, Encore, UNOfficially and Observed
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - 5/8/2024

[MOD] 5/8/2024 - Present

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...