I have an idea for a new type of sign: Command signs.
These signs would, when clicked, hypothetically run console commands, so you do not have to tell a user to type something into the console whose effect cannot be saved. This can be useful for extremely high-level values, and tpt.etc... effects that would normally be impossible.
Implementation:
In sign, type
{d:!set whatever whatever whatever|I hope this gets into TPT!}
Command sign text would be green.
Before the | would be the command to run on click, after would be the text displayed.
I also have another idea so that tpt.etc... effects could be cleared easily from console or command sign:
!clear
This would reset all the values in the tpt superclass to defaults without having to restart.
Due to hacking possibilities, Lua scripts run from signs would run a popup, asking to confirm.
This has been suggested MANY times on the forum before, and it came to the conclusion "no" because then people could hack each other....don't ask my how.
It would be quite easy to "hack" someone if you were allowed to run Lua commands at will, however if you are only allowed to use the old "!" commands I don't see any way to do anything more than mildly annoying, especially if the user had to click the sign first so it couldn't be automatically repeated.
This is different.
This problem of "hacking" could be easily fixed by adding a popup when clicking a command sign, it will ask if you really want to do that. You could add a new option in the settings that disables the popup.
Problem solved.
It could still be a problem, even with a pop up; what happens when you run a malignant script that you think you can trust? Better would be to run it in a sandbox, with no os.execute and no modification of files. Creation (but not running) of new files could be allowed, though.
It would also be a good idea to display the source code before running.
Other than that, I've always love this idea.
tpt.[etc] is scripting, it's part of the Lua global env.