🛠️Installation

On this page, you will find all the dependencies needed and the installation steps for this config.

🔗 Dependencies

(Expansions: Player, Server, Javascript and LocalTime)

⚙️Installation

  • Navigate to your Server's plugins folder.

  • Install the dependencies.

  • Start your server so that the new plugins that have been installed so they can generate their folders. (this is optional if you already have the plugins installed)

  • Replace your current TAB config.yml with the one provided in the .zip file.

  • Reload the TAB plugin -> /tab reload

  • Upload the Javascript PlaceholderAPI expansion pack. You can download it here.

  • After you upload the Javascript expansion please upload the provided Javascript folder from the .zip file to the PlaceholderAPI expansions folder (/plugins/PlaceholderAPI/expansions)

  • Join the server and run the following commands:

    • /papi ecloud download Player

    • /papi ecloud download Server

    • /papi ecloud download LocalTime

  • After you run those commands reload the PlaceholderAPI plugin -> /papi reload

  • After you have done all of this you can enjoy the config!

🛑Extra

You are wondering where are all the color options? Here are all the primary and secondary hex colors respectively used in the configuration!

Color
Primary Color
Secondary Color

Blue

&#6CBFFF

&#6AE2FF

Green

&#00CC99

&#ACE1AF

Light Orange

&#FCA300

&#FAD17F

Orange

&#FF670B

&#FF8E20

Red

&#D82433

&#FF4155

Violet

&#C77DFF

&#DDA5FF

Yellow

&#ECB620

&#FFFF00

You can change the color of the dynamic line by using %javascript_tabline_<color>%. Also if you want to override the player count, you can use %javascript_tabline_<color>_<integer>%.

Here are all the valid <color> arguments (non-case-sensitive):

  • White

  • LightGray

  • Gray

  • Black

  • Blue

  • Green

  • LightOrange

  • Orange

  • Red

  • Violet

  • Yellow

You can change the color of the dynamic line by using %javascript_tabline_<color>%. For example, if you use %javascript_tabline_red% the TAB configuration will be red.

Do you want to create your own colors in tabline.js?

Step 1 -> If you want to do this you will need to create a new array variable like such:

  var newColor = ["0", "1", "2", "3"]
  • 0 -> line when the server has 20 or less players

  • 1 -> line when the server has 40 or less players

  • 2 -> line when the server has 60 or less players

  • 3 -> line when the server has 80 or less players

Step 2 -> After you created the new array variable you will need to add the newColor to the getLine function (by default is at line 22).

  case "newcolor": return newColor[index]

Be sure the text after case ("newcolor") is lowercase or else it won't function properly.

Here are the lines used in the default config without color:

⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