-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR adds some small things useful for plugins that I was missing: - Adds an extra hook `onUserLogin` that gets called when a user logs in (requests `/configuration/Init`); - Adds back functionality to the `onMissionEnd` hook that already existed but was never called; - Passes a plugin's filename to the plugin, which can especially be useful for SMF-added plugins. (Basically just https://nodejs.org/api/modules.html#__filename) Relevant issue: #21
- Loading branch information
Showing
3 changed files
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters