mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-23 12:38:52 -04:00
[General] Increase maxPlugins to 1000
This allows clients to have 1000 data files instead of 256 as before. Also increase maxHashes to 50
This commit is contained in:
parent
4aa947ff4b
commit
ed9a85f13b
@ -77,7 +77,7 @@ struct QueryData
|
|||||||
const static int maxRules = 128;
|
const static int maxRules = 128;
|
||||||
const static int maxUserRules = maxRules - predefinedRules;
|
const static int maxUserRules = maxRules - predefinedRules;
|
||||||
const static int maxPlayers = 100; // will shown only maxPlayers players
|
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;
|
const static int maxStringLength = 256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -20,9 +20,9 @@ namespace mwmp
|
|||||||
void setChecksums(PluginContainer *checksums);
|
void setChecksums(PluginContainer *checksums);
|
||||||
private:
|
private:
|
||||||
PluginContainer *checksums;
|
PluginContainer *checksums;
|
||||||
const static uint32_t maxPlugins = 256;
|
const static uint32_t maxPlugins = 1000;
|
||||||
const static uint32_t pluginNameMaxLength = 256;
|
const static uint32_t pluginNameMaxLength = 256;
|
||||||
const static uint32_t maxHashes = 16;
|
const static uint32_t maxHashes = 50;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user