Is is possible to define keyboard shortcuts that perform an action in a mod?
The main thing I am thinking about is making some tweaks to WorldEdit to make it a bit less cumbersome to work with regions.
webdesigner97 wrote:No, I already suggested this, but it lags on multiplayer servers...
spillz wrote:webdesigner97 wrote:No, I already suggested this, but it lags on multiplayer servers...
WorldEdit lags or keyboard shortcuts in general cause lag? Not sure why the latter would be true but will take your word for it.
webdesigner97 wrote:spillz wrote:webdesigner97 wrote:No, I already suggested this, but it lags on multiplayer servers...
WorldEdit lags or keyboard shortcuts in general cause lag? Not sure why the latter would be true but will take your word for it.
Adding lua-handled keyboard bindings. The information about the key being pressed needs to be sent to the server, the function to be called will be executed and the result sent back.
spillz wrote:webdesigner97 wrote:spillz wrote:
WorldEdit lags or keyboard shortcuts in general cause lag? Not sure why the latter would be true but will take your word for it.
Adding lua-handled keyboard bindings. The information about the key being pressed needs to be sent to the server, the function to be called will be executed and the result sent back.
But that isn't any different from clicking a menu button, right? (which you can do now in mod). I guess it would be harder to spam the server with menu clicks than with key presses, but maybe there's a simple work around for that (ignore repeated key press until the previous key press is acknowledged by server.)
Users browsing this forum: No registered users and 8 guests