An array of all players who have ever joined.
An array of all players online.
Wait a specific amount of time before doing something else asynchronously.
The delay to wait.
Broadcast a message to every user, or optionally every user with some specific permission.
The message to broadcast
The optional permission users will need to see the broadcast
Get the default world of the server
Get an enchantment from its Spigot name. For example, damage all
will work, but not sharpness
.
The enchantment name (eg. knockback
)
Get an enchantment from its Spigot name. For example, damage all
will work, but not sharpness
.
The enchantment name (eg. knockback
)
Format an enum-like text to be nicer. (Eg. ZOMBIFIED_PIGLIN
to zombified piglin
)
The text to format
Check if any entity is of the given mob type.
The entity to check.
The entity-type to make sure they're of. (eg. zombie
)
Get an itemflag from its Spigot name. For example, `hide enchants'.
The itemflag name (eg. hide attributes
)
Get an itemstack from the material name and the options.
Get a material type from its name.
The name of the material (eg. diamond sword
)
Get a player from their username.
The name of the player.
Restart the server.
Restart the server.
Schedule a task to run repeatedly after a specific amount of time passes
The amount of time that needs to pass for it to repeat
Shutdown the server.
Get a skull from a player.
The player whose skull to get.
The options
Get a skull from the UUID of the player who owned it.
The UUID of the player who's skin represents the skull.
Shutdown the server.
Summon an entity at any given location
The name of the entity-type (eg. zombie
) that you'd like to spawn
The location of where to spawn it
Convert some normal text to an enum. (Eg. zombified piglin
to ZOMBIFIED_PIGLIN
)
The text to un format
Find a world from a specific name
The name of the world to find
List all worlds in the server
Generated using TypeDoc
The wrapper around the server provided by Velt.