Website sync
Use KRISPSHOT Loadouts with a WeaponPaints-compatible loadout website.
The plugin stores loadouts in the same wp_player_* tables as WeaponPaints. A loadout website built for WeaponPaints keeps working: players can change skins on the website or in game, and both see the same thing.
Live updates from the website
When the website saves a change, it should add the player to the wp_player_refresh table:
sql
INSERT INTO `wp_player_refresh` (`steamid`) VALUES (?) ON DUPLICATE KEY UPDATE `stamp` = CURRENT_TIMESTAMP;The plugin checks that table every WebRefreshIntervalSeconds (4 seconds by default), re-equips online players and refreshes their open menu. Without it, players can type !wp to reload.
Changes made in game are written straight to the same tables, so the website shows them on its next page load.