Skip to content

Commit 1ef10b6

Browse files
committed
Add new Eluna config options
1 parent ae11231 commit 1ef10b6

File tree

2 files changed

+27
-11
lines changed

2 files changed

+27
-11
lines changed

src/server/worldserver/worldserver.conf.dist

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3885,30 +3885,44 @@ AuctionHouseBot.Buyer.Recheck.Interval = 20
38853885
# ELUNA SETTINGS
38863886
#
38873887
# Eluna.Enabled
3888-
# Description: Enable or disable Eluna LuaEngine
3888+
# Description: Enable or disable Eluna LuaEngine.
38893889
# Default: true - (enabled)
38903890
# false - (disabled)
38913891
#
3892+
# Eluna.TraceBack
3893+
# Description: Sets whether to use debug.traceback function on a lua error or not.
3894+
# Notice that you can redefine the function.
3895+
# Default: false - (use default error output)
3896+
# true - (use debug.traceback function)
3897+
#
38923898
# Eluna.ScriptReloader
38933899
# Description: Enable or disable the automated script reloader.
38943900
# This will automatically reload Eluna when it detects changes to scripts.
38953901
# Default: false - (disabled)
38963902
# true - (enabled)
38973903
#
3904+
# Eluna.UseUnsafeMethods
3905+
# Description: Enable or disable the usage of unsafe methods.
3906+
# Unsafe methods are disabled by default to prevent accidental, harmful, or performance-degrading usage.
3907+
# Only enable this setting if strictly necessary, and check documentation for alternative methods.
3908+
# Default: true - (enabled)
3909+
# false - (disabled)
3910+
#
3911+
# Eluna.UseDeprecatedMethods
3912+
# Description: Enable or disable the usage of deprecated methods.
3913+
# Deprecated methods may be removed in future versions and are disabled by default.
3914+
# Check documentation for alternative methods.
3915+
# Default: true - (enabled)
3916+
# false - (disabled)
3917+
#
38983918
# Eluna.OnlyOnMaps
3899-
# Description: When Eluna is enabled, a state will only be created for a list of specified maps
3919+
# Description: When Eluna is enabled, a state will only be created for a list of specified maps.
39003920
# This only works for multistate mode.
39013921
# Default: "" - (enabled on all maps)
39023922
# "0,1,2,..." - (enabled on specific maps only)
39033923
#
3904-
# Eluna.TraceBack
3905-
# Description: Sets whether to use debug.traceback function on a lua error or not.
3906-
# Notice that you can redefine the function.
3907-
# Default: false - (use default error output)
3908-
# true - (use debug.traceback function)
3909-
#
39103924
# Eluna.ScriptPath
3911-
# Description: Sets the location of the script folder to load scripts from
3925+
# Description: Sets the location of the script folder to load scripts from.
39123926
# The path can be relative or absolute.
39133927
# Default: "lua_scripts"
39143928
#
@@ -3928,9 +3942,11 @@ AuctionHouseBot.Buyer.Recheck.Interval = 20
39283942
#
39293943

39303944
Eluna.Enabled = true
3945+
Eluna.TraceBack = false
39313946
Eluna.ScriptReloader = false
3947+
Eluna.UseUnsafeMethods = true
3948+
Eluna.UseDeprecatedMethods = true
39323949
Eluna.OnlyOnMaps = ""
3933-
Eluna.TraceBack = false
39343950
Eluna.ScriptPath = "lua_scripts"
39353951
Eluna.RequirePaths = ""
39363952
Eluna.RequireCPaths = ""

0 commit comments

Comments
 (0)