Gives access to API available in Spigot but not Bukkit. As CommandHelper now depends on Spigot, these functions and events are subject to be moved into CommandHelper at some point.
- CHSpigot 2.0.8 for Spigot 1.16.5+ (CommandHelper 3.3.5 #392 or later) Documentation
- CHSpigot 2.0.4 for Spigot 1.13.2 - 1.16.5 (CommandHelper 3.3.4) Documentation
- CHSpigot 1.6.0a for Spigot 1.12.2 (CommandHelper 3.3.2) Documentation
This event is called when a player's item (like a tool) will take damage. Cancelling this event will prevent damage from being taken on items.
- player: String Match
- itemname: String Match
- player: the player's name
- item: an item array of the item being damaged
- damage: the amount of durability damage the item will be taking
- damage
This event is called when an entity mounts another entity.
- type: Macro Match
- mounttype: Macro Match
- type: The type of entity that is mounting
- id: The UUID of the mounting entity
- mounttype: The type of entity that is mounted
- mountid: The UUID of the mounted entity
This event is called when an entity dismounts another entity. This event cannot be cancelled.
- type: Macro Match
- mounttype: Macro Match
- type: The type of entity that is dismounting
- id: The UUID of the dismounting entity
- mounttype: The type of entity that is mounted
- mountid: The UUID of the mounted entity
This event is called when a spawner spawns an entity.
- type: String Match
- type: The type of entity that is spawning
- id: The UUID of the spawning entity
- location: The location the entity spawned
- spawner: The location of the spawner that spawned the entity