✏️
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
  • player
  • server
  • param

Was this helpful?

  1. PLACEHOLDER

Custom Placeholders

PreviousUsing Placeholder From PlaceholderAPINextCreating Complex Placeholder

Last updated 5 years ago

Was this helpful?

Custom placeholder uses JavaScript to evaluate your placeholder script. There are 3 default global variables you can use in your script.

player

this returns the player (the tablist viewer). Example usage:

player:
    displayWorldAndName: |-
        player.getWorld().getName() + ' - ' + player.getName();

See more player functions in here

For bungeecord custom placeholders, see

server

this returns the server instance

See more server functions in here org.bukkit.Server

For bungeecord custom placeholders, see

param

this is the placeholder parameter. Example, if you use {dummy_another_xd:lolol} then the parameter is lolol

org.bukkit.entity.Player
net.md_5.bungee.api.connection.ProxiedPlayer
net.md_5.bungee.api.ProxyServer