Guest User

Authme Config

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