-
Notifications
You must be signed in to change notification settings - Fork 4
SuperAuth AuthSettings.yml
TheProgramSrc edited this page Sep 21, 2020
·
1 revision
AuthEnabled: true
AuthMethod: DIALOG
HashingMethod: SHA-512
PinLength: 6
Commands:
Register: register
Login: login
Auth: auth
AntiBots:
MaxTime: 30
Captcha:
Enabled: true
Chance: 0.9
Length: 5
Before:
Register:
- msg:&aHello! Please register yourself
Login:
- msg:&aHello Again! Please authenticate yourself
After:
Register:
- "msg:&aGreat! Now you can play"
- "cmd:kit nooby"
- "server:rules"
Login:
- "msg:&aGreat! Now you can play"
- "cmd:kit nooby"
- "server:lobby"
- "wait:10"
- "msg:&7If you need support or help join our &9Discord&7!"
WhitelistedCommands:
- register
- login
Title:
After:
Login: '&bLogged In!'
Register: '&bRegistered In!'
Subtitle:
After:
Login: '&7Now you can play!'
Register: '&7Thank you for choosing us!'
Title-Time:
After:
Login: 10;60;10
Register: 10;60;10
BlockedActions:
- BLOCK_BREAK
- BLOCK_PLACE
- CHAT
- MOVEMENT
- INTERACTION
- CUSTOM_INVENTORY
-
AuthEnabled
: If it's true the plugin will request the login/register actions every time that a player joins to the server -
AuthMethod
: This is the method of Auth for the players, it can beDIALOG
,COMMANDS
, orGUI
-
HashingMethod
: This is the method to encrypt the passwords. It can beSHA-512 (RECOMMENDED)
,SHA-384
,SHA-256
,SHA-1
,MD5
, orMD2
-
PinLength
: This setting is applied only when theAuthMethod
isGUI
, is the max length of a PIN -
Commands
: This is the Commands Section, where you can edit the commands -
Commands.Register
: This is the register command, usually isregister
-
Commands.Login
: This is the login command, usually islogin
-
Commands.Auth
: This is the auth command, this can be used only if theAuthMethod
isGUI
, and the plugin didn't opened the Auth GUI -
AntiBots
: This section allows you to customize the AntiBot Settings -
AntiBots.MaxTime
: This is the max time that a user can be in the Auth Server without being logged in or registered -
AntiBots.Captcha
: This Section allows you to manage the AfterAuth Captcha -
AntiBots.Captcha.Enabled
: If the captcha is enabled, a little challenge will be showed after being logged in or registered. -
AntiBots.Captcha.Chance
: This is the chance to being showed the captcha. The percentage can be calculated by multiplying the number by 10, for example0.5 * 10 = 50%
-
AntiBots.Captcha.Length
: This is the length of the Captcha text. If it's longer it's recommended to increase theAntiBots.MaxTime
-
Before
: This section contains the actions before the auth -
Before.Register
: This list contains all the actions executed before the registering -
Before.Login
: This list contains all the actions executed before Logging In -
After
: This section contains the actions after the auth -
After.Register
: This list contains all the actions executed after the registering -
After.Login
: This list contains all the actions executed after Logging In -
WhitelistedCommands
: This list contains all the whitelisted commands during the register or login with the Auth MethodCOMMANDS
-
Title
: This section contains all the settings for the Titles -
Title.After
: This section contains all the settings for the Titles After the Auth -
Title.After.Login
: This section contains all the settings for the Titles After Logging In -
Title.After.Register
: This section contains all the settings for the Titles After Registering -
Subtitle
: This section contains all the settings for the Subtitles -
Subtitle.After
: This section contains all the settings for the Subtitles After the Auth -
Subtitle.After.Login
: This section contains all the settings for the Subtitles After Logging In -
Subtitle.After.Register
: This section contains all the settings for the Subtitles After Registering -
Title-Time
: This section contains all the settings to customize the Title and Subtitle Timings. The format isIN;STAY;OUT
-
Title-Time.After
: This section contains all the settings to customize the Title and Subtitle Timings After the Auth -
Title-Time.After.Login
: This section contains all the settings to customize the Title and Subtitle Timings After Logging In -
Title-Time.After.Register
: This section contains all the settings to customize the Title and Subtitle Timings After Registering -
BlockedActions
: This List contains all the blocked actions during the Auth. The actions can be:BLOCK_BREAK (Breaking Blocks)
,BLOCK_PLACE (Placing Blocks)
,CHAT (Send chat messages)
,MOVEMENT (The movement of the player)
,INTERACTION (Interaction with blocks, items and other players)
,CUSTOM_INVENTORY (Opening Custom Inventories)
Here you have a list with the actions:
-
msg:
- Send a message -
console:
- Execute a console command -
cmd:
- Execute a command as the player -
server:
- Send the player to another Server (Require BungeeCord and BungeeCord Setup) -
wait:
- Wait the specified amount in seconds before executing another action