Renamed NPCs button on GUI, added configs for enabling player, forge, NPC, and all scripts.

This commit is contained in:
Luis C.M committed 2022-03-23 17:42:35 -05:00
1 parent 33378fba59
commit 9a244ca2fe
6 files changed
+25 -4

No files matched your search

+12
View File
@@ -47,6 +47,18 @@ public class CustomNpcs {
@ConfigProp(info = "The size of IO executors used for compression and decompression. This is the number of threads used for compression and decompression. If you are experiencing issues with the server lagging/crashing, try changing this to a higher number.")
public static int CompressorThreads = 2;
@ConfigProp(info = "Enables/Disables ALL scripting. True by default")
public static boolean ScriptingEnabled = true;
@ConfigProp(info = "Enables global player event scripts to be used in the scripter. True by default")
public static boolean GlobalPlayerScripts = true;
@ConfigProp(info = "Enables global forge event scripts to be used in the scripter. True by default")
public static boolean GlobalForgeScripts = true;
@ConfigProp(info = "Enables global NPC scripts to be used in the scripter. False by default, use with caution!")
public static boolean GlobalNPCScripts = false;
@ConfigProp(info = "Navigation search range for NPCs. Not recommended to increase if you have a slow pc or on a server. Minimum of 16, maximum of 96.")
public static int NpcNavRange = 32;