Skip to content

Events #3

Description

@Ivan1pl

Add annotation-based skript-like event handlers.

Example:
Skript:

on mine of stone:
    send "You just mined stone!" to player

Java:

@OnBlockBreak(Material.STONE)
void onBlockBreak(Player player) {
    player.sendMessage("You just mined stone!");
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions