[General] Increase maxPlugins to 1000

This allows clients to have 1000 data files instead of 256 as before.

Also increase maxHashes to 50
pull/600/head
David Cernat 3 years ago
parent 4aa947ff4b
commit ed9a85f13b

@ -77,7 +77,7 @@ struct QueryData
const static int maxRules = 128;
const static int maxUserRules = maxRules - predefinedRules;
const static int maxPlayers = 100; // will shown only maxPlayers players
const static int maxPlugins = 256;
const static int maxPlugins = 1000;
const static int maxStringLength = 256;
};

@ -20,9 +20,9 @@ namespace mwmp
void setChecksums(PluginContainer *checksums);
private:
PluginContainer *checksums;
const static uint32_t maxPlugins = 256;
const static uint32_t maxPlugins = 1000;
const static uint32_t pluginNameMaxLength = 256;
const static uint32_t maxHashes = 16;
const static uint32_t maxHashes = 50;
};
}

Loading…
Cancel
Save