# this file contains settings for lush_core mod that can be configured in
# minetest.conf

# Whether inline lua can be run from the shell. This setting is useful for servers
# that want to reduce the damage that could be inflicted if a user escalates their privileges somehow
# Default: true
lush_inline_lua (inline lua) bool true

# Whether loops can be run from the shell. This setting is useful for servers
# where users might use loops to DDOS if they esculated their privileges.
# It should be noted that you can avoid DDOS by revoking the `lush_loops` privilege
# Default: true
lush_loops (lush loops) bool true

# The maximum amount of iterations a loop can make.
# This is mostly to avoid errors from crashing the server, not for avoiding DDOS'ing from bad actors who can easily
# bypass this. You should never give lush_loops privilege to untrusted users
# Default: 10000
lush_max_loop_iterations (lush maximum loop iterations) int 10000

# If this setting is enabled lush will override commands
# that do the same thing as the ones provided by lush
# Default: true
lush_override_commands (lush override commands) bool true

# Whether debug info is printed
# Default: false
lush_debug (lush debug) bool false
