DUXPLIMA Documentation

API

Reaching uxmAuth from another plugin, and the events on Paper and Velocity.

Another plugin compiles against the uxmAuth-api module and reaches the API through AuthApiProvider.get() on Paper and Velocity, or through the services manager on Paper. It answers isAuthenticated, method and kind from memory. Both jars carry the module unrelocated.

Paper events

EventFiresThread
PreLoginEventBefore a password is checked; refuse(reason) refuses, and a refused login spends no attemptOff the server's threads
PreRegisterEventBefore an account is made; refuse(reason)Off the server's threads
LoginEventA loginThe player's thread
RegisterEventA registrationThe player's thread
FailedLoginEventA wrong passwordOff the server's threads
BanEventAn address banOff the server's threads
PasswordChangeEventA password changeOff the server's threads
UnregisterEventAn account removedOff the server's threads
KindSwitchEventPremium to cracked or backOff the server's threads

Velocity events

PreLoginEvent, PreRegisterEvent, LoginEvent, RegisterEvent, FailedLoginEvent and BanEvent fire for what happens at the proxy.

Related: Integrations