A Tampermonkey userscript for Grepolis that automates repetitive tasks so you can spend more time on strategy and less on clicking.
67 installs on GreasyFork and growing. Thank you for using GrepolisBot.
| Module | What it does | Notes |
|---|---|---|
| AutoFarm | Collects farm-town resources in cycles | Uses selectable intervals from 5 minutes up to 8 hours and adds a random extra delay between runs |
| AutoCulture | Starts culture celebrations repeatedly | Supports Town Festival, Olympic Games, Triumph Procession, and Theatre Plays with custom interval in minutes |
| AutoSilverVault | Manages cave silver in bulk | Sets keep/store values for all towns and reruns every X minutes with random jitter |
| AttackDodger | Watches for incoming attacks and schedules dodge actions | Plans support movement to configured safe targets about 40 seconds before impact |
The panel is draggable and split into tabs:
- Automation tab: Farm, Culture, Silver Vault
- Dodge tab: AttackDodger setup and controls
- Install Tampermonkey in your browser.
- Open the GreasyFork script page.
- Click Install this script.
- Open Grepolis and wait for the page to load. The GrepolisBot panel appears automatically.
- In the Automation tab, choose a farm interval in
HH:MM:SSformat. - Click Start.
- Click Stop anytime to end the loop.
- Choose celebration type.
- Enter repeat interval in minutes.
- Click Start.
- Enter how much silver to keep in towns.
- Enter how much silver to store in cave/hide.
- Enter repeat interval in minutes.
- Click Start.
- Switch to the town you want to dodge from.
- Enter target Player Name and Town Name.
- Click Submit to save this route for the current town.
- Click Start to begin monitoring attacks.
- Repeat route setup for additional towns as needed.
Saved routes are displayed directly in the Dodge section and stored in browser local storage.
- Built with ES modules and bundled with esbuild.
- Uses randomized delays to reduce predictable action timing.
- All automations support explicit start/stop behavior.
- AttackDodger clears pending timeouts and observers when stopped.
- Node.js 20+
npm install
npm run build
npm run build:watch
npm run lint
npm run lint:fix
npm run formatThe built userscript output is written to script.
deploy.sh installs dependencies and runs the build.
