bergerhealer / TrainCarts

Minecarts redefined
MIT License
199 stars 62 forks source link

Allow player to enter only with a ticket or certain item #439

Closed mitchngwen closed 2 years ago

mitchngwen commented 2 years ago

New property to allow player to enter only with a ticket or certain item.

I know this would make the plugin more useful. You can now have a ticket counter where players can buy a ticket for the ride and then only be able to enter the ride if they have a ticket or some item.

bergerkiller commented 2 years ago

Its missing on the wiki, but there is a /train ticket feature already. You can add names of tickets players can use on the train, and only when they have that ticket item can they enter. You can also set the ticket up to apply properties to the train when players enter, for example, to assign a destination.

The ticket item is a map of which you can change the background image.

https://www.youtube.com/watch?v=fVA_MPxXVO0

bergerkiller commented 2 years ago

https://wiki.traincarts.net/p/TrainCarts/Tickets added this. Ill be improving some of the stuff as the commands lack auto-completion in some places.

mitchngwen commented 2 years ago

This is awesome! Thank you for taking the time to post this on your wiki!