Zarius / Bukkit-OtherBlocks

OtherBlocks (now known as OtherDrops) plugin for Bukkit (dev build: https://www.mediafire.com/?i6ows1g6kus2o0l)
http://dev.bukkit.org/server-mods/otherdrops/
GNU General Public License v3.0
17 stars 17 forks source link

Issues with Displaying money% in 2.8-beta #319

Open DarthMarkain opened 10 years ago

DarthMarkain commented 10 years ago

Hay there, first of thanks for the awesome (and i do mean awesome) plugin, having a bit of an issue with it though.

using 2.8-beta

Ok, so the aim is to have players lose 5% of their money on re-spawn, and have a message telling them how much they lost.

The losing 5% of their money works, having issues displaying the amount lost.

So, for the 5% working we have

player:
    - trigger: player_respawn
      money: -5%
      message: "&eWell, that went badly... Worse yet you lost &9%q &eCog's"

Now, I realise that I am missing an actual quantity so %q won't work to display the amount lost. Looking though the documentation I cannot find what to replace it with. Is this doable at this time, if so what do I need to do?

If not, could it become doable? It would be greatly appreciated as it seems to be doable using the money@percentpenalty drop in older versions. (which I think would look like this:

player:

or something very close)

Many thanks - DarthMarkain