Flectone Logo FlectonePulse

PlaceholderAPI

Integration with the PlaceholderAPI plugin

Example

%server_tps%, %server_online% etc., if the corresponding module is installed using /papi ecloud download module

  • Adds its own placeholders
PlaceholderReturns
%flectonepulse_ip%Returns the player's IP address
%flectonepulse_online%Returns the number of players on the server
%flectonepulse_ping%Returns the player's ping
%flectonepulse_player%Returns the player's regular name
%flectonepulse_tps%Returns the server TPS
%flectonepulse_mute_suffix%Returns the player's mute suffix
%flectonepulse_afk_durationx%Returns the player's afk duration in seconds
%flectonepulse_afk_durationx_formatted%Returns the formatted player's afk duration in seconds
%flectonepulse_toponline_position%Returns the name of the player at that position by playtime. For example %flectonepulse_toponline_1% returns the top player by playtime
%flectonepulse_online_type%Returns the time for a specific type (first, last, total) in seconds. For example %flectonepulse_online_total% returns the total playtime in seconds
%flectonepulse_online_type_formatted%Returns the formatted time for a specific type (first, last, total). For example %flectonepulse_online_total_formatted% returns the total playtime in a formatted way
%flectonepulse_condition_name%Returns the result of the condition
%flectonepulse_fcolor_number%Returns the player's custom color
%flectonepulse_fcolor_out_number%Returns the player's custom color OUT
%flectonepulse_fcolor_see_number%Returns the player's custom color SEE
%flectonepulse_setting_name%Returns the value of a specific setting for the player

If setting is a SettingText, its value is returned.
Otherwise, it checks ModuleName; if enabled, returns yes, otherwise no

For example, %flectonepulse_setting_afk_suffix% returns the AFK suffix, and %flectonepulse_setting_module_message_chat% returns yes if the player has chat enabled, and no if not

⚙️ Setting

Path integration.yml → placeholderapi
placeholderapi:
  enable: true

enable

Enables or disables the functionality of the module


🔐 Permissions

Path permission.yml → integration.placeholderapi
placeholderapi:
  name: "flectonepulse.module.integration.placeholderapi"
  type: "TRUE"
  use:
    name: "flectonepulse.module.integration.placeholderapi.use"
    type: "OP"

name

Permission name

type

Permission type

TypeExplanation
TRUEAvailable to any player
FALSEAvailable to no one, must be granted separately (e.g., using LuckPerms)
OPAvailable to server operators
NOT_OPAvailable to NON-operators of the server

use

Permission to use placeholders from PlaceholderAPI in a message

On this page

Authors of page