Adds scripting support and other useful functionality to 7 Days To Die dedicated server.
- Quickly and easily modify commands to your own preference; changes are live instantly without server restart
- Pick and choose commands from various online sources; write and share single command snippets with others
- Implement new commands from simple to complex individual features; no need for third-party bots
- Full OS access, full file access, full network access: use web requests (REST/JSON), any database, send emails, ...
- Two of the most flexible and easy to learn programming languages with lots of resources online
- Full access to .Net Framework, all Unity objects, and all 7DTD game data
- Full support of 7DTD command permission system: assign access levels to your commands just like any other
dj-export | Exports a prefab including all container content, sign texts, ownership, etc. |
dj-import | Imports a prefab, optionally including all container content, sign texts, ownership, etc. |
dj-pos | Shows the current player's position in various units and formats. |
dj-regen | Regenerates a chunk or custom area based on the world seed. |
dj-repair | Repairs server problems of various kinds. *NEW!* |
dj-reset-js | Clears the JavaScript engine from all variables and loaded modules. |
dj-reset-lua | Clears the Lua engine from all variables and loaded modules. |
dj-version | Shows djkrose's Scripting Mod version information. |
- Dedicated Server of 7 Days to Die. The mod is not meant to be used with the desktop client.
- For specific version compatibility, see release notes.
- Developed and tested on Windows. Linux may or may not work; reports are welcome!
- No dependencies: No other mods or other software is required.
- Successfully tested together with these great mods:
[coming later]
During this early phase of development the source code is not yet publicly available. The GitHub repository is just used for issue tracking and documentation. When the mod has reached stable status (version 1.0) the source code will be published and others are invited to contribute to it or use parts in their own mods.
The mod is still in early development and I want to add a lot more to it. Here are some ideas:
- Expose more game variables and functions to scripts through an easy ScriptingMod API with clear documentation
- Many more example scripts in Lua and JavaScript to get you started quicker
- Event system to execute scripts based on game events like player logged in, player killed, bloodmoon starting, etc.
- Option to execute commands through chat messages rather than console commands, for instance /home or !home
This is just a rough outline; everything is subject to change depending on your feedback, on feasibility, on my real life commitments, and simply on my pleasure to continue in any direction or at all.
Feedback is welcome! If you have any suggestions, questions, or concerns please send me a message:
Just remember: This software is provided free of charge, as is, without any guarantee or support. You are not entitled to support, nor is anyone but you liable for data loss. If it doesn't work, that is just bad luck. If data is lost, you should've made a backup.
djkrose's Scripting Mod is licensed under a CC BY-NC 4.0. That means, you are free to use the mod and the source code (once published) for non-commercial purposes; just leave the credit notes intact.
This mod is a private project and not affiliated with the official 7DTD game or with The Fun Pimps in any way.