Compatibility
Minecraft: Java Edition
Platforms
Links
Tags
Creators
Details
MineShield Magnet
I noticed that no one is making free plugins with MineShield.
So I decided to make a plugin that everyone really wants, and it's a magnet plugin from the popular MineShield 4 Season server. If you have any questions or find bugs, write in the Discord channel Discord
Plugin Information:
The magnet attracts items or armor that contain diamonds/iron/gold/netherite in their crafting recipe.
When you first install the plugin on the server, a config file appears where you can configure many magnet functions, such as:
Attraction speed
Radius
Height
Sound settings (enable/disable, volume, pitch)
✨ New Features:
🔊 Magnet Sound - Added configurable sound when players are attracted to magnets (default: block.beacon.ambient). Customize sound type, volume, and pitch in config.yml
👻 Spectator Mode Protection - Players in spectator mode are no longer affected by magnets
🔘 Player Toggle Command - New command /magnettoggle (/mtoggle) allows players to enable or disable magnet attraction for themselves. All players are enabled by default
⚙️ Sound Settings - Added new section in config.yml to configure:
sound.enabled - Turn magnet sound on/off
sound.type - Choose any Minecraft sound
sound.volume - Adjust volume (0.0 - 1.0)
sound.pitch - Adjust pitch (0.5 - 2.0)
Commands:
🔄 /magnetreload (/mreload)
Reloads the plugin config
Usage: /magnetreload
Permission: magnet.admin
📍 /magnetset (/mset)
Places a magnet at the current location
Usage: /magnetset [name]
Permission: magnet.admin
❌ /magnetdel (/mdel)
Removes a magnet
Usage: /magnetdel <name>
Permission: magnet.admin
📋 /magnetlist (/mlist)
Shows all magnets
Usage: /magnetlist
Permission: magnet.admin
🖼️ /magnetitems (/mitems)
Opens a GUI menu to easily add/remove magnetic items without editing config files
Usage: /magnetitems or /mitems
Permission: magnet.admin
📄 /magnetpage (/mpage)
Opens a specific page of the item menu (1-5)
Usage: /magnetpage <1-5> or /mpage <1-5>
Permission: magnet.admin
🔘 /magnettoggle (/mtoggle)
Toggles magnet attraction for yourself (on/off)
Usage: /magnettoggle or /mtoggle
Permission: magnet.toggle (default: true for all players)
Mini Versions of Commands:
Command | Alias
/magnetreload /mreload
/magnetset /mset
/magnetdel /mdel
/magnetlist /mlist
/magnetitems /mitems
/magnetpage /mpage
/magnettoggle /mtoggle
Sorry in advance if the text is a bit poorly written or some words are unclear, I don't know this language.


