← All plugins
GlymeraMagnet icon

GlymeraMagnet

Personal item magnet on command: /gmagnet pulls every dropped item within 5 blocks (server-configurable) straight into your inventory with the normal pickup animation. Per-player toggle, no item to craft or carry.

v1.0.0 Hytale 0.6.x MiscellaneousQuality of LifeUtility

Gallery

Description

GlymeraMagnet - Item Magnet on Command

One command, no item, no crafting: /gmagnet pulls every dropped item within 5 blocks straight into your inventory, with the normal pickup animation. Each player switches it on or off for themselves; the server owner sets the range.


What is GlymeraMagnet?

In Hytale you have to walk right up to a dropped item to pick it up. After a fight, a mining session or clearing a field the drops lie scattered all over the place. GlymeraMagnet collects them for you: while the magnet is on, anything lying within range flies to you as if you had stepped on it.

There is no magnet item to craft or carry and nothing is placed in the world. It is a personal toggle, nothing more.


For Players

  • /gmagnet turns your magnet on. /gmagnet again turns it off. A chat line confirms the state.
  • The setting is remembered - it survives leaving the server and server restarts.
  • Pickups behave exactly like normal ones: the item flies to you, lands in your inventory and shows the usual pickup notice.
  • A full inventory does not swallow anything. Items you have no room for simply stay on the ground; a stack that only partly fits is topped up and the rest stays.
  • Everything lying on the ground within range counts, including drops from other players or mobs - the same as walking over them.

Every player may use the command; no permission setup is required.


For Server Owners: Configuration

mods/de.glymera_GlymeraMagnet/config.json is written on the first start:

{
  "radius": 5.0,
  "opOnly": false,
  "intervalMs": 100
}
Key Meaning
radius Reach in blocks in every direction, up and down included. It is a cube, not a sphere: 5 covers 5 blocks to each side of the player. Allowed range 0.5 to 64.
opOnly true restricts /gmagnet to OPs. Needs a restart.
intervalMs How often a player's surroundings are checked, in milliseconds. 100 is plenty; higher values save a little CPU on very busy servers.

/gmagnet reload (OP only) re-reads radius and intervalMs without a restart.

The list of players with the magnet switched on lives in players.json in the same folder.


Installation

Drop GlymeraMagnet-<version>.jar into your server's mods/ folder and restart. Works in singleplayer worlds as well. Requires Hytale 0.6 or newer.

Removing the plugin leaves nothing behind - no blocks, no entities, no items.


Technical Notes

  • The magnet uses the engine's own item index and the engine's own pickup transaction. Only players with the magnet switched on cost anything: one index lookup every 100 ms, nothing else runs.
  • It honours the engine's rules: items marked as not collectable, props, items you interact with and items already flying to somebody are left alone.
  • It runs after the engine's own pickup, so an item is never handed out twice - not with one player and not with two magnet users standing next to the same drop.
  • No assets, no custom blocks, no world data. A single small jar.
Changelog

GlymeraMagnet - Changelog

1.0.0 (2026-09-07)

  • Initial release. /gmagnet toggles a personal item magnet: every dropped item inside a cube of radius blocks (default 5, config.json) around the player is picked up with the engine's own pickup transaction and fly-to-player animation. Items the inventory cannot hold stay on the ground, partial stacks shrink like a normal pickup.
  • Per-player state survives relogs and restarts (players.json). /gmagnet reload (OP) re-reads config.json; opOnly restricts the command to OPs.
Public — visible to everyone. No account needed.

Only Marc can read this.