HomeJavaModsTraincarts Ticket Shop
Traincarts Ticket Shop

A plugin which allows players to create ticket shop guis for purchasing tickets from the Traincarts plugin.

FOR FULL INFORMATION ABOUT PLUGIN USAGE, PLEASE VISIT THE WIKI ON GITHUB

How to use

Other methods of opening the GUI

Signs

Create a sign with this format:

[tshop]
<gui ID>

Any other text

image

Right click on the sign to open the shop Gui.

Links

Links are a powerful tool which allows players to "link" multiple guis together.

To get started, you must have at least two guis already created. For example, we may have run:

We may want to have it so that the gui mainline links to the second gui, subline.

Firstly, we must create a new "link". To do this, we can run:

In our example, this would look something like:

This should give us a link item which looks something like this:

image

With this new link, we can run:

and drag and drop the link item anywhere within the mainline gui, even amongst other tickets.

image(1)

Now, when a player opens the mainline gui, they will be able to click the link item. This will redirect them to the subline gui.

Untitled-2024-01-25-2133

It's also possible to set the destination page that a link item will link to.

For example:

will make it so that when the link is clicked, it will try to redirect the player to page 10 of the destination gui. If there aren't that many pages in the Gui, it will default to the highest page possible.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more