Guest User

Untitled

a guest
Dec 16th, 2017
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.57 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: false
  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: true
  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: 40
  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: 'es'
  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: 2
  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. - 'megaauth'
  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. - 'playername;127.0.0.1'
  156. # Should unregistered players be kicked immediately?
  157. kickNonRegistered: false
  158. # Should players be kicked on wrong password?
  159. kickOnWrongPassword: false
  160. # Should not logged in players be teleported to the spawn?
  161. # After the authentication they will be teleported back to
  162. # their normal position.
  163. teleportUnAuthedToSpawn: false
  164. # Can unregistered players walk around?
  165. allowMovement: false
  166. # Should not authenticated players have speed = 0?
  167. # This will reset the fly/walk speed to default value after the login.
  168. removeSpeed: true
  169. # After how many seconds should players who fail to login or register
  170. # be kicked? Set to 0 to disable.
  171. timeout: 60
  172. # Regex syntax of allowed characters in the player name.
  173. allowedNicknameCharacters: '[a-zA-Z0-9_]*'
  174. # How far can unregistered players walk?
  175. # Set to 0 for unlimited radius
  176. allowedMovementRadius: 100
  177. # Should we protect the player inventory before logging in? Requires ProtocolLib.
  178. ProtectInventoryBeforeLogIn: true
  179. # Should we deny the tabcomplete feature before logging in? Requires ProtocolLib.
  180. DenyTabCompleteBeforeLogin: true
  181. # Should we display all other accounts from a player when he joins?
  182. # permission: /authme.admin.accounts
  183. displayOtherAccounts: false
  184. # Ban ip when the ip is not the ip registered in database
  185. banUnsafedIP: false
  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: 4
  216. # Maximum length of password
  217. passwordMaxLength: 30
  218. # This is a very important option: every time a player joins the server,
  219. # if they are registered, AuthMe will switch him to unLoggedInGroup.
  220. # This should prevent all major exploits.
  221. # You can set up your permission plugin with this special group to have no permissions,
  222. # or only permission to chat (or permission to send private messages etc.).
  223. # The better way is to set up this group with few permissions, so if a player
  224. # tries to exploit an account they can do only what you've defined for the group.
  225. # After, a logged in player will be moved to his correct permissions group!
  226. # Please note that the group name is case-sensitive, so 'admin' is different from 'Admin'
  227. # Otherwise your group will be wiped and the player will join in the default group []!
  228. # Example unLoggedinGroup: NotLogged
  229. unLoggedinGroup: 'unLoggedinGroup'
  230. # Possible values: SHA256, BCRYPT, BCRYPT2Y, PBKDF2, SALTEDSHA512, WHIRLPOOL,
  231. # MYBB, IPB3, PHPBB, PHPFUSION, SMF, XENFORO, XAUTH, JOOMLA, WBB3, WBB4, MD5VB,
  232. # PBKDF2DJANGO, WORDPRESS, ROYALAUTH, CUSTOM (for developers only). See full list at
  233. # https://github.com/AuthMe/AuthMeReloaded/blob/master/docs/hash_algorithms.md
  234. passwordHash: 'SHA256'
  235. # Salt length for the SALTED2MD5 MD5(MD5(password)+salt)
  236. doubleMD5SaltLength: 8
  237. # If a password check fails, AuthMe will also try to check with the following hash methods.
  238. # Use this setting when you change from one hash method to another.
  239. # AuthMe will update the password to the new hash. Example:
  240. # legacyHashes:
  241. # - 'SHA1'
  242. legacyHashes: []
  243. # Number of rounds to use if passwordHash is set to PBKDF2. Default is 10000
  244. pbkdf2Rounds: 10000
  245. # Prevent unsafe passwords from being used; put them in lowercase!
  246. # You should always set 'help' as unsafePassword due to possible conflicts.
  247. # unsafePasswords:
  248. # - '123456'
  249. # - 'password'
  250. # - 'help'
  251. unsafePasswords: []
  252. registration:
  253. # Enable registration on the server?
  254. enabled: true
  255. # Send every X seconds a message to a player to
  256. # remind him that he has to login/register
  257. messageInterval: 5
  258. # Only registered and logged in players can play.
  259. # See restrictions for exceptions
  260. force: true
  261. # Type of registration: PASSWORD or EMAIL
  262. # PASSWORD = account is registered with a password supplied by the user;
  263. # EMAIL = password is generated and sent to the email provided by the user.
  264. # More info at https://github.com/AuthMe/AuthMeReloaded/wiki/Registration
  265. type: 'PASSWORD'
  266. # Second argument the /register command should take: NONE = no 2nd argument
  267. # CONFIRMATION = must repeat first argument (pass or email)
  268. # EMAIL_OPTIONAL = for password register: 2nd argument can be empty or have email address
  269. # EMAIL_MANDATORY = for password register: 2nd argument MUST be an email address
  270. secondArg: 'CONFIRMATION'
  271. # Do we force kick a player after a successful registration?
  272. # Do not use with login feature below
  273. forceKickAfterRegister: false
  274. # Does AuthMe need to enforce a /login after a successful registration?
  275. forceLoginAfterRegister: true
  276. # Enable to display the welcome message (welcome.txt) after a login
  277. # You can use colors in this welcome.txt + some replaced strings:
  278. # {PLAYER}: player name, {ONLINE}: display number of online players,
  279. # {MAXPLAYERS}: display server slots, {IP}: player ip, {LOGINS}: number of players logged,
  280. # {WORLD}: player current world, {SERVER}: server name
  281. # {VERSION}: get current bukkit version, {COUNTRY}: player country
  282. useWelcomeMessage: true
  283. # Broadcast the welcome message to the server or only to the player?
  284. # set true for server or false for player
  285. broadcastWelcomeMessage: false
  286. # Should we delay the join message and display it once the player has logged in?
  287. delayJoinMessage: false
  288. # The custom join message that will be sent after a successful login,
  289. # keep empty to use the original one.
  290. # Available variables:
  291. # {PLAYERNAME}: the player name (no colors)
  292. # {DISPLAYNAME}: the player name (with colors)
  293. customJoinMessage: ''
  294. # Should we remove the leave messages of unlogged users?
  295. removeUnloggedLeaveMessage: false
  296. # Should we remove join messages altogether?
  297. removeJoinMessage: false
  298. # Should we remove leave messages altogether?
  299. removeLeaveMessage: false
  300. # Do we need to add potion effect Blinding before login/reigster?
  301. applyBlindEffect: false
  302. # Do we need to prevent people to login with another case?
  303. # If Xephi is registered, then Xephi can login, but not XEPHI/xephi/XePhI
  304. preventOtherCase: false
  305. permission:
  306. # Take care with this option; if you want
  307. # to use group switching of AuthMe
  308. # for unloggedIn players, set this setting to true.
  309. # Default is false.
  310. EnablePermissionCheck: false
  311. Email:
  312. # Email SMTP server host
  313. mailSMTP: 'smtp.gmail.com'
  314. # Email SMTP server port
  315. mailPort: 465
  316. # Email account which sends the mails
  317. mailAccount: ''
  318. # Email account password
  319. mailPassword: ''
  320. # Email address, fill when mailAccount is not the email address of the account
  321. mailAddress: ''
  322. # Custom sender name, replacing the mailAccount name in the email
  323. mailSenderName: ''
  324. # Recovery password length
  325. RecoveryPasswordLength: 8
  326. # Mail Subject
  327. mailSubject: 'Your new AuthMe Password'
  328. # Like maxRegPerIP but with email
  329. maxRegPerEmail: 1
  330. # Recall players to add an email?
  331. recallPlayers: false
  332. # Delay in minute for the recall scheduler
  333. delayRecall: 5
  334. # Blacklist these domains for emails
  335. emailBlacklisted:
  336. - '10minutemail.com'
  337. # Whitelist ONLY these domains for emails
  338. emailWhitelisted: []
  339. # Send the new password drawn in an image?
  340. generateImage: true
  341. # The OAuth2 token
  342. emailOauth2Token: ''
  343. Hooks:
  344. # Do we need to hook with multiverse for spawn checking?
  345. multiverse: true
  346. # Do we need to hook with BungeeCord?
  347. bungeecord: false
  348. # Send player to this BungeeCord server after register/login
  349. sendPlayerTo: ''
  350. # Do we need to disable Essentials SocialSpy on join?
  351. disableSocialSpy: true
  352. # Do we need to force /motd Essentials command on join?
  353. useEssentialsMotd: false
  354. GroupOptions:
  355. # Unregistered permission group
  356. UnregisteredPlayerGroup: ''
  357. # Registered permission group
  358. RegisteredPlayerGroup: ''
  359. Protection:
  360. # Enable some servers protection (country based login, antibot)
  361. enableProtection: false
  362. # Apply the protection also to registered usernames
  363. enableProtectionRegistered: true
  364. # Countries allowed to join the server and register. For country codes, see
  365. # https://dev.bukkit.org/projects/authme-reloaded/pages/countries-codes
  366. # PLEASE USE QUOTES!
  367. countries:
  368. - 'US'
  369. - 'GB'
  370. # Countries not allowed to join the server and register
  371. # PLEASE USE QUOTES!
  372. countriesBlacklist:
  373. - 'A1'
  374. # Do we need to enable automatic antibot system?
  375. enableAntiBot: false
  376. # The interval in seconds
  377. antiBotInterval: 5
  378. # Max number of players allowed to login in the interval
  379. # before the AntiBot system is enabled automatically
  380. antiBotSensibility: 5
  381. # Duration in minutes of the antibot automatic system
  382. antiBotDuration: 7
  383. # Delay in seconds before the antibot activation
  384. antiBotDelay: 60
  385. Purge:
  386. # If enabled, AuthMe automatically purges old, unused accounts
  387. useAutoPurge: false
  388. # Number of days after which an account should be purged
  389. daysBeforeRemovePlayer: 60
  390. # Do we need to remove the player.dat file during purge process?
  391. removePlayerDat: false
  392. # Do we need to remove the Essentials/userdata/player.yml file during purge process?
  393. removeEssentialsFile: false
  394. # World where are players.dat stores
  395. defaultWorld: 'world'
  396. # Remove LimitedCreative/inventories/player.yml, player_creative.yml files during purge?
  397. removeLimitedCreativesInventories: false
  398. # Do we need to remove the AntiXRayData/PlayerData/player file during purge process?
  399. removeAntiXRayFile: false
  400. # Do we need to remove permissions?
  401. removePermissions: false
  402. Security:
  403. SQLProblem:
  404. # Stop the server if we can't contact the sql database
  405. # Take care with this, if you set this to false,
  406. # AuthMe will automatically disable and the server won't be protected!
  407. stopServer: true
  408. console:
  409. # Remove passwords from console?
  410. removePassword: true
  411. # Copy AuthMe log output in a separate file as well?
  412. logConsole: true
  413. captcha:
  414. # Enable captcha when a player uses wrong password too many times
  415. useCaptcha: false
  416. # Max allowed tries before a captcha is required
  417. maxLoginTry: 5
  418. # Captcha length
  419. captchaLength: 5
  420. tempban:
  421. # Tempban a user's IP address if they enter the wrong password too many times
  422. enableTempban: true
  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: 10
  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. BackupSystem:
  437. # Enable or disable automatic backup
  438. ActivateBackup: false
  439. # Set backup at every start of server
  440. OnServerStart: false
  441. # Set backup at every stop of server
  442. OnServerStop: true
  443. # Windows only mysql installation Path
  444. MysqlWindowsPath: 'C:\\Program Files\\MySQL\\MySQL Server 5.1\\'
Add Comment
Please, Sign In to add comment