Guest User

Untitled

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