Shared HostingFirst month freeShared web hosting from $2.99/mo — $0 today, and the price you sign up at is the price you renew at.See hosting plans →

NxLabs / Mordhau

Dictionary Lib

By the_Peacey

A data control utility for modders & server admins and a potential dependency for some of my mods.

Dictionary Lib

Description


WHAT'S THIS? This is a utility & dependency mod for modders and server admins, It provides a Data Control Library for mods to store/retrieve data to/from Keys.

The main purpose of this mod is to make configuration of Mordhau Mods easier, Also to help modders and server admins Log their stuff by using a function/command 📝


INSTALLATION:

For server: Add this to your server's game.ini file,

Under [/Script/Mordhau.MordhauGameMode]: SpawnServerActorsOnMapLoad=/DictionaryLib/BP_DLib_Core.BP_DLib_Core_C

Under [/Script/Mordhau.MordhauGameSession]: Mods=4514520

For modders (Reference kit): https://github.com/thePeacey/MSDK-DictionaryLib-Kit (read the readme)


HOW TO USE: Only admins can use the commands, Even if the CMD Whitelist is ON!

The following are Data Control commands: !dlib set <OBJECT> <KEY> <VALUE> !dlib add <OBJECT> <KEY> <VALUE> !dlib rem <OBJECT> <KEY> <VALUE> !dlib get <OBJECT> <KEY>

Examples: !dlib set MyFabid DONATED true Sets the DONATED key for my fabid to true, !dlib get MyFabid DONATED Retrieves the value of my fabid's DONATED key, !dlib add MyFabid RULE_BREAKS FFA Adds FFA to my fabid's rulebreak history,

Any key and any object and any value, All set by you!

NEW! Library Control has been added (Useful for modders): !dlib library.add <LIBRARY> <ITEM> !dlib library.remove <LIBRARY> <ITEM>

<LIBRARY> is an <OBJECT>, But it's data control method does not retrieve or store keys.


FAQ:

  • How do i change the command prefix?

-> Use the following commands: !dlib set dlib_config cmd_prefix <character> !dlib reload

  • How do i give permission to only certain admins to use this?

-> Use the following commands: !dlib set dlib_config cmd_whitelist_enabled true !dlib add dlib_config cmd_whitelist <fabid> !dlib reload

  • How do i manually edit the data?

-> Go to: Saved\PlayerFiles\DictionaryLib

  • Are any of the parameters Case-Sensitive?

-> NO! All Key & Object names are case-insensitive! Example: CMD_WHITELIST and cmd_whitelist are same keys, BOX and box are same objects!


CREDITS:

Ellpee

SOOMRK

MORDHAU MODDING COMMUNITY


Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.