找回密码
 立即注册
搜索
热搜: 插件 MOD 地图
查看: 11227|回复: 0

[技术教材] 修改注册人数数量-1个IP注册X个

[复制链接]

178

主题

48

回帖

9万

积分

管理员

积分
91516
UID
1
威望
0
贡献
0
金钱
91280
D币
0
世界币
10860
主题
178
在线时间
183 小时
注册时间
2016-12-23
最后登录
2024-12-22
发表于 2017-3-20 21:07:43 | 显示全部楼层 |阅读模式

插件目录下的\AuthMe\config.yml

第40行
    maxRegPerIp: 10

代表1个IP可注册10个账号


  1. DataSource:
  2.   mySQLColumnName: username
  3.   mySQLTablename: authme
  4.   mySQLUsername: authme
  5.   backend: file
  6.   mySQLColumnLastLogin: lastlogin
  7.   mySQLDatabase: authme
  8.   mySQLPort: '3306'
  9.   mySQLColumnIp: ip
  10.   mySQLHost: 127.0.0.1
  11.   mySQLColumnPassword: password
  12.   mySQLPassword: '12345'
  13.   caching: true
  14.   mySQLlastlocX: x
  15.   mySQLlastlocY: y
  16.   mySQLlastlocZ: z
  17.   mySQLlastlocWorld: world
  18.   mySQLColumnEmail: email
  19.   mySQLColumnId: id
  20. GroupOptions:
  21.   UnregisteredPlayerGroup: ''
  22.   RegisteredPlayerGroup: ''
  23.   Permissions:
  24.     PermissionsOnJoin: []
  25. settings:
  26.   sessions:
  27.     enabled: false
  28.     timeout: 10
  29.     sessionExpireOnIpChange: false
  30.   restrictions:
  31.     allowChat: false
  32.     allowCommands:
  33.     - /login
  34.     - /register
  35.     - /l
  36.     - /reg
  37.     - /passpartu
  38.     - /email
  39.     - /captcha
  40.     maxRegPerIp: 10
  41.     maxNicknameLength: 20
  42.     ForceSingleSession: true
  43.     ForceSpawnLocOnJoinEnabled: false
  44.     SaveQuitLocation: false
  45.     AllowRestrictedUser: false
  46.     AllowedRestrictedUser:
  47.     - playername;127.0.0.1
  48.     kickNonRegistered: false
  49.     kickOnWrongPassword: false
  50.     teleportUnAuthedToSpawn: false
  51.     minNicknameLength: 3
  52.     allowMovement: false
  53.     timeout: 30
  54.     allowedNicknameCharacters: '[a-zA-Z0-9_?]*'
  55.     allowedMovementRadius: 100
  56.     enablePasswordVerifier: true
  57.     ProtectInventoryBeforeLogIn: true
  58.     displayOtherAccounts: true
  59.     ForceSpawnOnTheseWorlds:
  60.     - world
  61.     - world_nether
  62.     - world_the_end
  63.     banUnsafedIP: false
  64.   GameMode:
  65.     ForceSurvivalMode: false
  66.     ResetInventoryIfCreative: false
  67.     ForceOnlyAfterLogin: false
  68.   security:
  69.     minPasswordLength: 4
  70.     unLoggedinGroup: unLoggedinGroup
  71.     passwordHash: SHA256
  72.     doubleMD5SaltLength: 8
  73.     supportOldPasswordHash: false
  74.   registration:
  75.     enabled: true
  76.     messageInterval: 5
  77.     force: true
  78.     enableEmailRegistrationSystem: false
  79.     doubleEmailCheck: false
  80.   unrestrictions:
  81.     UnrestrictedName: []
  82.   messagesLanguage: en
  83.   forceCommands: []
  84. ExternalBoardOptions:
  85.   mySQLColumnSalt: ''
  86.   mySQLColumnGroup: ''
  87.   nonActivedUserGroup: -1
  88.   mySQLOtherUsernameColumns: []
  89.   bCryptLog2Round: 10
  90.   phpbbTablePrefix: phpbb_
  91.   phpbbActivatedGroupId: 2
  92.   wordpressTablePrefix: wp_
  93. permission:
  94.   EnablePermissionCheck: false
  95. BackupSystem:
  96.   ActivateBackup: false
  97.   OnServerStart: false
  98.   OnServerStop: true
  99.   MysqlWindowsPath: C:\\Program Files\\MySQL\\MySQL Server 5.1\\
  100. Passpartu:
  101.   enablePasspartu: false
  102. Security:
  103.   SQLProblem:
  104.     stopServer: true
  105.   ReloadCommand:
  106.     useReloadCommandSupport: true
  107.   console:
  108.     noConsoleSpam: false
  109.     removePassword: true
  110.     logConsole: false
  111.   captcha:
  112.     useCaptcha: false
  113.     maxLoginTry: 5
  114.     captchaLength: 5
  115. Converter:
  116.   Rakamak:
  117.     fileName: users.rak
  118.     useIP: false
  119.     ipFileName: UsersIp.rak
  120.     newPasswordHash: SHA256
  121. Email:
  122.   mailSMTP: smtp.gmail.com
  123.   mailPort: 465
  124.   mailAccount: ''
  125.   mailPassword: ''
  126.   mailSenderName: ''
  127.   RecoveryPasswordLength: 8
  128.   mailSubject: Your new AuthMe Password
  129.   maxRegPerEmail: 1
  130.   recallPlayers: false
  131.   delayRecall: 5
  132.   mailText: 'Dear <playername>, <br /><br /> This is your new AuthMe password for
  133.     the server <br /><br /> <servername> : <br /><br /> <generatedpass><br /><br />Do
  134.     not forget to change password after login! <br /> /changepassword <generatedpass>
  135.     newPassword'
  136. Hooks:
  137.   multiverse: true
  138.   chestshop: true
  139.   bungeecord: false
  140.   notifications: true
  141.   disableSocialSpy: true
  142.   useEssentialsMotd: false
  143. Performances:
  144.   useMultiThreading: false
  145. Purge:
  146.   useAutoPurge: false
  147.   daysBeforeRemovePlayer: 60
  148.   removePlayerDat: false
  149.   removeEssentialsFile: false
  150.   defaultWorld: world
  151.   removeLimitedCreativesInventories: false
  152.   removeAntiXRayFile: false
  153. Protection:
  154.   enableProtection: false
  155.   countries:
  156.   - US
  157.   - GB
  158.   enableAntiBot: false
  159.   antiBotSensibility: 5
  160.   antiBotDuration: 10
复制代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表