Mods / C&N ServerList Connector
- Tags:
- 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
- Install the mod and start the server once — a default config file
canvsserverlist.jsonwill be created. - Register your server on vsserverlist.com and get your Server UUID and API Key.
- 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
}
]
}
- 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
/voteclaimto 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 Identifier | For 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 | ||
| |||||||
| 1.1.6 | canvsserverlist | 24 | Jul 9th at 4:44 PM | canvsserverlist_1.1.6.zip | 1-click install | ||
| |||||||
| 1.1.5 | canvsserverlist | 21 | Jun 18th at 7:29 PM | canvsserverlist_1.1.5.zip | 1-click install | ||
| |||||||
| 1.1.4 | canvsserverlist | 14 | Jun 13th at 8:55 AM | canvsserverlist_1.1.4.zip | 1-click install | ||
| |||||||
| 1.1.3 | canvsserverlist | 19 | Jun 1st at 6:11 PM | canvsserverlist_1.1.3.zip | 1-click install | ||
| |||||||
| 1.1.2 | canvsserverlist | 30 | May 16th at 2:47 PM | canvsserverlist_1.1.2.zip | 1-click install | ||
| |||||||
| 1.1.1 | canvsserverlist | 21 | May 9th at 6:53 AM | canvsserverlist_1.1.1.zip | 1-click install | ||
| |||||||
| 1.1.0 | canvsserverlist | 30 | Apr 15th at 4:18 PM | canvsserverlist_1.1.0.zip | 1-click install | ||
| |||||||
| 1.0.3 | canvsserverlist | 23 | Apr 15th at 4:20 PM | canvsserverlist_1.0.3.zip | 1-click install | ||
| |||||||
| 1.0.2 | canvsserverlist | 27 | Apr 8th at 7:42 PM | canvsserverlist_1.0.2.zip | 1-click install | ||
| |||||||
| 1.0.1 | canvsserverlist | 23 | Apr 7th at 6:32 PM | canvsserverlist_1.0.1.zip | 1-click install | ||
| |||||||
| 1.0.0 | canvsserverlist | 36 | Apr 5th at 6:53 PM | canvsserverlist_1.0.0.zip | 1-click install | ||
| |||||||
Admin commands
not working
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.
web part is fixed, no claim message option for mod's config I'll add in next version
ok. thank you <3
A great mod that's also essential for server owners.