Advertisement
Guest User

AuthMe config

a guest
Apr 6th, 2016
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.40 KB | None | 0 0
  1.  
  2.  
  3. DataSource:
  4. # What type of database do you want to use?
  5. # Valid values: sqlite, mysql
  6. backend: 'SQLITE'
  7. # Enable database caching, should improve database performance
  8. caching: true
  9. # Database host address
  10. mySQLHost: '127.0.0.1'
  11. # Database port
  12. mySQLPort: '3306'
  13. # Username about Database Connection Infos
  14. mySQLUsername: 'authme'
  15. # Password about Database Connection Infos
  16. mySQLPassword: '12345'
  17. # Database Name, use with converters or as SQLITE database name
  18. mySQLDatabase: 'authme'
  19. # Table of the database
  20. mySQLTablename: 'authme'
  21. # Column of IDs to sort data
  22. mySQLColumnId: 'id'
  23. # Column for storing or checking players nickname
  24. mySQLColumnName: 'username'
  25. # Column for storing or checking players RealName
  26. mySQLRealName: 'realname'
  27. # Column for storing players passwords
  28. mySQLColumnPassword: 'password'
  29. # Column for storing players emails
  30. mySQLColumnEmail: 'email'
  31. # Column for storing if a player is logged in or not
  32. mySQLColumnLogged: 'isLogged'
  33. # Column for storing players ips
  34. mySQLColumnIp: 'ip'
  35. # Column for storing players lastlogins
  36. mySQLColumnLastLogin: 'lastlogin'
  37. # Column for storing player LastLocation - X
  38. mySQLlastlocX: 'x'
  39. # Column for storing player LastLocation - Y
  40. mySQLlastlocY: 'y'
  41. # Column for storing player LastLocation - Z
  42. mySQLlastlocZ: 'z'
  43. # Column for storing player LastLocation - World Name
  44. mySQLlastlocWorld: 'world'
  45. # Enable this when you allow registration through a website
  46. mySQLWebsite: false
  47.  
  48. ExternalBoardOptions:
  49. # Column for storing players passwords salts
  50. mySQLColumnSalt: ''
  51. # Column for storing players groups
  52. mySQLColumnGroup: ''
  53. # -1 means disabled. If you want that only activated players
  54. # can log into your server, you can set here the group number
  55. # of unactivated users, needed for some forum/CMS support
  56. nonActivedUserGroup: -1
  57. # Other MySQL columns where we need to put the username (case-sensitive)
  58. mySQLOtherUsernameColumns: []
  59. # How much log2 rounds needed in BCrypt (do not change if you do not know what it does)
  60. bCryptLog2Round: 10
  61. # phpBB table prefix defined during the phpBB installation process
  62. phpbbTablePrefix: 'phpbb_'
  63. # phpBB activated group ID; 2 is the default registered group defined by phpBB
  64. phpbbActivatedGroupId: 2
  65. # Wordpress prefix defined during WordPress installation
  66. wordpressTablePrefix: 'wp_'
  67.  
  68. Converter:
  69. Rakamak:
  70. # Rakamak file name
  71. fileName: 'users.rak'
  72. # Rakamak use IP?
  73. useIP: false
  74. # Rakamak IP file name
  75. ipFileName: 'UsersIp.rak'
  76. CrazyLogin:
  77. # CrazyLogin database file name
  78. fileName: 'accounts.db'
  79.  
  80. settings:
  81. # The name shown in the help messages
  82. helpHeader: 'AuthMeReloaded'
  83. sessions:
  84. # Do you want to enable the session feature?
  85. # If enabled, when a player authenticates successfully,
  86. # his IP and his nickname is saved.
  87. # The next time the player joins the server, if his IP
  88. # is the same as last time and the timeout hasn't
  89. # expired, he will not need to authenticate.
  90. enabled: false
  91. # After how many minutes should a session expire?
  92. # 0 for unlimited time (Very dangerous, use it at your own risk!)
  93. # Remember that sessions will end only after the timeout, and
  94. # if the player's IP has changed but the timeout hasn't expired,
  95. # the player will be kicked from the server due to invalid session
  96. timeout: 30
  97. # Should the session expire if the player tries to log in with
  98. # another IP address?
  99. sessionExpireOnIpChange: true
  100. # Message language, available: en, de, br, cz, pl, fr, ru, hu, sk, es, zhtw, fi, zhcn, lt, it, ko, pt
  101. messagesLanguage: 'hu'
  102. restrictions:
  103. # Can not authenticated players chat and see the chat log?
  104. # Keep in mind that this feature also blocks all commands not
  105. # listed in the list below.
  106. allowChat: false
  107. # Allow unlogged users to use all the commands if registration is not forced!
  108. # WARNING: use this only if you need it!)
  109. allowAllCommandsIfRegistrationIsOptional: false
  110. # Allowed commands for unauthenticated players
  111. allowCommands:
  112. - '/login'
  113. - '/register'
  114. - '/l'
  115. - '/reg'
  116. - '/email'
  117. - '/captcha'
  118. # Max number of allowed registrations per IP
  119. maxRegPerIp: -1
  120. # Minimum allowed username length
  121. minNicknameLength: 1
  122. # Maximum allowed username length
  123. maxNicknameLength: 80
  124. # When this setting is enabled, online players can't be kicked out
  125. # due to "Logged in from another Location"
  126. # This setting will prevent potential security exploits.
  127. ForceSingleSession: true
  128. # If enabled, every player will be teleported to the world spawnpoint
  129. # after successful authentication.
  130. # The quit location of the player will be overwritten.
  131. # This is different from "teleportUnAuthedToSpawn" that teleport player
  132. # back to his quit location after the authentication.
  133. ForceSpawnLocOnJoinEnabled: true
  134. # This option will save the quit location of the players.
  135. SaveQuitLocation: false
  136. # To activate the restricted user feature you need
  137. # to enable this option and configure the AllowedRestrictedUser field.
  138. AllowRestrictedUser: false
  139. # The restricted user feature will kick players listed below
  140. # if they don't match the defined IP address.
  141. # Example:
  142. # AllowedRestrictedUser:
  143. # - playername;127.0.0.1
  144. AllowedRestrictedUser:
  145. - 'playername;127.0.0.1'
  146. # Should unregistered players be kicked immediately?
  147. kickNonRegistered: false
  148. # Should players be kicked on wrong password?
  149. kickOnWrongPassword: true
  150. # Should not logged in players be teleported to the spawn?
  151. # After the authentication they will be teleported back to
  152. # their normal position.
  153. teleportUnAuthedToSpawn: false
  154. # Can unregistered players walk around?
  155. allowMovement: false
  156. # Should not authenticated players have speed = 0?
  157. # This will reset the fly/walk speed to default value after the login.
  158. removeSpeed: true
  159. # After how many seconds should players who fail to login or register
  160. # be kicked? Set to 0 to disable.
  161. timeout: 0
  162. # Regex syntax of allowed characters in the player name.
  163. allowedNicknameCharacters: '[a-zA-Z0-9_]*'
  164. # How far can unregistered players walk?
  165. # Set to 0 for unlimited radius
  166. allowedMovementRadius: 100
  167. # Enable double check of password when you register
  168. # when it's true, registration requires that kind of command:
  169. # /register <password> <confirmPassword>
  170. enablePasswordConfirmation: false
  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: true
  175. # Should we hide the tablist before logging in? Requires ProtocolLib.
  176. HideTablistBeforeLogin: false
  177. # Should we display all other accounts from a player when he joins?
  178. # permission: /authme.admin.accounts
  179. displayOtherAccounts: false
  180. # WorldNames where we need to force the spawn location for ForceSpawnLocOnJoinEnabled
  181. # Case-sensitive!
  182. ForceSpawnOnTheseWorlds:
  183. - 'world'
  184. - 'world_survival'
  185. - 'world_creative'
  186. - 'world_plots'
  187. - 'world_nether'
  188. - 'world_plots'
  189. # Ban ip when the ip is not the ip registered in database
  190. banUnsafedIP: false
  191. # Spawn priority; values: authme, essentials, multiverse, default
  192. spawnPriority: 'essentials,multiverse,authme,default'
  193. # Maximum Login authorized by IP
  194. maxLoginPerIp: -1
  195. # Maximum Join authorized by IP
  196. maxJoinPerIp: -1
  197. # AuthMe will NEVER teleport players if set to true!
  198. noTeleport: false
  199. # Regex syntax for allowed chars in passwords
  200. allowedPasswordCharacters: '[a-zA-Z0-9_?!@+&-]*'
  201. GameMode:
  202. # Force survival gamemode when player joins?
  203. ForceSurvivalMode: false
  204. unrestrictions:
  205. # Below you can list all account names that
  206. # AuthMe will ignore for registration or login, configure it
  207. # at your own risk!! Remember that if you are going to add
  208. # nickname with [], you have to delimit name with ' '.
  209. # this option add compatibility with BuildCraft and some
  210. # other mods.
  211. # It is case-sensitive!
  212. UnrestrictedName: []
  213. security:
  214. # Minimum length of password
  215. minPasswordLength: 4
  216. # Maximum length of password
  217. passwordMaxLength: 30
  218. # This is a very important option: every time a player joins the server,
  219. # if they are registered, AuthMe will switch him to unLoggedInGroup.
  220. # This should prevent all major exploits.
  221. # You can set up your permission plugin with this special group to have no permissions,
  222. # or only permission to chat (or permission to send private messages etc.).
  223. # The better way is to set up this group with few permissions, so if a player
  224. # tries to exploit an account they can do only what you've defined for the group.
  225. # After, a logged in player will be moved to his correct permissions group!
  226. # Please note that the group name is case-sensitive, so 'admin' is different from 'Admin'
  227. # Otherwise your group will be wiped and the player will join in the default group []!
  228. # Example unLoggedinGroup: NotLogged
  229. unLoggedinGroup: 'Még nem jelentkezett be:'
  230. # Possible values: MD5, SHA1, SHA256, WHIRLPOOL, XAUTH, MD5VB, PHPBB,
  231. # MYBB, IPB3, PHPFUSION, SMF, XENFORO, SALTED2MD5, JOOMLA, BCRYPT, WBB3, SHA512,
  232. # DOUBLEMD5, PBKDF2, PBKDF2DJANGO, WORDPRESS, ROYALAUTH, CUSTOM (for developers only)
  233. passwordHash: 'SHA256'
  234. # Salt length for the SALTED2MD5 MD5(MD5(password)+salt)
  235. doubleMD5SaltLength: 8
  236. # If password checking return false, do we need to check with all
  237. # other password algorithm to check an old password?
  238. # AuthMe will update the password to the new password hash
  239. supportOldPasswordHash: false
  240. # Prevent unsafe passwords from being used; put them in lowercase!
  241. # unsafePasswords:
  242. # - '123456'
  243. # - 'password'
  244. unsafePasswords:
  245. - '123456'
  246. - 'password'
  247. - 'qwerty'
  248. - '12345'
  249. - '54321'
  250. - '7654321'
  251. - '87654321'
  252. - '987654321'
  253. - '12345678910'
  254. - '123456789'
  255. - '12345678'
  256. registration:
  257. # Enable registration on the server?
  258. enabled: true
  259. # Send every X seconds a message to a player to
  260. # remind him that he has to login/register
  261. messageInterval: 5
  262. # Only registered and logged in players can play.
  263. # See restrictions for exceptions
  264. force: true
  265. # Do we replace password registration by an email registration method?
  266. enableEmailRegistrationSystem: false
  267. # Enable double check of email when you register
  268. # when it's true, registration requires that kind of command:
  269. # /register <email> <confirmEmail>
  270. doubleEmailCheck: false
  271. # Do we force kick a player after a successful registration?
  272. # Do not use with login feature below
  273. forceKickAfterRegister: false
  274. # Does AuthMe need to enforce a /login after a successful registration?
  275. forceLoginAfterRegister: false
  276. # Force these commands after /login, without any '/', use %p to replace with player name
  277. forceCommands: []
  278. # Force these commands after /login as service console, without any '/'. Use %p to replace with player name
  279. forceCommandsAsConsole: []
  280. # Force these commands after /register, without any '/', use %p to replace with player name
  281. forceRegisterCommands: []
  282. # Force these commands after /register as a server console, without any '/'. Use %p to replace with player name
  283. forceRegisterCommandsAsConsole: []
  284. # Enable to display the welcome message (welcome.txt) after a registration or a login
  285. # You can use colors in this welcome.txt + some replaced strings:
  286. # {PLAYER}: player name, {ONLINE}: display number of online players, {MAXPLAYERS}: display server slots,
  287. # {IP}: player ip, {LOGINS}: number of players logged, {WORLD}: player current world, {SERVER}: server name
  288. # {VERSION}: get current bukkit version, {COUNTRY}: player country
  289. useWelcomeMessage: false
  290. # Do we need to broadcast the welcome message to all server or only to the player? set true for server or false for player
  291. broadcastWelcomeMessage: false
  292. # Should we delay the join message and display it once the player has logged in?
  293. delayJoinMessage: true
  294. # Should we remove join messages altogether?
  295. removeJoinMessage: false
  296. # Should we remove leave messages?
  297. removeLeaveMessage: false
  298. # Do we need to add potion effect Blinding before login/reigster?
  299. applyBlindEffect: false
  300. # Do we need to prevent people to login with another case?
  301. # If Xephi is registered, then Xephi can login, but not XEPHI/xephi/XePhI
  302. preventOtherCase: true
  303.  
  304. permission:
  305. # Take care with this option; if you don't want
  306. # to use Vault and group switching of AuthMe
  307. # for unloggedIn players, set this setting to true.
  308. # Default is false.
  309. EnablePermissionCheck: true
  310.  
  311. Email:
  312. # Email SMTP server host
  313. mailSMTP: 'smtp.gmail.com'
  314. # Email SMTP server port
  315. mailPort: 465
  316. # Email account which sends the mails
  317. mailAccount: ''
  318. # Email account password
  319. mailPassword: ''
  320. # Custom sender name, replacing the mailAccount name in the email
  321. mailSenderName: ''
  322. # Recovery password length
  323. RecoveryPasswordLength: 8
  324. # Mail Subject
  325. mailSubject: 'Your new AuthMe Password'
  326. # Like maxRegPerIP but with email
  327. maxRegPerEmail: 1
  328. # Recall players to add an email?
  329. recallPlayers: false
  330. # Delay in minute for the recall scheduler
  331. delayRecall: 5
  332. # Blacklist these domains for emails
  333. emailBlacklisted:
  334. - '10minutemail.com'
  335. # Whitelist ONLY these domains for emails
  336. emailWhitelisted: []
  337. # Send the new password drawn in an image?
  338. generateImage: false
  339. # The OAuth2 token
  340. emailOauth2Token: ''
  341.  
  342. Hooks:
  343. # Do we need to hook with multiverse for spawn checking?
  344. multiverse: true
  345. # Do we need to hook with BungeeCord?
  346. bungeecord: false
  347. # Send player to this BungeeCord server after register/login
  348. sendPlayerTo: ''
  349. # Do we need to disable Essentials SocialSpy on join?
  350. disableSocialSpy: false
  351. # Do we need to force /motd Essentials command on join?
  352. useEssentialsMotd: false
  353. # Do we need to cache custom Attributes?
  354. customAttributes: false
  355.  
  356. VeryGames:
  357. # These features are only available on VeryGames Server Provider
  358. enableIpCheck: false
  359.  
  360. Protection:
  361. # Enable some servers protection (country based login, antibot)
  362. enableProtection: false
  363. # Countries allowed to join the server and register, see http://dev.bukkit.org/bukkit-plugins/authme-reloaded/pages/countries-codes/ for countries' codes
  364. # PLEASE USE QUOTES!
  365. countries:
  366. - 'US'
  367. - 'GB'
  368. # Countries not allowed to join the server and register
  369. # PLEASE USE QUOTES!
  370. countriesBlacklist:
  371. - 'A1'
  372. # Do we need to enable automatic antibot system?
  373. enableAntiBot: true
  374. # Max number of player allowed to login in 5 secs before enable AntiBot system automatically
  375. antiBotSensibility: 5
  376. # Duration in minutes of the antibot automatic system
  377. antiBotDuration: 2
  378.  
  379. Purge:
  380. # If enabled, AuthMe automatically purges old, unused accounts
  381. useAutoPurge: true
  382. # Number of Days an account become Unused
  383. daysBeforeRemovePlayer: 30
  384. # Do we need to remove the player.dat file during purge process?
  385. removePlayerDat: true
  386. # Do we need to remove the Essentials/users/player.yml file during purge process?
  387. removeEssentialsFile: true
  388. # World where are players.dat stores
  389. defaultWorld: 'world'
  390. # Do we need to remove LimitedCreative/inventories/player.yml, player_creative.yml files during purge process ?
  391. removeLimitedCreativesInventories: false
  392. # Do we need to remove the AntiXRayData/PlayerData/player file during purge process?
  393. removeAntiXRayFile: false
  394. # Do we need to remove permissions?
  395. removePermissions: false
  396.  
  397. Security:
  398. SQLProblem:
  399. # Stop the server if we can't contact the sql database
  400. # Take care with this, if you set this to false,
  401. # AuthMe will automatically disable and the server won't be protected!
  402. stopServer: false
  403. ReloadCommand:
  404. # /reload support
  405. useReloadCommandSupport: true
  406. console:
  407. # Remove spam from console?
  408. noConsoleSpam: true
  409. # Remove passwords from console?
  410. removePassword: true
  411. # Copy AuthMe log output in a separate file as well?
  412. logConsole: true
  413. captcha:
  414. # Player need to put a captcha when he fails too lot the password
  415. useCaptcha: false
  416. # Max allowed tries before request a captcha
  417. maxLoginTry: 5
  418. # Captcha length
  419. captchaLength: 5
  420. stop:
  421. # Kick players before stopping the server, that allow us to save position of players
  422. # and all needed information correctly without any corruption.
  423. kickPlayersBeforeStopping: false
  424.  
  425. BackupSystem:
  426. # Enable or disable automatic backup
  427. ActivateBackup: false
  428. # Set backup at every start of server
  429. OnServerStart: false
  430. # Set backup at every stop of server
  431. OnServerStop: false
  432. # Windows only mysql installation Path
  433. MysqlWindowsPath: 'C:\\Program Files\\MySQL\\MySQL Server 5.1\\'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement