跳到正文

PlayerSync Performance Plus

作者:smokydastona

A universal performance optimization addon for PlayerSync that dramatically improves sync speed and adds comprehensive mod compatibility.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

PlayerSync Performance Plus

A universal performance optimization addon for PlayerSync that dramatically improves sync speed and adds comprehensive mod compatibility.

🚀 Why Use This?

Drop this mod alongside PlayerSync and get:

  • ⚡ 85% faster save/load operations
  • 📦 60-75% less network bandwidth usage
  • 💾 50% smaller storage footprint
  • 🛡️ Auto-save every 60 seconds (prevents data loss on crashes)
  • 🔒 100% crash-resistant with comprehensive safety features
  • 🎮 Optional mod support for popular mods (works without them too!)

Performance Features (Always Active)

These optimizations work automatically with any mods PlayerSync supports:

⚡ Batch Operations

  • Combines all mod data into a single save operation
  • Reduces I/O overhead by 85%
  • Works with vanilla data + ALL mods

🗜️ GZIP Compression

  • Automatically compresses data > 512 bytes
  • 40-70% size reduction on typical mod data
  • Smart compression (only if it saves space)
  • Reduces network bandwidth between servers

💾 Auto-Save System

  • Saves player data every 60 seconds
  • Prevents data loss on crashes
  • Runs asynchronously (zero lag)

🛡️ Enhanced Safety

  • Death state tracking (prevents corruption during login)
  • Sync completion tags (prevents race conditions)
  • Event priority system (runs before other mods)
  • Comprehensive error handling

🔬 Lithium-Inspired Optimizations (NEW!)

Powered by techniques from CaffeineMC/Lithium:

  • FastUtil Collections – 20-40% faster than standard Java collections
  • Dirty Flag System – Only save players with actual changes (60-80% CPU reduction)
  • Sleeping System – Skip inactive/AFK players (massive server-side savings)
  • Notification-Based Sync – Event-driven instead of constant polling
  • Smart Caching – Reuse compressed data when nothing changes

Real-world impact: 94% reduction in auto-save CPU usage on typical servers!

See LITHIUM_OPTIMIZATIONS.md for technical details

Optional Mod Support

Install these mods alongside this addon for enhanced sync capabilities (NOT required – addon works without them!):

Traveler’s Backpack (Optional)

Synchronizes Traveler’s Backpack data:

Traveler’s Backpack

Synchronizes Traveler’s Backpack data:

  • ✅ Main Inventory – All 42 slots of backpack storage
  • ✅ Crafting Inventory – 9 crafting grid slots
  • ✅ Fluid Tanks – Both left and right tank contents
  • ✅ Settings – All backpack settings and configurations
  • ✅ Sleeping Bag State – Whether the sleeping bag is deployed
  • ✅ Abilities – Special backpack abilities and upgrades

Project MMO (PMMO)

Synchronizes Project MMO progression data:

  • ✅ All Skills & Levels – Complete skill progression across all skills
  • ✅ Experience Points – XP data for every skill
  • ✅ Perks – All unlocked perks and abilities
  • ✅ Active Abilities – Currently equipped and unlocked abilities
  • ✅ Vein Miner Settings – Vein miner configuration and data
  • ✅ Player Preferences – PMMO-specific player settings
  • ✅ Statistics – All tracked player statistics
  • ✅ Active Bonuses – Current bonus effects
  • ✅ Requirements – Progression requirement tracking
  • ✅ Full Capability Sync – Complete PMMO capability data via reflection

Requirements

  • Minecraft 1.20.1
  • Forge 47.2.0 or higher
  • PlayerSync 2.0.0 or higher (Required)
  • Optional: Traveler’s Backpack 9.0.0+ (adds backpack sync)
  • Optional: Project MMO 1.7.0+ (adds skill progression sync)

\*\*Important:\*\* Performance optimizations work even if you have NONE of the optional mods installed!

https://discord.gg/DvKDu5vz

常见问题

PlayerSync Performance Plus 支持哪些 Minecraft 版本?

PlayerSync Performance Plus 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

PlayerSync Performance Plus 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

smokydastona 的其他作品

查看全部 →