Last active
December 22, 2015 01:19
-
-
Save jlitewski/6396023 to your computer and use it in GitHub Desktop.
Trillek Modfile Layout suggestion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Modfile] | |
## This is ignored by the parser, since it's a comment | |
name: Suggestion ## Type: String (UTF-8); The human readable name of the mod | |
version: 1 ## Type: String (UTF-8); The mod version. The reasoning for "String" instead of "int" or similar is because of | |
## versions like "Alpha HerpDerp v0.0.1.gamma" that will start appearing | |
type: Lua ## Type: String (UTF-8); The type of mod this is. Most generally it'll be Lua, but it could be anything | |
file: /path/to/mod.lua ## Type: String (UTF-8); The main file (or script) of this mod | |
permissions { ## permissions mods request to use. Optional | |
## These permissions would be used for riskier parts of the API that could be abused. | |
trillek.network.rawpacket, | |
trillek.os.write | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment