TavstalDev / TShop2

SQL based async item and vehicle shop plugin for Unturned 3
GNU General Public License v3.0
3 stars 0 forks source link

Suspected useless storage? #6

Closed MaoMao520twit closed 4 months ago

MaoMao520twit commented 4 months ago

The DisplayName set in the database doesn't seem to be useful? (What is displayed in the UI is still set by the item file)

TavstalDev commented 4 months ago

If you speak about the DisplayName field in the icon folders then no, it is not an issue. It has nothing to do with the UI and it is not used anywhere except in the config file.

{
      "DispalyName": "0-2000", # <- this
      "FolderLink": "https://raw.githubusercontent.com/TavstalDev/Icons/master/Vanilla/",
      "MinItemId": 0,
      "MaxItemId": 2000
    }
MaoMao520twit commented 4 months ago

DisplayName

I see, I hope that DisplayName can be set to be the name in the store if it can

TavstalDev commented 4 months ago

Check the ui_shopname translation key in the translation files.

MaoMao520twit commented 4 months ago

ui_shopname

What I mean by this is to modify the name of each item in the UI through the database

TavstalDev commented 4 months ago

the name of each item in the UI through the database

It is not possible at the moment. I might add it.

MaoMao520twit commented 4 months ago

the name of each item in the UI through the database

It is not possible at the moment. I might add it.

Okay, thank you very much.