-
Notifications
You must be signed in to change notification settings - Fork 7
graywolf336 edited this page Sep 3, 2015
·
4 revisions
The Jail has reworked a lot of the internal structure and now the external api is the same as the internal api. To get started with the Jail api it is suggested to use the static starting point of JailsAPI which contains methods for getting the JailManager, PrisonerManager, and HandCuffManager.
The Javadoc is a great place to view what all is possible, a ton of things is possible. Your mind is the limitation...unless the feature hasn't been implemented. 😉 https://ci.craftyn.com/job/Jail/javadoc/
The Jail plugin now fires events when certain things happen, the following are the current list of implemented events:
- PrePrisonerJailedByJailStickEvent
- PrePrisonerJailedEvent
- PrePrisonerReleasedEvent
- PrePrisonerTransferredEvent
- PrisonerDeathEvent
- PrisonerJailedEvent
- PrisonerReleasedEvent
- PrisonerTimeChangeEvent - warning: this is async
- PrisonerTransferredEvent
The url to the maven repo which Jail is hosted at is: https://repo.craftyn.com/