Planning to add more actions soon? like drop item, or teleport?
from the documentation:
Cancels an event, if it can be cancelled. Any lines of script after cancel will not be run.
And what if i want to cancel, say, block break event of iron ore, from my suggestion above, then have an action run such as drop stone (if you’re going to implement dropping like on the bukkit Skript), wouldn’t cancel also cancel that? or not?
How do I write a script with what I said above before? on break iron_ore: drop 1 of stone at block location cancel
?? doesn’t seem right. got confused by the documentation sorry XD
more examples would be nice
That isn’t quite right, I apologize for the poor documentation. I’ll try to add more examples in the future. If anyone who is decent at writing documentation would like to help please contact me.
Here is a script that would cancel the break of iron ore and drop a stone:
block has block type of "minecraft:iron_ore"
drop 1 of stone at block location
The script will leave the iron ore there, because cancelling a break event will prevent the block from being broken. I believe that you want the iron ore to actually break, and just cancel the drop of iron ore. I’ll make this a possibility in the next release.
Is this plugin usable as much as Skript? from what I can tell it’s not that far or the docs haven’t been updated idk since alot of the skripts functionality is missing from simplescript which hopefully gets added at some point! Thanks keep up the great work! I’m waiting for future updates!
Stuff I’d want in simplescript:
on right and left click
on death mobs and items can have named “Example” to allow custom named items and mobs…
variables that allow you to store an exp system from lvl 1-100
chance like in skript for a drop system with % chances
and just everything from skript and beyond to make this plugin better than ever!
The project just started 2 weeks ago, so there are not many features yet. I’m slowly adding features, but mostly working on things that are not noticeable to the end user to get the plugin stable first. In the future I’ll add these features and more to the plugin.
SimpleScript is not a clone of Skript. It is a completely different plugin. The language syntax is different, so scripts can not be ported simply by changing a file extension. I prefer languages other than YAML, so I don’t envision adding support for it. Also, SimpleScript currently does not have as many events and actions as Skript had, I am still working on implementing them.