What to display above the shop? #866


  • Enhancment
  • Accepted
Open
  • kellerkindt created this issue Nov 26, 2016
    Owner

    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'.

  • kellerkindt added the tags Accepted Enhancment Nov 26, 2016
  • kellerkindt added an attachment 2016-11-29_19.27.53.png Nov 26, 2016

    2016-11-29_19.27.53.png

  • kellerkindt added an attachment 2016-11-29_18.10.38.png Nov 26, 2016

    2016-11-29_18.10.38.png

  • kellerkindt added an attachment 2016-11-28_23.23.16.png Nov 26, 2016

    2016-11-28_23.23.16.png

  • kellerkindt added an attachment Bildschirmfoto_vom_2016-11-27_02-39-53.png Nov 26, 2016

    Bildschirmfoto_vom_2016-11-27_02-39-53.png

  • kellerkindt edited description Nov 26, 2016
  • 1warlord1 posted a comment Nov 28, 2016

    Suggest to show the vault currency after price.

  • kellerkindt posted a comment Nov 28, 2016

    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 :)


    Edited Nov 28, 2016
  • RoboMWM posted a comment Nov 28, 2016

    @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.

  • 1warlord1 posted a comment Nov 29, 2016

    @The_PC_Tech_Guy: Go

    Ok, thanx, I'll keep it in mind. :)

  • kellerkindt posted a comment Nov 29, 2016

    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...

  • kellerkindt posted a comment Nov 29, 2016

    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


    Edited Nov 29, 2016
  • kellerkindt posted a comment Nov 29, 2016

    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

  • RoboMWM posted a comment Nov 29, 2016

    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.


    Edited Nov 29, 2016
  • kellerkindt posted a comment Nov 29, 2016

    @The_PC_Tech_Guy: Go

    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?


    Edited Nov 29, 2016
  • maverickhill posted a comment Nov 29, 2016

    Awesome work.


    Edited Nov 30, 2016

To post a comment, please login or register a new account.