Nemesis System

Nemesis System

23.7k Downloads

Logging System

frodare opened this issue ยท 3 comments

commented

Record key events for nemesis in their Nemesis NBT. The GUI will provide a way for players to use it to view their history.

commented

We can use the events system created to handle notifications. Let's discuss what key events should be logged and what the log would look like, as a java class.

Key events:

  • kill player/killed by player
  • win duels/lose duels
  • promotions
  • creation of nemesis
  • fled successfully

Java fields:

EventType (enum) type; = correlates to key events above
Map<String, String> eventDetails; 
// would be different values based on type; i.e. duels would contain the 
// name of the nemesis killed, promotion would contain achieved level, etc.

Gives us the most flexibility, but is also not self-documenting.

commented

I didn't actually get this to work, and I'm having issues which I will come back to.

commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.