mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-19 01:39:51 +08:00
Compile scripts to replace require with script content
This commit is contained in:
@@ -111,6 +111,12 @@ public class ConfigContainer {
|
||||
public ServerRunMode runMode = ServerRunMode.HYBRID;
|
||||
public boolean logCommands = false;
|
||||
|
||||
/**
|
||||
* If enabled, the 'require' Lua function will load the script's compiled varient into the context. (faster; doesn't work as well)
|
||||
* If disabled, all 'require' calls will be replaced with the referenced script's source. (slower; works better)
|
||||
*/
|
||||
public boolean fastRequire = true;
|
||||
|
||||
public HTTP http = new HTTP();
|
||||
public Game game = new Game();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user