Skip to content
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.
goodbyepavlyi 3 edited this page Jul 8, 2022 · 9 revisions

AuthTools

What's AuthTools?

  • AuthTools is a plugin for your server that can be a standalone plugin, hook for an AuthMe and nLogin, or just do actions with the API.

How does AuthTools work?

Standalone plugin

  • When a player joins the plugin immediately checks if the player is already registered or not if the player is registered the player has to log in.

Hooked

  • When the plugin is hooked into nLogin or AuthMe the plugin will listen for events when the player logs in, if the player is registered with 2FA then the player will have to log in.

API

  • When the plugin is listening only for APIs actions you have to control actions in your plugin that you wanna use API in.

How does AuthTools communicate with AuthToolsBungee?

  • Via plugin messages. When the player logs in or registers AuthTools sends a plugin message to AuthToolsBungee and allows the player to use commands and server switching again.

Navigation Pane