Advertisement
Guest User

Untitled

a guest
Oct 10th, 2016
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.24 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: 'MYSQL'
  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: 'iliketurtles'
  15. # Password about Database Connection Infos
  16. mySQLPassword: 'doyou?'
  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: true
  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: 15
  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: true
  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: true
  107. # Hide the chat log from players who are not authenticated?
  108. hideChat: false
  109. # Allowed commands for unauthenticated players
  110. allowCommands:
  111. - '/login'
  112. - '/register'
  113. - '/l'
  114. - '/reg'
  115. - '/email'
  116. - '/captcha'
  117. # Max number of allowed registrations per IP
  118. # The value 0 means an unlimited number of registrations!
  119. maxRegPerIp: 0
  120. # Minimum allowed username length
  121. minNicknameLength: 3
  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. - 'Oreworld'
  139. - 'HGChernobyl'
  140. - 'HGTurbulence'
  141. - 'HungerGames'
  142. # This option will save the quit location of the players.
  143. SaveQuitLocation: true
  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.
  149. # Example:
  150. # AllowedRestrictedUser:
  151. # - playername;127.0.0.1
  152. AllowedRestrictedUser:
  153. - 'playername;127.0.0.1'
  154. # Should unregistered players be kicked immediately?
  155. kickNonRegistered: false
  156. # Should players be kicked on wrong password?
  157. kickOnWrongPassword: false
  158. # Should not logged in players be teleported to the spawn?
  159. # After the authentication they will be teleported back to
  160. # their normal position.
  161. teleportUnAuthedToSpawn: true
  162. # Can unregistered players walk around?
  163. allowMovement: true
  164. # Should not authenticated players have speed = 0?
  165. # This will reset the fly/walk speed to default value after the login.
  166. removeSpeed: true
  167. # After how many seconds should players who fail to login or register
  168. # be kicked? Set to 0 to disable.
  169. timeout: 120
  170. # Regex syntax of allowed characters in the player name.
  171. allowedNicknameCharacters: '[a-zA-Z0-9_]*'
  172. # How far can unregistered players walk?
  173. # Set to 0 for unlimited radius
  174. allowedMovementRadius: 20
  175. # Enable double check of password when you register
  176. # when it's true, registration requires that kind of command:
  177. # /register <password> <confirmPassword>
  178. enablePasswordConfirmation: false
  179. # Should we protect the player inventory before logging in? Requires ProtocolLib.
  180. ProtectInventoryBeforeLogIn: false
  181. # Should we deny the tabcomplete feature before logging in? Requires ProtocolLib.
  182. DenyTabCompleteBeforeLogin: true
  183. # Should we display all other accounts from a player when he joins?
  184. # permission: /authme.admin.accounts
  185. displayOtherAccounts: false
  186. # Ban ip when the ip is not the ip registered in database
  187. banUnsafedIP: false
  188. # Spawn priority; values: authme, essentials, multiverse, default
  189. spawnPriority: 'authme,essentials,multiverse,default'
  190. # Maximum Login authorized by IP
  191. maxLoginPerIp: 0
  192. # Maximum Join authorized by IP
  193. maxJoinPerIp: 0
  194. # AuthMe will NEVER teleport players if set to true!
  195. noTeleport: false
  196. # Regex syntax for allowed chars in passwords
  197. allowedPasswordCharacters: '[\x21-\x7E]*'
  198. # Log level: INFO, FINE, DEBUG. Use INFO for general messages,
  199. # FINE for some additional detailed ones (like password failed),
  200. # and DEBUG for debugging
  201. logLevel: 'FINE'
  202. # By default we schedule async tasks when talking to the database
  203. # If you want typical communication with the database to happen synchronously, set this to false
  204. useAsyncTasks: true
  205. GameMode:
  206. # Force survival gamemode when player joins?
  207. ForceSurvivalMode: false
  208. unrestrictions:
  209. # Below you can list all account names that
  210. # AuthMe will ignore for registration or login, configure it
  211. # at your own risk!! Remember that if you are going to add
  212. # nickname with [], you have to delimit name with ' '.
  213. # this option add compatibility with BuildCraft and some
  214. # other mods.
  215. # It is case-sensitive!
  216. UnrestrictedName: []
  217. security:
  218. # Minimum length of password
  219. minPasswordLength: 4
  220. # Maximum length of password
  221. passwordMaxLength: 30
  222. # This is a very important option: every time a player joins the server,
  223. # if they are registered, AuthMe will switch him to unLoggedInGroup.
  224. # This should prevent all major exploits.
  225. # You can set up your permission plugin with this special group to have no permissions,
  226. # or only permission to chat (or permission to send private messages etc.).
  227. # The better way is to set up this group with few permissions, so if a player
  228. # tries to exploit an account they can do only what you've defined for the group.
  229. # After, a logged in player will be moved to his correct permissions group!
  230. # Please note that the group name is case-sensitive, so 'admin' is different from 'Admin'
  231. # Otherwise your group will be wiped and the player will join in the default group []!
  232. # Example unLoggedinGroup: NotLogged
  233. unLoggedinGroup: 'unLoggedinGroup'
  234. # Possible values: MD5, SHA1, SHA256, WHIRLPOOL, XAUTH, MD5VB, PHPBB,
  235. # MYBB, IPB3, PHPFUSION, SMF, XENFORO, SALTED2MD5, JOOMLA, BCRYPT, WBB3, SHA512,
  236. # DOUBLEMD5, PBKDF2, PBKDF2DJANGO, WORDPRESS, ROYALAUTH, CUSTOM (for developers only)
  237. passwordHash: 'SHA256'
  238. # Salt length for the SALTED2MD5 MD5(MD5(password)+salt)
  239. doubleMD5SaltLength: 8
  240. # If password checking return false, do we need to check with all
  241. # other password algorithm to check an old password?
  242. # AuthMe will update the password to the new password hash
  243. supportOldPasswordHash: false
  244. # Prevent unsafe passwords from being used; put them in lowercase!
  245. # unsafePasswords:
  246. # - '123456'
  247. # - 'password'
  248. unsafePasswords:
  249. - '123456'
  250. - 'password'
  251. - 'qwerty'
  252. - '12345'
  253. - '54321'
  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: 7
  260. # Only registered and logged in players can play.
  261. # See restrictions for exceptions
  262. force: true
  263. # Do we replace password registration by an email registration method?
  264. enableEmailRegistrationSystem: false
  265. # Enable double check of email when you register
  266. # when it's true, registration requires that kind of command:
  267. # /register <email> <confirmEmail>
  268. doubleEmailCheck: false
  269. # Do we force kick a player after a successful registration?
  270. # Do not use with login feature below
  271. forceKickAfterRegister: false
  272. # Does AuthMe need to enforce a /login after a successful registration?
  273. forceLoginAfterRegister: false
  274. # Force these commands after /login, without any '/', use %p to replace with player name
  275. forceCommands: []
  276. # Force these commands after /login as service console, without any '/'. Use %p to replace with player name
  277. forceCommandsAsConsole: []
  278. # Force these commands after /register, without any '/', use %p to replace with player name
  279. forceRegisterCommands: []
  280. # Force these commands after /register as a server console, without any '/'. Use %p to replace with player name
  281. forceRegisterCommandsAsConsole:
  282. - 'warp register2 %p'
  283. - 'kit give noob %p'
  284. # Enable to display the welcome message (welcome.txt) after a login
  285. # You can use colors in this welcome.txt + some replaced strings:
  286. # {PLAYER}: player name, {ONLINE}: display number of online players, {MAXPLAYERS}: display server slots,
  287. # {IP}: player ip, {LOGINS}: number of players logged, {WORLD}: player current world, {SERVER}: server name
  288. # {VERSION}: get current bukkit version, {COUNTRY}: player country
  289. useWelcomeMessage: false
  290. # Do we need to broadcast the welcome message to all server or only to the player? set true for server or false for player
  291. broadcastWelcomeMessage: false
  292. # Should we delay the join message and display it once the player has logged in?
  293. delayJoinMessage: false
  294. # Should we remove the leave messages of unlogged users?
  295. removeUnloggedLeaveMessage: false
  296. # Should we remove join messages altogether?
  297. removeJoinMessage: true
  298. # Should we remove leave messages altogether?
  299. removeLeaveMessage: true
  300. # Do we need to add potion effect Blinding before login/reigster?
  301. applyBlindEffect: false
  302. # Do we need to prevent people to login with another case?
  303. # If Xephi is registered, then Xephi can login, but not XEPHI/xephi/XePhI
  304. preventOtherCase: true
  305.  
  306. permission:
  307. # Take care with this option; if you want
  308. # to use group switching of AuthMe
  309. # for unloggedIn players, set this setting to true.
  310. # Default is false.
  311. EnablePermissionCheck: false
  312.  
  313. Email:
  314. # Email SMTP server host
  315. mailSMTP: 'smtp.gmail.com'
  316. # Email SMTP server port
  317. mailPort: 666
  318. # Email account which sends the mails
  319. mailAccount: 'auth.heytherecreepycreeper:p@gmail.com'
  320. # Email account password
  321. mailPassword: 'iliketurtles'
  322. # Custom sender name, replacing the mailAccount name in the email
  323. mailSenderName: 'XXXXX Password Recovery'
  324. # Recovery password length
  325. RecoveryPasswordLength: 6
  326. # Mail Subject
  327. mailSubject: 'Your new Alanthya Password'
  328. # Like maxRegPerIP but with email
  329. maxRegPerEmail: 5
  330. # Recall players to add an email?
  331. recallPlayers: false
  332. # Delay in minute for the recall scheduler
  333. delayRecall: 5
  334. # Blacklist these domains for emails
  335. emailBlacklisted:
  336. - '10minutemail.com'
  337. # Whitelist ONLY these domains for emails
  338. emailWhitelisted: []
  339. # Send the new password drawn in an image?
  340. generateImage: false
  341. # The OAuth2 token
  342. emailOauth2Token: ''
  343.  
  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: true
  349. # Send player to this BungeeCord server after register/login
  350. sendPlayerTo: ''
  351. # Do we need to disable Essentials SocialSpy on join?
  352. disableSocialSpy: true
  353. # Do we need to force /motd Essentials command on join?
  354. useEssentialsMotd: false
  355.  
  356. GroupOptions:
  357. # Unregistered permission group
  358. UnregisteredPlayerGroup: ''
  359. # Registered permission group
  360. RegisteredPlayerGroup: ''
  361.  
  362. Protection:
  363. # Enable some servers protection (country based login, antibot)
  364. enableProtection: false
  365. # Apply the protection also to registered usernames
  366. enableProtectionRegistered: true
  367. # Countries allowed to join the server and register, see http://dev.bukkit.org/bukkit-plugins/authme-reloaded/pages/countries-codes/ for 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. # Max number of players allowed to login in 5 secs before the AntiBot system is enabled automatically
  379. antiBotSensibility: 5
  380. # Duration in minutes of the antibot automatic system
  381. antiBotDuration: 10
  382. # Delay in seconds before the antibot activation
  383. antiBotDelay: 60
  384.  
  385. Purge:
  386. # If enabled, AuthMe automatically purges old, unused accounts
  387. useAutoPurge: false
  388. # Number of Days an account become Unused
  389. daysBeforeRemovePlayer: 60
  390. # Do we need to remove the player.dat file during purge process?
  391. removePlayerDat: false
  392. # Do we need to remove the Essentials/userdata/player.yml file during purge process?
  393. removeEssentialsFile: false
  394. # World where are players.dat stores
  395. defaultWorld: 'world'
  396. # Do we need to remove LimitedCreative/inventories/player.yml, player_creative.yml files during purge process ?
  397. removeLimitedCreativesInventories: false
  398. # Do we need to remove the AntiXRayData/PlayerData/player file during purge process?
  399. removeAntiXRayFile: false
  400. # Do we need to remove permissions?
  401. removePermissions: false
  402.  
  403. Security:
  404. SQLProblem:
  405. # Stop the server if we can't contact the sql database
  406. # Take care with this, if you set this to false,
  407. # AuthMe will automatically disable and the server won't be protected!
  408. stopServer: true
  409. ReloadCommand:
  410. # /reload support
  411. useReloadCommandSupport: true
  412. console:
  413. # Remove passwords from console?
  414. removePassword: true
  415. # Copy AuthMe log output in a separate file as well?
  416. logConsole: true
  417. captcha:
  418. # Enable captcha when a player uses wrong password too many times
  419. useCaptcha: false
  420. # Max allowed tries before a captcha is required
  421. maxLoginTry: 5
  422. # Captcha length
  423. captchaLength: 5
  424. tempban:
  425. # Tempban a user's IP address if they enter the wrong password too many times
  426. enableTempban: false
  427. # How many times a user can attempt to login before their IP being tempbanned
  428. maxLoginTries: 10
  429. # The length of time a IP address will be tempbanned in minutes
  430. # Default: 480 minutes, or 8 hours
  431. tempbanLength: 480
  432. # How many minutes before resetting the count for failed logins by IP and username
  433. # Default: 480 minutes (8 hours)
  434. minutesBeforeCounterReset: 480
  435. recoveryCode:
  436. # Number of characters a recovery code should have (0 to disable)
  437. length: 8
  438. # How many hours is a recovery code valid for?
  439. validForHours: 4
  440.  
  441. BackupSystem:
  442. # Enable or disable automatic backup
  443. ActivateBackup: false
  444. # Set backup at every start of server
  445. OnServerStart: false
  446. # Set backup at every stop of server
  447. OnServerStop: false
  448. # Windows only mysql installation Path
  449. MysqlWindowsPath: 'C:\\Program Files\\MySQL\\MySQL Server 5.1\\'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement