Requires Java version: 8
Description
Armor Event plug-in checks and calls a custom event when a player equips or unequips a piece of their armor. The custom events are very simple to use (An example can be found here).
This plug-in is mainly designed for developers whom are making a plug-in such as a custom enchantment plug-in.
How to use the API?
To use the API, all you have to do is listen for two events.
'PlayerArmorEquipEvent' - This is called when a player equips a piece of armor.
Armor Event is a very simple plug-in, and will cause no interference with lag, as everything is kept to a minimal. Additionally, there is minimal threading occurring, and therefore preventing any issues regarding the server - You won't be able to locate this plug-in in your server timings report, unless your use f1 + 3.
Bugs / Issues
If you encounter any bugs or issues, then please make a ticket request here. Any private messages or e-mails will be ignored.
Source Code
You can view the source code here.
Description
Armor Event plug-in checks and calls a custom event when a player equips or unequips a piece of their armor. The custom events are very simple to use (An example can be found here).
This plug-in is mainly designed for developers whom are making a plug-in such as a custom enchantment plug-in.
How to use the API?
To use the API, all you have to do is listen for two events.
'PlayerArmorEquipEvent' - This is called when a player equips a piece of armor.
The possible objects to fetch:
'PlayerArmorUnequipEvent' - This is called when a player unequips a piece of armor.
- event#getPlayer() - This returns the player whom equipped a piece of armor.
- event#getItemStack() - This returns the item (armor) which was equipped.
The possible objects to fetch:
Performance
- event#getPlayer() - This returns the player whom unquipped a piece of armor.
- event#getItemStack() - This returns the item (armor) which was unequipped.
Armor Event is a very simple plug-in, and will cause no interference with lag, as everything is kept to a minimal. Additionally, there is minimal threading occurring, and therefore preventing any issues regarding the server - You won't be able to locate this plug-in in your server timings report, unless your use f1 + 3.
Bugs / Issues
If you encounter any bugs or issues, then please make a ticket request here. Any private messages or e-mails will be ignored.
Source Code
You can view the source code here.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Armor Event [1.8 / 1.9 / 1.10] is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10. Downloaded 1,193 times (via Spigot). Download it and open it directly in the game.