Advertisement
Guest User

Untitled

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