PlaceholderApi support - Norbit4/DiscordMc GitHub Wiki

How to add PlaceholderApi?

  • Download the plugin PlaceholderAPI
  • Drop the plugin into the plugins folder

Placeholders that DiscordMc adds

Placeholder Display
%discordmc_user_dc_name% discord name
%discordmc_user_is_sync% is user sync info
%discordmc_user_full_dc_name% discord name with # numbers

Placeholders in config

  • Install PlaceholderApi module

ex:

Server module:

cmd: /papi ecloud download Server

  • Add placeholders to config:

ex:

#config.yml ~ DiscordMc

embed-info:
  # 'TITLE//DESC'
  - 'Online://{SERVER_ONLINE}/{SERVER_MAX_PLAYERS}'
  - 'Up Time:// {SERVER_TIME}'
  - 'Tps:// %server_tps%' 


  • Restart server

note: ⚠️ stop & start, dont use /reload cmd!