iTzAyhamHD

API - placeholders.yml

Apr 13th, 2018
488
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.36 KB | None | 0 0
  1. # AdvancedPlayerInfo (PlaceholderAPI) configuration file
  2. # You can use any placeholder from CLIP's PlaceholderAPI.
  3. # Make sure that you've downloaded all the expansions from 'ecloud' and reloaded PlaceholderAPI plugin before using the palceholders in AdvancedPlayerInfo
  4. # Add as many placeholders as you like, it doesn't matter if you use % sign before and after the placeholder.. example: (%player_name% or player_name)
  5.  
  6. # By default you must download all these expansions (execute these commands) (this is the most used placeholders):
  7. # - /papi ecloud download player
  8. # - /papi ecloud download statistic
  9. # - /papi ecloud download server
  10. # - /papi reload
  11.  
  12. # Tutorial:
  13. # 1- Get any placeholder from: https://www.spigotmc.org/wiki/placeholderapi-placeholders/
  14. # 2- Make sure that you've downloaded the placeholder's expansion with '/papi ecloud download <expansion>'
  15. # 3- Add the placeholder to the list below like "<any custom name>: '<placeholder here with or without % sign>'"
  16. # 4- Now to use it you just need to put [] around the paceholder in the 'gui.yml' file like '[<placeholder here>]'
  17. # 5- Now you are ready
  18. # ** !NOTE: Do not use custom names (in placeholders.yml) that are already used in PlayerInfo custom variables like [player-name] or [player-ping] because this will break the variable.
  19. # ** !NOTE: Since we added PlaceholderAPI support, you can use statistic placeholders instead of [player-breakcount] [player-placecount] etc, it's better because these placeholder (statistic) gives you the player's information from his first join until now.
  20. # ** !NOTE: Make sure to execute '/pi reload' after you edit placeholder.yml file.
  21. # ** !NOTE: If you use any placeholder in the GUI and it didn't work, then make sure that you've downloaded the placeholder expansion and reloaded PlaceholderAPI plugin.
  22. # ** !NOTE: If Placeholders from PlaceholderAPI didn't work even if you downloaded the expansion and everything else you must set PlaceholderAPI to true in skellett plugin's config.yml (plugins/skellett/config.yml -> PlaceholderAPI : true).
  23.  
  24. placeholders:
  25. # any_custom_name: 'any placeholder from https://www.spigotmc.org/wiki/placeholderapi-placeholders/'
  26. displayname: 'player_displayname'
  27. player_name: '%player_name%' # It doesn't matter if you use % sign
  28. ping: 'player_ping'
  29. bMined: 'statistic_mine_block'
  30. sTPS: '%server_tps%'
  31. pEXP: 'player_exp'
Advertisement
Add Comment
Please, Sign In to add comment