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!
My idea is to allow friends making their own Super Items and Use it in a fightFor one thing, using AI for skript is a terrible choice.
For two, why would you need skript in java? Skript is written in java, so afaik anything that Skript can do, java can do aswell.
on rightclick on entity:
if event-entity is a dragon:
if player is riding event-entity:
cancel event
set {cd} to 0
on timer:
loop all entities:
if loop-entity is a dragon:
if {cd} is 0:
loop all players:
if loop-player is not riding loop-entity:
shoot fireball at loop-player from loop-entity
set {cd} to 20
else:
remove 1 from {cd}
command /ride [<entity>]:
trigger:
if arg-1 is set:
make player ride arg-1
else:
make player ride dragon
The problem with generating java code is to add Bukkit and other dependencies to the compiler because Java is compiled language and not Runtime so you can't just execute code with Bukkit Player you need firstly compile this code with Bukkit and other stuffFor one thing, using AI for skript is a terrible choice.
For two, why would you need skript in java? Skript is written in java, so afaik anything that Skript can do, java can do aswell.
You can just use an existing plugin like ExecutableItems, which makes making custom op items easy.My idea is to allow friends making their own Super Items and Use it in a fight
Is there any way to run skript from text?You can just use an existing plugin like ExecutableItems, which makes making custom op items easy.
Or just like...use Skript on your server?
The ai code you sent is awful lol
How do you think someone who opened menus only to select a game can create good item in ei and i just want expirience and funny mini gameIt doesn't take hours and the full version isn't too worth it anyway.
Using java file tools it might be possible to use java to make a skript file, write in it, and reload it.
Here's the link to the API documentation https://en.njol.ch/projects/skript/API, but again, at this point, just use skript. You can use PAPI and skript-placeholders to link some stuff from the skripts into your plugin if necessary but I really don't see why you would need to use this. If they're just making super items, using skript alone is fine.
Why are you against just installing the plugin if you're trying to use the API and syntax anyway?
I wanted to see something likeWhy would it be bad if you're using skript syntax anyway-
I really don't get the point of this thread.