AOmnitool banner
AOmnitool icon

AOmnitool

Actúa como un desarrollador experto de plugins para Paper/Spigot. Necesito crear la base de un plugin llamado 'MyEdTools' para la versión 1.21.x de...

00
spigotServer1.21.10mod

What was built

  • MyEdTools plugin targeting Paper 1.21.x with a customizable OmniTool that adapts to the block type (axe/pickaxe/shovel logic), stores owner/level/xp and custom enchantment flags in the PersistentDataContainer, and upgrades Efficiency as it levels.
  • Telepathy routes block drops directly into the player inventory (overflow drops at the block), Explosive expands generator breaks into a 3x3 area on the same Y level, and durability only decreases when breaking blocks listed as generators in the config.
  • XP is earned per block broken; level ups announce to the player and the action bar shows a progress bar with current XP/level each time a block is broken or when previewing with block interactions.
  • Commands: /edtools give <player> omnitool to hand out the tool and /edtools reload to refresh config/messages (permission edtools.admin).

Configuration highlights

  • config.yml lets you tune base material, xp per block, xp requirements per level, default telepathy/explosive flags, generator block list (controls Explosive trigger and durability loss), and the action bar template/messages.
  • The generator list defaults to spawner/stone/cobblestone/deepslate; only these consume durability and trigger the 3x3 Explosive effect.

Notes and suggestions

  • The 3x3 Explosive effect runs horizontally; adjust if you want vertical coverage.
  • XP requirements repeat the last configured value after the list ends; extend xp-per-level to shape higher tiers.
  • The OmniTool keeps its data in NBT, not lore; lore is informational only. If you change defaults (telepathy/explosive), newly created tools pick them up automatically.

Server Validation

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