Advertisement
SirCrocodile

Authme Croco

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