Skip to content

Configuration: player events

coaster3000 edited this page Apr 13, 2013 · 4 revisions

Player Events Index

Player Events

Chat Event

Player Chat Event. This is a Synchronized Chat event from bukkit.

Note: We can't implement async chat events with ease due to multi threading nature. ModDamage would need lots of rewrites to be safe to use such a system.

Variables

Variables Type Settable
player Player No
world World No
message String Yes
format String Yes
cancelled Boolean Yes - Through routine 'cancel'

Interact Event

Player Interact Event. Used when a player (Left | Right) clicks with (Nothing | Item) in hand.

Variables Type Settable
player Player No
world World No
item ItemHolder No
action Action No
interact_left Boolean No
interact_right Boolean No
interact_with_block Boolean No
interact_air | interact_with_air Boolean No
interact_block Boolean No
cancelled Boolean Yes

Clone this wiki locally