Skip to content

Runtime Environment

Available Libraries

The following standard libraries are available in the global environment:

LibraryDescription
stringString manipulation
tableTable manipulation
mathMathematical functions
bit32Bitwise operations
coroutineCo-routines support

Global Functions

In addition to the libraries above, standard Lua globals like print, type, pairs, ipairs, next, tostring, tonumber, is_instance, etc., are available.

Global Tables

Neon Next provides several client-specific global tables:

TableDescription
clientGame client utilities (FPS, time, sounds, etc.)
neonNeon functionality (features, commands)
mcDirect access to the Minecraft client instance (Java object)
networkUtilities for interacting with network packets
httpHTTP request utilities
javaUtilities for interacting with Java