Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sessions:
- # Do you want to enable the session feature?
- # If enabled, when a player authenticates successfully,
- # his IP and his nickname is saved.
- # The next time the player joins the server, if his IP
- # is the same as last time and the timeout hasn't
- # expired, he will not need to authenticate.
- enabled: false
- # After how many minutes should a session expire?
- # A player's session ends after the timeout or if his IP has changed
- timeout: 10
- # Message language, available languages:
- # https://github.com/AuthMe/AuthMeReloaded/blob/master/docs/translations.md
- messagesLanguage: 'en'
- # Forces authme to hook into Vault instead of a specific permission handler system.
- forceVaultHook: false
- # Log level: INFO, FINE, DEBUG. Use INFO for general messages,
- # FINE for some additional detailed ones (like password failed),
- # and DEBUG for debugging
- logLevel: 'FINE'
- # By default we schedule async tasks when talking to the database. If you want
- # typical communication with the database to happen synchronously, set this to false
- useAsyncTasks: true
- # By default we handle the AsyncPlayerPreLoginEvent which makes the plugin faster
- # but it is incompatible with any permission plugin not included in our compatibility list.
- # If you have issues with permission checks on player join please disable this option.
- useAsyncPreLoginEvent: true
- restrictions:
- # Can not authenticated players chat?
- # Keep in mind that this feature also blocks all commands not
- # listed in the list below.
- allowChat: false
- # Hide the chat log from players who are not authenticated?
- hideChat: false
- # Allowed commands for unauthenticated players
- allowCommands:
- - '/login'
- - '/register'
- # Max number of allowed registrations per IP
- # The value 0 means an unlimited number of registrations!
- maxRegPerIp: 3
- # Minimum allowed username length
- minNicknameLength: 3
- # Maximum allowed username length
- maxNicknameLength: 16
- # When this setting is enabled, online players can't be kicked out
- # due to "Logged in from another Location"
- # This setting will prevent potential security exploits.
- ForceSingleSession: true
- ForceSpawnLocOnJoin:
- # If enabled, every player that spawn in one of the world listed in
- # "ForceSpawnLocOnJoin.worlds" will be teleported to the spawnpoint after successful
- # authentication. The quit location of the player will be overwritten.
- # This is different from "teleportUnAuthedToSpawn" that teleport player
- # to the spawnpoint on join.
- enabled: false
- # WorldNames where we need to force the spawn location
- # Case-sensitive!
- worlds:
- - 'world'
- - 'world_nether'
- - 'world_the_end'
- # This option will save the quit location of the players.
- SaveQuitLocation: false
- # To activate the restricted user feature you need
- # to enable this option and configure the AllowedRestrictedUser field.
- AllowRestrictedUser: false
- # The restricted user feature will kick players listed below
- # if they don't match the defined IP address. Names are case-insensitive.
- # You can use * as wildcard (127.0.0.*), or regex with a "regex:" prefix regex:127\.0\.0\..*
- # Example:
- # AllowedRestrictedUser:
- # - playername;127.0.0.1
- # - playername;regex:127\.0\.0\..*
- AllowedRestrictedUser: []
- # Ban unknown IPs trying to log in with a restricted username?
- banUnsafedIP: false
- # Should unregistered players be kicked immediately?
- kickNonRegistered: false
- # Should players be kicked on wrong password?
- kickOnWrongPassword: true
- # Should not logged in players be teleported to the spawn?
- # After the authentication they will be teleported back to
- # their normal position.
- teleportUnAuthedToSpawn: false
- # Can unregistered players walk around?
- allowMovement: false
- # After how many seconds should players who fail to login or register
- # be kicked? Set to 0 to disable.
- timeout: 30
- # Regex pattern of allowed characters in the player name.
- allowedNicknameCharacters: '[a-zA-Z0-9_]*'
- # How far can unregistered players walk?
- # Set to 0 for unlimited radius
- allowedMovementRadius: 100
- # Should we protect the player inventory before logging in? Requires ProtocolLib.
- ProtectInventoryBeforeLogIn: true
- # Should we deny the tabcomplete feature before logging in? Requires ProtocolLib.
- DenyTabCompleteBeforeLogin: false
- # Should we display all other accounts from a player when he joins?
- # permission: /authme.admin.accounts
- displayOtherAccounts: true
- # Spawn priority; values: authme, essentials, multiverse, default
- spawnPriority: 'authme,essentials,multiverse,default'
- # Maximum Login authorized by IP
- maxLoginPerIp: 0
- # Maximum Join authorized by IP
- maxJoinPerIp: 0
- # AuthMe will NEVER teleport players if set to true!
- noTeleport: false
- # Regex syntax for allowed chars in passwords. The default [!-~] allows all visible ASCII
- # characters, which is what we recommend. See also http://asciitable.com
- # You can test your regex with https://regex101.com
- allowedPasswordCharacters: '[!-~]*'
- # Threshold of the other accounts command, a value less than 2 means disabled.
- otherAccountsCmdThreshold: 0
- # Command to run when a user has more accounts than the configured threshold.
- # Available variables: %playername%, %playerip%
- otherAccountsCmd: 'say The player %playername% with ip %playerip% has multiple accounts!'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement