• HOME
  • PROJECTS
  • PLUGINS
  • "L'EXPLORADOR"
  • CONTACT
  • SUPPORT MY JOB!

Plugins




ServerCarts

What's ServerCarts?

ServerCarts is a Minecraft Plugin that works by using the BKCommonLib, TrainCarts and the Dynmap API

This plugin is compatible from Minecraft 1.20+

What's included in this plugin?

  • An API server displaying your trains, carts and TC signals that are in your server
  • A real-time train tracker on Dynmap (You will need Dynmap to enable this feature)

Configuration file:

ServerCarts has a simple configuration file with two values:


# config.yml
apiPort: 25570
trackerUpdate: 5


Let's take a view to the two variables

  • apiPort: Set the port you want your ServerCarts' API to start. It is very important to make sure another program is NOT using this port!
  • trackerUpdate: Set how many seconds you want to wait before the tracker updates again.
Those values displayed in the config.yml are the default values

Commands

ServerCarts has a series of commands you can use

First of all, you will need to select a train before to execute the commands. You can do it by watching the train you want to edit and type /train edit


Those are the commands included on the plugin:

  • /servercarts help - Displays the help menu on the game.
  • /servercarts reloadsigns - Reload the signs endpoint.
  • /servercarts nextstop - Displays the help menu of the 'nextstop' commands.
  • /servercarts nextstop set <message> - Set the name of the next station of the train.
  • /servercarts nextstop eta <number> - Set an ETA (Estimated Time of Arrival) to the next stop (in minutes).
    • You cannot apply any ETA if there's no next stop set
    • Setting the value to 0 will delete the ETA.
  • /servercarts nextstop delete - Deletes the next station, and it's ETA it exists.
  • /servercarts comment - Displays the help menu of the 'comment' commands.
  • /servercarts comment set <message> - Replaces all comments with this one.
  • /servercarts comment add <message> - Adds a new comment with the other ones.
  • /servercarts comment delete - Deletes all commands.

You will need the servercarts.commands permission node in order to use these commands


Signs

ServerCarts has two signs you can use in TrainCarts:


SCC (ServerCarts Comment):

[+train]
scc set
<text>
<text>

• Replaces all comments with this one.


[+train]
scc add
<text>
<text>

• Adds a new comment with the other ones.


[+train]
scc delete


• Deletes all commands.



SCN (ServerCarts Next Stop):

[+train]
scn stop set
<text>
<text>

• Set the name of the next station of the train.


[+train]
scn stop delete


• Deletes the next station, and it's ETA it exists.


[+train]
scn eta set
<number>

• Set an ETA (Estimated Time of Arrival) to the next stop (in minutes).

Setting the value to 0 will delete the ETA

[+train]
scn eta delete


• Delete the ETA.


You will need the servercarts.signs permission node in order to use these signs


Download ServerCarts
(For Minecraft 1.20+)

Current version: v0.1





Hecho por Joan Illescas Bravo (c) 2023
Todas las fotos (excepto las especificadas) tienen licencia CC BY-NC-SA
Ayuda a Ucrania!