Sharp Aion2 Lua SDK

Sharp Aion2 Lua SDK

Build your own in-game scripts with Sharp Lua 5.5.1.

Write in-game scripts with the game, script, and ui tables, or import the bundled sdk library for game helpers and services in one place.

Browse the generated game classes, members, methods, and enums in the Game SDK browser. It includes searchable declarations and copyable examples for supported Lua getters.

Build by task

TaskGuideReference
Read character health, resources, and classFirst moduleCharacter
Find nearby characters and objectsExamplesEntity helpers
Follow a destination and check travel stateConfigurable travelMovement, travel
Read active, available, and completed questsQuest journalQuests
Use items and configure skill shortcutsModule lifecycleItems and shortcuts
Select targets, read skills and buffs, or request an upgradeRequest timingCombat and skills
Inspect detailed resources and surrounding action stateError handlingCharacter and environment
Manage gear, storage, crafting, or gatheringRequest timingInventory and crafting
Inspect objectives, expedition parties, collections, or rewardsQuest journalProgression
Work with shops, cash-shop products, market listings, or membershipsRequest timingCommerce
Request cross-map travel, change the camera, or inspect game dialogsConfigurable travelNavigation, game controls
Draw a HUD or build controlsWorking examplesDrawing, windows
Pause a job or save module settingsWorkersScript

Start here

New to programming? Follow Build scripts with AI — step by step to set up Cursor, OpenCode, Codex, or Devin, connect MCP, create Hello World, and ask your assistant to run bounded tests and check fresh logs.

  1. Run a first script from the Scripts tab.
  2. Choose instant, module, or library.
  3. Use the API reference to look up a function and its failure result.
  4. Open working examples for module patterns.
  5. See API updates for customer-facing additions to the Lua SDK.

Scripts use Lua 5.5.1. Each script has its own globals and can import bundled libraries with require.

Functions that depend on a character or world may return nil, error while the game is loading or changing maps. Check the result before using it, and read current values again after a map or character change.

On this page