Mods / C&N ServerList Connector

Tags:
Other
Author:
KenigVovan
Side:
Server
Created:
Apr 5th at 6:25 PM
Last modified:
Jul 31st at 5:24 AM
Downloads:
291
Latest release (for Vintage Story 1.22.3, potentially outdated):
canvsserverlist_1.1.7.zip  1-click install

VSSERVERLIST

Server listing integration & vote rewards for Vintage Story

Connects your server to vsserverlist.com - keeps your listing alive with automatic heartbeats and rewards players who vote for your server. Rewards are queued persistently and survive server restarts; each vote ID is tracked so a reward is never given twice even if the API acknowledgment fails.

Features

Vote Rewards

Items given when a player votes. Supports any item or block, custom quantities, attributes.

Offline Queue

Rewards are saved to the world save file immediately. Players who vote offline are notified on login and can claim at any time.

Auto Whitelist

Approve whitelist applications on your server page and the mod adds those players to the in-game whitelist automatically — no manual /whitelist add. Opt-in per server; each entry is applied once and safely retried on failure.

Hot Reload

Change rewards, intervalsat any time with /vslist reload — no server restart needed.

Setup

  1. Install the mod and start the server once — a default config file canvsserverlist.json will be created.
  2. Register your server on vsserverlist.com and get your Server UUID and API Key.
  3. Edit canvsserverlist.json:
{
  "ServerUuid": "your-server-uuid",
  "ApiKey":     "your-api-key",
  "ApiUrl":     "https://vsserverlist.com",
  "HeartbeatIntervalSeconds":  600,
  "VotePollIntervalSeconds":   60,
  "WhitelistPollIntervalSeconds": 60,
  "Rewards": [
    {
      "ItemCode":   "game:gear-rusty",
      "Quantity":   1,
      "Attributes": null,
      "Class":      null
    }
  ]
}
  1. Restart the server or run /vslist reload.

Configuration

Config fields

  • ServerUuid - your server's UUID from vsserverlist.com
  • ApiKey - your API key from vsserverlist.com
  • ApiUrl - API endpoint, default https://vsserverlist.com
  • HeartbeatIntervalSeconds - how often player count is sent to the listing, default 600
  • VotePollIntervalSeconds - how often the mod checks for new votes, default 60
  • WhitelistPollIntervalSeconds - how often the mod checks for approved whitelist applications, default 60. Only does anything when auto-whitelist is enabled on your server page
  • Rewards - list of items given for each vote

Reward item fields

  • ItemCode -— item or block code, e.g. game:gear-rusty, game:bread-rice
  • Quantity - how many to give
  • Attributes - base64-encoded item attributes (durability, enchantments, etc.). Set automatically via /addvotereward — do not edit by hand
  • Class - character class filter. Only players of this class receive the reward. null = everyone

Commands

Player commands

  • /voteclaim — claim pending vote rewards; items drop at your feet if inventory is full

Admin commands

  • /vslist status — show UUID, heartbeat/poll intervals, configured rewards, and pending offline reward count
  • /vslist reload — reload config from disk without restarting; prints a summary of what changed
  • /vslist testreward <player> — give a test reward to an online player to verify your reward config
  • /addvotereward <quantity> — hold an item and run this command to add it as a vote reward; preserves all item attributes
  • /clearvoterewards — remove all configured rewards and save

How It Works

  • Heartbeat - every 10 minutes the mod sends the current player count and online names to vsserverlist.com so your listing stays accurate. On repeated failures the interval is automatically doubled (up to 10 minutes) and resets when the connection returns.
  • Vote polling -every minute the mod checks for new votes. Each vote ID is stored persistently: if the acknowledgment fails and the backend returns the same vote on the next poll, the reward is not queued a second time.
  • Reward claiming - players type /voteclaim to receive their items. Each vote gives the full configured reward set. If the inventory is full, items are dropped at the player's feet.
  • Offline rewards - votes are queued immediately to the world save file. A player who votes while offline is notified on login and their rewards are waiting, even after a server restart.
  • Auto whitelist - when you enable auto-whitelist on your server page, players can apply to join from vsserverlist.com. Once you approve an application, the mod picks it up on its next poll and adds the player to the in-game whitelist (the same path as /whitelist add). Each approval is applied only once; if adding fails it stays pending and is retried next cycle, and it never runs unless you turn the feature on.

