Advertisement
Guest User

Untitled

a guest
Nov 21st, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.53 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. # Column for storing players emails
  29. mySQLColumnEmail: 'email'
  30. # Column for storing if a player is logged in or not
  31. mySQLColumnLogged: 'isLogged'
  32. # Column for storing players ips
  33. mySQLColumnIp: 'ip'
  34. # Column for storing players lastlogins
  35. mySQLColumnLastLogin: 'lastlogin'
  36. # Column for storing player LastLocation - X
  37. mySQLlastlocX: 'x'
  38. # Column for storing player LastLocation - Y
  39. mySQLlastlocY: 'y'
  40. # Column for storing player LastLocation - Z
  41. mySQLlastlocZ: 'z'
  42. # Column for storing player LastLocation - World Name
  43. mySQLlastlocWorld: 'world'
  44. # Overrides the size of the DB Connection Pool, -1 = Auto
  45. poolSize: -1
  46. ExternalBoardOptions:
  47. # Column for storing players passwords salts
  48. mySQLColumnSalt: ''
  49. # Column for storing players groups
  50. mySQLColumnGroup: ''
  51. # -1 means disabled. If you want that only activated players
  52. # can log into your server, you can set here the group number
  53. # of unactivated users, needed for some forum/CMS support
  54. nonActivedUserGroup: -1
  55. # Other MySQL columns where we need to put the username (case-sensitive)
  56. mySQLOtherUsernameColumns: []
  57. # How much log2 rounds needed in BCrypt (do not change if you do not know what it does)
  58. bCryptLog2Round: 10
  59. # phpBB table prefix defined during the phpBB installation process
  60. phpbbTablePrefix: 'phpbb_'
  61. # phpBB activated group ID; 2 is the default registered group defined by phpBB
  62. phpbbActivatedGroupId: 2
  63. # Wordpress prefix defined during WordPress installation
  64. wordpressTablePrefix: 'wp_'
  65. Converter:
  66. Rakamak:
  67. # Rakamak file name
  68. fileName: 'users.rak'
  69. # Rakamak use IP?
  70. useIP: false
  71. # Rakamak IP file name
  72. ipFileName: 'UsersIp.rak'
  73. CrazyLogin:
  74. # CrazyLogin database file name
  75. fileName: 'accounts.db'
  76. settings:
  77. sessions:
  78. # Do you want to enable the session feature?
  79. # If enabled, when a player authenticates successfully,
  80. # his IP and his nickname is saved.
  81. # The next time the player joins the server, if his IP
  82. # is the same as last time and the timeout hasn't
  83. # expired, he will not need to authenticate.
  84. enabled: true
  85. # After how many minutes should a session expire?
  86. # Remember that sessions will end only after the timeout, and
  87. # if the player's IP has changed but the timeout hasn't expired,
  88. # the player will be kicked from the server due to invalid session
  89. timeout: 30
  90. # Should the session expire if the player tries to log in with
  91. # another IP address?
  92. sessionExpireOnIpChange: true
  93. # Message language, available languages:
  94. # https://github.com/AuthMe/AuthMeReloaded/blob/master/docs/translations.md
  95. messagesLanguage: 'en'
  96. # Log level: INFO, FINE, DEBUG. Use INFO for general messages,
  97. # FINE for some additional detailed ones (like password failed),
  98. # and DEBUG for debugging
  99. logLevel: 'INFO'
  100. # By default we schedule async tasks when talking to the database. If you want
  101. # typical communication with the database to happen synchronously, set this to false
  102. useAsyncTasks: true
  103. restrictions:
  104. # Can not authenticated players chat?
  105. # Keep in mind that this feature also blocks all commands not
  106. # listed in the list below.
  107. allowChat: false
  108. # Hide the chat log from players who are not authenticated?
  109. hideChat: false
  110. # Allowed commands for unauthenticated players
  111. allowCommands:
  112. - '/login'
  113. - '/register'
  114. - '/l'
  115. - '/reg'
  116. - '/passpartu'
  117. - '/email'
  118. - '/captcha'
  119. # Max number of allowed registrations per IP
  120. # The value 0 means an unlimited number of registrations!
  121. maxRegPerIp: 2
  122. # Minimum allowed username length
  123. minNicknameLength: 3
  124. # Maximum allowed username length
  125. maxNicknameLength: 20
  126. # When this setting is enabled, online players can't be kicked out
  127. # due to "Logged in from another Location"
  128. # This setting will prevent potential security exploits.
  129. ForceSingleSession: true
  130. ForceSpawnLocOnJoin:
  131. # If enabled, every player that spawn in one of the world listed in
  132. # "ForceSpawnLocOnJoin.worlds" will be teleported to the spawnpoint after successful
  133. # authentication. The quit location of the player will be overwritten.
  134. # This is different from "teleportUnAuthedToSpawn" that teleport player
  135. # to the spawnpoint on join.
  136. enabled: false
  137. # WorldNames where we need to force the spawn location
  138. # Case-sensitive!
  139. worlds:
  140. - 'world'
  141. - 'world_nether'
  142. - 'world_the_end'
  143. # This option will save the quit location of the players.
  144. SaveQuitLocation: false
  145. # To activate the restricted user feature you need
  146. # to enable this option and configure the AllowedRestrictedUser field.
  147. AllowRestrictedUser: false
  148. # The restricted user feature will kick players listed below
  149. # if they don't match the defined IP address. Names are case-insensitive.
  150. # Example:
  151. # AllowedRestrictedUser:
  152. # - playername;127.0.0.1
  153. AllowedRestrictedUser:
  154. - 'playername;127.0.0.1'
  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: true
  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: 60
  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. # Enable double check of password when you register
  177. # when it's true, registration requires that kind of command:
  178. # /register <password> <confirmPassword>
  179. enablePasswordConfirmation: true
  180. # Should we protect the player inventory before logging in? Requires ProtocolLib.
  181. ProtectInventoryBeforeLogIn: true
  182. # Should we deny the tabcomplete feature before logging in? Requires ProtocolLib.
  183. DenyTabCompleteBeforeLogin: true
  184. # Should we display all other accounts from a player when he joins?
  185. # permission: /authme.admin.accounts
  186. displayOtherAccounts: true
  187. # Ban ip when the ip is not the ip registered in database
  188. banUnsafedIP: false
  189. # Spawn priority; values: authme, essentials, multiverse, default
  190. spawnPriority: 'authme,essentials,multiverse,default'
  191. # Maximum Login authorized by IP
  192. maxLoginPerIp: 0
  193. # Maximum Join authorized by IP
  194. maxJoinPerIp: 0
  195. # AuthMe will NEVER teleport players if set to true!
  196. noTeleport: false
  197. # Regex syntax for allowed chars in passwords
  198. allowedPasswordCharacters: '[\x21-\x7E]*'
  199. # Threshold of the other accounts command, a value less than 2 means disabled.
  200. otherAccountsCmdThreshold: 0
  201. # Command to run when a user has more accounts than the configured threshold.
  202. # Available variables: %playername%, %playerip%
  203. otherAccountsCmd: 'say The player %playername% with ip %playerip% has multiple accounts!'
  204. GameMode:
  205. # Force survival gamemode when player joins?
  206. ForceSurvivalMode: false
  207. unrestrictions:
  208. # Below you can list all account names that AuthMe will ignore
  209. # for registration or login. Configure it at your own risk!!
  210. # This option adds compatibility with BuildCraft and some other mods.
  211. # It is case-insensitive! Example:
  212. # UnrestrictedName:
  213. # - 'npcPlayer'
  214. # - 'npcPlayer2'
  215. UnrestrictedName: []
  216. security:
  217. # Minimum length of password
  218. minPasswordLength: 5
  219. # Maximum length of password
  220. passwordMaxLength: 30
  221. # This is a very important option: every time a player joins the server,
  222. # if they are registered, AuthMe will switch him to unLoggedInGroup.
  223. # This should prevent all major exploits.
  224. # You can set up your permission plugin with this special group to have no permissions,
  225. # or only permission to chat (or permission to send private messages etc.).
  226. # The better way is to set up this group with few permissions, so if a player
  227. # tries to exploit an account they can do only what you've defined for the group.
  228. # After, a logged in player will be moved to his correct permissions group!
  229. # Please note that the group name is case-sensitive, so 'admin' is different from 'Admin'
  230. # Otherwise your group will be wiped and the player will join in the default group []!
  231. # Example unLoggedinGroup: NotLogged
  232. unLoggedinGroup: 'unLoggedinGroup'
  233. # Possible values: MD5, SHA1, SHA256, WHIRLPOOL, XAUTH, MD5VB, PHPBB,
  234. # MYBB, IPB3, PHPFUSION, SMF, XENFORO, SALTED2MD5, JOOMLA, BCRYPT, WBB3, SHA512,
  235. # DOUBLEMD5, PBKDF2, PBKDF2DJANGO, WORDPRESS, ROYALAUTH, CUSTOM (for developers only)
  236. passwordHash: 'SHA256'
  237. # Salt length for the SALTED2MD5 MD5(MD5(password)+salt)
  238. doubleMD5SaltLength: 8
  239. # If a password check fails, AuthMe will also try to check with the following hash methods.
  240. # Use this setting when you change from one hash method to another.
  241. # AuthMe will update the password to the new hash. Example:
  242. # legacyHashes:
  243. # - 'SHA1'
  244. legacyHashes: []
  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. - '12345'
  253. - 'querty'
  254. - '54321'
  255. - 'haslo'
  256. - 'password'
  257. registration:
  258. # Enable registration on the server?
  259. enabled: true
  260. # Send every X seconds a message to a player to
  261. # remind him that he has to login/register
  262. messageInterval: 4
  263. # Only registered and logged in players can play.
  264. # See restrictions for exceptions
  265. force: true
  266. # Do we replace password registration by an email registration method?
  267. enableEmailRegistrationSystem: false
  268. # Enable double check of email when you register
  269. # when it's true, registration requires that kind of command:
  270. # /register <email> <confirmEmail>
  271. doubleEmailCheck: false
  272. # Do we force kick a player after a successful registration?
  273. # Do not use with login feature below
  274. forceKickAfterRegister: false
  275. # Does AuthMe need to enforce a /login after a successful registration?
  276. forceLoginAfterRegister: true
  277. # Force these commands after /login, without any '/', use %p to replace with player name
  278. forceCommands: []
  279. # Force these commands after /login as service console, without any '/'.
  280. # Use %p to replace with player name
  281. forceCommandsAsConsole: []
  282. # Force these commands after /register, without any '/', use %p to replace with player name
  283. forceRegisterCommands: []
  284. # Force these commands after /register as a server console, without any '/'.
  285. # Use %p to replace with player name
  286. forceRegisterCommandsAsConsole: []
  287. # Enable to display the welcome message (welcome.txt) after a login
  288. # You can use colors in this welcome.txt + some replaced strings:
  289. # {PLAYER}: player name, {ONLINE}: display number of online players,
  290. # {MAXPLAYERS}: display server slots, {IP}: player ip, {LOGINS}: number of players logged,
  291. # {WORLD}: player current world, {SERVER}: server name
  292. # {VERSION}: get current bukkit version, {COUNTRY}: player country
  293. useWelcomeMessage: false
  294. # Broadcast the welcome message to the server or only to the player?
  295. # set true for server or false for player
  296. broadcastWelcomeMessage: false
  297. # Should we delay the join message and display it once the player has logged in?
  298. delayJoinMessage: false
  299. # Should we remove the leave messages of unlogged users?
  300. removeUnloggedLeaveMessage: false
  301. # Should we remove join messages altogether?
  302. removeJoinMessage: true
  303. # Should we remove leave messages altogether?
  304. removeLeaveMessage: true
  305. # Do we need to add potion effect Blinding before login/reigster?
  306. applyBlindEffect: false
  307. # Do we need to prevent people to login with another case?
  308. # If Xephi is registered, then Xephi can login, but not XEPHI/xephi/XePhI
  309. preventOtherCase: false
  310. permission:
  311. # Take care with this option; if you want
  312. # to use group switching of AuthMe
  313. # for unloggedIn players, set this setting to true.
  314. # Default is false.
  315. EnablePermissionCheck: false
  316. Email:
  317. # Email SMTP server host
  318. mailSMTP: 'smtp.gmail.com'
  319. # Email SMTP server port
  320. mailPort: 465
  321. # Email account which sends the mails
  322. mailAccount: ''
  323. # Email account password
  324. mailPassword: ''
  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: true
  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: true
  355. # Do we need to force /motd Essentials command on join?
  356. useEssentialsMotd: false
  357. GroupOptions:
  358. # Unregistered permission group
  359. UnregisteredPlayerGroup: ''
  360. # Registered permission group
  361. RegisteredPlayerGroup: ''
  362. Protection:
  363. # Enable some servers protection (country based login, antibot)
  364. enableProtection: false
  365. # Apply the protection also to registered usernames
  366. enableProtectionRegistered: true
  367. # Countries allowed to join the server and register. For country codes, see
  368. # http://dev.bukkit.org/bukkit-plugins/authme-reloaded/pages/countries-codes/
  369. # PLEASE USE QUOTES!
  370. countries:
  371. - 'PL'
  372. - 'EU'
  373. - 'DE'
  374. - 'UK'
  375. # Countries not allowed to join the server and register
  376. # PLEASE USE QUOTES!
  377. countriesBlacklist:
  378. - 'RU'
  379. - 'A1'
  380. - 'HK'
  381. - 'IL'
  382. # Do we need to enable automatic antibot system?
  383. enableAntiBot: true
  384. # The interval in seconds
  385. antiBotInterval: 5
  386. # Max number of players allowed to login in the interval
  387. # before the AntiBot system is enabled automatically
  388. antiBotSensibility: 7
  389. # Duration in minutes of the antibot automatic system
  390. antiBotDuration: 1
  391. # Delay in seconds before the antibot activation
  392. antiBotDelay: 60
  393. Purge:
  394. # If enabled, AuthMe automatically purges old, unused accounts
  395. useAutoPurge: true
  396. # Number of days after which an account should be purged
  397. daysBeforeRemovePlayer: 18
  398. # Do we need to remove the player.dat file during purge process?
  399. removePlayerDat: true
  400. # Do we need to remove the Essentials/userdata/player.yml file during purge process?
  401. removeEssentialsFile: true
  402. # World where are players.dat stores
  403. defaultWorld: 'world'
  404. # Remove LimitedCreative/inventories/player.yml, player_creative.yml files during purge?
  405. removeLimitedCreativesInventories: true
  406. # Do we need to remove the AntiXRayData/PlayerData/player file during purge process?
  407. removeAntiXRayFile: false
  408. # Do we need to remove permissions?
  409. removePermissions: false
  410. Security:
  411. SQLProblem:
  412. # Stop the server if we can't contact the sql database
  413. # Take care with this, if you set this to false,
  414. # AuthMe will automatically disable and the server won't be protected!
  415. stopServer: true
  416. console:
  417. # Remove passwords from console?
  418. removePassword: true
  419. # Copy AuthMe log output in a separate file as well?
  420. logConsole: true
  421. captcha:
  422. # Enable captcha when a player uses wrong password too many times
  423. useCaptcha: false
  424. # Max allowed tries before a captcha is required
  425. maxLoginTry: 5
  426. # Captcha length
  427. captchaLength: 2
  428. tempban:
  429. # Tempban a user's IP address if they enter the wrong password too many times
  430. enableTempban: false
  431. # How many times a user can attempt to login before their IP being tempbanned
  432. maxLoginTries: 10
  433. # The length of time a IP address will be tempbanned in minutes
  434. # Default: 480 minutes, or 8 hours
  435. tempbanLength: 480
  436. # How many minutes before resetting the count for failed logins by IP and username
  437. # Default: 480 minutes (8 hours)
  438. minutesBeforeCounterReset: 480
  439. recoveryCode:
  440. # Number of characters a recovery code should have (0 to disable)
  441. length: 8
  442. # How many hours is a recovery code valid for?
  443. validForHours: 4
  444. BackupSystem:
  445. # Enable or disable automatic backup
  446. ActivateBackup: false
  447. # Set backup at every start of server
  448. OnServerStart: false
  449. # Set backup at every stop of server
  450. OnServerStop: true
  451. # Windows only mysql installation Path
  452. MysqlWindowsPath: 'C:\\Program Files\\MySQL\\MySQL Server 5.1\\'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement