💻
alt:V Athena Docs v3.0.0
  • Info
    • Introduction
    • Patreon & Support
    • Athena Discord
    • FAQ
  • Installation
    • Common Issues
    • Windows
    • Linux (Ubuntu 20.04+)
    • Debugging
    • Updating
  • Info
    • Admin
    • Configuration
    • Console
    • Database
    • Hotkeys
    • Identifier
  • Plugins
    • Load Plugins
    • Create Plugins
    • Mods
    • Clothing
  • Controllers
    • What is a Controller?
    • Blip Controller
    • Interaction Controller
    • Marker Controller
    • Object Controller
    • Ped Controller
    • Text Label Controller
    • World Notification Controller
  • Systems
    • Interiors
    • Inventory & Items
    • Inventory Rules
    • Jobs
    • Time
    • Weather
  • Menus
    • Menu Types
    • Action Menus
    • Input Menu
    • Wheel Menu
  • Player
    • Admin-Commands
    • Animations
    • Attach Objects
    • Credits
    • Currency
    • Commands
    • Error Screen
    • Message
    • Meta
    • Notifications
    • Particle
    • Progress Bar
    • Save
    • Shard
    • Sound
    • Spinners
    • Task Timeline
  • Custom WebViews
    • Introduction
    • Your First Page
    • CSS Framework
  • Misc
    • Custom Sounds
    • Custom Streamers
    • Custom Icons
    • Adding Locale / Translations
    • Adding Vehicle Rules
    • Adding Whitelist
    • Adding Wheel Menus
    • Adding Parking Garages
Powered by GitBook
On this page
  • What are they used for?
  • What is a uid?
Edit on GitHub
  1. Controllers

What is a Controller?

Controllers are server-side classes that control in-world elements.

A Controller in Athena's case is a system that controls in-world streamed elements, or general behavior when a player is around a certain point in-game. Controllers can be text labels creators, marker creators, object creators, etc.

Athena.controllers.x

What are they used for?

Showing different things to the player depending on their position in the world. Controllers are incredibly useful for creating custom functionality when your player base is moving around the map.

What is a uid?

A uid stands for a unique identifier. This is used to potentially remove a blip, marker, etc. When removing a created element from a player you will always need a uid to remove it. This goes for all world based controllers as well.

See the other controllers to see how a uid is used.

PreviousClothingNextBlip Controller

Last updated 3 years ago