Advertisement
blty

Untitled

Jan 6th, 2017
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.97 KB | None | 0 0
  1. ataSource:
  2. # What type of database do you want to use?
  3. # Valid values: sqlite, mysql
  4. backend: 'mysql'
  5. # Enable database caching, should improve database performance
  6. caching: true
  7. # Database host address
  8. mySQLHost: 'localhost'
  9. # Database port
  10. mySQLPort: '3306'
  11. # Username about Database Connection Infos
  12. mySQLUsername: ''
  13. # Password about Database Connection Infos
  14. mySQLPassword: ''
  15. # Database Name, use with converters or as SQLITE database name
  16. mySQLDatabase: ''
  17. # Table of the database
  18. mySQLTablename: 'authme'
  19. # Column of IDs to sort data
  20. mySQLColumnId: 'id'
  21. # Column for storing or checking players nickname
  22. mySQLColumnName: 'username'
  23. # Column for storing or checking players RealName
  24. mySQLRealName: 'realname'
  25. # Column for storing players passwords
  26. mySQLColumnPassword: 'password'
  27. # Column for storing players emails
  28. mySQLColumnEmail: 'email'
  29. # Column for storing if a player is logged in or not
  30. mySQLColumnLogged: 'isLogged'
  31. # Column for storing players ips
  32. mySQLColumnIp: 'ip'
  33. # Column for storing players lastlogins
  34. mySQLColumnLastLogin: 'lastlogin'
  35. # Column for storing player LastLocation - X
  36. mySQLlastlocX: 'x'
  37. # Column for storing player LastLocation - Y
  38. mySQLlastlocY: 'y'
  39. # Column for storing player LastLocation - Z
  40. mySQLlastlocZ: 'z'
  41. # Column for storing player LastLocation - World Name
  42. mySQLlastlocWorld: 'world'
  43.  
  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.  
  64. Converter:
  65. Rakamak:
  66. # Rakamak file name
  67. fileName: 'users.rak'
  68. # Rakamak use IP?
  69. useIP: false
  70. # Rakamak IP file name
  71. ipFileName: 'UsersIp.rak'
  72. CrazyLogin:
  73. # CrazyLogin database file name
  74. fileName: 'accounts.db'
  75.  
  76. settings:
  77. # The name shown in the help messages
  78. helpHeader: 'AuthMeReloaded'
  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: 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: en, de, br, cz, pl, fr, ru, hu, sk, es, zhtw, fi, zhcn, lt, it, ko, pt
  96. messagesLanguage: 'en'
  97. restrictions:
  98. # Keeps collisions disabled for logged players
  99. # Works only with MC 1.9
  100. keepCollisionsDisabled: false
  101. # Can not authenticated players chat?
  102. # Keep in mind that this feature also blocks all commands not
  103. # listed in the list below.
  104. allowChat: false
  105. # Hide the chat log from players who are not authenticated?
  106. hideChat: false
  107. # Allowed commands for unauthenticated players
  108. allowCommands:
  109. - '/reg'
  110. - '/email'
  111. - '/captcha'
  112. - '/logar'
  113. - '/entrar'
  114. - '/registrar'
  115. - '/login'
  116. - '/register'
  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: 4
  122. # Maximum allowed username length
  123. maxNicknameLength: 16
  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 "ForceSpawnLocOnJoin.worlds"
  130. # will be teleported to the spawnpoint after successful authentication.
  131. # 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. # This option will save the quit location of the players.
  140. SaveQuitLocation: false
  141. # To activate the restricted user feature you need
  142. # to enable this option and configure the AllowedRestrictedUser field.
  143. AllowRestrictedUser: false
  144. # The restricted user feature will kick players listed below
  145. # if they don't match the defined IP address.
  146. # Example:
  147. # AllowedRestrictedUser:
  148. # - playername;127.0.0.1
  149. AllowedRestrictedUser: []
  150. # Should unregistered players be kicked immediately?
  151. kickNonRegistered: false
  152. # Should players be kicked on wrong password?
  153. kickOnWrongPassword: false
  154. # Should not logged in players be teleported to the spawn?
  155. # After the authentication they will be teleported back to
  156. # their normal position.
  157. teleportUnAuthedToSpawn: true
  158. # Can unregistered players walk around?
  159. allowMovement: true
  160. # Should not authenticated players have speed = 0?
  161. # This will reset the fly/walk speed to default value after the login.
  162. removeSpeed: false
  163. # After how many seconds should players who fail to login or register
  164. # be kicked? Set to 0 to disable.
  165. timeout: 0
  166. # Regex syntax 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: 20
  171. # Enable double check of password when you register
  172. # when it's true, registration requires that kind of command:
  173. # /register <password> <confirmPassword>
  174. enablePasswordConfirmation: true
  175. # Should we protect the player inventory before logging in? Requires ProtocolLib.
  176. ProtectInventoryBeforeLogIn: true
  177. # Should we deny the tabcomplete feature before logging in? Requires ProtocolLib.
  178. DenyTabCompleteBeforeLogin: true
  179. # Should we display all other accounts from a player when he joins?
  180. # permission: /authme.admin.accounts
  181. displayOtherAccounts: true
  182. # Ban ip when the ip is not the ip registered in database
  183. banUnsafedIP: false
  184. # Spawn priority; values: authme, essentials, multiverse, default
  185. spawnPriority: 'essentials,multiverse,authme,default'
  186. # Maximum Login authorized by IP
  187. maxLoginPerIp: 0
  188. # Maximum Join authorized by IP
  189. maxJoinPerIp: 0
  190. # AuthMe will NEVER teleport players if set to true!
  191. noTeleport: false
  192. # Regex syntax for allowed chars in passwords
  193. allowedPasswordCharacters: '[\x21-\x7E]*'
  194. # Log level: INFO, FINE, DEBUG. Use INFO for general messages,
  195. # FINE for some additional detailed ones (like password failed),
  196. # and DEBUG for debugging
  197. logLevel: 'DEBUG'
  198. # By default we schedule async tasks when talking to the database
  199. # If you want typical communication with the database to happen synchronously, set this to false
  200. useAsyncTasks: true
  201. GameMode:
  202. # Force survival gamemode when player joins?
  203. ForceSurvivalMode: true
  204. unrestrictions:
  205. # Below you can list all account names that
  206. # AuthMe will ignore for registration or login, configure it
  207. # at your own risk!! Remember that if you are going to add
  208. # nickname with [], you have to delimit name with ' '.
  209. # this option add compatibility with BuildCraft and some
  210. # other mods.
  211. # It is case-sensitive!
  212. UnrestrictedName: []
  213. security:
  214. # Minimum length of password
  215. minPasswordLength: 5
  216. # Maximum length of password
  217. passwordMaxLength: 30
  218. # This is a very important option: every time a player joins the server,
  219. # if they are registered, AuthMe will switch him to unLoggedInGroup.
  220. # This should prevent all major exploits.
  221. # You can set up your permission plugin with this special group to have no permissions,
  222. # or only permission to chat (or permission to send private messages etc.).
  223. # The better way is to set up this group with few permissions, so if a player
  224. # tries to exploit an account they can do only what you've defined for the group.
  225. # After, a logged in player will be moved to his correct permissions group!
  226. # Please note that the group name is case-sensitive, so 'admin' is different from 'Admin'
  227. # Otherwise your group will be wiped and the player will join in the default group []!
  228. # Example unLoggedinGroup: NotLogged
  229. unLoggedinGroup: 'NotLogged'
  230. # Possible values: MD5, SHA1, SHA256, WHIRLPOOL, XAUTH, MD5VB, PHPBB,
  231. # MYBB, IPB3, PHPFUSION, SMF, XENFORO, SALTED2MD5, JOOMLA, BCRYPT, WBB3, SHA512,
  232. # DOUBLEMD5, PBKDF2, PBKDF2DJANGO, WORDPRESS, ROYALAUTH, CUSTOM (for developers only)
  233. passwordHash: 'SHA256'
  234. # Salt length for the SALTED2MD5 MD5(MD5(password)+salt)
  235. doubleMD5SaltLength: 8
  236. # If password checking return false, do we need to check with all
  237. # other password algorithm to check an old password?
  238. # AuthMe will update the password to the new password hash
  239. supportOldPasswordHash: false
  240. # Prevent unsafe passwords from being used; put them in lowercase!
  241. # unsafePasswords:
  242. # - '123456'
  243. # - 'password'
  244. unsafePasswords:
  245. - '123456'
  246. - 'password'
  247. - 'qwerty'
  248. - '12345'
  249. - '54321'
  250. - '123456789'
  251. registration:
  252. # Enable registration on the server?
  253. enabled: true
  254. # Send every X seconds a message to a player to
  255. # remind him that he has to login/register
  256. messageInterval: 30
  257. # Only registered and logged in players can play.
  258. # See restrictions for exceptions
  259. force: true
  260. # Do we replace password registration by an email registration method?
  261. enableEmailRegistrationSystem: false
  262. # Enable double check of email when you register
  263. # when it's true, registration requires that kind of command:
  264. # /register <email> <confirmEmail>
  265. doubleEmailCheck: false
  266. # Do we force kick a player after a successful registration?
  267. # Do not use with login feature below
  268. forceKickAfterRegister: false
  269. # Does AuthMe need to enforce a /login after a successful registration?
  270. forceLoginAfterRegister: false
  271. # Force these commands after /login, without any '/', use %p to replace with player name
  272. forceCommands: []
  273. # Force these commands after /login as service console, without any '/'. Use %p to replace with player name
  274. forceCommandsAsConsole: []
  275. # Force these commands after /register, without any '/', use %p to replace with player name
  276. forceRegisterCommands: []
  277. # Force these commands after /register as a server console, without any '/'. Use %p to replace with player name
  278. forceRegisterCommandsAsConsole: []
  279. # Enable to display the welcome message (welcome.txt) after a login
  280. # You can use colors in this welcome.txt + some replaced strings:
  281. # {PLAYER}: player name, {ONLINE}: display number of online players, {MAXPLAYERS}: display server slots,
  282. # {IP}: player ip, {LOGINS}: number of players logged, {WORLD}: player current world, {SERVER}: server name
  283. # {VERSION}: get current bukkit version, {COUNTRY}: player country
  284. useWelcomeMessage: false
  285. # Do we need to broadcast the welcome message to all server or only to the player? set true for server or false for player
  286. broadcastWelcomeMessage: false
  287. # Should we delay the join message and display it once the player has logged in?
  288. delayJoinMessage: false
  289. # Should we remove the leave messages of unlogged users?
  290. removeUnloggedLeaveMessage: true
  291. # Should we remove join messages altogether?
  292. removeJoinMessage: true
  293. # Should we remove leave messages altogether?
  294. removeLeaveMessage: true
  295. # Do we need to add potion effect Blinding before login/reigster?
  296. applyBlindEffect: false
  297. # Do we need to prevent people to login with another case?
  298. # If Xephi is registered, then Xephi can login, but not XEPHI/xephi/XePhI
  299. preventOtherCase: true
  300.  
  301. permission:
  302. # Take care with this option; if you want
  303. # to use group switching of AuthMe
  304. # for unloggedIn players, set this setting to true.
  305. # Default is false.
  306. EnablePermissionCheck: false
  307.  
  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. # Custom sender name, replacing the mailAccount name in the email
  318. mailSenderName: ''
  319. # Recovery password length
  320. RecoveryPasswordLength: 8
  321. # Mail Subject
  322. mailSubject: 'Your new AuthMe password'
  323. # Like maxRegPerIP but with email
  324. maxRegPerEmail: 1
  325. # Recall players to add an email?
  326. recallPlayers: false
  327. # Delay in minute for the recall scheduler
  328. delayRecall: 5
  329. # Blacklist these domains for emails
  330. emailBlacklisted:
  331. - '10minutemail.com'
  332. # Whitelist ONLY these domains for emails
  333. emailWhitelisted: []
  334. # Send the new password drawn in an image?
  335. generateImage: false
  336. # The OAuth2 token
  337. emailOauth2Token: ''
  338.  
  339. Hooks:
  340. # Do we need to hook with multiverse for spawn checking?
  341. multiverse: false
  342. # Do we need to hook with BungeeCord?
  343. bungeecord: false
  344. # Send player to this BungeeCord server after register/login
  345. sendPlayerTo: ''
  346. # Do we need to disable Essentials SocialSpy on join?
  347. disableSocialSpy: true
  348. # Do we need to force /motd Essentials command on join?
  349. useEssentialsMotd: false
  350.  
  351. GroupOptions:
  352. # Unregistered permission group
  353. UnregisteredPlayerGroup: 'Default'
  354. # Registered permission group
  355. RegisteredPlayerGroup: 'Default'
  356.  
  357. Protection:
  358. # Enable some servers protection (country based login, antibot)
  359. enableProtection: true
  360. # Apply the protection also to registered usernames
  361. enableProtectionRegistered: false
  362. # Countries allowed to join the server and register, see http://dev.bukkit.org/bukkit-plugins/authme-reloaded/pages/countries-codes/ for countries' codes
  363. # PLEASE USE QUOTES!
  364. countries:
  365. - 'BR'
  366. - 'PT'
  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: true
  373. # Max number of players allowed to login in 5 secs before the AntiBot system is enabled automatically
  374. antiBotSensibility: 10
  375. # Duration in minutes of the antibot automatic system
  376. antiBotDuration: 10
  377.  
  378. Purge:
  379. # If enabled, AuthMe automatically purges old, unused accounts
  380. useAutoPurge: false
  381. # Number of Days an account become Unused
  382. daysBeforeRemovePlayer: 60
  383. # Do we need to remove the player.dat file during purge process?
  384. removePlayerDat: false
  385. # Do we need to remove the Essentials/users/player.yml file during purge process?
  386. removeEssentialsFile: false
  387. # World where are players.dat stores
  388. defaultWorld: 'world'
  389. # Do we need to remove LimitedCreative/inventories/player.yml, player_creative.yml files during purge process ?
  390. removeLimitedCreativesInventories: false
  391. # Do we need to remove the AntiXRayData/PlayerData/player file during purge process?
  392. removeAntiXRayFile: false
  393. # Do we need to remove permissions?
  394. removePermissions: false
  395.  
  396. Security:
  397. SQLProblem:
  398. # Stop the server if we can't contact the sql database
  399. # Take care with this, if you set this to false,
  400. # AuthMe will automatically disable and the server won't be protected!
  401. stopServer: true
  402. ReloadCommand:
  403. # /reload support
  404. useReloadCommandSupport: 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.  
  434. BackupSystem:
  435. # Enable or disable automatic backup
  436. ActivateBackup: true
  437. # Set backup at every start of server
  438. OnServerStart: false
  439. # Set backup at every stop of server
  440. OnServerStop: true
  441. # Windows only mysql installation Path
  442. MysqlWindowsPath: 'C:\Program Files\MySQL\MySQL Server 5.1\'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement