Advertisement
Guest User

Untitled

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