goatcorp / suggestions

Plugin suggestions for Dalamud
43 stars 6 forks source link

Lua scripting environment #573

Open philpax opened 3 years ago

philpax commented 3 years ago

Description

There are a fair few suggestions in this very repo that don't really require a full Dalamud plugin, but would still be nice to have around. I propose a sandboxed Lua environment where users can write and edit scripts that have access to a subset of Dalamud's functionality; these scripts can then be gzip-b64'd and shared on the Discord, or included by default in the Lua scripting plugin itself.

More info

Some general thoughts:

Here are some suggestions that I think could be handled by this:

This could be used as a potential replacement for the Scratchpad, but the Scratchpad would not be as sandboxed, so it'd still be worth keeping around for its current users.


philpax commented 3 years ago

If this is something people are interested in, I might have a go at it at some point.

philpax commented 2 years ago

Just making a note here for posterity: I ended up implementing this by loading C# scripts - similar to Goatscript Classic:tm: - and it works, but I haven't submitted to testing/release because it needs significant sandboxing. It can be found here.

These are the rough notes I made about what needs to be done next: