Jump to content
  • Lua API

    3 guides in this category

    1. Introduction

      Introduction to Lua Scripting What it is Lua scripting lets you change how your server behaves without a DLL developer and without rebuilding anything. Game events call into your scripts, your scripts call back into the game, and a reload is enough to see the result. What used to be a feature request becomes a file you edit yourself. Two plugins, one system LuaAPI Core is the foundation. It opens the server to Lua: players, items, monsters, currencies, timers and the database
      • 69 views
    2. API Core

      LuaAPI Core What it exposes Core gives Lua 155 functions across 25 namespaces, covering players, monsters, items, inventories, stats, buffs, skills, parties, guilds, movement, currencies, timers and a scheduler. On top of that come 13 data structures with direct access to player, monster, item and query result objects. Reacting to the game Behaviour hangs off 60 event hooks. A script runs when a player connects, enters the world, levels up, resets, kills or dies, picks up an
      • 58 views
    3. UI Extension

      LuaUI Extension What it adds Core changes what the server does, the Extension changes what the player sees. It requires Core. You build floating windows that the player opens and drags, or HUD panels that stay on screen for the whole session. They can use the game's own frame artwork so they look built in, or be skinned entirely from your own bitmaps. Controls
      • 73 views
×
×
  • Create New...

Important Information


We use technologies, such as cookies, to customize content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy.