skript-mirror

Addon skript-mirror 0.19.1

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

Could you add some invisible arguments for custom effects?
example:
code_language.skript:
effect register new quest [named] %string% on npc %integer% with vanish expression %getPlayer%:

Edit: I didn't say anything 'event.getPlayer()' works x)
[doublepost=1516039465,1515914964][/doublepost]I have a suggestion to make to you, you could add the use of java variables to avoid a skript description in your csv file unnecessarily
 
Hey, I want to get the pet information of the 'mypet' plugin.
What should I write?
 
btk5h updated skript-mirror with a new update entry:

skript-mirror 0.10.0

⚠️ Breaking Changes
skript-mirror is getting closer to a stable 1.0 release! We're using these last few 0.X releases to do any necessary breaking changes while we still can.

This update introduces some massive changes that will break all existing custom syntax declarations. Thankfully, custom syntax in this version is effectively final and will not see any breaking changes in the future.

  • Custom syntax declarations have been completely overhauled and look...

Read the rest of this update entry...
 
btk5h updated skript-mirror with a new update entry:

skript-mirror 0.11.1

⚠️ Breaking Changes
As each issue closes one-by-one, skript-mirror gets closer and closer to a stable release! While we're making a lot of changes that should improve the developer experience, it's important to note that some of those changes are not backward-compatible. Please sit tight while things stabilize!

  • Replace the old import system with a new script-local expression-based system.
  • Make property expressions and conditions operate on single...

Read the rest of this update entry...
 
Its possible to make this to work?

code_language.skript:
command hub:
    trigger:
        player.connect("hub")

code_language.skript:
[Skript] No matching method: CraftPlayer#connect called with (hub (String))
 
Its possible to make this to work?

code_language.skript:
command hub:
    trigger:
        player.connect("hub")

code_language.skript:
[Skript] No matching method: CraftPlayer#connect called with (hub (String))
player doesn't even have a connect method.. this isn't even close to the right way so use BungeeAddon (its purely server side, no bungee installation needed) https://forums.skunity.com/resources/bungeeaddon.497/
 
  • Like
Reactions: Uzumaki
Hi,
How can I use the API of this plugin?
code_language.skript:
on script load:
   import "com.live.bemmamin.gps.api.GPSAPI"
   set {apigps} to new {GPSAPI}(this)

API Java
Java:
public class Main extends JavaPlugin {

   private GPSAPI gpsapi = null;

   @Override
   public void onEnable() {
       if (Bukkit.getPluginManager().getPlugin("GPS").isEnabled()) {
           gpsapi = new GPSAPI(this);

           initialiseCustomPoints(); //Just an example.

           gpsapi.startGPS(Bukkit.getPlayer("Benz56"), "pluginName6");
       }
   }
}
 
Hi,
How can I use the API of this plugin?
code_language.skript:
on script load:
   import "com.live.bemmamin.gps.api.GPSAPI"
   set {apigps} to new {GPSAPI}(this)

API Java
Java:
public class Main extends JavaPlugin {

   private GPSAPI gpsapi = null;

   @Override
   public void onEnable() {
       if (Bukkit.getPluginManager().getPlugin("GPS").isEnabled()) {
           gpsapi = new GPSAPI(this);

           initialiseCustomPoints(); //Just an example.

           gpsapi.startGPS(Bukkit.getPlayer("Benz56"), "pluginName6");
       }
   }
}
code_language.skript:
import:
  com.live.bemmamin.gps.api.GPSAPI
  ch.njol.skript.Skript

on script load:
  set {apis::gps} to new GPSAPI(Skript.getInstance())

expression GPS:
  get:
    return {apis::gps}

on click:
  GPS.startGPS(player, "something");