forked from ModDamage/ModDamage
-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration: player events
coaster3000 edited this page Apr 13, 2013
·
4 revisions
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 | Type | Settable |
|---|---|---|
| player | Player | No |
| world | World | No |
| message | String | Yes |
| format | String | Yes |
| cancelled | Boolean | Yes - Through routine 'cancel' |
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 |