Advertisement
Guest User

Untitled

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