Denizen Script Events


Events are a way to listen to things that happened on your server and respond to them through a script. These usually pair with 'world' script containers.
Learn about how events work in The Beginner's Guide.


Showing 3 out of 283 events...

Categories:

Player | Depenizen


Category: Player


Event Linesplayer joins
player join
Triggerswhen a player joins the server.
Has PlayerAlways.
Switchesin:<area> to only process the event if the player will be within a specified area.
Contexts<context.message> returns an ElementTag of the join message.
DetermineElementTag to change the join message.
"NONE" to cancel the join message.
GroupPlayer
Sourcehttps://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/events/player/PlayerJoinsScriptEvent.java#L16



Category: Depenizen


Event Linesbungee player joins network
Triggerswhen a player joins the Bungee network (but has not yet entered a server).
Has Playerwhen the player has been on this specific server before.
Contexts<context.name> returns the connecting player's name.
<context.uuid> returns the connection player's UUID.
GroupDepenizen
RequiresDepenizen, DepenizenBungee, BungeeCord
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/events/bungee/BungeePlayerJoinsScriptEvent.java#L16

Event Linespvparena player joins
Triggerswhen a player joins a pvparena.
Has PlayerAlways.
Contexts<context.arena> returns the arena denizen object.
CancellableTrue - This adds <context.cancelled> and determine 'cancelled' or 'cancelled:false'
GroupDepenizen
RequiresDepenizen, PVPArena
Sourcehttps://github.com/DenizenScript/Depenizen/blob/master/src/main/java/com/denizenscript/depenizen/bukkit/events/pvparena/PlayerJoinsPVPArenaScriptEvent.java#L14