Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more events to the Plugin API #552

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

Conversation

vyPal
Copy link
Contributor

@vyPal vyPal commented Feb 14, 2025

Description

This PR aims to add support for various Bukkit inspired events to the Pumpkin Plugin API.

Events being added:

Player events:

  • ChangeWorld - called when a player teleports to another world
  • GamemodeChange - called when a player's game mode is changed
  • Login - called while a player is joining but before they are added to the world
  • Chat - when a player sends a chat message
  • CommandSend - when a player executes a command
  • Move - when a player moves
  • Teleport - when a player is teleported

Server events:

  • Broadcast - when a message is broadcast server-wide
  • PluginEnable - when a plugin is enabled
  • PluginDisable - when a plugin is disabled
  • Command - when a command is executed by either console or RCON

Testing

Please follow our Coding Guidelines

@vyPal vyPal marked this pull request as ready for review March 6, 2025 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant