Skip to main content
nebulaModding docs
Nebula home

Services reference

Look up every service a mod can call, its version, its permission and its functions.

#About the services reference

Each page lists a service's limits, types, events and functions as its C header declares them. For how a function looks in LumaScript, how statuses and events work, and which mistakes Nebula reports, see Calling services.

#Services

Service Page What it does
time time Frames, world steps, clocks, timers and the world clock's speed.
system system Facts about the platform and display, the clipboard and opening links.
system.clipboard system Read and write the clipboard.
system.links system Open a web page in the player's browser.
mods mods Other mods, options, library files and mod-wide events.
mods.ids mods Numbers that stay the same for a mod.
mods.install mods Ask the player to install a mod.
fs fs Your mod's own files.
fs.exchange fs Files the player picks to share with your mod.
save save Data stored with the player's save file.
save.global save Data for all save files.
save.game save The game's own save data.
input input Your mod's actions, what the game reads, text entry, rumble and pointer source.
input.inject input Replace what the game reads from a controller.
input.dev input Raw HID devices.
net.local net Sockets, endpoints and TLS on this machine and the local network.
net.internet net Sockets, TLS, HTTP and WebSockets to the hosts your mod names.
audio audio Sounds, music, streams, placed sounds and the mix.
audio.microphone capture A microphone's samples.
capture.camera capture A camera's pictures.
assets assets Find, read, provide and cook files.
ui ui Screens and layouts.
draw draw Shapes, text and pictures at draw points.
draw.inst draw.inst Many copies of a model.
draw.light draw.light Lights in the scene.
draw.native draw.native The graphics device, for C mods.
draw.post draw.post Full-screen pixel programs.
draw.view draw.view Extra cameras.
anim anim Animations and their marks.
content.fx content.fx Particle effects.
content.model content.model Models on actors, materials and parts.
movie movie Video files.
player player The player character.

#Further reading