Home - Henningstone/HMod GitHub Wiki

Welcome to the HMod (aka TMF) wiki!

This project implements a lua api into the teeworlds server to provide an easy way to create simple and portable mods.


Index of this Wiki

  • Using Lua-Mods
    • Getting TMF
    • Where to get them
    • How to install them
  • Creating Lua-Mods
    • General design idea
    • Obligatory directory tree structure
    • Lua Classes
    • Lua Events
    • Lua Entities
    • API Reference
      • Global functions
        • print
        • throw
        • Listdir
        • GetScriptName
      • Custom types
        • vec2
        • vec3
        • vec4
        • CProjectileProperties
      • Global namespaces
        • Srv (main namespace)
          • Server
          • Game
          • Console
          • Storage
          • Lua