SkriptLang / Skript

Skript is a Spigot plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone to program a plugin for them.
https://docs.skriptlang.org
GNU General Public License v3.0
1.06k stars 368 forks source link

No Skripts Working. #295

Closed TheMGRF closed 7 years ago

TheMGRF commented 7 years ago

So I've been developing with skript for many months. However, this development was done on 1.8. I have recently just tried to update to 1.11. This meant using bensku's 1.11 version of skript.

I have tried to load up my old skripts and unsurprisingly none of them are working. So I was wanting to know if the syntax or something has changed for this update? Like even reloading a simple help skript it tells me "Unknown type 'text' (help.sk, line 16: command /help []:')".

(I tried posting this on the forums at SkUnity and they told me to come here.)

I also have this from my servers log file if it is of any use. http://pastebin.com/eiGjunhd

So any help would be greatly appreciated!

Snow-Pyon commented 7 years ago

Wait, are you using commands without specifying the argument? You can't do that, it will throw an error as it did if you do it in that way.

TheMGRF commented 7 years ago

Specifically for the server im developing for the /help command opens a GUI. However it also allows for arguments that can be used from within that GUI. (This uses "command /help []")So clicking the plots help icon would run "/help plots". It was throwing that unknown type "text" error before, however I after Isabella told me to remove Umbaska I did so and I have began to use an older version that what I had and it now seems to work. Again, however this throws out a large error of: http://pastebin.com/p1W8fQFK

TheMGRF commented 7 years ago

Oh ok, sorry my bad. I just actually read that error and realised it was the "play raw sound" code I was using. On removing that it seems to no longer throw an error at that point.

Snow-Pyon commented 7 years ago

If you need a play raw sound equally, you could try SkStuff's play raw sound effect which is:

play [raw] [([resource[ ]]pack)] sound %string% (for|to) %players% at %location% [[with] volume %number%[[(,| and)] pitch %number%]]

play [raw] [([resource[ ]]pack)] sound %string% for %players% at %location% [[with] pitch %number%[[(,| and)] volume %number%]].

Example:

play sound "entity.player.levelup" to player at player's location volume 1 and pitch .1

And if you aren't aware, the sounds has been changed in the 1.9+, so you need use the following sounds names for the play raw sound effect: http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/2567682-all-playsound-names-1-9-updated

TheMGRF commented 7 years ago

Wow! Thanks a lot! That's all really useful information that I'm definitely going to put to immediate use! Yeah my sounds are still from 1.8 development and need updating but I didn't know about SkStuff's play raw sound so thanks.

Snow-Pyon commented 7 years ago

No problem, and if you still have issues I always answer to the help threads in the skU forums (I'm Pyon-Pyon on the forums too, but with a different profile picture).

bensku commented 7 years ago

I finally had time to check your log, and found out that there are some outdated addons on your server. They may cause Skript to not load properly.

You can set "addon safety checks: true" if config to get Skript start. However, that won't fix the addons; it merely makes Skript reject some invalid data that could prevent plugin from starting at all.