Planning to add more actions soon? like drop item, or teleport?
from the documentation:
Cancel
Cancels an event, if it can be cancelled. Any lines of script after cancel will not be run.
Usage: cancel
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:
on break:
block has block type of "minecraft:iron_ore"
drop 1 of stone at block location
cancel
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.
I believe that you typed the script incorrectly, it worked perfect for me on the latest version. Check your indentation and make sure it is 4 spaces or 1 tab.
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
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.
Unfortunately, I have decided to end the SimpleScript project. I simply do not have the time to continue supporting it. If anyone would like continue the project, please contact me.