#armor equip event
1 messages ยท Page 1 of 1 (latest)
so basically
i want to know how to use it
i have 3 files in
ArmorEquipEvent
ArmorListener
ArmorType
and i dont know how to use the event
hi
so
I have made a proper maven version of it
there's information on what you have to add to your pom
everything else is described in the README.md ๐
pls ping me if you have further questions @summer shadow
Oh okay thanks
@wanton lintel Looks like something went wrong!
We track these errors automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing.
girhub
idk if thats ur problem or mine
thanks a llot though
I'll try again later
ping to reply
WORKS NOW
perfect ๐
that was just github servers being down for some minutes
Ah ok
So what do i have to do in pom.xml
it's all explained in the README of my repo
you have to add:
- the repositry and dependency
- the maven-shade-plugin thing
Oky
if you don't get it to work, send your pom.xml
you just listen to it like usual
@EventHandler
public void onArmorChance(ArmorEquipEvent event) {
...
}
what are the params defined as
as in like "event"
declaration: package: com.jeff_media.armorequipevent
declaration: package: com.jeff_media.armorequipevent, class: ArmorEquipEvent
np ๐
ill try and use this
@wanton lintel is there a way to check someone's armor pieces
wdym?
like the code
what java files? I have no idea what you are talking about lol
doesn't matter
lol
@wanton lintel how would i get the user with the event
doesn't matter i thnk i got it
thanks!
getPlayer()
i got it