[ + ] Added a new function where you can use javascript code to modify the game. Here is an example of how to restore the player's life.
Code (YAML):
actions
:
-
"[javascript] BukkitPlayer.setHealth(20);"
You can use: "BukkitPlayer" to refer to the player that interacts with the menu, "BukkitServer" to refer to the server and "MapMenuPlugin" to refer to the plugin itself.