SpongeForge icon indicating copy to clipboard operation
SpongeForge copied to clipboard

world/data/scoreboard.dat not updated when using SpongeForge

Open diluvium opened this issue 9 years ago • 5 comments

I've been trying to add a death counter to the tab screen when using spongeforge-1.11.2-2227-6.0.0-BETA-2260.jar

commands

scoreboard objectives add Deaths deathCount [20:07:34] [Server thread/INFO]: Added new objective 'Deaths' successfully scoreboard objectives setdisplay list Deaths [20:07:45] [Server thread/INFO]: Set the display objective in slot 'list' to 'Deaths'

With SpongeForge installed, the scoreboard.dat isn't updated, neither after the commands are entered nor when the server is stopped, so the death counter doesn't persist. Without Sponge, the appropriate entries are added to the file, and the death counter is there after a restart..

diluvium avatar Mar 29 '17 19:03 diluvium

This happens also for teams, and other info saved in the scoreboard file, the only scoreboard that don't reset when server is stopped is tags, maybe because this is stored in the indivual player.dat file.

Autopoietico avatar May 25 '17 08:05 Autopoietico

Hello, i have the same problem, also there is any fix atm ? Thanks !

Flashback083 avatar Jun 22 '17 05:06 Flashback083

Sorry for the excessively long delay in getting to this. It should be fixed in the latest SpongeForge.

For reference, the issue was first introduced in https://github.com/SpongePowered/SpongeCommon/commit/092d4cb2f5f56f93f90e6730623d88797f77e33b#diff-851d4e94ff55a5d4a5e26f97ac746111R294.

Aaron1011 avatar Jun 22 '17 07:06 Aaron1011

I test the spongeforge-1.10.2-2281-5.2.0-BETA-2401.jar version but its seems doesnt work, i need to delete scoreboard.dat before the update ? Sorry ^^'

Flashback083 avatar Jun 22 '17 15:06 Flashback083

the fix was only applied for 1.11 and 1.12 by the looks of it, backport? @Aaron1011

~~edit: actually the 1.12 version didn't pass travis, so the fix is only out for 1.11 right now~~ fix is still missing for stable-5

phit avatar Jun 22 '17 15:06 phit