Advertisement
Guest User

AuthMe

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