EncryptSL / LiteEco

Minecraft Economy Plugin works with vault.
19 stars 8 forks source link

[Bug]: Prefix & Name of Currency not updating in game chat #73

Closed jilienecircelli closed 3 months ago

jilienecircelli commented 7 months ago

What happened?

Hello,

I have my config file set with a custom prefix and name for the currency which is saved, but in game chat, the prefix and name are set to the default.

We recently updated to the latest version and it seems it only started after we updated.

ecolite_ingamechat_issue ecolite_config_issue

Plugin Version

1.4.1-SNAPSHOT

You detected problem on this server platform ?

PaperMC

Version /version - output

LiteEco version 1.4.1-SNAPSHOT
LiteEco is an economy plugin using VaultAPI
Website: https://encryptsl.cekuj.net
Author: EncryptSQL
Contributors: LcyDev

Relevant log output

[15:05:32] [Server thread/INFO]: [LiteEco] Enabling LiteEco v1.4.1-SNAPSHOT
[15:05:32] [Server thread/INFO]: [LiteEco] ###################################
[15:05:32] [Server thread/INFO]: [LiteEco] #       PlaceholderAPI Found      #
[15:05:32] [Server thread/INFO]: [LiteEco] #   You can now use placeholders  #
[15:05:32] [Server thread/INFO]: [LiteEco] ###################################
[15:05:32] [Server thread/INFO]: [PlaceholderAPI] Successfully registered internal expansion: liteeco [2.0.5]
[15:05:32] [Server thread/INFO]: [NexEngine] Successfully hooked with LiteEco economy
[15:05:32] [Server thread/INFO]: [LiteEco] ###################################
[15:05:32] [Server thread/INFO]: [LiteEco] # Vault registered like a service #
[15:05:32] [Server thread/INFO]: [LiteEco] ###################################
[15:05:32] [Server thread/INFO]: [LiteEco] ###################################
[15:05:32] [Server thread/INFO]: [LiteEco] #       Treasury not Found        #
[15:05:32] [Server thread/INFO]: [LiteEco] #   For better experience please  #
[15:05:32] [Server thread/INFO]: [LiteEco] #    download treasury or vault   #
[15:05:32] [Server thread/INFO]: [LiteEco] ###################################
[15:05:32] [Server thread/INFO]: [LiteEco] You are using current version !
[15:05:32] [Server thread/INFO]: [LiteEco] Registering commands with Cloud Command Framework !
[15:05:32] [Server thread/INFO]: [LiteEco] Bukkit Listener AccountEconomyManageListener registered () -> ok
[15:05:32] [Server thread/INFO]: [LiteEco] Bukkit Listener PlayerEconomyPayListener registered () -> ok
[15:05:32] [Server thread/INFO]: [LiteEco] Bukkit Listener AdminEconomyGlobalDepositListener registered () -> ok
[15:05:32] [Server thread/INFO]: [LiteEco] Bukkit Listener AdminEconomyGlobalSetListener registered () -> ok
[15:05:32] [Server thread/INFO]: [LiteEco] Bukkit Listener AdminEconomyGlobalWithdrawListener registered () -> ok
[15:05:32] [Server thread/INFO]: [LiteEco] Bukkit Listener AdminEconomyMoneyDepositListener registered () -> ok
[15:05:32] [Server thread/INFO]: [LiteEco] Bukkit Listener AdminEconomyMoneyWithdrawListener registered () -> ok
[15:05:32] [Server thread/INFO]: [LiteEco] Bukkit Listener AdminEconomyMoneySetListener registered () -> ok
[15:05:32] [Server thread/INFO]: [LiteEco] Bukkit Listener PlayerJoinListener registered () -> ok
[15:05:32] [Server thread/INFO]: [LiteEco] Bukkit Listener PlayerQuitListener registered () -> ok
[15:05:32] [Server thread/INFO]: [LiteEco] Listeners registered (10) in time 8 ms -> ok
[15:05:32] [Server thread/INFO]: [LiteEco] Plugin enabled in time 607 ms
EncryptSL commented 7 months ago

Hello dear, @jilienecircelli

I can't reproduce your issue. Are you sure, you using command /eco reload ? Your issue is same after save config and restart server ?

jilienecircelli commented 7 months ago

Hello, @EncryptSL,

Yes I have restarted the server and used /liteeco:eco reload. I do have the Eco Enchants plugin installed (plus other eco plugins by the same developer) so I didn't use /eco for your plugin to reload. I am not sure if that is causing an issue with this.

I restarted the server this morning and checked, the config.yml does still have the correct prefix and name listed in it. But when we run /bal or the other commands for checking players money, it still shows the default settings.

alec-jensen commented 4 months ago

I also have this issue

EncryptSL commented 3 months ago

I still can't reproduce this issue, probably is your issue fixed in 1.4.3-SNAPSHOT

Download link: Click to Update

alec-jensen commented 3 months ago

Ok, I was able to fix this issue myself by copying over the config from https://github.com/EncryptSL/LiteEco/blob/main/src/main/resources/config.yml The config values in the wiki are wrong.

EncryptSL commented 3 months ago

Wiki is now updated.