Open lethosor opened 10 years ago
This may be handled together with #23. I'll keep this open because having these specific features is important to make public community games viable.
I was assuming #23 referred to client-side control, but I suppose it could also integrate with DF. Feel free to merge this if you like.
A workaround for the moment is to assign the esc menu to ctrl+alt+f12.
note: This only works on Windows and was tested using firefox nighty.
That only works on Windows (and possibly some Linux distributions) where that key combination is intercepted by the system. Also, there's probably a way to send keypress events to Dfterm3 without actually pressing the key in the browser, which someone could figure out if they really wanted to.
I've started working on a basic DFHack plugin to do this. Right now it prevents quitting, changing keybindings, and abandoning by intercepting SELECT
keypresses on the relevant menu and displaying an error message:
I'm planning on making it configurable so you can choose which menu options to disable. Thoughts?
I could distribute it with the Dfterm3 plugin and add a message to make sure server admins can see this is an option they can turn on.
There is probably a way to do this with a DFHack plugin that disables certain menu options. Allowing these actions locally would be tricky (except for exiting, which can be done with "die" in the DFHack console).