> For the complete documentation index, see [llms.txt](https://docs.drupi.slicknicky10.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.drupi.slicknicky10.me/basic-features/global-variables.md).

# Global Variables

Drupi uses global variables to give users access to commonly required features or functions.

`http` - Drupi's HTTP Manager, used for sending HTTP requests.

`color` - simple function used for coloring text.

`database` - access to Drupi's DatabaseManager.

`placeholderapi` - access to Drupi's PlaceholderAPI expansion.

`event` - used for creating and removing [event listeners](/basic-features/events.md).

`server` - the Server that Drupi is running on.

`drupi` - the Drupi instance, useful for low-level modules that need direct access to Drupi's core.

`plugin` - the Drupi plugin instance.

`manager` - Drupi's Function Manager, used for other functions.

`command` - Drupi's Command Manager, used for [creating commands](/basic-features/commands.md).

`cast` - used for Java type casting. Example: casting a CommandSender to a Player.

`logger` - Drupi's console logger.

`variable` - access to Drupi's variable system, useful for storing persistent data.

`scoreboard` - Drupi's Scoreboard API for creating dynamic sidebars.

`material` - Drupi's Material Manager, useful for making simple changes to Materials and ItemStacks.

`socket` - Drupi's Socket Manager, can be used for connecting to [Socket.IO](https://socket.io) servers.

`Express` - The Express API, can be used for creating HTTP APIs with Drupi.

`TitleManager` - access to Drupi's TitleManager expansion. Requires the [TitleManager plugin](https://www.spigotmc.org/resources/titlemanager.1049).

`LabyModAPI` - access to Drupi's LabyModAPI expansion. Requires the [LabyMod Server API plugin](https://www.spigotmc.org/resources/labymod-server-api.52423).

`PlaceholderAPI` - access to Drupi's PlaceholderAPI expansion. Requires the [PlaceholderAPI plugin](https://www.spigotmc.org/resources/placeholderapi.6245).

`WorldGuard` - access to Drupi's WorldGuard expansion. Requires the [WorldGuard plugin](https://dev.bukkit.org/projects/worldguard).

`Holograms` - access to Drupi's Holograms expansion. Requires the [Holograms plugin](https://www.spigotmc.org/resources/holograms.4924).
