Advertisement
Guest User

Untitled

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