Advertisement
Guest User

config.yml

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