I was looking at the Country plugin and the welcome plugin thinking it looks at the client info on connection. I don't know how to code so I'm not sure how it gets the info. for example
def onPlayerConnect(self, client):
"""\
Examine players country and allow/deny to connect.
"""
self.debug('Connecting slot: %s, name: %s, ip: %s, level: %s' % (client.cid, client.name, client.ip, client.maxLevel))
Where it says client.name I want client.qport and then have it deny anyone connectiong with qport 1337. ( If I could find a host like Linode that was better for gaming this would be taken care of with the patch for the linux binary.)