Mod Version Mod IdentifierFor Game version Downloads Released Changelog Download 1-click mod install*
1.1.7 canvsserverlist 23 Jul 31st at 5:24 AM canvsserverlist_1.1.7.zip 1-click install
  • no reward option
  • ingame date fix
1.1.6 canvsserverlist 24 Jul 9th at 4:44 PM canvsserverlist_1.1.6.zip 1-click install
  • whitelist adder function added
1.1.5 canvsserverlist 21 Jun 18th at 7:29 PM canvsserverlist_1.1.5.zip 1-click install
  • if SendModList set to true then modlist can be synced by the mod(false by default)
1.1.4 canvsserverlist 14 Jun 13th at 8:55 AM canvsserverlist_1.1.4.zip 1-click install
  • in-game time of year can be shown on server's card now
1.1.3 canvsserverlist 19 Jun 1st at 6:11 PM canvsserverlist_1.1.3.zip 1-click install
  • New config field MaxRewardsPerDay - вaily vote-reward limit per player
    caps how many vote rewards a single player can claim within one day.
    0 (default) means unlimited, preserving the previous behavior.
    Rewards exceeding the daily limit stay queued and become claimable the next day
1.1.2 canvsserverlist 30 May 16th at 2:47 PM canvsserverlist_1.1.2.zip 1-click install
  • translation file
1.1.1 canvsserverlist 21 May 9th at 6:53 AM canvsserverlist_1.1.1.zip 1-click install
  • save seen rewards
1.1.0 canvsserverlist 30 Apr 15th at 4:18 PM canvsserverlist_1.1.0.zip 1-click install
  • /addvotereward <quantity> — hold an item and add it as a vote reward. All item attributes (durability, enchantments, etc.) are preserved
  • /clearvoterewards — clear the entire reward list
  • /vslist reload — reload config without restarting the server, with a summary of what changed
  • /vslist testreward <playerName> — give a test reward to a player to verify your setup
  • Class-based rewards — rewards can be restricted to specific character classes (e.g. arrows for hunters, swords for warriors)
1.0.3 canvsserverlist 23 Apr 15th at 4:20 PM canvsserverlist_1.0.3.zip 1-click install
  • /addvotereward <quantity> — hold an item and add it as a vote reward. All item attributes (durability, enchantments, etc.) are preserved
  • /clearvoterewards — clear the entire reward list
  • /vslist reload — reload config without restarting the server, with a summary of what changed
  • /vslist testreward <playerName> — give a test reward to a player to verify your setup
  • Class-based rewards — rewards can be restricted to specific character classes (e.g. arrows for hunters, swords for warriors)
  • lang files
1.0.2 canvsserverlist 27 Apr 8th at 7:42 PM canvsserverlist_1.0.2.zip 1-click install
  • RewardItem now has Attributes
  • /clearvoterewards and /addvotereward commands added
1.0.1 canvsserverlist 23 Apr 7th at 6:32 PM canvsserverlist_1.0.1.zip 1-click install
  • missing mod side
1.0.0 canvsserverlist 36 Apr 5th at 6:53 PM canvsserverlist_1.0.0.zip 1-click install
  • init

6 Comments (oldest first | newest first) (threaded | flat)

DejFidOFF, Jul 24th at 6:12 PM

Admin commands

not working

KenigVovan , Jul 25th at 9:15 AM
@DejFidOFF: Admin commands not working

Do you have ServerUuid and ApiKey filled? Command registry is skipped if they are empy

DejFidOFF, Jul 27th at 2:08 PM (modified Jul 27th at 2:31 PM)
@KenigVovan: Do you have ServerUuid and ApiKey filled? Command registry is skipped if they are empy

ok my fault now it´s working properly but, the website. When I have custom url for server, and its displayed, but user is not log in and fill log in, it move to the home page not the server page.. its wrong.
And better to also have options no reward. So no claim message in the chat.

C4BR3R4, Apr 10th at 10:34 AM

A great mod that's also essential for server owners.