Travian utilities..
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
getPlayers.js
http.js
messagePlayers.js
models.js

README.md

TravianUtils

A node.js library. Currently, it can:

  • Collect all usernames from a Travian Server
  • Mass message usernames in your database

You need to have Travian account, MongoDB database (I recommend mongolab) and patience.

To start collecting usernames, modify getPlayers.js and run it. It will start collecting them into your database. It is possible it will print out 'undefined'. In that case, record the last page number (from the log) and start again from that page.

To start Mass Mailing, modify messagePlayers.js, edit the account, your message and title. Then run messagePlayers.js and it will start sending. It is good to keep checking if your message was delivered, so I put a limit of 5000 usernames at a time. (it can take hours, and you may get a ban).