I run this plugin in spigot at my vps. But when I use mc = Minecraft.create(address='(my server host)', port=4712) connect to it, it told me my remote server droped this connect. So how can I solve this problem?
Did you check if the port number is correct? The default port for the python API is 4711 for bukkit and 4712 for forge as documented here. Are you using a hostname or an ip address?
Do you see the connection attempt in the server console or log?
I run this plugin in spigot at my vps. But when I use
mc = Minecraft.create(address='(my server host)', port=4712)
connect to it, it told me my remote server droped this connect. So how can I solve this problem?