# Nakama server lua module, how to include dependency

**URL:** <https://forum.heroiclabs.com/t/nakama-server-lua-module-how-to-include-dependency/2124>\
**Category:** Runtime Framework\
**Tags:** getting-started, server-framework, lua\
**Created:** [November 22, 2021, 6:56pm UTC](https://forum.heroiclabs.com/t/nakama-server-lua-module-how-to-include-dependency/2124 "2021-11-22T18:56:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GeraldC](https://avatars.discourse-cdn.com/v4/letter/g/e0b2c6/32.png) [@GeraldC](https://forum.heroiclabs.com/u/GeraldC)\
**Post date:** [November 22, 2021, 6:56pm UTC](https://forum.heroiclabs.com/t/nakama-server-lua-module-how-to-include-dependency/2124/1 "2021-11-22T18:56:59Z")

</div>

I’m trying to get server authoritative multiplayer working. I want to use HardonCollider to manage collision detection but I can’t figure out the right way to add it so my lua runtime module can ‘require’ it. I tried adding it directly in the runtime path but I think that loads it as a module which I don’t think I want. I think I only want it loaded when it’s 'require’d by a module in the runtime path. I was also considering giving the server another directory like data/libraries but then I’m not sure how to refer to it to require it from a module in the runtime path.

Thanks for any help

---

<div class="post-metadata">

**Author:** ![deflinhec](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/deflinhec/32/885_2.png) [@deflinhec](https://forum.heroiclabs.com/u/deflinhec)\
**Post date:** [November 23, 2021, 1:31pm UTC](https://forum.heroiclabs.com/t/nakama-server-lua-module-how-to-include-dependency/2124/2 "2021-11-23T13:31:16Z")

</div>

require with dot style instead of slash.
