Global Variables
Drupi uses global variables to give users access to commonly required features or functions.
Last updated
Was this helpful?
Drupi uses global variables to give users access to commonly required features or functions.
Last updated
Was this helpful?
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 .
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 .
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 servers.
Express
- The Express API, can be used for creating HTTP APIs with Drupi.
TitleManager
- access to Drupi's TitleManager expansion. Requires the .
LabyModAPI
- access to Drupi's LabyModAPI expansion. Requires the .
PlaceholderAPI
- access to Drupi's PlaceholderAPI expansion. Requires the .
WorldGuard
- access to Drupi's WorldGuard expansion. Requires the .
Holograms
- access to Drupi's Holograms expansion. Requires the .