Guest User

Untitled

a guest
Jul 9th, 2018
494
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.60 KB | None | 0 0
  1. settings:
  2. sessions:
  3. # Do you want to enable the session feature?
  4. # If enabled, when a player authenticates successfully,
  5. # his IP and his nickname is saved.
  6. # The next time the player joins the server, if his IP
  7. # is the same as last time and the timeout hasn't
  8. # expired, he will not need to authenticate.
  9. enabled: true
  10. # After how many minutes should a session expire?
  11. # A player's session ends after the timeout or if his IP has changed
  12. timeout: 60
  13. # Message language, available languages:
  14. # https://github.com/AuthMe/AuthMeReloaded/blob/master/docs/translations.md
  15. messagesLanguage: 'en'
  16. # Forces authme to hook into Vault instead of a specific permission handler system.
  17. forceVaultHook: false
  18. # Log level: INFO, FINE, DEBUG. Use INFO for general messages,
  19. # FINE for some additional detailed ones (like password failed),
  20. # and DEBUG for debugging
  21. logLevel: 'FINE'
  22. # By default we schedule async tasks when talking to the database. If you want
  23. # typical communication with the database to happen synchronously, set this to false
  24. useAsyncTasks: true
  25. # By default we handle the AsyncPlayerPreLoginEvent which makes the plugin faster
  26. # but it is incompatible with any permission plugin not included in our compatibility list.
  27. # If you have issues with permission checks on player join please disable this option.
  28. useAsyncPreLoginEvent: true
  29. restrictions:
  30. # Can not authenticated players chat?
  31. # Keep in mind that this feature also blocks all commands not
  32. # listed in the list below.
  33. allowChat: false
  34. # Hide the chat log from players who are not authenticated?
  35. hideChat: false
  36. # Allowed commands for unauthenticated players
  37. allowCommands:
  38. - '/login'
  39. - '/register'
  40. - '/l'
  41. - '/reg'
  42. - '/email'
  43. - '/captcha'
  44. # Max number of allowed registrations per IP
  45. # The value 0 means an unlimited number of registrations!
  46. maxRegPerIp: 4
  47. # Minimum allowed username length
  48. minNicknameLength: 3
  49. # Maximum allowed username length
  50. maxNicknameLength: 16
  51. # When this setting is enabled, online players can't be kicked out
  52. # due to "Logged in from another Location"
  53. # This setting will prevent potential security exploits.
  54. ForceSingleSession: true
  55. ForceSpawnLocOnJoin:
  56. # If enabled, every player that spawn in one of the world listed in
  57. # "ForceSpawnLocOnJoin.worlds" will be teleported to the spawnpoint after successful
  58. # authentication. The quit location of the player will be overwritten.
  59. # This is different from "teleportUnAuthedToSpawn" that teleport player
  60. # to the spawnpoint on join.
  61. enabled: false
  62. # WorldNames where we need to force the spawn location
  63. # Case-sensitive!
  64. worlds:
  65. - 'world'
  66. - 'world_nether'
  67. - 'world_the_end'
  68. # This option will save the quit location of the players.
  69. SaveQuitLocation: true
  70. # To activate the restricted user feature you need
  71. # to enable this option and configure the AllowedRestrictedUser field.
  72. AllowRestrictedUser: false
  73. # The restricted user feature will kick players listed below
  74. # if they don't match the defined IP address. Names are case-insensitive.
  75. # You can use * as wildcard (127.0.0.*), or regex with a "regex:" prefix regex:127\.0\.0\..*
  76. # Example:
  77. # AllowedRestrictedUser:
  78. # - playername;127.0.0.1
  79. # - playername;regex:127\.0\.0\..*
  80. AllowedRestrictedUser: []
  81. # Ban unknown IPs trying to log in with a restricted username?
  82. banUnsafedIP: false
  83. # Should unregistered players be kicked immediately?
  84. kickNonRegistered: false
  85. # Should players be kicked on wrong password?
  86. kickOnWrongPassword: false
  87. # Should not logged in players be teleported to the spawn?
  88. # After the authentication they will be teleported back to
  89. # their normal position.
  90. teleportUnAuthedToSpawn: true
  91. # Can unregistered players walk around?
  92. allowMovement: false
  93. # After how many seconds should players who fail to login or register
  94. # be kicked? Set to 0 to disable.
  95. timeout: 120
  96. # Regex pattern of allowed characters in the player name.
  97. allowedNicknameCharacters: '[a-zA-Z0-9_]*'
  98. # How far can unregistered players walk?
  99. # Set to 0 for unlimited radius
  100. allowedMovementRadius: 100
  101. # Should we protect the player inventory before logging in? Requires ProtocolLib.
  102. ProtectInventoryBeforeLogIn: true
  103. # Should we deny the tabcomplete feature before logging in? Requires ProtocolLib.
  104. DenyTabCompleteBeforeLogin: false
  105. # Should we display all other accounts from a player when he joins?
  106. # permission: /authme.admin.accounts
  107. displayOtherAccounts: true
  108. # Spawn priority; values: authme, essentials, multiverse, default
  109. spawnPriority: 'authme,essentials,multiverse,default'
  110. # Maximum Login authorized by IP
  111. maxLoginPerIp: 0
  112. # Maximum Join authorized by IP
  113. maxJoinPerIp: 0
  114. # AuthMe will NEVER teleport players if set to true!
  115. noTeleport: false
  116. # Regex syntax for allowed chars in passwords. The default [!-~] allows all visible ASCII
  117. # characters, which is what we recommend. See also http://asciitable.com
  118. # You can test your regex with https://regex101.com
  119. allowedPasswordCharacters: '[\x21-\x7E]*'
  120. # Threshold of the other accounts command, a value less than 2 means disabled.
  121. otherAccountsCmdThreshold: 0
  122. # Command to run when a user has more accounts than the configured threshold.
  123. # Available variables: %playername%, %playerip%
  124. otherAccountsCmd: 'say The player %playername% with ip %playerip% has multiple accounts!'
  125. GameMode:
  126. # Force survival gamemode when player joins?
  127. ForceSurvivalMode: true
  128. unrestrictions:
  129. # Below you can list all account names that AuthMe will ignore
  130. # for registration or login. Configure it at your own risk!!
  131. # This option adds compatibility with BuildCraft and some other mods.
  132. # It is case-insensitive! Example:
  133. # UnrestrictedName:
  134. # - 'npcPlayer'
  135. # - 'npcPlayer2'
  136. UnrestrictedName: []
  137. security:
  138. # Minimum length of password
  139. minPasswordLength: 5
  140. # Maximum length of password
  141. passwordMaxLength: 30
  142. # Possible values: SHA256, BCRYPT, BCRYPT2Y, PBKDF2, SALTEDSHA512,
  143. # MYBB, IPB3, PHPBB, PHPFUSION, SMF, XENFORO, XAUTH, JOOMLA, WBB3, WBB4, MD5VB,
  144. # PBKDF2DJANGO, WORDPRESS, ROYALAUTH, ARGON2, CUSTOM (for developers only). See full list at
  145. # https://github.com/AuthMe/AuthMeReloaded/blob/master/docs/hash_algorithms.md
  146. # If you use ARGON2, check that you have the argon2 c library on your system
  147. passwordHash: 'SHA256'
  148. # If a password check fails, AuthMe will also try to check with the following hash methods.
  149. # Use this setting when you change from one hash method to another.
  150. # AuthMe will update the password to the new hash. Example:
  151. # legacyHashes:
  152. # - 'SHA1'
  153. legacyHashes: []
  154. # Salt length for the SALTED2MD5 MD5(MD5(password)+salt)
  155. doubleMD5SaltLength: 8
  156. # Number of rounds to use if passwordHash is set to PBKDF2. Default is 10000
  157. pbkdf2Rounds: 10000
  158. # Prevent unsafe passwords from being used; put them in lowercase!
  159. # You should always set 'help' as unsafePassword due to possible conflicts.
  160. # unsafePasswords:
  161. # - '123456'
  162. # - 'password'
  163. # - 'help'
  164. unsafePasswords:
  165. - '123456'
  166. - 'password'
  167. - 'qwerty'
  168. - '12345'
  169. - '54321'
  170. - '123456789'
  171. - 'help'
  172. registration:
  173. # Enable registration on the server?
  174. enabled: true
  175. # Send every X seconds a message to a player to
  176. # remind him that he has to login/register
  177. messageInterval: 5
  178. # Only registered and logged in players can play.
  179. # See restrictions for exceptions
  180. force: true
  181. # Type of registration: PASSWORD or EMAIL
  182. # PASSWORD = account is registered with a password supplied by the user;
  183. # EMAIL = password is generated and sent to the email provided by the user.
  184. # More info at https://github.com/AuthMe/AuthMeReloaded/wiki/Registration
  185. type: 'PASSWORD'
  186. # Second argument the /register command should take: NONE = no 2nd argument
  187. # CONFIRMATION = must repeat first argument (pass or email)
  188. # EMAIL_OPTIONAL = for password register: 2nd argument can be empty or have email address
  189. # EMAIL_MANDATORY = for password register: 2nd argument MUST be an email address
  190. secondArg: 'CONFIRMATION'
  191. # Do we force kick a player after a successful registration?
  192. # Do not use with login feature below
  193. forceKickAfterRegister: false
  194. # Does AuthMe need to enforce a /login after a successful registration?
  195. forceLoginAfterRegister: false
  196. # Enable to display the welcome message (welcome.txt) after a login
  197. # You can use colors in this welcome.txt + some replaced strings:
  198. # {PLAYER}: player name, {ONLINE}: display number of online players,
  199. # {MAXPLAYERS}: display server slots, {IP}: player ip, {LOGINS}: number of players logged,
  200. # {WORLD}: player current world, {SERVER}: server name
  201. # {VERSION}: get current bukkit version, {COUNTRY}: player country
  202. useWelcomeMessage: true
  203. # Broadcast the welcome message to the server or only to the player?
  204. # set true for server or false for player
  205. broadcastWelcomeMessage: false
  206. # Should we delay the join message and display it once the player has logged in?
  207. delayJoinMessage: false
  208. # The custom join message that will be sent after a successful login,
  209. # keep empty to use the original one.
  210. # Available variables:
  211. # {PLAYERNAME}: the player name (no colors)
  212. # {DISPLAYNAME}: the player display name (with colors)
  213. # {DISPLAYNAMENOCOLOR}: the player display name (without colors)
  214. customJoinMessage: ''
  215. # Should we remove the leave messages of unlogged users?
  216. removeUnloggedLeaveMessage: false
  217. # Should we remove join messages altogether?
  218. removeJoinMessage: false
  219. # Should we remove leave messages altogether?
  220. removeLeaveMessage: false
  221. # Do we need to add potion effect Blinding before login/reigster?
  222. applyBlindEffect: false
  223. # Do we need to prevent people to login with another case?
  224. # If Xephi is registered, then Xephi can login, but not XEPHI/xephi/XePhI
  225. preventOtherCase: true
  226. GroupOptions:
  227. # Enables switching a player to defined permission groups before they log in.
  228. # See below for a detailed explanation.
  229. enablePermissionCheck: false
  230. # This is a very important option: if a registered player joins the server
  231. # AuthMe will switch him to unLoggedInGroup. This should prevent all major exploits.
  232. # You can set up your permission plugin with this special group to have no permissions,
  233. # or only permission to chat (or permission to send private messages etc.).
  234. # The better way is to set up this group with few permissions, so if a player
  235. # tries to exploit an account they can do only what you've defined for the group.
  236. # After login, the player will be moved to his correct permissions group!
  237. # Please note that the group name is case-sensitive, so 'admin' is different from 'Admin'
  238. # Otherwise your group will be wiped and the player will join in the default group []!
  239. # Example: registeredPlayerGroup: 'NotLogged'
  240. registeredPlayerGroup: ''
  241. # Similar to above, unregistered players can be set to the following
  242. # permissions group
  243. unregisteredPlayerGroup: ''
  244. Email:
  245. # Email SMTP server host
  246. mailSMTP: 'smtp.gmail.com'
  247. # Email SMTP server port
  248. mailPort: 465
  249. # Only affects port 25: enable TLS/STARTTLS?
  250. useTls: true
  251. # Email account which sends the mails
  252. mailAccount: ''
  253. # Email account password
  254. mailPassword: ''
  255. # Email address, fill when mailAccount is not the email address of the account
  256. mailAddress: ''
  257. # Custom sender name, replacing the mailAccount name in the email
  258. mailSenderName: ''
  259. # Recovery password length
  260. RecoveryPasswordLength: 8
  261. # Mail Subject
  262. mailSubject: 'Your new AuthMe password'
  263. # Like maxRegPerIP but with email
  264. maxRegPerEmail: 1
  265. # Recall players to add an email?
  266. recallPlayers: false
  267. # Delay in minute for the recall scheduler
  268. delayRecall: 5
  269. # Blacklist these domains for emails
  270. emailBlacklisted:
  271. - '10minutemail.com'
  272. # Whitelist ONLY these domains for emails
  273. emailWhitelisted: []
  274. # Send the new password drawn in an image?
  275. generateImage: false
  276. # The OAuth2 token
  277. emailOauth2Token: ''
  278. Hooks:
  279. # Do we need to hook with multiverse for spawn checking?
  280. multiverse: true
  281. # Do we need to hook with BungeeCord?
  282. bungeecord: false
  283. # Send player to this BungeeCord server after register/login
  284. sendPlayerTo: ''
  285. # Do we need to disable Essentials SocialSpy on join?
  286. disableSocialSpy: false
  287. # Do we need to force /motd Essentials command on join?
  288. useEssentialsMotd: false
  289. Protection:
  290. # Enable some servers protection (country based login, antibot)
  291. enableProtection: false
  292. # Apply the protection also to registered usernames
  293. enableProtectionRegistered: true
  294. # Countries allowed to join the server and register. For country codes, see
  295. # http://dev.maxmind.com/geoip/legacy/codes/iso3166/
  296. # PLEASE USE QUOTES!
  297. countries:
  298. - 'US'
  299. - 'GB'
  300. # Countries not allowed to join the server and register
  301. # PLEASE USE QUOTES!
  302. countriesBlacklist:
  303. - 'A1'
  304. # Do we need to enable automatic antibot system?
  305. enableAntiBot: true
  306. # The interval in seconds
  307. antiBotInterval: 5
  308. # Max number of players allowed to login in the interval
  309. # before the AntiBot system is enabled automatically
  310. antiBotSensibility: 10
  311. # Duration in minutes of the antibot automatic system
  312. antiBotDuration: 10
  313. # Delay in seconds before the antibot activation
  314. antiBotDelay: 60
  315. Purge:
  316. # If enabled, AuthMe automatically purges old, unused accounts
  317. useAutoPurge: false
  318. # Number of days after which an account should be purged
  319. daysBeforeRemovePlayer: 60
  320. # Do we need to remove the player.dat file during purge process?
  321. removePlayerDat: false
  322. # Do we need to remove the Essentials/userdata/player.yml file during purge process?
  323. removeEssentialsFile: false
  324. # World in which the players.dat are stored
  325. defaultWorld: 'world'
  326. # Remove LimitedCreative/inventories/player.yml, player_creative.yml files during purge?
  327. removeLimitedCreativesInventories: false
  328. # Do we need to remove the AntiXRayData/PlayerData/player file during purge process?
  329. removeAntiXRayFile: false
  330. # Do we need to remove permissions?
  331. removePermissions: false
  332. Security:
  333. SQLProblem:
  334. # Stop the server if we can't contact the sql database
  335. # Take care with this, if you set this to false,
  336. # AuthMe will automatically disable and the server won't be protected!
  337. stopServer: true
  338. console:
  339. # Remove passwords from console?
  340. removePassword: true
  341. # Copy AuthMe log output in a separate file as well?
  342. logConsole: true
  343. captcha:
  344. # Enable captcha when a player uses wrong password too many times
  345. useCaptcha: false
  346. # Max allowed tries before a captcha is required
  347. maxLoginTry: 5
  348. # Captcha length
  349. captchaLength: 5
  350. # Minutes after which login attempts count is reset for a player
  351. captchaCountReset: 60
  352. tempban:
  353. # Tempban a user's IP address if they enter the wrong password too many times
  354. enableTempban: false
  355. # How many times a user can attempt to login before their IP being tempbanned
  356. maxLoginTries: 10
  357. # The length of time a IP address will be tempbanned in minutes
  358. # Default: 480 minutes, or 8 hours
  359. tempbanLength: 480
  360. # How many minutes before resetting the count for failed logins by IP and username
  361. # Default: 480 minutes (8 hours)
  362. minutesBeforeCounterReset: 480
  363. # The command to execute instead of using the internal ban system, empty if disabled.
  364. # Available placeholders: %player%, %ip%
  365. customCommand: ''
  366. recoveryCode:
  367. # Number of characters a recovery code should have (0 to disable)
  368. length: 8
  369. # How many hours is a recovery code valid for?
  370. validForHours: 4
  371. # Max number of tries to enter recovery code
  372. maxTries: 3
  373. # How long a player has after password recovery to change their password
  374. # without logging in. This is in minutes.
  375. # Default: 2 minutes
  376. passwordChangeTimeout: 2
  377. emailRecovery:
  378. # Seconds a user has to wait for before a password recovery mail may be sent again
  379. # This prevents an attacker from abusing AuthMe's email feature.
  380. cooldown: 60
  381. privacy:
  382. # The mail shown using /email show will be partially hidden
  383. # E.g. (if enabled)
  384. # original email: my.email@example.com
  385. # hidden email: my.***@***mple.com
  386. enableEmailMasking: false
  387. # Minutes after which a verification code will expire
  388. verificationCodeExpiration: 10
  389. # Before a user logs in, various properties are temporarily removed from the player,
  390. # such as OP status, ability to fly, and walk/fly speed.
  391. # Once the user is logged in, we add back the properties we previously saved.
  392. # In this section, you may define how these properties should be handled.
  393. # Read more at https://github.com/AuthMe/AuthMeReloaded/wiki/Limbo-players
  394. limbo:
  395. persistence:
  396. # Besides storing the data in memory, you can define if/how the data should be persisted
  397. # on disk. This is useful in case of a server crash, so next time the server starts we can
  398. # properly restore things like OP status, ability to fly, and walk/fly speed.
  399. # DISABLED: no disk storage,
  400. # INDIVIDUAL_FILES: each player data in its own file,
  401. # DISTRIBUTED_FILES: distributes players into different files based on their UUID, see below
  402. type: 'INDIVIDUAL_FILES'
  403. # This setting only affects DISTRIBUTED_FILES persistence. The distributed file
  404. # persistence attempts to reduce the number of files by distributing players into various
  405. # buckets based on their UUID. This setting defines into how many files the players should
  406. # be distributed. Possible values: ONE, FOUR, EIGHT, SIXTEEN, THIRTY_TWO, SIXTY_FOUR,
  407. # ONE_TWENTY for 128, TWO_FIFTY for 256.
  408. # For example, if you expect 100 non-logged in players, setting to SIXTEEN will average
  409. # 6.25 players per file (100 / 16).
  410. # Note: if you change this setting all data will be migrated. If you have a lot of data,
  411. # change this setting only on server restart, not with /authme reload.
  412. distributionSize: 'SIXTEEN'
  413. # Whether the player is allowed to fly: RESTORE, ENABLE, DISABLE, NOTHING.
  414. # RESTORE sets back the old property from the player. NOTHING will prevent AuthMe
  415. # from modifying the 'allow flight' property on the player.
  416. restoreAllowFlight: 'RESTORE'
  417. # Restore fly speed: RESTORE, DEFAULT, MAX_RESTORE, RESTORE_NO_ZERO.
  418. # RESTORE: restore the speed the player had;
  419. # DEFAULT: always set to default speed;
  420. # MAX_RESTORE: take the maximum of the player's current speed and the previous one
  421. # RESTORE_NO_ZERO: Like 'restore' but sets speed to default if the player's speed was 0
  422. restoreFlySpeed: 'RESTORE_NO_ZERO'
  423. # Restore walk speed: RESTORE, DEFAULT, MAX_RESTORE, RESTORE_NO_ZERO.
  424. # See above for a description of the values.
  425. restoreWalkSpeed: 'MAX_RESTORE'
  426. BackupSystem:
  427. # General configuration for backups: if false, no backups are possible
  428. ActivateBackup: false
  429. # Create backup at every start of server
  430. OnServerStart: false
  431. # Create backup at every stop of server
  432. OnServerStop: true
  433. # Windows only: MySQL installation path
  434. MysqlWindowsPath: 'C:\Program Files\MySQL\MySQL Server 5.1\'
  435. # Converter settings: see https://github.com/AuthMe/AuthMeReloaded/wiki/Converters
  436. Converter:
  437. Rakamak:
  438. # Rakamak file name
  439. fileName: 'users.rak'
  440. # Rakamak use IP?
  441. useIP: false
  442. # Rakamak IP file name
  443. ipFileName: 'UsersIp.rak'
  444. CrazyLogin:
  445. # CrazyLogin database file name
  446. fileName: 'accounts.db'
  447. loginSecurity:
  448. # LoginSecurity: convert from SQLite; if false we use MySQL
  449. useSqlite: true
  450. mySql:
  451. # LoginSecurity MySQL: database host
  452. host: ''
  453. # LoginSecurity MySQL: database name
  454. database: ''
  455. # LoginSecurity MySQL: database user
  456. user: ''
  457. # LoginSecurity MySQL: password for database user
  458. password: ''
Add Comment
Please, Sign In to add comment