Namespaces Overview
Namespaces provide organized access to related API functions in Growlauncher.
Available Namespaces
ItemInfoManager
Access to the item database and item information management.
Tile
Tile manipulation and world coordinate functions.
Growtopia
Core Growtopia game interaction functions.
Growlauncher
Version and system information functions.
Preferences
Settings and configuration management.
UserInterface
JSON builder functions for custom UI components.
UIManager
UI management and generation functions.
Usage Examples
lua
-- Item info management
local itemManager = getItemInfoManager()
local itemInfo = itemManager.getItemInfoByID(2)
-- Tile operations
local tile = tile.getTile(10, 10)
tile.setFg(tile, 7188)
-- Growtopia functions
growtopia.warpTo("START")
growtopia.sendChat("Hello!")
-- Version info
log(growlauncher.getVersion())
-- Preferences
local pref = require("preferences")
pref:new("config")
pref:set("enabled", true)