⚙️
Fine Software
  • ❤️Fine LifeSteal
    • Quick setup
    • Configuration
    • Migrating from v8 placeholders
Powered by GitBook
On this page
  • Why you should migrate from v8 placeholders to newer?
  • What are the new placeholders?
  • How to replace old placeholders with new placeholder
  1. Fine LifeSteal

Migrating from v8 placeholders

Hello, on this page i will let you know how to migrate from v8 placeholders. I know there is version V9.1 what still had these placeholders like {amount}, {sender} and more.. but don't worry.

PreviousConfiguration

Last updated 2 years ago

Why you should migrate from v8 placeholders to newer?

You should migrate because from V9.2 these placeholders are removed and won't be supported. From version V9.2 you can also use lot more placeholders.

What are the new placeholders?

All new placeholders are on this link . You can also use placeholders that are in other plugins, for example ChatColor+ you can use all these placeholders in Fine LifeSteal.

How to replace old placeholders with new placeholder

You can't use %player_placeholder% because not everywhere it is usable. If you need to use somewhere%player_placeholder% just send it on support on our discord server ().

Okay, this is simple and easy, there will be always string with new and old placeholders (something like that) old placeholder -> new placeholder.

// messages.player-revived: '&cLS &a>> &7You revived player &c{player}&7.'

Instead of {player}, use %player_name%.

// messages.player-revived: '&cLS &a>> &7You revived player &c%player_name%&7.'

// messages.hearts_get: '&cLS &a>> &7You get &c{amount} &7hearts from &a{sender}&7.'

Instead of {sender}, use %player_name% (This bit different because there is example of alternative).

I know there is not {amount} and thats bit sad but you can use alternative placeholder %player_max_health% so you can get player's max amount of heart. (This should print player's max health after change).

This is same for messages.hearts_sent, you can't use {amount} so use its alternative.

// messages.hearts_get: '&cLS &a>> &7You get some hearts from &a%player_name%&7 your new amount of hearts is %player_max_health%.'

// messages.hearts_sent: '&cLS &a>> &7You sent &c{amount} &7hearts to &a{target}&7.'

Instead of {target}, use %player_name% (This bit different because there is example of alternative).

// messages.hearts_sent: '&cLS &a>> &7You sent some hearts to &%player_name%&7 your new amount of hearts is %player_max_health%.'
❤️
[LINK]
https://discord.com/invite/33NZjCM4kJ