Advertisement
Guest User

AuthMe

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