Guest User

Untitled

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