Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
SimTX Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Lua extension manifest
(section)
Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Fields == {| class="wikitable" ! Field !! Required !! Meaning |- | <code>id</code> || Yes || Stable lowercase package identifier. It must contain at least one separator and may use letters, digits, periods, underscores, and hyphens, for example <code>net.example.my-addon</code>. |- | <code>name</code> || Yes || Display name, at most 80 characters. |- | <code>version</code> || Yes || Package version in semantic versioning form, such as <code>1.2.0</code>, optionally with prerelease or build information. |- | <code>api</code> || Yes || Required SimTX Lua API version. The current version is <code>1</code>. |- | <code>entry</code> || No || Relative path of the entry Lua file. The default is <code>init.lua</code>. |- | <code>types</code> || Yes || Comma-separated list of <code>modulation</code>, <code>audio-addon</code>, <code>action</code>, <code>theme</code>, and <code>library</code>. |- | <code>description</code> || No || Package description, at most 300 characters. |- | <code>dependencies</code> || No || Comma-separated package requirements in <code>package.id@version-range</code> form. |- | <code>exports</code> || For libraries || Comma-separated Lua module names made available to dependent packages. |} Unknown fields are rejected. The entry path must stay within the package and end in <code>.lua</code>. The declared types must exactly match the types registered by the entry file, apart from <code>library</code>, which represents exported modules rather than a registration.
Summary:
Please note that all contributions to SimTX Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SimTX Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)