This is a tracker addon for SimpleCompass. It allows to track positions defined using PlaholderAPI placeholders.
Notes: This tracker addon is an idea of Shano_dekono. Here is how he describes its usage:
You can use x & y placeholders to locate coordinates from different plugins and MvdwPlaceholderAPI x and y placeholders if you have one of mvdw's plugins aswell as MvdwPlaceholderAPI and PlaceholderAPI. You can then combine the Mvdw Placeholders and PlaceholderAPI placeholders like in the example below so that you have more x & y placeholders to play with. Enjoy (quote from plugin discussion thread)
positions: town: x: '%mvdw_towny_town_home_x%' z: '%mvdw_towny_town_home_z%'
- Drop the jar file into your
plugins/SimpleCompass/trackers
folder - Restart your server.
Notes:
- If
PlaholderAPI
plugin is not installed, this tracker will not load - Configured positions may require some PlaceholderAPI expansions. It's up to you to install expansions you need.
- If PlaceholderAPI cannot parse a configured position coords, this one will not work.
Edit the file plugins/SimpleCompass/trackers/PapiPositionTracker.yml
(automatically created the first time the tracker is loaded).
Read settings.yml to have a look on available parameters.
- To use this tracker, players must have:
- scompass.use
- scompass.track
- scompass.track.PAPI_POSITION (or scompass.track.*)
- All named positions in
PapiPositionTracker.yml
use dynamic permissions:- scompass.track.PAPI_POSITION.defined.
<name>
- scompass.track.PAPI_POSITION.defined.arboriginal for example to track the position "arboriginal"
- scompass.track.PAPI_POSITION.defined.
- To have access to all named positions (without scompass.track.PAPI_POSITION.defined.
<name>
for each), players need:- scompass.track.PAPI_POSITION.defined.*
Optional: (require you set settings.autoload_target:true
)
- All named positions also use dynamic permissions to be automatically tracked on player join:
- scompass.track.auto.PAPI_POSITION.
<name>
- scompass.track.auto.PAPI_POSITION.base for example to auto track the position named "base"
- scompass.track.auto.PAPI_POSITION.
- To auto track all named positions (without scompass.track.auto.PAPI_POSITION.
<name>
for each), players need:- scompass.track.auto.PAPI_POSITION.*