Guest User

Untitled

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