thinking about the script engine to sioti, nothing better than javascript, and to do this I’m looking at rhino from mozilla.
For me my big concern about scripting, is what level of access the script will have to the virtual machine, so it seems that Rhino have clear way to filter what classes can and cannot be used by the script, by defining a ClassShutter, where the method visibleToScripts() will filter wich class can be used in the script, by default all Java classes can be used, so create this filter is a must to allow good behavior of future plugins
Also have to check if is necessary to seal the context where the script will be running.
My idea is having the basic behavior of the game implemented in java, in a client that has to be downloaded, to avoid map loading thru the web, have the rules in the server, and interface definition + event handling created with javascript.
creating like this, the game already born with a plugin capability, feature that usually requires an extra effort in the future, due to decisions like, what features to publish to the script, creating the UI using the script, the needs will happens at the beginning, and the maturity of the script will come naturally.
