HawkEye

HawkEye

192k Downloads

API's CustomEntrys not displaying properly on interface

marcelo-mason opened this issue ยท 3 comments

commented

Something is really messed up with this API. This is what i'm doing:

HawkEyeAPI.addCustomEntry(plugin, "PvP Attempt", attacker, victim.getLocation(), victim.getName() + " (field: " + field.getOwner() + "'s " + fs.getTitle() + ")");

I see the database is being populated, action shows as 16 (don't see the action text being anywhere), and the data field shows the data I am specifying above.

But on the interface, this is the result, the data column is blank and the action column is being populated from the data field in the database. The action texts that i'm specifying are missing. Plus, check out the Action text on the first two rows, no idea where "Painting BreakBlock BreakBlock" is coming from, its supposed to say "(field: Tiger3001's Peace Keeper)":

commented

Yay you found my biggest screw up to date :D Thanks I'll fix this up

commented

Done

commented

oops. debug messages?

08:19:11 [INFO] [HawkEye] close interact

08:19:11 [INFO] [HawkEye] open

08:19:11 [INFO] [HawkEye] close interact

08:19:11 [INFO] [HawkEye] open

08:19:12 [INFO] [HawkEye] close interact

08:19:12 [INFO] [HawkEye] open

08:19:12 [INFO] [HawkEye] close interact

08:19:12 [INFO] [HawkEye] open

08:19:12 [INFO] [HawkEye] close interact

08:19:12 [INFO] [HawkEye] open

08:19:12 [INFO] [HawkEye] close interact

08:19:12 [INFO] [HawkEye] open

The action text is still kinda messed up. Think you might have put two variables backwards. Should be "PreciousStones - Block Place" rather than "Block PlacePreciousStones -" no?

Also on other rows the action shows "JackPreciousStones -" and data "o-Death". When the data is supposed to be "Jack-o-Death".