This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Currently only the price is shown (see picture), in the future, also the type (SELL, BUY, EXCHANGE) shall be somehow visible. Feel free to post ideas below. Can be disabled in the configuration by setting 'Visible.CustomName' to 'false'.
Suggest to show the vault currency after price.
With b784 one can now set a custom text with '/scs hovertext text to display' and remove it with '/scs hovertext'. By default a text from the locale file is displayed (see screenshot, green is default, yellow custom). One can disable it by setting the configuration accordingly:
HoverText: Enabled: true PlayerCustomNameEnabled: true PlayerCustomNameMaxLength: 32
Also thanks @RoboMWM / @The_PC_Tech_Guy who is actively giving ideas on github :)
@Lammendam: Go
This is likely unnecessary, since the message is customizable, but not a bad idea for a default configuration.
Either way, I'm sure you want the symbol prepended, not appended.
@The_PC_Tech_Guy: Go
Ok, thanx, I'll keep it in mind. :)
Since b784 its supposed to be formatted by the economy plugin that is used, so if you have configured your economy plugin correctly it should already display your currency...
Long texts seem to be ... not optimal (see latest screenshot)... Maybe only the price? So like "1.22$" or something? With different colors for buy/sell
In the current version b789, different type of shops get different colors (yellow for sellshop, green for buyshop, blue/aqua for exchangeshop. Also if the default format text is too long (configurable with 'HoverText.BalanceMaxLength', default 7) another formatter is used ('HoverText.BalanceFormatter') which then looks like in the latest screenshot
FYI, if you're going to put the currency symbol in there, prepend it instead of appending it (i.e. put the currency symbol before the price, not after)
Regarding long text - yea, that's why I only wanted to use the item name. Though I've had people work around this before (when I used another plugin) by staggering the layout in their shop instead of just a linear row of items.
One can set 'HoverText.BalanceFormatter' to whatever one wants. Currently it is '%.2f$', prepending would be'$%.2f'. Is this common while using $? In Germany we append the € sign. Maybe I should move it to the locale file after all?
Awesome work.
To post a comment, please login or register a new account.