Guest User

plm

a guest
Feb 9th, 2017
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.60 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: 'IP'
  10. # Database port
  11. mySQLPort: '3306'
  12. # Username about Database Connection Infos
  13. mySQLUsername: 'NUME'
  14. # Password about Database Connection Infos
  15. mySQLPassword: 'PAROLA'
  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: 60
  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: '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. # Max number of allowed registrations per IP
  117. # The value 0 means an unlimited number of registrations!
  118. maxRegPerIp: 3
  119. # Minimum allowed username length
  120. minNicknameLength: 3
  121. # Maximum allowed username length
  122. maxNicknameLength: 16
  123. # When this setting is enabled, online players can't be kicked out
  124. # due to "Logged in from another Location"
  125. # This setting will prevent potential security exploits.
  126. ForceSingleSession: true
  127. ForceSpawnLocOnJoin:
  128. # If enabled, every player that spawn in one of the world listed in
  129. # "ForceSpawnLocOnJoin.worlds" will be teleported to the spawnpoint after successful
  130. # authentication. The quit location of the player will be overwritten.
  131. # This is different from "teleportUnAuthedToSpawn" that teleport player
  132. # to the spawnpoint on join.
  133. enabled: false
  134. # WorldNames where we need to force the spawn location
  135. # Case-sensitive!
  136. worlds:
  137. - 'world'
  138. - 'world_nether'
  139. - 'world_the_end'
  140. # This option will save the quit location of the players.
  141. SaveQuitLocation: false
  142. # To activate the restricted user feature you need
  143. # to enable this option and configure the AllowedRestrictedUser field.
  144. AllowRestrictedUser: false
  145. # The restricted user feature will kick players listed below
  146. # if they don't match the defined IP address. Names are case-insensitive.
  147. # Example:
  148. # AllowedRestrictedUser:
  149. # - playername;127.0.0.1
  150. AllowedRestrictedUser: []
  151. # Should unregistered players be kicked immediately?
  152. kickNonRegistered: false
  153. # Should players be kicked on wrong password?
  154. kickOnWrongPassword: true
  155. # Should not logged in players be teleported to the spawn?
  156. # After the authentication they will be teleported back to
  157. # their normal position.
  158. teleportUnAuthedToSpawn: false
  159. # Can unregistered players walk around?
  160. allowMovement: false
  161. # Should not authenticated players have speed = 0?
  162. # This will reset the fly/walk speed to default value after the login.
  163. removeSpeed: true
  164. # After how many seconds should players who fail to login or register
  165. # be kicked? Set to 0 to disable.
  166. timeout: 30
  167. # Regex syntax of allowed characters in the player name.
  168. allowedNicknameCharacters: '[a-zA-Z0-9_]*'
  169. # How far can unregistered players walk?
  170. # Set to 0 for unlimited radius
  171. allowedMovementRadius: 100
  172. # Should we protect the player inventory before logging in? Requires ProtocolLib.
  173. ProtectInventoryBeforeLogIn: true
  174. # Should we deny the tabcomplete feature before logging in? Requires ProtocolLib.
  175. DenyTabCompleteBeforeLogin: false
  176. # Should we display all other accounts from a player when he joins?
  177. # permission: /authme.admin.accounts
  178. displayOtherAccounts: true
  179. # Ban ip when the ip is not the ip registered in database
  180. banUnsafedIP: false
  181. # Spawn priority; values: authme, essentials, multiverse, default
  182. spawnPriority: 'authme,essentials,multiverse,default'
  183. # Maximum Login authorized by IP
  184. maxLoginPerIp: 0
  185. # Maximum Join authorized by IP
  186. maxJoinPerIp: 0
  187. # AuthMe will NEVER teleport players if set to true!
  188. noTeleport: false
  189. # Regex syntax for allowed chars in passwords
  190. allowedPasswordCharacters: '[\x21-\x7E]*'
  191. # Threshold of the other accounts command, a value less than 2 means disabled.
  192. otherAccountsCmdThreshold: 0
  193. # Command to run when a user has more accounts than the configured threshold.
  194. # Available variables: %playername%, %playerip%
  195. otherAccountsCmd: 'say The player %playername% with ip %playerip% has multiple accounts!'
  196. GameMode:
  197. # Force survival gamemode when player joins?
  198. ForceSurvivalMode: false
  199. unrestrictions:
  200. # Below you can list all account names that AuthMe will ignore
  201. # for registration or login. Configure it at your own risk!!
  202. # This option adds compatibility with BuildCraft and some other mods.
  203. # It is case-insensitive! Example:
  204. # UnrestrictedName:
  205. # - 'npcPlayer'
  206. # - 'npcPlayer2'
  207. UnrestrictedName: []
  208. security:
  209. # Minimum length of password
  210. minPasswordLength: 5
  211. # Maximum length of password
  212. passwordMaxLength: 30
  213. # This is a very important option: every time a player joins the server,
  214. # if they are registered, AuthMe will switch him to unLoggedInGroup.
  215. # This should prevent all major exploits.
  216. # You can set up your permission plugin with this special group to have no permissions,
  217. # or only permission to chat (or permission to send private messages etc.).
  218. # The better way is to set up this group with few permissions, so if a player
  219. # tries to exploit an account they can do only what you've defined for the group.
  220. # After, a logged in player will be moved to his correct permissions group!
  221. # Please note that the group name is case-sensitive, so 'admin' is different from 'Admin'
  222. # Otherwise your group will be wiped and the player will join in the default group []!
  223. # Example unLoggedinGroup: NotLogged
  224. unLoggedinGroup: 'unLoggedinGroup'
  225. # Possible values: SHA256, BCRYPT, BCRYPT2Y, PBKDF2, SALTEDSHA512, WHIRLPOOL,
  226. # MYBB, IPB3, PHPBB, PHPFUSION, SMF, XENFORO, XAUTH, JOOMLA, WBB3, WBB4, MD5VB,
  227. # PBKDF2DJANGO, WORDPRESS, ROYALAUTH, CUSTOM (for developers only). See full list at
  228. # https://github.com/AuthMe/AuthMeReloaded/blob/master/docs/hash_algorithms.md
  229. passwordHash: 'SHA256'
  230. # Salt length for the SALTED2MD5 MD5(MD5(password)+salt)
  231. doubleMD5SaltLength: 8
  232. # If a password check fails, AuthMe will also try to check with the following hash methods.
  233. # Use this setting when you change from one hash method to another.
  234. # AuthMe will update the password to the new hash. Example:
  235. # legacyHashes:
  236. # - 'SHA1'
  237. legacyHashes: []
  238. # Number of rounds to use if passwordHash is set to PBKDF2. Default is 10000
  239. pbkdf2Rounds: 10000
  240. # Prevent unsafe passwords from being used; put them in lowercase!
  241. # You should always set 'help' as unsafePassword due to possible conflicts.
  242. # unsafePasswords:
  243. # - '123456'
  244. # - 'password'
  245. # - 'help'
  246. unsafePasswords:
  247. - '123456'
  248. - 'password'
  249. - 'qwerty'
  250. - '12345'
  251. - '54321'
  252. - '123456789'
  253. - 'help'
  254. registration:
  255. # Enable registration on the server?
  256. enabled: true
  257. # Send every X seconds a message to a player to
  258. # remind him that he has to login/register
  259. messageInterval: 5
  260. # Only registered and logged in players can play.
  261. # See restrictions for exceptions
  262. force: true
  263. # Type of registration: PASSWORD or EMAIL
  264. # PASSWORD = account is registered with a password supplied by the user;
  265. # EMAIL = password is generated and sent to the email provided by the user.
  266. # More info at https://github.com/AuthMe/AuthMeReloaded/wiki/Registration
  267. type: 'PASSWORD'
  268. # Second argument the /register command should take: NONE = no 2nd argument
  269. # CONFIRMATION = must repeat first argument (pass or email)
  270. # EMAIL_OPTIONAL = for password register: 2nd argument can be empty or have email address
  271. # EMAIL_MANDATORY = for password register: 2nd argument MUST be an email address
  272. secondArg: 'CONFIRMATION'
  273. # Do we force kick a player after a successful registration?
  274. # Do not use with login feature below
  275. forceKickAfterRegister: false
  276. # Does AuthMe need to enforce a /login after a successful registration?
  277. forceLoginAfterRegister: false
  278. # Enable to display the welcome message (welcome.txt) after a login
  279. # You can use colors in this welcome.txt + some replaced strings:
  280. # {PLAYER}: player name, {ONLINE}: display number of online players,
  281. # {MAXPLAYERS}: display server slots, {IP}: player ip, {LOGINS}: number of players logged,
  282. # {WORLD}: player current world, {SERVER}: server name
  283. # {VERSION}: get current bukkit version, {COUNTRY}: player country
  284. useWelcomeMessage: true
  285. # Broadcast the welcome message to the server or only to the player?
  286. # set true for server or false for player
  287. broadcastWelcomeMessage: false
  288. # Should we delay the join message and display it once the player has logged in?
  289. delayJoinMessage: false
  290. # The custom join message that will be sent after a successful login,
  291. # keep empty to use the original one.
  292. # Available variables:
  293. # {PLAYERNAME}: the player name (no colors)
  294. # {DISPLAYNAME}: the player name (with colors)
  295. customJoinMessage: ''
  296. # Should we remove the leave messages of unlogged users?
  297. removeUnloggedLeaveMessage: false
  298. # Should we remove join messages altogether?
  299. removeJoinMessage: false
  300. # Should we remove leave messages altogether?
  301. removeLeaveMessage: false
  302. # Do we need to add potion effect Blinding before login/reigster?
  303. applyBlindEffect: false
  304. # Do we need to prevent people to login with another case?
  305. # If Xephi is registered, then Xephi can login, but not XEPHI/xephi/XePhI
  306. preventOtherCase: true
  307. permission:
  308. # Take care with this option; if you want
  309. # to use group switching of AuthMe
  310. # for unloggedIn players, set this setting to true.
  311. # Default is false.
  312. EnablePermissionCheck: false
  313. Email:
  314. # Email SMTP server host
  315. mailSMTP: 'smtp.gmail.com'
  316. # Email SMTP server port
  317. mailPort: 465
  318. # Email account which sends the mails
  319. mailAccount: ''
  320. # Email account password
  321. mailPassword: ''
  322. # Email address, fill when mailAccount is not the email address of the account
  323. mailAddress: ''
  324. # Custom sender name, replacing the mailAccount name in the email
  325. mailSenderName: ''
  326. # Recovery password length
  327. RecoveryPasswordLength: 8
  328. # Mail Subject
  329. mailSubject: 'Your new AuthMe password'
  330. # Like maxRegPerIP but with email
  331. maxRegPerEmail: 1
  332. # Recall players to add an email?
  333. recallPlayers: false
  334. # Delay in minute for the recall scheduler
  335. delayRecall: 5
  336. # Blacklist these domains for emails
  337. emailBlacklisted:
  338. - '10minutemail.com'
  339. # Whitelist ONLY these domains for emails
  340. emailWhitelisted: []
  341. # Send the new password drawn in an image?
  342. generateImage: false
  343. # The OAuth2 token
  344. emailOauth2Token: ''
  345. Hooks:
  346. # Do we need to hook with multiverse for spawn checking?
  347. multiverse: true
  348. # Do we need to hook with BungeeCord?
  349. bungeecord: false
  350. # Send player to this BungeeCord server after register/login
  351. sendPlayerTo: ''
  352. # Do we need to disable Essentials SocialSpy on join?
  353. disableSocialSpy: false
  354. # Do we need to force /motd Essentials command on join?
  355. useEssentialsMotd: false
  356. GroupOptions:
  357. # Unregistered permission group
  358. UnregisteredPlayerGroup: ''
  359. # Registered permission group
  360. RegisteredPlayerGroup: ''
  361. Protection:
  362. # Enable some servers protection (country based login, antibot)
  363. enableProtection: false
  364. # Apply the protection also to registered usernames
  365. enableProtectionRegistered: true
  366. # Countries allowed to join the server and register. For country codes, see
  367. # https://dev.bukkit.org/projects/authme-reloaded/pages/countries-codes
  368. # PLEASE USE QUOTES!
  369. countries:
  370. - 'US'
  371. - 'GB'
  372. # Countries not allowed to join the server and register
  373. # PLEASE USE QUOTES!
  374. countriesBlacklist:
  375. - 'A1'
  376. # Do we need to enable automatic antibot system?
  377. enableAntiBot: true
  378. # The interval in seconds
  379. antiBotInterval: 5
  380. # Max number of players allowed to login in the interval
  381. # before the AntiBot system is enabled automatically
  382. antiBotSensibility: 10
  383. # Duration in minutes of the antibot automatic system
  384. antiBotDuration: 10
  385. # Delay in seconds before the antibot activation
  386. antiBotDelay: 60
  387. Purge:
  388. # If enabled, AuthMe automatically purges old, unused accounts
  389. useAutoPurge: false
  390. # Number of days after which an account should be purged
  391. daysBeforeRemovePlayer: 60
  392. # Do we need to remove the player.dat file during purge process?
  393. removePlayerDat: false
  394. # Do we need to remove the Essentials/userdata/player.yml file during purge process?
  395. removeEssentialsFile: false
  396. # World where are players.dat stores
  397. defaultWorld: 'world'
  398. # Remove LimitedCreative/inventories/player.yml, player_creative.yml files during purge?
  399. removeLimitedCreativesInventories: false
  400. # Do we need to remove the AntiXRayData/PlayerData/player file during purge process?
  401. removeAntiXRayFile: false
  402. # Do we need to remove permissions?
  403. removePermissions: false
  404. Security:
  405. SQLProblem:
  406. # Stop the server if we can't contact the sql database
  407. # Take care with this, if you set this to false,
  408. # AuthMe will automatically disable and the server won't be protected!
  409. stopServer: true
  410. console:
  411. # Remove passwords from console?
  412. removePassword: true
  413. # Copy AuthMe log output in a separate file as well?
  414. logConsole: true
  415. captcha:
  416. # Enable captcha when a player uses wrong password too many times
  417. useCaptcha: false
  418. # Max allowed tries before a captcha is required
  419. maxLoginTry: 5
  420. # Captcha length
  421. captchaLength: 5
  422. tempban:
  423. # Tempban a user's IP address if they enter the wrong password too many times
  424. enableTempban: false
  425. # How many times a user can attempt to login before their IP being tempbanned
  426. maxLoginTries: 10
  427. # The length of time a IP address will be tempbanned in minutes
  428. # Default: 480 minutes, or 8 hours
  429. tempbanLength: 480
  430. # How many minutes before resetting the count for failed logins by IP and username
  431. # Default: 480 minutes (8 hours)
  432. minutesBeforeCounterReset: 480
  433. recoveryCode:
  434. # Number of characters a recovery code should have (0 to disable)
  435. length: 8
  436. # How many hours is a recovery code valid for?
  437. validForHours: 4
  438. BackupSystem:
  439. # Enable or disable automatic backup
  440. ActivateBackup: false
  441. # Set backup at every start of server
  442. OnServerStart: false
  443. # Set backup at every stop of server
  444. OnServerStop: true
  445. # Windows only mysql installation Path
  446. MysqlWindowsPath: 'C:\Program Files\MySQL\MySQL Server 5.1\'
Add Comment
Please, Sign In to add comment