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

Haven Commands

By Liam23490

Created for the friendly EU server Haven. Includes a building mode with previews, weapons, map modifications, and chat commands. The buildables are automatically saved so will persist across play sessions.

Haven Commands

Description

Created for the friendly EU server Haven. Includes a building mode with previews, weapons, map modifications, and chat commands.

The buildables are automatically saved so will persist across play sessions.

This mod includes a periodic chat announcement for the Haven discord server, and shows the Haven welcome screen on server join.

Features bounds removal including some collision fixes for: Contraband, Tourney, Moshpit.

BUILDABLES USAGE

Press F5 to open the build menu. Press a key once to display a preview. Press again to place.

If you open the chat whilst in the F5 menu, it will stop working. Close and re-open the F5 menu.

To delete, stand within 3m of the object, hover your cursor over it, and press F7. Works with the F5 menu open or closed.

BUILDABLE SAVE SYSTEM

Each level has 10 save slots. Every 15 minutes, the currently spawned buildables are saved to the active slot. This is shown via a message from the SERVER in the chat. There is an extra save when the match ends.

This allows players with Haven Commands access to add to their creations across play sessions - and it means that players can spawn in to a nicely and uniquely built map.

My server is able to save 600 buildables in 5ms, and can load them in 150ms.

DESCRIPTION COMMAND ACCESS LEVEL

Display Current Save Slot .hc slot Admin

Change Save Slot .hc slot 1   (slot 1-10 inclusive) Admin

Manual Save to Current Slot .hc save Admin

Clear Buildables .hc clear Admin

Use manual save when:

  • Clearing buildables, to wipe the current slot. 
  • Before manually changing the current slot, else changes since the last auto-save will be lost.

When changing the current slot, the active buildables are replaced with those from the new slot.

When loading into any level, the last used slot for that level is automatically loaded.

BUILDABLES LIST

These can be spawned via the F5 menu or the specified chat commands, where listed.

DESCRIPTION COMMAND

Castle Gate .hb cg

Log Wall .hb lw

Log Wall with Window .hb lww

Log Wall with Doorway .hb lwd

Wooden Door .hb wd

Plank Floor .hb pf

Stairs 2 Up .hb s2

Stairs 2 Down .hb s2d

Potted Bush

Potted Tree

Flower Bed 2 .hb fp2

Log Swing .hb logswing

Chair

Pumpkin .hb pumpkin

Table Small

Ladder 3, 5, 9, 11m .hb l3, .hb l5, .hb l9, .hb l11

Palisade

Rock

Large Tree

Brazier

Brazier (Bright)

Storage Shack 1

Storage Shack 2

Open Tent

Building 1

Building 2

Demon Horde Castello King (fights for team 0, chip damage removed) .hb dhck

Demon Horde Summoner (red team) .hb dhsr

Demon Horde Summoner (blue team) .hb dhsb

Haven Armaments

Gun Rack

Buildables Notes:

  • The Castle Gate is interactive.

HAVEN COMMANDS LIST

Command Description Access Level

.hc team red/blue Changes the player to red/blue team, even when it violates team balance. All

.hc restrict playerName Prevents the player from using firearms, throwables, and vehicles. Lasts until the match ends or until toggled. HavenCommands

WEAPON LIST

NAME CREDITS

Purple Dildo "Dildo Sword" (https://skfb.ly/oNrwu) by DaaGHrii is licensed under Creative Commons Attribution (https://creativecommons.org/licenses/by/4.0/).

Katana "Katanas" (https://skfb.ly/oyZVC) by LP Cupcake is licensed under Creative Commons Attribution (https://creativecommons.org/licenses/by/4.0/).

D6 "Dice d6 low-poly PBR" (https://skfb.ly/oprCp) by Armor and Rum is licensed under Creative Commons Attribution (https://creativecommons.org/licenses/by/4.0/).

Russian Revolver "Nagant M1895 Revolver" (https://skfb.ly/6QXzZ) by Mateusz Woliński is licensed under Creative Commons Attribution (https://creativecommons.org/licenses/by/4.0/).

Weapon Notes:

  • The value of the D6 is synced only if dropped (e.g. x8 + xx6).
  • The Russian Revolver has some... old... manufacturing defects :D
  • It also uses a custom firearm system, so unlike the 1411 and blunderbuss, the bullet comes from the barrel (where-ever it is pointing).

EASTER EGGS

  • "Do Not Touch" sign. Spawn locations:
  • Corner tower, Contraband.
  • Side of the field, Moshpit. 

SERVER CONFIGURATION

INSTALLATION (SERVER ONLY)

In your Game.ini, under the heading "[/Script/Mordhau.MordhauGameMode]", add this as a new line:

SpawnServerActorsOnMapLoad=/HavenCommands/HavenCommands.HavenCommands_C

In the same file, under the heading "[/Script/Mordhau.MordhauGameSession]", add this as a new line:

> Mods=4936102

Weapons require an equipment loader. I use this one: https://mod.io/g/mordhau/m/equipment-fix

Install it following the linked instructions.

Then add this to your Game.ini:

> [EquipmentLoader] > LoadEquipment=/HavenCommands/Weapons/Dildo/BP_PurpleDildo.BP_PurpleDildo_C

The weapons will appear in the character equipment selection pages + are spawnable e.g. with Server Side Commands.

PERMISSIONS (SERVER ONLY)

For a player to access Haven Commands, you must add their playfab id to this file (create it):

> MordhauServer\Mordhau\Saved\PlayerFiles\HavenCommands_List.txt

Add one ID per line without spaces.

Example content:

> 478BA5H82214ABD7 > 957DG2258037G7DA

After modifying the file, restart the server.

KNOWN ISSUES

There is a bug where some buildables cause collision issues, even after they have been deleted.

There is a bug with the permissions surrounding Buildable Saves, where it may only work for the first admin.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.