please help me

  • 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.

Rokky__

New Member
Apr 2, 2019
6
1
0
43
I am running a server recently and want to have a water effect about 10 meters ahead when I right-click on the stick. Can anyone write a sample?
By the way, I want you to be able to do it even for people who don't have an OP, and a PL called skrayfall is included.
 
This?
Code:
on right click holding stick:
    loop 5 times:
        play water splash 10 metres in front of player's head
 
I copied and executed your code. However, I could not execute it because I got an error like the picture.
 

Attachments

  • 2019-04-04_22.37.20.png
    2019-04-04_22.37.20.png
    510.7 KB · Views: 140
What Skript version do you use?
 
Use dev-36, your Skript version is more than 5 years old
 
I tried that version but got an error

[23:41:59 INFO]: [Skript] Enabling Skript v2.2-dev36
[23:42:00 INFO]: [Skript] Your configuration has been updated to the latest version. A backup of your old config file has been created as config_2019-04-04_23-42-00.sk
[23:42:00 WARN]: [Skript] Using this version of Skript on 1.8 is highly discouraged.
[23:42:00 WARN]: [Skript] Some features have been disabled; use older Skript to restore them.
[23:42:00 WARN]: [Skript] Also, there are probably bugs. And since 1.8 is not supported, they will not be fixed
[23:42:00 ERROR]: [Skript] It seems that this server platform (CraftBukkit) does not work with Skript.
[23:42:00 ERROR]: [Skript] To prevent potentially unsafe behaviour, Skript has been disabled.
[23:42:00 ERROR]: [Skript] You may re-enable it by adding a configuration option 'allow unsafe platforms: true'
[23:42:00 ERROR]: [Skript] Note that it is unlikely that Skript works correctly even if you do so.
[23:42:00 ERROR]: [Skript] A better idea would be to install Paper or Spigot in place of your current server.
 
It tells you that you're using CraftBukkit instead of Spigot / Paper (which I recommend). It also says you can set the 'allow unsafe platforms' option in the config.sk file to true, but that probably won't work. I recommend you update to Spigot or Paper (the latest 1.8 version from the fork you choose), but you might want to try the config option first.
 
Thank you for teaching me a lot. I searched for 'allow unsafe platforms' in config, but now I can not find it, so I will change it to spigot.
 
  • Like
Reactions: TPGamesNL
Status
Not open for further replies.