Advertisement
Guest User

Authme reloaded 5.2 beta3

a guest
Sep 18th, 2016
269
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 18.45 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: 'localhost'
  11.     # Database port
  12.     mySQLPort: '3306'
  13.     # Username about Database Connection Infos
  14.     mySQLUsername: 'root'
  15.     # Password about Database Connection Infos
  16.     mySQLPassword: '46c664d274'
  17.     # Database Name, use with converters or as SQLITE database name
  18.     mySQLDatabase: '2'
  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: 'Hub'
  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: 90
  97.         # Should the session expire if the player tries to log in with
  98.         # another IP address?
  99.         sessionExpireOnIpChange: true
  100.     # Message language, available: en, de, br, cz, pl, fr, ru, hu, sk, es, zhtw, fi, zhcn, lt, it, ko, pt
  101.     messagesLanguage: 'it'
  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.         # Allowed commands for unauthenticated players
  113.         allowCommands:
  114.         - '/login'
  115.         - '/register'
  116.         - '/l'
  117.         - '/reg'
  118.         - '/email'
  119.         - '/captcha'
  120.         # Max number of allowed registrations per IP
  121.         # The value 0 means an unlimited number of registrations!
  122.         maxRegPerIp: 2
  123.         # Minimum allowed username length
  124.         minNicknameLength: 3
  125.         # Maximum allowed username length
  126.         maxNicknameLength: 50
  127.         # When this setting is enabled, online players can't be kicked out
  128.         # due to "Logged in from another Location"
  129.         # This setting will prevent potential security exploits.
  130.         ForceSingleSession: true
  131.         ForceSpawnLocOnJoin:
  132.             # If enabled, every player will be teleported to the world spawnpoint
  133.             # after successful authentication.
  134.             # The quit location of the player will be overwritten.
  135.             # This is different from "teleportUnAuthedToSpawn" that teleport player
  136.             # back to his quit location after the authentication.
  137.             enabled: true
  138.             # WorldNames where we need to force the spawn location
  139.             # Case-sensitive!
  140.             worlds:
  141.             - 'spawn'
  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: true
  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: false
  162.         # Can unregistered players walk around?
  163.         allowMovement: false
  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: 30
  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: 60
  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: true
  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 hide the tablist before logging in? Requires ProtocolLib.
  184.         HideTablistBeforeLogin: true
  185.         # Should we display all other accounts from a player when he joins?
  186.         # permission: /authme.admin.accounts
  187.         displayOtherAccounts: true
  188.         # Ban ip when the ip is not the ip registered in database
  189.         banUnsafedIP: true
  190.         # Spawn priority; values: authme, essentials, multiverse, default
  191.         spawnPriority: 'authme,essentials,multiverse,default'
  192.         # Maximum Login authorized by IP
  193.         maxLoginPerIp: 2
  194.         # Maximum Join authorized by IP
  195.         maxJoinPerIp: 2
  196.         # AuthMe will NEVER teleport players if set to true!
  197.         noTeleport: true
  198.         # Regex syntax for allowed chars in passwords
  199.         allowedPasswordCharacters: '[\x21-\x7E]*'
  200.     GameMode:
  201.         # Force survival gamemode when player joins?
  202.         ForceSurvivalMode: true
  203.     unrestrictions:
  204.         # Below you can list all account names that
  205.         # AuthMe will ignore for registration or login, configure it
  206.         # at your own risk!! Remember that if you are going to add
  207.         # nickname with [], you have to delimit name with ' '.
  208.         # this option add compatibility with BuildCraft and some
  209.         # other mods.
  210.         # It is case-sensitive!
  211.         UnrestrictedName: []
  212.     security:
  213.         # Minimum length of password
  214.         minPasswordLength: 6
  215.         # Maximum length of password
  216.         passwordMaxLength: 30
  217.         # This is a very important option: every time a player joins the server,
  218.         # if they are registered, AuthMe will switch him to unLoggedInGroup.
  219.         # This should prevent all major exploits.
  220.         # You can set up your permission plugin with this special group to have no permissions,
  221.         # or only permission to chat (or permission to send private messages etc.).
  222.         # The better way is to set up this group with few permissions, so if a player
  223.         # tries to exploit an account they can do only what you've defined for the group.
  224.         # After, a logged in player will be moved to his correct permissions group!
  225.         # Please note that the group name is case-sensitive, so 'admin' is different from 'Admin'
  226.         # Otherwise your group will be wiped and the player will join in the default group []!
  227.         # Example unLoggedinGroup: NotLogged
  228.         unLoggedinGroup: 'unLoggedinGroup'
  229.         # Possible values: MD5, SHA1, SHA256, WHIRLPOOL, XAUTH, MD5VB, PHPBB,
  230.         # MYBB, IPB3, PHPFUSION, SMF, XENFORO, SALTED2MD5, JOOMLA, BCRYPT, WBB3, SHA512,
  231.         # DOUBLEMD5, PBKDF2, PBKDF2DJANGO, WORDPRESS, ROYALAUTH, CUSTOM (for developers only)
  232.         passwordHash: 'SHA256'
  233.         # Salt length for the SALTED2MD5 MD5(MD5(password)+salt)
  234.         doubleMD5SaltLength: 8
  235.         # If password checking return false, do we need to check with all
  236.         # other password algorithm to check an old password?
  237.         # AuthMe will update the password to the new password hash
  238.         supportOldPasswordHash: false
  239.         # Prevent unsafe passwords from being used; put them in lowercase!
  240.         # unsafePasswords:
  241.         # - '123456'
  242.         # - 'password'
  243.         unsafePasswords: []
  244.     registration:
  245.         # Enable registration on the server?
  246.         enabled: true
  247.         # Send every X seconds a message to a player to
  248.         # remind him that he has to login/register
  249.         messageInterval: 5
  250.         # Only registered and logged in players can play.
  251.         # See restrictions for exceptions
  252.         force: true
  253.         # Do we replace password registration by an email registration method?
  254.         enableEmailRegistrationSystem: false
  255.         # Enable double check of email when you register
  256.         # when it's true, registration requires that kind of command:
  257.         # /register <email> <confirmEmail>
  258.         doubleEmailCheck: false
  259.         # Do we force kick a player after a successful registration?
  260.         # Do not use with login feature below
  261.         forceKickAfterRegister: false
  262.         # Does AuthMe need to enforce a /login after a successful registration?
  263.         forceLoginAfterRegister: false
  264.     # Force these commands after /login, without any '/', use %p to replace with player name
  265.     forceCommands: []
  266.     # Force these commands after /login as service console, without any '/'. Use %p to replace with player name
  267.     forceCommandsAsConsole: []
  268.     # Force these commands after /register, without any '/', use %p to replace with player name
  269.     forceRegisterCommands: []
  270.     # Force these commands after /register as a server console, without any '/'. Use %p to replace with player name
  271.     forceRegisterCommandsAsConsole: []
  272.     # Enable to display the welcome message (welcome.txt) after a login
  273.     # You can use colors in this welcome.txt + some replaced strings:
  274.     # {PLAYER}: player name, {ONLINE}: display number of online players, {MAXPLAYERS}: display server slots,
  275.     # {IP}: player ip, {LOGINS}: number of players logged, {WORLD}: player current world, {SERVER}: server name
  276.     # {VERSION}: get current bukkit version, {COUNTRY}: player country
  277.     useWelcomeMessage: false
  278.     # Do we need to broadcast the welcome message to all server or only to the player? set true for server or false for player
  279.     broadcastWelcomeMessage: false
  280.     # Should we delay the join message and display it once the player has logged in?
  281.     delayJoinMessage: false
  282.     # Should we remove join messages altogether?
  283.     removeJoinMessage: false
  284.     # Should we remove leave messages?
  285.     removeLeaveMessage: false
  286.     # Do we need to add potion effect Blinding before login/reigster?
  287.     applyBlindEffect: false
  288.     # Do we need to prevent people to login with another case?
  289.     # If Xephi is registered, then Xephi can login, but not XEPHI/xephi/XePhI
  290.     preventOtherCase: false
  291.  
  292. permission:
  293.     # Take care with this option; if you don't want
  294.     # to use Vault and group switching of AuthMe
  295.     # for unloggedIn players, set this setting to true.
  296.     # Default is false.
  297.     EnablePermissionCheck: true
  298.  
  299. Email:
  300.     # Email SMTP server host
  301.     mailSMTP: 'smtp.gmail.com'
  302.     # Email SMTP server port
  303.     mailPort: 465
  304.     # Email account which sends the mails
  305.     mailAccount: ''
  306.     # Email account password
  307.     mailPassword: ''
  308.     # Custom sender name, replacing the mailAccount name in the email
  309.     mailSenderName: ''
  310.     # Recovery password length
  311.     RecoveryPasswordLength: 8
  312.     # Mail Subject
  313.     mailSubject: 'Your new AuthMe Password'
  314.     # Like maxRegPerIP but with email
  315.     maxRegPerEmail: 1
  316.     # Recall players to add an email?
  317.     recallPlayers: false
  318.     # Delay in minute for the recall scheduler
  319.     delayRecall: 5
  320.     # Blacklist these domains for emails
  321.     emailBlacklisted:
  322.     - '10minutemail.com'
  323.     # Whitelist ONLY these domains for emails
  324.     emailWhitelisted: []
  325.     # Send the new password drawn in an image?
  326.     generateImage: true
  327.     # The OAuth2 token
  328.     emailOauth2Token: ''
  329.  
  330. Hooks:
  331.     # Do we need to hook with multiverse for spawn checking?
  332.     multiverse: true
  333.     # Do we need to hook with BungeeCord?
  334.     bungeecord: true
  335.     # Send player to this BungeeCord server after register/login
  336.     sendPlayerTo: ''
  337.     # Do we need to disable Essentials SocialSpy on join?
  338.     disableSocialSpy: true
  339.     # Do we need to force /motd Essentials command on join?
  340.     useEssentialsMotd: false
  341.     # Do we need to cache custom Attributes?
  342.     customAttributes: false
  343.  
  344. Protection:
  345.     # Enable some servers protection (country based login, antibot)
  346.     enableProtection: false
  347.     # Countries allowed to join the server and register, see http://dev.bukkit.org/bukkit-plugins/authme-reloaded/pages/countries-codes/ for countries' codes
  348.     # PLEASE USE QUOTES!
  349.     countries:
  350.     - 'IT'
  351.     - 'SM'
  352.     # Countries not allowed to join the server and register
  353.     # PLEASE USE QUOTES!
  354.     countriesBlacklist:
  355.     - 'A1'
  356.     - 'A2'
  357.     - 'O1'
  358.     - 'US'
  359.     - 'GB'
  360.     - 'AL'
  361.     - 'FR'
  362.     - 'PT'
  363.     - 'SE'
  364.     # Do we need to enable automatic antibot system?
  365.     enableAntiBot: true
  366.     # Max number of players allowed to login in 5 secs before the AntiBot system is enabled automatically
  367.     antiBotSensibility: 3
  368.     # Duration in minutes of the antibot automatic system
  369.     antiBotDuration: 10
  370.  
  371. Purge:
  372.     # If enabled, AuthMe automatically purges old, unused accounts
  373.     useAutoPurge: false
  374.     # Number of Days an account become Unused
  375.     daysBeforeRemovePlayer: 60
  376.     # Do we need to remove the player.dat file during purge process?
  377.     removePlayerDat: false
  378.     # Do we need to remove the Essentials/users/player.yml file during purge process?
  379.     removeEssentialsFile: false
  380.     # World where are players.dat stores
  381.     defaultWorld: 'spawn'
  382.     # Do we need to remove LimitedCreative/inventories/player.yml, player_creative.yml files during purge process ?
  383.     removeLimitedCreativesInventories: false
  384.     # Do we need to remove the AntiXRayData/PlayerData/player file during purge process?
  385.     removeAntiXRayFile: false
  386.     # Do we need to remove permissions?
  387.     removePermissions: false
  388.  
  389. Security:
  390.     SQLProblem:
  391.         # Stop the server if we can't contact the sql database
  392.         # Take care with this, if you set this to false,
  393.         # AuthMe will automatically disable and the server won't be protected!
  394.         stopServer: true
  395.     ReloadCommand:
  396.         # /reload support
  397.         useReloadCommandSupport: true
  398.     console:
  399.         # Remove spam from console?
  400.         noConsoleSpam: false
  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.     stop:
  413.         # Kick players before stopping the server, that allow us to save position of players
  414.         # and all needed information correctly without any corruption.
  415.         kickPlayersBeforeStopping: true
  416.     tempban:
  417.         # Tempban a user's IP address if they enter the wrong password too many times
  418.         enableTempban: false
  419.         # How many times a user can attempt to login before their IP being tempbanned
  420.         maxLoginTries: 10
  421.         # The length of time a IP address will be tempbanned in minutes
  422.         # Default: 480 minutes, or 8 hours
  423.         tempbanLength: 480
  424.  
  425. BackupSystem:
  426.     # Enable or disable automatic backup
  427.     ActivateBackup: false
  428.     # Set backup at every start of server
  429.     OnServerStart: false
  430.     # Set backup at every stop of server
  431.     OnServerStop: true
  432.     # Windows only mysql installation Path
  433.     MysqlWindowsPath: 'C:\\Program Files\\MySQL\\MySQL Server 5.1\\'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement