Donkey Plugin banner
Donkey Plugin icon

Donkey Plugin

When the player joins a server, spawn them on a donkey and give them a full set of wooden tools. Also announced to the server that the player has joined.

00
spigotServer1.21.10mod

Donkey Plugin

  • On join, everyone is greeted with a server-wide message announcing their donkey arrival.
  • A saddled, tamed donkey spawns at the player's login spot and the player is mounted automatically.
  • A wooden starter kit (sword, pickaxe, axe, shovel, hoe) is granted if missing from the inventory.

Implementation Notes

  • Donkeys are set to adult, tamed, and saddled so players can ride immediately.
  • Starter tools are only added when the player lacks that item, avoiding duplicate stacks.

Known Limitations / Future Ideas

  • Each login spawns a fresh donkey even if an old one remains nearby; add cleanup or reuse logic if needed.
  • Inventories almost full may drop items; consider an overflow chest or warning if this is a concern.

Server Validation

Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.