NEO3 — Server Vote (NEO\Seversky)
Server voting module for GameMonitoring with balance accrual on the website. Player votes on the monitoring site, returns to the website, clicks "I voted!" — the module verifies the vote via API and credits the reward. Multiple servers, 12-hour timer, top players, logs, reminders and Discord integration.
🗳️ Voting (VOTE)
- Server cards at
/vote/ — banner, description, reward, action buttons
- Vote — redirect to GameMonitoring:
https://gamemonitoring.ru/counter-strike-2/servers/{server_id}/vote
- I voted! — vote verification via GameMonitoring API and balance accrual
- Player matching by Steam ID, Steam profile and nickname
- Cooldown 12 hours — after reward, a countdown timer is shown instead of the button
- Fresh API request on claim (vote cache is reset)
- Website notification if no vote in the last 12 hours is found
🏆 Top Players (TOP)
- Top block on the main voting page (like the donor top)
- Filters: vote streak (default) and total votes
- Avatar, nickname, counter (vote / streak), place on the right
#1 #2 #3
- Streak — continuous rewards with a pause of no more than 24 hours
- Three cards in a row, loading via AJAX
📜 Logs and Activity (LOGS)
- Admin page
/vote/logs/
- Action log: who clicked "Vote" and who claimed the reward
- Filters: server, action type, Steam ID
- Avatar, nickname, server, reward amount, date
- Rate-limit on "Vote" clicks (no more than once per minute per server)
🔔 Reminders (REMINDERS)
- Mailing to players who voted before but haven't voted in the last 12 hours
- Once per voting cycle
- Skip inactive 2+ days
- Website notifications with a button to go to
/vote/
💬 Discord (DISCORD)
- Reward webhook — message when player successfully claims a vote
- Promo webhook — promotional post with banner and buttons
- Two embeds: banner image + text with description
- Buttons: Vote (monitoring) and I voted! (website)
- Promo message preview in settings
- Auto-save promo webhook link on input
⚙️ Settings (SETTINGS)
/vote/settings/ — admin only
- Default vote reward + separate reward per server
- Description, Discord embed color, banner URL
- Server list: compact — name + ID, edit and delete icons on the right
- Add / edit / delete server through modal windows
- Vote link assembled automatically from server ID (fixed template)