allow server item tables to be enabled by default

This commit is contained in:
Martin Michelsen
2023-10-25 18:48:22 -07:00
parent 6466eec106
commit 7476eb62d3
12 changed files with 201 additions and 86 deletions
+13 -4
View File
@@ -549,10 +549,19 @@
// tracking is always enabled for them.
"EnableItemTracking": true,
// Enable or disable drops by default in non-BB games (drops are always
// enabled in BB games). The leader can toggle drops in each game with the
// $drop command.
"EnableDrops": true,
// These options control the behavior of items dropped from boxes and enemies.
// ItemDropMode specifies whether any items drop at all; this setting applies
// to all versions. UseServerItemTables specifies whether the dropped items
// are generated by the client or by the server; this setting applies to all
// versions except BB. For BB, items are always generated by the server.
// Server item tables can only be used in non-BB games if item tracking is
// also enabled.
// Either option can be Off, On, OffByDefault, or OnByDefault. If the
// ByDefault values are used, the game leader can enable or disable drops with
// the $drop command, and can switch between server and client drop logic with
// the $itemtable command.
"ItemDropMode": "OnByDefault",
"UseServerItemTables": "OffByDefault",
// Whether to enable certain exception handling. Disabling this causes
// newserv to abort when any client causes an exception, which is generally