Custom Placeholders

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();
circle-info

See more player functions in here org.bukkit.entity.Playerarrow-up-right

circle-exclamation

server

this returns the server instance

circle-info

See more server functions in here org.bukkit.Server

circle-exclamation

param

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

Last updated