DuckLink
PluginLicenseRef-All-Rights-Reserved

DuckLink

Connects two or more players together to synchronize their health, food levels, inventory states, and track their distance in real-time.

5
Downloads
0
Followers
1 weeks ago
Updated
📦
1
Versions

📖About DuckLink

🔗 DuckLink | Player Status & Inventory Synchronizer

Bind players together for a true co-op survival challenge! DuckLink allows players to link their status attributes, making team survival highly interdependent. If one player takes damage, runs out of food, or updates their inventory, the changes dynamically sync to their linked partner.


✨ Features

  • Attribute Synchronization: Real-time synchronization of player health (DamageSyncListener) and hunger levels (FoodSyncListener) across linked players.
  • Shared Inventory Management: Keeps inventory status updated and secure using the built-in InventorySaveListener to prevent item desyncs.
  • Proximity & Distance Tracking: Utilizes a background DistanceTask to actively monitor and calculate the distance between linked players.
  • Player Link Invites: Features a structured invitation system managed by LinkManager and InviteData to handle connection requests safely.
  • Connection Lifecycle Handling: Automatically updates player link states upon server login or logout via the ConnectionListener.
  • Simple In-Game Commands: Quick and intuitive commands under /link to invite, accept, or manage active player connections.

⚙️ Dependencies

  • A compatible Minecraft server software supporting the Spigot or Paper API.

🚀 Installation

  1. Download the latest version of ducklink.jar (or your compiled snapshot).
  2. Stop your Minecraft server completely.
  3. Drag and drop the .jar file into your server's plugins directory.
  4. Start your server to generate the default configuration files.
  5. Use the /link command in-game to start connecting your players!

📜 Commands & Permissions

  • /ducklink (Aliases: /dlink) - The core and unique command to manage, invite, or disconnect player status linkages.
    • Permission: ducklink.use (Default: everyone)