DSH105 / HoloAPI

Add Holograms to your Bukkit server!
http://dev.bukkit.org/bukkit-plugins/holoapi/
GNU General Public License v3.0
31 stars 16 forks source link

Playercount placeholder overwrites user text #94

Closed recon88 closed 10 years ago

recon88 commented 10 years ago
type: text
value: 'Players online: %serveronline:server%'

Results in just the "playercount" and overwrites my text. Is that intended? Also would it be possible to add "playercount/maxplayers" instead of just "playercount" ?

stuntguy3000 commented 10 years ago

If you mean max players, no. Do you mean the entire line is set to "playercount" ?

DSH105 commented 10 years ago

@recon88 We'll see what we can do :)

cnr commented 10 years ago

@recon88 The "maxplayers" thing sadly can't be done -- bungeecord doesn't offer an API for that

recon88 commented 10 years ago

I saw several servers having playercount/maxplayers as holo. So I'm pretty sure it's possible somehow. They were using a custom version of another holo plugin. Or they just modified the bungee api.

recon88 commented 10 years ago

Nevermind, they probably just added the maxplayers count by hand which wasn't possible with HoloApi before you fixed the bug in this ticket. I'll just use "%serveronline:server%/100" for now :)