Skip to content

Commit c699f60

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

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

src/server/worldserver/worldserver.conf.dist

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3901,6 +3901,11 @@ AuctionHouseBot.Buyer.Recheck.Interval = 20
39013901
# Default: false - (disabled)
39023902
# true - (enabled)
39033903
#
3904+
# Eluna.ReloadCommand
3905+
# Description: Enable or disable the .reload eluna command.
3906+
# Default: true - (enabled)
3907+
# false - (disabled)
3908+
#
39043909
# Eluna.UseUnsafeMethods
39053910
# Description: Enable or disable the usage of unsafe methods.
39063911
# Unsafe methods are disabled by default to prevent accidental, harmful, or performance-degrading usage.
@@ -3940,16 +3945,26 @@ AuctionHouseBot.Buyer.Recheck.Interval = 20
39403945
# "/usr/local/lib/lua/%s/?.so;/usr/lib/x86_64-linux-gnu/lua/%s/?.so;/usr/local/lib/lua/%s/loadall.so;"
39413946
# Default: ""
39423947
#
3948+
# Eluna.ReloadSecurityLevel
3949+
# Description: Sets the security level required to use the .reload eluna command.
3950+
# 0 - (Player)
3951+
# 1 - (Moderator)
3952+
# 2 - (Game Master)
3953+
# Default: 3 - (Administrator)
3954+
# 4 - (Console)
3955+
#
39433956

39443957
Eluna.Enabled = true
39453958
Eluna.TraceBack = false
39463959
Eluna.ScriptReloader = false
3960+
Eluna.ReloadCommand = true
39473961
Eluna.UseUnsafeMethods = true
39483962
Eluna.UseDeprecatedMethods = true
39493963
Eluna.OnlyOnMaps = ""
39503964
Eluna.ScriptPath = "lua_scripts"
39513965
Eluna.RequirePaths = ""
39523966
Eluna.RequireCPaths = ""
3967+
Eluna.ReloadSecurityLevel = 3
39533968

39543969
#
39553970
###################################################################################################

0 commit comments

Comments
 (0)