MCCTeam / Minecraft-Console-Client

Lightweight console for Minecraft chat and automated scripts
https://mccteam.github.io
Other
1.64k stars 397 forks source link

You have connected too fast with multiple accounts #624

Closed Pillaging closed 5 years ago

Pillaging commented 5 years ago

So, I am playing on cosmic prisons and am trying to afk 2 accounts at a time. With this I have issues where I get a message after a while of afking where only one or both of the accounts will not reconnect. I keep getting this error "You have connected too fast. You must wait at least 1 seconds between connections." I have tried multiple things to fix this like adding it to kick messages and changing the times between the two clients. This is what I'm using

# Startup Config File

[Main]

# General settings
# Leave blank to prompt user on startup
# Use "-" as password for offline mode

login=
password=
serverip=cosmicprisons.com

# Advanced settings

language=en_GB
consoletitle=%username%@%serverip% - Minecraft Console Client
internalcmdchar=slash              # Use 'none', 'slash' or 'backslash'
splitmessagedelay=2                # Seconds between each part of a long message
botowners=Player1,Player2,Player3  # Use name list or myfile.txt with one name per line
botmessagedelay=2                  # Seconds to delay between message a bot makes to avoid accidental spam
mcversion=1.8.9                    # Use 'auto' or '1.X.X' values
brandinfo=mcc                      # Use 'mcc','vanilla', or 'none'
chatbotlogfile=                    # Leave empty for no logfile
privatemsgscmdname=msg             # Used by RemoteControl bot
showsystemmessages=true            # System messages for server ops
showxpbarmessages=true             # Messages displayed above xp bar
showchatlinks=true                 # Show links embedded in chat messages
terrainandmovements=false          # Uses more ram, cpu, bandwidth
sessioncache=none                  # Use 'none', 'memory' or 'disk' (disk session storing is experimental)
resolvesrvrecords=false             # Use 'false', 'fast' (5s timeout), or 'true'. Required for joining some servers.
accountlist=accounts.txt           # See README > 'Servers and Accounts file' for more info about this file
serverlist=servers.txt             # See README > 'Servers and Accounts file' for more info about this file
playerheadicon=true                # Only works on Windows XP-8 or Windows 10 with old console
exitonfailure=false                # Disable pauses on error, for using MCC in non-interactive scripts
debugmessages=false                # Please enable this before submitting bug reports. Thanks!
scriptcache=true                   # Cache compiled scripts for faster load on low-end devices
timestamps=false                   # Prepend timestamps to chat messages

[AppVars]
# yourvar=yourvalue
# can be used in some other fields as %yourvar%
# %username% and %serverip% are reserved variables.

[Proxy]
enabled=false                      # Use 'false', 'true', or 'login' for login only
type=HTTP                          # Supported types: HTTP, SOCKS4, SOCKS4a, SOCKS5
server=0.0.0.0:0000                # Proxy server must allow HTTPS for login, and non-443 ports for playing
username=                          # Only required for password-protected proxies
password=                          # Only required for password-protected proxies

[ChatFormat]
# Do not forget to uncomment (remove '#') these settings if modifying them
builtins=true                      # MCC built-in support for common message formats
# public=^<([a-zA-Z0-9_]+)> (.+)$
# private=^([a-zA-Z0-9_]+) whispers to you: (.+)$
# tprequest=^([a-zA-Z0-9_]+) has requested (?:to|that you) teleport to (?:you|them)\.$

[MCSettings]
enabled=true                       # If disabled, settings below are not sent to the server
locale=en_US                       # Use any language implemented in Minecraft
renderdistance=medium              # Use tiny, short, medium, far, or chunk amount [0 - 255]
difficulty=normal                  # MC 1.7- difficulty. peaceful, easy, normal, difficult
chatmode=enabled                   # Use 'enabled', 'commands', or 'disabled'. Allows to mute yourself...
chatcolors=true                    # Allows disabling chat colors server-side
main_hand=left                     # MC 1.9+ main hand. left or right
skin_cape=true
skin_hat=true
skin_jacket=false
skin_sleeve_left=false
skin_sleeve_right=false
skin_pants_left=false
skin_pants_right=false
# Bot Settings

[Alerts]
enabled=false
alertsfile=alerts.txt
excludesfile=alerts-exclude.txt
beeponalert=true

[AntiAFK]
enabled=true
delay=600 #10 = 1s
command=/f who

[AutoRelog]
enabled=true
delay=15
retries=-1 #-1 = unlimited
kickmessagesfile=kickmessages.txt

[ChatLog]
enabled=false
timestamps=true
filter=messages
logfile=chatlog-%username%-%serverip%.txt

[Hangman]
enabled=false
english=true
wordsfile=hangman-en.txt
fichiermots=hangman-fr.txt

[ScriptScheduler]
enabled=true
tasksfile=mainscript.ini

[RemoteControl]
enabled=false
autotpaccept=false
tpaccepteveryone=false

[AutoRespond]
enabled=false
matchesfile=matches.ini

Kick messages

Attempting to attack an invalid entity
Bad login
Connection has been lost
Connection lost.
Disconnected
disconnect.spam
End Of Stream
Flying is not enabled on this server
Game over, man, it's game over!
Illegal characters in chat
Illegal position
Illegal stance
Internal Exception: java.io.IOException: An existing connection was forcibly closed by the remote host.
Internal exception: java.io.IOException: Received string length longer than maximum allowed (105>100)
Internal Server Error
Internal Server Error:java.net.Minecraft
Kicked by an operator.
Outdated Client
Outdated server
Out of memory!
Read timed out
Server is full
Server is restarting
too many people
Too Many people
You have been idle for too long!
You have died. 
You seem to be logged in already.
You have connected too fast. You must wait at least 1 seconds between connections.
Connection lost
Network error.
Sharpen-Up commented 5 years ago

I don't think you are using the [Auto Respond] Correctly.. check out these issues and see if they helped clear things up #622 or #600

Sorry I might be confused by the layout, "Kick messages" is your file name "Kick messages.txt"? Try "kickmessages.txt" as your .ini is set to... [AutoRelog] enabled=true delay=15 retries=-1 #-1 = unlimited kickmessagesfile=kickmessages.txt

TheSnoozer commented 5 years ago

Could you get this sorted? Also increasing the delay in the AutoRelog might hep in your case.

TheSnoozer commented 5 years ago

Assuming this could be resolved. Feel free to reopen if you still have an issue.