✏️
PlayerListDeluxe
  • Introduction
  • Troubleshoot
  • Configuration
    • Understanding the Config Element
    • Tablist Handlers
    • Sorting Feature
    • Migrating from PlayerListPlus
  • FAKE PLAYER
    • Managing Fake Player
    • Fake Player Placeholder
  • HOW TO
    • Where to put Handler?
    • How to add/remove column
    • Create Staff/VIP Handler
    • Prevent Same Player Showing in 2 Handler
    • Sort Player By Name and Etc
    • List of Player that in Same or in A World
    • Condition Tutorial
  • PLACEHOLDER
    • Using Placeholder From PlaceholderAPI
    • Custom Placeholders
  • API
    • Creating Complex Placeholder
    • Creating Parameterized Placeholder
    • Creating Simple Placeholder
    • Managing your own Tablist
    • Events
    • Skin Toolkit
Powered by GitBook
On this page
  • Introduction
  • How to use it
  • Changing the sort order
  • Multiple Sorter with Different Order

Was this helpful?

  1. Configuration

Sorting Feature

Introduction

Sorting Feature allows you to sort tablist entry.

How to use it

Most of Tablist Handler supports Sorting. It usually use field sorterto sort it. Just put placeholder that represent the order into the field. Example:

...
    sorter: '{team_color};{vault_eco_balance}'
    # this will sort by team color, and then the balance
...

Changing the sort order

You can use field order to make the order from high to low (DESCEND) or low to high (ASCEND).

Multiple Sorter with Different Order

You can have 2 or more sorter placeholder with different order

...
    sorter: '{team_color};!{vault_eco_balance}'
    # this will sort the team_color ASCENDly, and then vault_eco_balance DESCENDly
...
PreviousTablist HandlersNextMigrating from PlayerListPlus

Last updated 4 years ago

Was this helpful?