PAPI placeholders are now handled internally and only enabled if PAPI is on the server. The placeholder values are the same so you shouldn't need to change anything if you're updating from previous version. Just delete the expansion from the placeholderapi expansion folder.
Double checked that the plugin functions correctly on the newest versions of spigot.
Also, I did a complete rewrite to update the code to my new more experienced way of doing things which you don't care about
' at the beginning of the line it will be centered.
Code (Text):
#
# BAPlayerWelcome
#
#-------------------------------------------------------
# %PLAYER% - Will display the players name who's joining
# %PLAYER_COUNT% - Will display the total number of unique players to join.
#-------------------------------------------------------
SendMessage: true
Prefix: '&7[&aBAPlayerMessage&7]'
# Start the line with [center] to center the message. It MUST be at the beginning with no space before it.
# BAD: ' [center]this wont be centered.'
# GOOD: '[center]this will be centered.'
Message:
- ''
- '[center]&aLine 2'
- '[center]&aWelcome &b%PLAYER%'
- '[center]&aTotal players joined: %PLAYER_COUNT%'
- ''
############################################################
# DO NOT CHANGE THIS VALUE
# The plugin tracks the player count on its own.
# Unless you wanna be sneaky and make the number bigger.
#########################################################
PlayerCount: 0
I also did some organizational work with the code but you don't care as much about that.
Added /baplayerwelcome test
This allows you to test how the message will look ingame without having to remove a player and constantly have them rejoin.