MonitoringMinecraft MonitoringMinecraft

Traincarts Ticket Shop

Плагин Paper

Плагин для Майнкрафт: создавайте GUI-магазины для продажи билетов совместно с Traincarts.

46 скачиваний 1 подписчик
Оцените первым

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

  • Run /train ticket create <Traincarts ticket name> to create a Traincarts ticket.
  • Run /tshop ticket create <Traincarts ticket name> to get a "gui ticket" item.
  • Run /tshop gui create <Gui ID> to create a shop Gui.
  • Run /tshop gui rename <new display name> to change the Gui title.
  • Run /tshop gui edit <Gui ID> to edit the Gui.
  • Drag the ticket you were given by the plugin into the inventory that opens. image
  • Run /tshop gui open <Gui ID> to open the shop GUI. Click on a ticket to get it in your inventory.

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:

  • /tshop gui create mainline
  • /tshop gui create subline

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:

  • /tshop link create <linked Gui ID>
  • /tshop link rename <new display name>

In our example, this would look something like:

  • /tshop link create subline
  • /tshop link rename "<yellow>Subline Tickets"

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

image

With this new link, we can run:

  • /tshop gui edit mainline

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:

  • /tshop link setDestinationPage 10

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.

Смотри также

Похожие подборки плагины — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
1467 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
CLOUDWORLD
1 онлайн
1.16.5 — 1.21.11 версия
Пвп, Арены, Дуэли, Кейсы, донаты, /free, приваты, спавн,
MigosMc
MigosMc Java + BE
1564 онлайн
1.8 — 26.2 версия
🌿 MigosMc.net | Гриферский сервер с войс-чатом | Награды за онлайн ⭐ ВЫЖИВАНИЕ⭐ ОДИНБЛОК⭐ МИНИ-ИГРЫ
F19T
F19T Java
2 онлайн
1.16.5 версия
F19T - Выкован в огне.Закален хаосом.
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат