Guest User

Untitled

a guest
Nov 3rd, 2017
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.34 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: 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: 'drAkeNess'
  16. # Password to connect to the MySQL database
  17. mySQLPassword: 'drakness122'
  18. # Database Name, use with converters or as SQLITE database name
  19. mySQLDatabase: 'esparcraft'
  20. # Table of the database
  21. mySQLTablename: 'phpbb_users'
  22. # Column of IDs to sort data
  23. mySQLColumnId: 'user_id'
  24. # Column for storing or checking players nickname
  25. mySQLColumnName: 'username_clean'
  26. # Column for storing or checking players RealName
  27. mySQLRealName: 'username'
  28. # Column for storing players passwords
  29. mySQLColumnPassword: 'user_password'
  30. # Column for storing players emails
  31. mySQLColumnEmail: 'user_email'
  32. # Column for storing if a player is logged in or not
  33. mySQLColumnLogged: 'isLogged'
  34. # Column for storing players ips
  35. mySQLColumnIp: 'user_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. # Column for storing player LastLocation - Yaw
  47. mySQLlastlocYaw: 'yaw'
  48. # Column for storing player LastLocation - Pitch
  49. mySQLlastlocPitch: 'pitch'
  50. # Overrides the size of the DB Connection Pool, -1 = Auto
  51. poolSize: -1
  52. ExternalBoardOptions:
  53. # Column for storing players passwords salts
  54. mySQLColumnSalt: ''
  55. # Column for storing players groups
  56. mySQLColumnGroup: ''
  57. # -1 means disabled. If you want that only activated players
  58. # can log into your server, you can set here the group number
  59. # of unactivated users, needed for some forum/CMS support
  60. nonActivedUserGroup: -1
  61. # Other MySQL columns where we need to put the username (case-sensitive)
  62. mySQLOtherUsernameColumns: []
  63. # How much log2 rounds needed in BCrypt (do not change if you do not know what it does)
  64. bCryptLog2Round: 10
  65. # phpBB table prefix defined during the phpBB installation process
  66. phpbbTablePrefix: 'phpbb_'
  67. # phpBB activated group ID; 2 is the default registered group defined by phpBB
  68. phpbbActivatedGroupId: 2
  69. # IP Board table prefix defined during the IP Board installation process
  70. IPBTablePrefix: 'ipb_'
  71. # IP Board default group ID; 3 is the default registered group defined by IP Board
  72. IPBActivatedGroupId: 3
  73. # XenForo default group ID; 2 is the default registered group defined by Xenforo
  74. XFActivatedGroupId: 2
  75. # Wordpress prefix defined during WordPress installation
  76. wordpressTablePrefix: 'wp_'
  77. settings:
  78. sessions:
  79. # Do you want to enable the session feature?
  80. # If enabled, when a player authenticates successfully,
  81. # his IP and his nickname is saved.
  82. # The next time the player joins the server, if his IP
  83. # is the same as last time and the timeout hasn't
  84. # expired, he will not need to authenticate.
  85. enabled: false
  86. # After how many minutes should a session expire?
  87. # A player's session ends after the timeout or if his IP has changed
  88. timeout: 10
  89. # Message language, available languages:
  90. # https://github.com/AuthMe/AuthMeReloaded/blob/master/docs/translations.md
  91. messagesLanguage: 'en'
  92. # Log level: INFO, FINE, DEBUG. Use INFO for general messages,
  93. # FINE for some additional detailed ones (like password failed),
  94. # and DEBUG for debugging
  95. logLevel: 'FINE'
  96. # By default we schedule async tasks when talking to the database. If you want
  97. # typical communication with the database to happen synchronously, set this to false
  98. useAsyncTasks: true
  99. restrictions:
  100. # Can not authenticated players chat?
  101. # Keep in mind that this feature also blocks all commands not
  102. # listed in the list below.
  103. allowChat: false
  104. # Hide the chat log from players who are not authenticated?
  105. hideChat: false
  106. # Allowed commands for unauthenticated players
  107. allowCommands:
  108. - '/login'
  109. - '/register'
  110. - '/l'
  111. - '/reg'
  112. - '/email'
  113. - '/captcha'
  114. # Max number of allowed registrations per IP
  115. # The value 0 means an unlimited number of registrations!
  116. maxRegPerIp: 1
  117. # Minimum allowed username length
  118. minNicknameLength: 3
  119. # Maximum allowed username length
  120. maxNicknameLength: 16
  121. # When this setting is enabled, online players can't be kicked out
  122. # due to "Logged in from another Location"
  123. # This setting will prevent potential security exploits.
  124. ForceSingleSession: true
  125. ForceSpawnLocOnJoin:
  126. # If enabled, every player that spawn in one of the world listed in
  127. # "ForceSpawnLocOnJoin.worlds" will be teleported to the spawnpoint after successful
  128. # authentication. The quit location of the player will be overwritten.
  129. # This is different from "teleportUnAuthedToSpawn" that teleport player
  130. # to the spawnpoint on join.
  131. enabled: false
  132. # WorldNames where we need to force the spawn location
  133. # Case-sensitive!
  134. worlds:
  135. - 'world'
  136. - 'world_nether'
  137. - 'world_the_end'
  138. # This option will save the quit location of the players.
  139. SaveQuitLocation: false
  140. # To activate the restricted user feature you need
  141. # to enable this option and configure the AllowedRestrictedUser field.
  142. AllowRestrictedUser: false
  143. # The restricted user feature will kick players listed below
  144. # if they don't match the defined IP address. Names are case-insensitive.
  145. # Ip addresses support regex expressions (regex:127\.0\.0\..*)
  146. # Example:
  147. # AllowedRestrictedUser:
  148. # - playername;127.0.0.1
  149. # - playername;regex:127\.0\.0\..*
  150. AllowedRestrictedUser: []
  151. # Ban unknown IPs trying to log in with a restricted username?
  152. banUnsafedIP: false
  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. # After how many seconds should players who fail to login or register
  164. # be kicked? Set to 0 to disable.
  165. timeout: 30
  166. # Regex pattern of allowed characters in the player name.
  167. allowedNicknameCharacters: '[a-zA-Z0-9_]*'
  168. # How far can unregistered players walk?
  169. # Set to 0 for unlimited radius
  170. allowedMovementRadius: 100
  171. # Should we protect the player inventory before logging in? Requires ProtocolLib.
  172. ProtectInventoryBeforeLogIn: true
  173. # Should we deny the tabcomplete feature before logging in? Requires ProtocolLib.
  174. DenyTabCompleteBeforeLogin: false
  175. # Should we display all other accounts from a player when he joins?
  176. # permission: /authme.admin.accounts
  177. displayOtherAccounts: true
  178. # Spawn priority; values: authme, essentials, multiverse, default
  179. spawnPriority: 'authme,essentials,multiverse,default'
  180. # Maximum Login authorized by IP
  181. maxLoginPerIp: 0
  182. # Maximum Join authorized by IP
  183. maxJoinPerIp: 0
  184. # AuthMe will NEVER teleport players if set to true!
  185. noTeleport: false
  186. # Regex syntax for allowed chars in passwords
  187. allowedPasswordCharacters: '[\x21-\x7E]*'
  188. # Threshold of the other accounts command, a value less than 2 means disabled.
  189. otherAccountsCmdThreshold: 0
  190. # Command to run when a user has more accounts than the configured threshold.
  191. # Available variables: %playername%, %playerip%
  192. otherAccountsCmd: 'say The player %playername% with ip %playerip% has multiple accounts!'
  193. GameMode:
  194. # Force survival gamemode when player joins?
  195. ForceSurvivalMode: false
  196. unrestrictions:
  197. # Below you can list all account names that AuthMe will ignore
  198. # for registration or login. Configure it at your own risk!!
  199. # This option adds compatibility with BuildCraft and some other mods.
  200. # It is case-insensitive! Example:
  201. # UnrestrictedName:
  202. # - 'npcPlayer'
  203. # - 'npcPlayer2'
  204. UnrestrictedName: []
  205. security:
  206. # Minimum length of password
  207. minPasswordLength: 5
  208. # Maximum length of password
  209. passwordMaxLength: 30
  210. # Possible values: SHA256, BCRYPT, BCRYPT2Y, PBKDF2, SALTEDSHA512, WHIRLPOOL,
  211. # MYBB, IPB3, PHPBB, PHPFUSION, SMF, XENFORO, XAUTH, JOOMLA, WBB3, WBB4, MD5VB,
  212. # PBKDF2DJANGO, WORDPRESS, ROYALAUTH, CUSTOM (for developers only). See full list at
  213. # https://github.com/AuthMe/AuthMeReloaded/blob/master/docs/hash_algorithms.md
  214. passwordHash: 'PHPBB'
  215. # If a password check fails, AuthMe will also try to check with the following hash methods.
  216. # Use this setting when you change from one hash method to another.
  217. # AuthMe will update the password to the new hash. Example:
  218. # legacyHashes:
  219. # - 'SHA1'
  220. legacyHashes: []
  221. # Salt length for the SALTED2MD5 MD5(MD5(password)+salt)
  222. doubleMD5SaltLength: 8
  223. # Number of rounds to use if passwordHash is set to PBKDF2. Default is 10000
  224. pbkdf2Rounds: 10000
  225. # Prevent unsafe passwords from being used; put them in lowercase!
  226. # You should always set 'help' as unsafePassword due to possible conflicts.
  227. # unsafePasswords:
  228. # - '123456'
  229. # - 'password'
  230. # - 'help'
  231. unsafePasswords:
  232. - '123456'
  233. - 'password'
  234. - 'qwerty'
  235. - '12345'
  236. - '54321'
  237. - '123456789'
  238. - 'help'
  239. registration:
  240. # Enable registration on the server?
  241. enabled: true
  242. # Send every X seconds a message to a player to
  243. # remind him that he has to login/register
  244. messageInterval: 5
  245. # Only registered and logged in players can play.
  246. # See restrictions for exceptions
  247. force: true
  248. # Type of registration: PASSWORD or EMAIL
  249. # PASSWORD = account is registered with a password supplied by the user;
  250. # EMAIL = password is generated and sent to the email provided by the user.
  251. # More info at https://github.com/AuthMe/AuthMeReloaded/wiki/Registration
  252. type: 'PASSWORD'
  253. # Second argument the /register command should take: NONE = no 2nd argument
  254. # CONFIRMATION = must repeat first argument (pass or email)
  255. # EMAIL_OPTIONAL = for password register: 2nd argument can be empty or have email address
  256. # EMAIL_MANDATORY = for password register: 2nd argument MUST be an email address
  257. secondArg: 'CONFIRMATION'
  258. # Do we force kick a player after a successful registration?
  259. # Do not use with login feature below
  260. forceKickAfterRegister: false
  261. # Does AuthMe need to enforce a /login after a successful registration?
  262. forceLoginAfterRegister: false
  263. # Enable to display the welcome message (welcome.txt) after a login
  264. # You can use colors in this welcome.txt + some replaced strings:
  265. # {PLAYER}: player name, {ONLINE}: display number of online players,
  266. # {MAXPLAYERS}: display server slots, {IP}: player ip, {LOGINS}: number of players logged,
  267. # {WORLD}: player current world, {SERVER}: server name
  268. # {VERSION}: get current bukkit version, {COUNTRY}: player country
  269. useWelcomeMessage: true
  270. # Broadcast the welcome message to the server or only to the player?
  271. # set true for server or false for player
  272. broadcastWelcomeMessage: false
  273. # Should we delay the join message and display it once the player has logged in?
  274. delayJoinMessage: false
  275. # The custom join message that will be sent after a successful login,
  276. # keep empty to use the original one.
  277. # Available variables:
  278. # {PLAYERNAME}: the player name (no colors)
  279. # {DISPLAYNAME}: the player name (with colors)
  280. customJoinMessage: ''
  281. # Should we remove the leave messages of unlogged users?
  282. removeUnloggedLeaveMessage: false
  283. # Should we remove join messages altogether?
  284. removeJoinMessage: false
  285. # Should we remove leave messages altogether?
  286. removeLeaveMessage: false
  287. # Do we need to add potion effect Blinding before login/reigster?
  288. applyBlindEffect: false
  289. # Do we need to prevent people to login with another case?
  290. # If Xephi is registered, then Xephi can login, but not XEPHI/xephi/XePhI
  291. preventOtherCase: true
  292. GroupOptions:
  293. # Enables switching a player to defined permission groups before they log in.
  294. # See below for a detailed explanation.
  295. enablePermissionCheck: false
  296. # This is a very important option: if a registered player joins the server
  297. # AuthMe will switch him to unLoggedInGroup. This should prevent all major exploits.
  298. # You can set up your permission plugin with this special group to have no permissions,
  299. # or only permission to chat (or permission to send private messages etc.).
  300. # The better way is to set up this group with few permissions, so if a player
  301. # tries to exploit an account they can do only what you've defined for the group.
  302. # After login, the player will be moved to his correct permissions group!
  303. # Please note that the group name is case-sensitive, so 'admin' is different from 'Admin'
  304. # Otherwise your group will be wiped and the player will join in the default group []!
  305. # Example: registeredPlayerGroup: 'NotLogged'
  306. registeredPlayerGroup: ''
  307. # Similar to above, unregistered players can be set to the following
  308. # permissions group
  309. unregisteredPlayerGroup: ''
  310. Email:
  311. # Email SMTP server host
  312. mailSMTP: 'smtp.gmail.com'
  313. # Email SMTP server port
  314. mailPort: 465
  315. # Only affects port 25: enable TLS/STARTTLS?
  316. useTls: true
  317. # Email account which sends the mails
  318. mailAccount: ''
  319. # Email account password
  320. mailPassword: ''
  321. # Email address, fill when mailAccount is not the email address of the account
  322. mailAddress: ''
  323. # Custom sender name, replacing the mailAccount name in the email
  324. mailSenderName: ''
  325. # Recovery password length
  326. RecoveryPasswordLength: 8
  327. # Mail Subject
  328. mailSubject: 'Your new AuthMe password'
  329. # Like maxRegPerIP but with email
  330. maxRegPerEmail: 1
  331. # Recall players to add an email?
  332. recallPlayers: false
  333. # Delay in minute for the recall scheduler
  334. delayRecall: 5
  335. # Blacklist these domains for emails
  336. emailBlacklisted:
  337. - '10minutemail.com'
  338. # Whitelist ONLY these domains for emails
  339. emailWhitelisted: []
  340. # Send the new password drawn in an image?
  341. generateImage: false
  342. # The OAuth2 token
  343. emailOauth2Token: ''
  344. Hooks:
  345. # Do we need to hook with multiverse for spawn checking?
  346. multiverse: true
  347. # Do we need to hook with BungeeCord?
  348. bungeecord: false
  349. # Send player to this BungeeCord server after register/login
  350. sendPlayerTo: ''
  351. # Do we need to disable Essentials SocialSpy on join?
  352. disableSocialSpy: false
  353. # Do we need to force /motd Essentials command on join?
  354. useEssentialsMotd: false
  355. Protection:
  356. # Enable some servers protection (country based login, antibot)
  357. enableProtection: false
  358. # Apply the protection also to registered usernames
  359. enableProtectionRegistered: true
  360. # Countries allowed to join the server and register. For country codes, see
  361. # https://dev.bukkit.org/projects/authme-reloaded/pages/countries-codes
  362. # PLEASE USE QUOTES!
  363. countries:
  364. - 'US'
  365. - 'GB'
  366. # Countries not allowed to join the server and register
  367. # PLEASE USE QUOTES!
  368. countriesBlacklist:
  369. - 'A1'
  370. # Do we need to enable automatic antibot system?
  371. enableAntiBot: true
  372. # The interval in seconds
  373. antiBotInterval: 5
  374. # Max number of players allowed to login in the interval
  375. # before the AntiBot system is enabled automatically
  376. antiBotSensibility: 10
  377. # Duration in minutes of the antibot automatic system
  378. antiBotDuration: 10
  379. # Delay in seconds before the antibot activation
  380. antiBotDelay: 60
  381. Purge:
  382. # If enabled, AuthMe automatically purges old, unused accounts
  383. useAutoPurge: false
  384. # Number of days after which an account should be purged
  385. daysBeforeRemovePlayer: 60
  386. # Do we need to remove the player.dat file during purge process?
  387. removePlayerDat: false
  388. # Do we need to remove the Essentials/userdata/player.yml file during purge process?
  389. removeEssentialsFile: false
  390. # World in which the players.dat are stored
  391. defaultWorld: 'world'
  392. # Remove LimitedCreative/inventories/player.yml, player_creative.yml files during purge?
  393. removeLimitedCreativesInventories: false
  394. # Do we need to remove the AntiXRayData/PlayerData/player file during purge process?
  395. removeAntiXRayFile: false
  396. # Do we need to remove permissions?
  397. removePermissions: false
  398. Security:
  399. SQLProblem:
  400. # Stop the server if we can't contact the sql database
  401. # Take care with this, if you set this to false,
  402. # AuthMe will automatically disable and the server won't be protected!
  403. stopServer: true
  404. console:
  405. # Remove passwords from console?
  406. removePassword: true
  407. # Copy AuthMe log output in a separate file as well?
  408. logConsole: true
  409. captcha:
  410. # Enable captcha when a player uses wrong password too many times
  411. useCaptcha: false
  412. # Max allowed tries before a captcha is required
  413. maxLoginTry: 5
  414. # Captcha length
  415. captchaLength: 5
  416. # Minutes after which login attempts count is reset for a player
  417. captchaCountReset: 60
  418. tempban:
  419. # Tempban a user's IP address if they enter the wrong password too many times
  420. enableTempban: false
  421. # How many times a user can attempt to login before their IP being tempbanned
  422. maxLoginTries: 10
  423. # The length of time a IP address will be tempbanned in minutes
  424. # Default: 480 minutes, or 8 hours
  425. tempbanLength: 480
  426. # How many minutes before resetting the count for failed logins by IP and username
  427. # Default: 480 minutes (8 hours)
  428. minutesBeforeCounterReset: 480
  429. recoveryCode:
  430. # Number of characters a recovery code should have (0 to disable)
  431. length: 8
  432. # How many hours is a recovery code valid for?
  433. validForHours: 4
  434. # Max number of tries to enter recovery code
  435. maxTries: 3
  436. # How long a player has after password recovery to change their password
  437. # without logging in. This is in minutes.
  438. # Default: 2 minutes
  439. passwordChangeTimeout: 2
  440. emailRecovery:
  441. # Seconds a user has to wait for before a password recovery mail may be sent again
  442. # This prevents an attacker from abusing AuthMe's email feature.
  443. cooldown: 60
  444. # Before a user logs in, various properties are temporarily removed from the player,
  445. # such as OP status, ability to fly, and walk/fly speed.
  446. # Once the user is logged in, we add back the properties we previously saved.
  447. # In this section, you may define how these properties should be handled.
  448. # Read more at https://github.com/AuthMe/AuthMeReloaded/wiki/Limbo-players
  449. limbo:
  450. persistence:
  451. # Besides storing the data in memory, you can define if/how the data should be persisted
  452. # on disk. This is useful in case of a server crash, so next time the server starts we can
  453. # properly restore things like OP status, ability to fly, and walk/fly speed.
  454. # DISABLED: no disk storage,
  455. # INDIVIDUAL_FILES: each player data in its own file,
  456. # DISTRIBUTED_FILES: distributes players into different files based on their UUID, see below
  457. type: 'INDIVIDUAL_FILES'
  458. # This setting only affects DISTRIBUTED_FILES persistence. The distributed file
  459. # persistence attempts to reduce the number of files by distributing players into various
  460. # buckets based on their UUID. This setting defines into how many files the players should
  461. # be distributed. Possible values: ONE, FOUR, EIGHT, SIXTEEN, THIRTY_TWO, SIXTY_FOUR,
  462. # ONE_TWENTY for 128, TWO_FIFTY for 256.
  463. # For example, if you expect 100 non-logged in players, setting to SIXTEEN will average
  464. # 6.25 players per file (100 / 16).
  465. # Note: if you change this setting all data will be migrated. If you have a lot of data,
  466. # change this setting only on server restart, not with /authme reload.
  467. distributionSize: 'SIXTEEN'
  468. # Whether the player is allowed to fly: RESTORE, ENABLE, DISABLE.
  469. # RESTORE sets back the old property from the player.
  470. restoreAllowFlight: 'RESTORE'
  471. # Restore fly speed: RESTORE, DEFAULT, MAX_RESTORE, RESTORE_NO_ZERO.
  472. # RESTORE: restore the speed the player had;
  473. # DEFAULT: always set to default speed;
  474. # MAX_RESTORE: take the maximum of the player's current speed and the previous one
  475. # RESTORE_NO_ZERO: Like 'restore' but sets speed to default if the player's speed was 0
  476. restoreFlySpeed: 'RESTORE_NO_ZERO'
  477. # Restore walk speed: RESTORE, DEFAULT, MAX_RESTORE, RESTORE_NO_ZERO.
  478. # See above for a description of the values.
  479. restoreWalkSpeed: 'MAX_RESTORE'
  480. BackupSystem:
  481. # General configuration for backups: if false, no backups are possible
  482. ActivateBackup: false
  483. # Create backup at every start of server
  484. OnServerStart: false
  485. # Create backup at every stop of server
  486. OnServerStop: true
  487. # Windows only: MySQL installation path
  488. MysqlWindowsPath: 'C:\Program Files\MySQL\MySQL Server 5.1\'
  489. # Converter settings: see https://github.com/AuthMe/AuthMeReloaded/wiki/Converters
  490. Converter:
  491. Rakamak:
  492. # Rakamak file name
  493. fileName: 'users.rak'
  494. # Rakamak use IP?
  495. useIP: false
  496. # Rakamak IP file name
  497. ipFileName: 'UsersIp.rak'
  498. CrazyLogin:
  499. # CrazyLogin database file name
  500. fileName: 'accounts.db'
  501. loginSecurity:
  502. # LoginSecurity: convert from SQLite; if false we use MySQL
  503. useSqlite: true
  504. mySql:
  505. # LoginSecurity MySQL: database host
  506. host: ''
  507. # LoginSecurity MySQL: database name
  508. database: ''
  509. # LoginSecurity MySQL: database user
  510. user: ''
  511. # LoginSecurity MySQL: password for database user
  512. password: ''
Add Comment
Please, Sign In to add comment