Guest User

Untitled

a guest
Mar 24th, 2017
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.64 KB | None | 0 0
  1.  
  2. DataSource:
  3. # What type of database do you want to use?
  4. # Valid values: sqlite, mysql
  5. backend: 'MYSQL'
  6. # Enable database caching, should improve database performance
  7. caching: false
  8. # Database host address
  9. mySQLHost: 'localhost'
  10. # Database port
  11. mySQLPort: '3306'
  12. # Username about Database Connection Infos
  13. mySQLUsername: 'authme_lobby'
  14. # Password about Database Connection Infos
  15. mySQLPassword: 'xoxoxoxox'
  16. # Database Name, use with converters or as SQLITE database name
  17. mySQLDatabase: 'minecraft'
  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: 'salt'
  51. # Column for storing players groups
  52. mySQLColumnGroup: 'group'
  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: 'DEBUG'
  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: true
  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: 3
  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. - 'lobby'
  142. # This option will save the quit location of the players.
  143. SaveQuitLocation: false
  144. # To activate the restricted user feature you need
  145. # to enable this option and configure the AllowedRestrictedUser field.
  146. AllowRestrictedUser: false
  147. # The restricted user feature will kick players listed below
  148. # if they don't match the defined IP address. Names are case-insensitive.
  149. # Example:
  150. # AllowedRestrictedUser:
  151. # - playername;127.0.0.1
  152. AllowedRestrictedUser: []
  153. # Should unregistered players be kicked immediately?
  154. kickNonRegistered: false
  155. # Should players be kicked on wrong password?
  156. kickOnWrongPassword: true
  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: true
  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: 0
  187. # Maximum Join authorized by IP
  188. maxJoinPerIp: 0
  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 Gracz %playername% o ip %playerip% posiada wiele kont!'
  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: 5
  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: 'BCRYPT2Y'
  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. - '123456'
  250. - 'password'
  251. - 'qwerty'
  252. - '12345'
  253. - '54321'
  254. - '123456789'
  255. - 'help'
  256. registration:
  257. # Enable registration on the server?
  258. enabled: true
  259. # Send every X seconds a message to a player to
  260. # remind him that he has to login/register
  261. messageInterval: 5
  262. # Only registered and logged in players can play.
  263. # See restrictions for exceptions
  264. force: true
  265. # Type of registration: PASSWORD or EMAIL
  266. # PASSWORD = account is registered with a password supplied by the user;
  267. # EMAIL = password is generated and sent to the email provided by the user.
  268. # More info at https://github.com/AuthMe/AuthMeReloaded/wiki/Registration
  269. type: 'PASSWORD'
  270. # Second argument the /register command should take: NONE = no 2nd argument
  271. # CONFIRMATION = must repeat first argument (pass or email)
  272. # EMAIL_OPTIONAL = for password register: 2nd argument can be empty or have email address
  273. # EMAIL_MANDATORY = for password register: 2nd argument MUST be an email address
  274. secondArg: 'CONFIRMATION'
  275. # Do we force kick a player after a successful registration?
  276. # Do not use with login feature below
  277. forceKickAfterRegister: false
  278. # Does AuthMe need to enforce a /login after a successful registration?
  279. forceLoginAfterRegister: false
  280. # Enable to display the welcome message (welcome.txt) after a login
  281. # You can use colors in this welcome.txt + some replaced strings:
  282. # {PLAYER}: player name, {ONLINE}: display number of online players,
  283. # {MAXPLAYERS}: display server slots, {IP}: player ip, {LOGINS}: number of players logged,
  284. # {WORLD}: player current world, {SERVER}: server name
  285. # {VERSION}: get current bukkit version, {COUNTRY}: player country
  286. useWelcomeMessage: true
  287. # Broadcast the welcome message to the server or only to the player?
  288. # set true for server or false for player
  289. broadcastWelcomeMessage: true
  290. # Should we delay the join message and display it once the player has logged in?
  291. delayJoinMessage: true
  292. # The custom join message that will be sent after a successful login,
  293. # keep empty to use the original one.
  294. # Available variables:
  295. # {PLAYERNAME}: the player name (no colors)
  296. # {DISPLAYNAME}: the player name (with colors)
  297. customJoinMessage: 'Witamy {PLAYERNAME}!'
  298. # Should we remove the leave messages of unlogged users?
  299. removeUnloggedLeaveMessage: false
  300. # Should we remove join messages altogether?
  301. removeJoinMessage: false
  302. # Should we remove leave messages altogether?
  303. removeLeaveMessage: false
  304. # Do we need to add potion effect Blinding before login/reigster?
  305. applyBlindEffect: false
  306. # Do we need to prevent people to login with another case?
  307. # If Xephi is registered, then Xephi can login, but not XEPHI/xephi/XePhI
  308. preventOtherCase: true
  309. permission:
  310. # Take care with this option; if you want
  311. # to use group switching of AuthMe
  312. # for unloggedIn players, set this setting to true.
  313. # Default is false.
  314. EnablePermissionCheck: false
  315. Email:
  316. # Email SMTP server host
  317. mailSMTP: 'smtp.gmail.com'
  318. # Email SMTP server port
  319. mailPort: 465
  320. # Email account which sends the mails
  321. mailAccount: ''
  322. # Email account password
  323. mailPassword: ''
  324. # Email address, fill when mailAccount is not the email address of the account
  325. mailAddress: ''
  326. # Custom sender name, replacing the mailAccount name in the email
  327. mailSenderName: ''
  328. # Recovery password length
  329. RecoveryPasswordLength: 8
  330. # Mail Subject
  331. mailSubject: 'Your new AuthMe password'
  332. # Like maxRegPerIP but with email
  333. maxRegPerEmail: 1
  334. # Recall players to add an email?
  335. recallPlayers: false
  336. # Delay in minute for the recall scheduler
  337. delayRecall: 5
  338. # Blacklist these domains for emails
  339. emailBlacklisted:
  340. - '10minutemail.com'
  341. # Whitelist ONLY these domains for emails
  342. emailWhitelisted: []
  343. # Send the new password drawn in an image?
  344. generateImage: false
  345. # The OAuth2 token
  346. emailOauth2Token: ''
  347. Hooks:
  348. # Do we need to hook with multiverse for spawn checking?
  349. multiverse: false
  350. # Do we need to hook with BungeeCord?
  351. bungeecord: true
  352. # Send player to this BungeeCord server after register/login
  353. sendPlayerTo: ''
  354. # Do we need to disable Essentials SocialSpy on join?
  355. disableSocialSpy: false
  356. # Do we need to force /motd Essentials command on join?
  357. useEssentialsMotd: false
  358. GroupOptions:
  359. # Unregistered permission group
  360. UnregisteredPlayerGroup: ''
  361. # Registered permission group
  362. RegisteredPlayerGroup: ''
  363. Protection:
  364. # Enable some servers protection (country based login, antibot)
  365. enableProtection: false
  366. # Apply the protection also to registered usernames
  367. enableProtectionRegistered: false
  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. - 'PL'
  373. # Countries not allowed to join the server and register
  374. # PLEASE USE QUOTES!
  375. countriesBlacklist:
  376. - 'A1'
  377. # Do we need to enable automatic antibot system?
  378. enableAntiBot: true
  379. # The interval in seconds
  380. antiBotInterval: 5
  381. # Max number of players allowed to login in the interval
  382. # before the AntiBot system is enabled automatically
  383. antiBotSensibility: 10
  384. # Duration in minutes of the antibot automatic system
  385. antiBotDuration: 10
  386. # Delay in seconds before the antibot activation
  387. antiBotDelay: 60
  388. Purge:
  389. # If enabled, AuthMe automatically purges old, unused accounts
  390. useAutoPurge: true
  391. # Number of days after which an account should be purged
  392. daysBeforeRemovePlayer: 60
  393. # Do we need to remove the player.dat file during purge process?
  394. removePlayerDat: true
  395. # Do we need to remove the Essentials/userdata/player.yml file during purge process?
  396. removeEssentialsFile: false
  397. # World where are players.dat stores
  398. defaultWorld: 'lobby'
  399. # Remove LimitedCreative/inventories/player.yml, player_creative.yml files during purge?
  400. removeLimitedCreativesInventories: true
  401. # Do we need to remove the AntiXRayData/PlayerData/player file during purge process?
  402. removeAntiXRayFile: false
  403. # Do we need to remove permissions?
  404. removePermissions: false
  405. Security:
  406. SQLProblem:
  407. # Stop the server if we can't contact the sql database
  408. # Take care with this, if you set this to false,
  409. # AuthMe will automatically disable and the server won't be protected!
  410. stopServer: true
  411. console:
  412. # Remove passwords from console?
  413. removePassword: true
  414. # Copy AuthMe log output in a separate file as well?
  415. logConsole: true
  416. captcha:
  417. # Enable captcha when a player uses wrong password too many times
  418. useCaptcha: false
  419. # Max allowed tries before a captcha is required
  420. maxLoginTry: 5
  421. # Captcha length
  422. captchaLength: 5
  423. tempban:
  424. # Tempban a user's IP address if they enter the wrong password too many times
  425. enableTempban: true
  426. # How many times a user can attempt to login before their IP being tempbanned
  427. maxLoginTries: 10
  428. # The length of time a IP address will be tempbanned in minutes
  429. # Default: 480 minutes, or 8 hours
  430. tempbanLength: 30
  431. # How many minutes before resetting the count for failed logins by IP and username
  432. # Default: 480 minutes (8 hours)
  433. minutesBeforeCounterReset: 240
  434. recoveryCode:
  435. # Number of characters a recovery code should have (0 to disable)
  436. length: 8
  437. # How many hours is a recovery code valid for?
  438. validForHours: 4
  439. BackupSystem:
  440. # Enable or disable automatic backup
  441. ActivateBackup: false
  442. # Set backup at every start of server
  443. OnServerStart: false
  444. # Set backup at every stop of server
  445. OnServerStop: true
  446. # Windows only mysql installation Path
  447. MysqlWindowsPath: 'C:\Program Files\MySQL\MySQL Server 5.1\'
Add Comment
Please, Sign In to add comment