Guest User

Config

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