Advertisement
Guest User

AuthMe config

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