Advertisement
Guest User

Authme config

a guest
Sep 12th, 2016
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.44 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: '82.208.17.68'
  11. # Database port
  12. mySQLPort: '3306'
  13. # Username about Database Connection Infos
  14. mySQLUsername: '196179_mysql_db'
  15. # Password about Database Connection Infos
  16. mySQLPassword: 'lobby'
  17. # Database Name, use with converters or as SQLITE database name
  18. mySQLDatabase: '196179_mysql_db'
  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: 300
  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: 'cz'
  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. - '/login'
  112. - '/register'
  113. - '/l'
  114. - '/reg'
  115. - '/passpartu'
  116. - '/email'
  117. - '/captcha'
  118. # Max number of allowed registrations per IP
  119. # The value 0 means an unlimited number of registrations!
  120. maxRegPerIp: 100
  121. # Minimum allowed username length
  122. minNicknameLength: 3
  123. # Maximum allowed username length
  124. maxNicknameLength: 20
  125. # When this setting is enabled, online players can't be kicked out
  126. # due to "Logged in from another Location"
  127. # This setting will prevent potential security exploits.
  128. ForceSingleSession: false
  129. ForceSpawnLocOnJoin:
  130. # If enabled, every player that spawn in one of the world listed in "ForceSpawnLocOnJoin.worlds"
  131. # will be teleported to the spawnpoint after successful authentication.
  132. # The quit location of the player will be overwritten.
  133. # This is different from "teleportUnAuthedToSpawn" that teleport player
  134. # to the spawnpoint on join.
  135. enabled: true
  136. # WorldNames where we need to force the spawn location
  137. # Case-sensitive!
  138. worlds:
  139. - 'mapa_patrik'
  140. - 'lobby_nether'
  141. - 'lobby_the_end'
  142. # This option will save the quit location of the players.
  143. SaveQuitLocation: false
  144. # To activate the restricted user feature you need
  145. # to enable this option and configure the AllowedRestrictedUser field.
  146. AllowRestrictedUser: true
  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. - 'kirdos13;109.80.247.53'
  155. # Should unregistered players be kicked immediately?
  156. kickNonRegistered: false
  157. # Should players be kicked on wrong password?
  158. kickOnWrongPassword: false
  159. # Should not logged in players be teleported to the spawn?
  160. # After the authentication they will be teleported back to
  161. # their normal position.
  162. teleportUnAuthedToSpawn: true
  163. # Can unregistered players walk around?
  164. allowMovement: false
  165. # Should not authenticated players have speed = 0?
  166. # This will reset the fly/walk speed to default value after the login.
  167. removeSpeed: true
  168. # After how many seconds should players who fail to login or register
  169. # be kicked? Set to 0 to disable.
  170. timeout: 100
  171. # Regex syntax of allowed characters in the player name.
  172. allowedNicknameCharacters: '[a-zA-Z0-9_]*'
  173. # How far can unregistered players walk?
  174. # Set to 0 for unlimited radius
  175. allowedMovementRadius: 100
  176. # Enable double check of password when you register
  177. # when it's true, registration requires that kind of command:
  178. # /register <password> <confirmPassword>
  179. enablePasswordConfirmation: true
  180. # Should we protect the player inventory before logging in? Requires ProtocolLib.
  181. ProtectInventoryBeforeLogIn: true
  182. # Should we deny the tabcomplete feature before logging in? Requires ProtocolLib.
  183. DenyTabCompleteBeforeLogin: true
  184. # Should we display all other accounts from a player when he joins?
  185. # permission: /authme.admin.accounts
  186. displayOtherAccounts: false
  187. # Ban ip when the ip is not the ip registered in database
  188. banUnsafedIP: false
  189. # Spawn priority; values: authme, essentials, multiverse, default
  190. spawnPriority: 'authme,essentials,multiworld,default'
  191. # Maximum Login authorized by IP
  192. maxLoginPerIp: 0
  193. # Maximum Join authorized by IP
  194. maxJoinPerIp: 0
  195. # AuthMe will NEVER teleport players if set to true!
  196. noTeleport: false
  197. # Regex syntax for allowed chars in passwords
  198. allowedPasswordCharacters: '[a-zA-Z0-9_?!@+&-]*'
  199. # Log level: INFO, FINE, DEBUG. Use INFO for general messages,
  200. # FINE for some additional detailed ones (like password failed),
  201. # and DEBUG for debugging
  202. logLevel: 'FINE'
  203. GameMode:
  204. # Force survival gamemode when player joins?
  205. ForceSurvivalMode: false
  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: 4
  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: 'unLoggedinGroup'
  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. registration:
  248. # Enable registration on the server?
  249. enabled: true
  250. # Send every X seconds a message to a player to
  251. # remind him that he has to login/register
  252. messageInterval: 3
  253. # Only registered and logged in players can play.
  254. # See restrictions for exceptions
  255. force: true
  256. # Do we replace password registration by an email registration method?
  257. enableEmailRegistrationSystem: false
  258. # Enable double check of email when you register
  259. # when it's true, registration requires that kind of command:
  260. # /register <email> <confirmEmail>
  261. doubleEmailCheck: false
  262. # Do we force kick a player after a successful registration?
  263. # Do not use with login feature below
  264. forceKickAfterRegister: false
  265. # Does AuthMe need to enforce a /login after a successful registration?
  266. forceLoginAfterRegister: false
  267. # Force these commands after /login, without any '/', use %p to replace with player name
  268. forceCommands: []
  269. # Force these commands after /login as service console, without any '/'. Use %p to replace with player name
  270. forceCommandsAsConsole: []
  271. # Force these commands after /register, without any '/', use %p to replace with player name
  272. forceRegisterCommands: []
  273. # Force these commands after /register as a server console, without any '/'. Use %p to replace with player name
  274. forceRegisterCommandsAsConsole: []
  275. # Enable to display the welcome message (welcome.txt) after a login
  276. # You can use colors in this welcome.txt + some replaced strings:
  277. # {PLAYER}: player name, {ONLINE}: display number of online players, {MAXPLAYERS}: display server slots,
  278. # {IP}: player ip, {LOGINS}: number of players logged, {WORLD}: player current world, {SERVER}: server name
  279. # {VERSION}: get current bukkit version, {COUNTRY}: player country
  280. useWelcomeMessage: true
  281. # Do we need to broadcast the welcome message to all server or only to the player? set true for server or false for player
  282. broadcastWelcomeMessage: false
  283. # Should we delay the join message and display it once the player has logged in?
  284. delayJoinMessage: false
  285. # Should we remove the leave messages of unlogged users?
  286. removeUnloggedLeaveMessage: false
  287. # Should we remove join messages altogether?
  288. removeJoinMessage: true
  289. # Should we remove leave messages altogether?
  290. removeLeaveMessage: true
  291. # Do we need to add potion effect Blinding before login/reigster?
  292. applyBlindEffect: true
  293. # Do we need to prevent people to login with another case?
  294. # If Xephi is registered, then Xephi can login, but not XEPHI/xephi/XePhI
  295. preventOtherCase: false
  296.  
  297. permission:
  298. # Take care with this option; if you don't want
  299. # to use Vault and group switching of AuthMe
  300. # for unloggedIn players, set this setting to true.
  301. # Default is false.
  302. EnablePermissionCheck: false
  303.  
  304. Email:
  305. # Email SMTP server host
  306. mailSMTP: 'smtp.gmail.com'
  307. # Email SMTP server port
  308. mailPort: 465
  309. # Email account which sends the mails
  310. mailAccount: ''
  311. # Email account password
  312. mailPassword: ''
  313. # Custom sender name, replacing the mailAccount name in the email
  314. mailSenderName: ''
  315. # Recovery password length
  316. RecoveryPasswordLength: 8
  317. # Mail Subject
  318. mailSubject: 'Your new AuthMe Password'
  319. # Like maxRegPerIP but with email
  320. maxRegPerEmail: 1
  321. # Recall players to add an email?
  322. recallPlayers: false
  323. # Delay in minute for the recall scheduler
  324. delayRecall: 5
  325. # Blacklist these domains for emails
  326. emailBlacklisted: []
  327. # Whitelist ONLY these domains for emails
  328. emailWhitelisted: []
  329. # Send the new password drawn in an image?
  330. generateImage: true
  331. # The OAuth2 token
  332. emailOauth2Token: ''
  333.  
  334. Hooks:
  335. # Do we need to hook with multiverse for spawn checking?
  336. multiverse: true
  337. # Do we need to hook with BungeeCord?
  338. bungeecord: true
  339. # Send player to this BungeeCord server after register/login
  340. sendPlayerTo: ''
  341. # Do we need to disable Essentials SocialSpy on join?
  342. disableSocialSpy: true
  343. # Do we need to force /motd Essentials command on join?
  344. useEssentialsMotd: false
  345.  
  346. GroupOptions:
  347. # Unregistered permission group
  348. UnregisteredPlayerGroup: ''
  349. # Registered permission group
  350. RegisteredPlayerGroup: ''
  351.  
  352. Protection:
  353. # Enable some servers protection (country based login, antibot)
  354. enableProtection: false
  355. # Apply the protection also to registered usernames
  356. enableProtectionRegistered: true
  357. # Countries allowed to join the server and register, see http://dev.bukkit.org/bukkit-plugins/authme-reloaded/pages/countries-codes/ for countries' codes
  358. # PLEASE USE QUOTES!
  359. countries:
  360. - 'US'
  361. - 'GB'
  362. # Countries not allowed to join the server and register
  363. # PLEASE USE QUOTES!
  364. countriesBlacklist:
  365. - 'A1'
  366. # Do we need to enable automatic antibot system?
  367. enableAntiBot: false
  368. # Max number of players allowed to login in 5 secs before the AntiBot system is enabled automatically
  369. antiBotSensibility: 5
  370. # Duration in minutes of the antibot automatic system
  371. antiBotDuration: 10
  372.  
  373. Purge:
  374. # If enabled, AuthMe automatically purges old, unused accounts
  375. useAutoPurge: false
  376. # Number of Days an account become Unused
  377. daysBeforeRemovePlayer: 60
  378. # Do we need to remove the player.dat file during purge process?
  379. removePlayerDat: false
  380. # Do we need to remove the Essentials/users/player.yml file during purge process?
  381. removeEssentialsFile: false
  382. # World where are players.dat stores
  383. defaultWorld: 'world'
  384. # Do we need to remove LimitedCreative/inventories/player.yml, player_creative.yml files during purge process ?
  385. removeLimitedCreativesInventories: false
  386. # Do we need to remove the AntiXRayData/PlayerData/player file during purge process?
  387. removeAntiXRayFile: false
  388. # Do we need to remove permissions?
  389. removePermissions: false
  390.  
  391. Security:
  392. SQLProblem:
  393. # Stop the server if we can't contact the sql database
  394. # Take care with this, if you set this to false,
  395. # AuthMe will automatically disable and the server won't be protected!
  396. stopServer: true
  397. ReloadCommand:
  398. # /reload support
  399. useReloadCommandSupport: true
  400. console:
  401. # Remove passwords from console?
  402. removePassword: true
  403. # Copy AuthMe log output in a separate file as well?
  404. logConsole: true
  405. captcha:
  406. # Enable captcha when a player uses wrong password too many times
  407. useCaptcha: false
  408. # Max allowed tries before a captcha is required
  409. maxLoginTry: 5
  410. # Captcha length
  411. captchaLength: 5
  412. tempban:
  413. # Tempban a user's IP address if they enter the wrong password too many times
  414. enableTempban: false
  415. # How many times a user can attempt to login before their IP being tempbanned
  416. maxLoginTries: 10
  417. # The length of time a IP address will be tempbanned in minutes
  418. # Default: 480 minutes, or 8 hours
  419. tempbanLength: 480
  420.  
  421. BackupSystem:
  422. # Enable or disable automatic backup
  423. ActivateBackup: false
  424. # Set backup at every start of server
  425. OnServerStart: false
  426. # Set backup at every stop of server
  427. OnServerStop: true
  428. # Windows only mysql installation Path
  429. MysqlWindowsPath: 'C:\\Program Files\\MySQL\\MySQL Server 5.1\\'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement