Back to mods

Vintage Story Mod DB · Vintage Story mod

Resync Playermodels

Disclaimer/transparency: This was made using Claude, with informed human QA, for internal/testing purposes for a small private server. This is being published for use with the ModDB API. All mods are property of their original owners and/or creators. This may

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Resync Playermodels release should I use?

Updated 2 months ago
Latest stable file 1.3.0
Game version 1.21.6
Loader Built-in Vintage Story mod system

Resync Playermodels 1.3.0 targets 1.21.6. Do not install it on the client. It must be installed on the dedicated server. No extra mods listed for this file.

Where it goes

Is Resync Playermodels required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

Client Not supported
Dedicated server Required
Loader for this release Built-in Vintage Story mod system
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

This Vintage Story file is marked server-only.

What else does Resync Playermodels 1.3.0 need?

1.3.0. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Resync Playermodels without breaking your instance.

Built for Resync Playermodels 1.3.0. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.3.0. It targets 1.21.6; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.3.0. It opens that exact file at the source.

About this project

What does Resync Playermodels add?

Disclaimer/transparency: This was made using Claude, with informed human QA, for internal/testing purposes for a small private server. This is being published for use with the ModDB API. All mods are property of their original owners and/or creators.
This may receive periodic updates. Everything here(this page) was written manually.

 

Resync Playermodels v1.3.0


 

This took a while and took about 4-ish versions of testing before getting it functional. The general idea here is that an /rsm command is added to the server made for resyncing the playermodels, when someone shows up invisible. Requires privelege 'controlserver'. 

 

General context here is that in playing VS with PlayerModelLib, noticed on our server that sometimes when someone joins, they just show up as insivible with only their nametag; normally just .reconnect'ing repeatedly was how it gets fixed - which is not ideal, so, this command makes it so you can just run /rsm when that occurs and nobody has to drop or reconnect.

 

Included commands are as follows:

  1. /resyncmodels, alias /rsm, resyncs every single player online, requires privelege 'controlserver'
  2. /resyncmodel - resyncs only your own entity for everyone else, requires privelege 'chat'

 

Technicals:

First sends an EntityDespawn packet to every other tracking client online, then removes the entity from each client's TrackedEntities set. Next tick the server re-emits a full-entity spawn packet. Next, since the client's already despawned it, that packet is handled as a fresh create, which the renderer rebuilds, and PlayerSkinBehavior.Initialize runs again. And as a side thing, removing from TrackedEntities alone isn't enough, without the despawn the client still has the entity and treats the next packet as a position update, so the broken state persists.

 

Other:
Sourcecode included(in the attached github link) of course. Feel free to inform me of bugs.<3

Project description from Vintage Story Mod DB.

Pick your setup

Resync Playermodels releases for each Vintage Story version.

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Resync Playermodels versions and loaders

1 of 1 releases match

Looking for an older file? The official Vintage Story Mod DB project page is in Resources.