whimxiqal / journey

A server-side path-finding Minecraft plugin
MIT License
15 stars 2 forks source link

Integration with Citizens #63

Closed whimxiqal closed 1 year ago

whimxiqal commented 1 year ago

The goal with this is to provide a "Guide" functionality, to replace the particle trail that helps players navigate a calculated path today. The integration plugin will likely require a new type of interface that extracts what the particle trail-based JourneySession can do. Then, the Citizens integration can implement a derived abstract class, like a "Guide session", that provides functionality about how to manipulate a guide entity, which would call NPC methods in Citizens.

So most functionality would be in Journey, but just the lowest level interface would be implemented by the incoming JourneyCitizens plugin. Then, users can choose what kind of display to send users, particle trail or other registered ones, like "citizens" as JourneyCitizens would call it, in a flag. Like other flags, it can be set to a default in the config and players may be given permission to use the flag if admins want. Permission should also probably be per-option... More details to come

whimxiqal commented 1 year ago

Added in v1.2