Globox1997 / LevelZ

https://modrinth.com/mod/levelz
https://www.curseforge.com/minecraft/mc-mods/levelz
GNU General Public License v3.0
51 stars 50 forks source link

LevelZ on Server using localconfig #102

Closed OFVGuest closed 2 years ago

OFVGuest commented 2 years ago

While playing in a server, levelz server config does not overwrite the local config.

Icyvexen commented 2 years ago

I can also confirm this to be the case

How to reproduce:

It will show you only need 50 xp to the next level, and get a point at the 50 xp versus the much larger actual value

I had played for a few dozen hours having adjusted the XP rates thinking it had updated only to realize at level 100 that the math showed it was not updated correctly.

For my instance, the server AND the client were on the same machine, but a dedicated server instance was used to run the server. This behavior was also noted by those connecting to the server outside the local network.

Used Valhelsia: Enhanced Vanilla 1.0.5

Globox1997 commented 2 years ago

levelz-1.3.1.zip Can you guys test this? (unzip the file) The client doesn't override server settings, the issue is here that the level system takes client input which leads to this issue

Coyote21 commented 2 years ago

Another confirmation, same issue. Also tested the 1.3.1 version posted above. Made no difference, although I only tested by changing the maxLevel in the client version of levelz.json5 to 20 (left the server version at 40) and restarted both server and client, just to be sure. Client and server are on separate machines.

In-game GUI showed only 20 levels available.

Current work around is to just send the correct levelz.json5 config file to all the clients, fortunately they know how/where to put the config file.

Globox1997 commented 2 years ago

levelz-1.3.1.zip That should now definitely work :D

Coyote21 commented 2 years ago

Only tested maxLevel again, but yes, this version now works.

Been working with this mod a bit now and just want to also say, Great Work! I'm really enjoying it, Thanks.

Globox1997 commented 2 years ago

This is fixed with the latest update

Kelo111 commented 2 years ago

what about 1.19 ???

Globox1997 commented 2 years ago

@Kelo111 this is fixed in 1.19 too

Kelo111 commented 2 years ago

for me doesnt work i have an aternos server and i edit the config it doesnt do anything @Globox1997

Globox1997 commented 2 years ago

do you edit the config on the server or the client while playing on the server?

Kelo111 commented 2 years ago

@Globox1997 i edit server config

Globox1997 commented 2 years ago

Are you talking about all settings or specific ones?

Kelo111 commented 2 years ago

@Globox1997 all of them