Magnetic Armor
1.0Featuring 1 custom enchant (Magnet), which will pull items towards you when wearing it.
DO NOT USE /RELOAD, IT MIGHT CAUSE ISSUES WITH THIS PLUGIN! (Don't reload with plugins such as PlugMan either)
Overview:
Magnetic armor is a plugin that adds one more enchantment to the game, called Magnet. There are 3 levels of magnet, each increasing in power as the level goes up. Magnet is an enchantment only for chestplates, which when worn will "push" all nearby items towards you like a magnet! Options to change item velocities per level, whether or not you can get the enchantment via enchanting table, option to deduct durability from armor when Magnet is being used and more!
image
Config:
config.yml
#This is the prefix shown before most messages.
prefix: "&6&lMagnetic Armor&a»"
#Message sent when user has inssuficient permissions to use a command.
no-perms-msg: " &cInsufficient permissions."
#Items in this list will not be affected by the enchantment.
#Examples below:
blacklisted-items:
- "ITEM:DATA"
- "DIAMOND"
- "STAINED_CLAY:14"
#Add a world to this list if you want the enchant to not work there
blacklisted-worlds:
- "someWorld"
#Here you can edit stuff related to the actual enchantment
enchantment:
#Whether or not it is obtainable via enchanting table
include-in-table: true
#Different options per enchant level
level:
1:
#All items within this radius will be affected by Magnet I
radius:
x: 5
y: 2.5
z: 5
#The amount of velocity to apply to the item
vector:
#Velocity
mult: 0.15
#Amount of Y motion to apply to the item
y-mult: 0.335
#Whether or not the enchantment deducts durability from the chestplate
apply-durability: true
#Whether or not the enchantment will push items towards you when your inventory is full
full-inventory: true
#Amount of durability to deduct from chestplate
item-damage: 1
#Chance that the above durability will be deducted from the chestplate
item-damage-chance: 50
#Delay before an item will be pushed towards you. (Delay is in ticks)
min-ticks-lived: 15
#Chance of getting this enchant via enchanting table, if enabled
enchant-chance: 30
#Amount of extra chance to add if the chestplate is made of gold
gold-boost: 10
#Refer to level 1 to see what these do, its basically the same for every level.
2:
radius:
x: 6.25
y: 4
z: 6.25
vector:
mult: 0.345
y-mult: 0.440
apply-durability: true
full-inventory: true
item-damage: 2
item-damage-chance: 75
min-ticks-lived: 15
enchant-chance: 10
gold-boost: 10
#Refer to level 1 to see what these do, its basically the same for every level.
3:
radius:
x: 8
y: 6
z: 8
vector:
mult: 0.55
y-mult: 0.445
apply-durability: true
full-inventory: true
item-damage: 3
item-damage-chance: 85
min-ticks-lived: 15
enchant-chance: 5
gold-boost: 10
Commands:
#Permission: magneticarmor.enchant
#Description: Enchants an item with desired Magnet level
/magneticarmor enchant <level>
#Permission: magneticarmor.reload
#Description: Reloads the config.yml
/magneticarmor reloadSimilar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta