bergerhealer / TrainCarts

Minecarts redefined
MIT License
206 stars 64 forks source link

Announce next destination #489

Open amalon opened 11 months ago

amalon commented 11 months ago

Feature Request

Description

It'd be useful to be able to replace some part of an announcement with different things which differ between trains. Text replacements that could be useful:

Examples

After a station used by multiple train routes:

[+train:south]
announce
This is a %Troute% train to %Rl%
Next stop: %D%
bergerkiller commented 11 months ago

My idea here was to give traincarts a proper placeholderapi integration, and then using papi in announce messages. This same mechanism can then be used for a future text billboard attachment thingy.

Currently busy with other things though