nilsso Posted July 27, 2025 Report Posted July 27, 2025 Hi there What exactly makes a mod a "client side" mod? I figure it's more than just including "side": "client" in the modinfo. I'm more specifically wondering about the Juicy Ores mod and why it's not running for me on a friend's multiplayer server. All I've really tried is replacing the "side" in the mod info with "client", but to no avail. Is it because it's a client side "content" mod and not a code mod? Thanks
Spear and Fang Posted July 29, 2025 Report Posted July 29, 2025 (edited) it is often difficult to distinguish between what is client side and what is server side. In the case of Juicy Ores though, when I run it and look at the client-debug.log, it provides some clues note the "This asset is usually only loaded Server side" messages below. To improve the mod (as in, suppress those messages), those patches would all have another entry "side": "server", which would also immediately tell you when looking at those files that they are server side patches. 29.7.2025 09:38:38.844 [VerboseDebug] Patch 0 in juicyores:patches/survival-blocktypes-stone-ore-gem.json: File game:blocktypes/stone/ore-gem.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.844 [VerboseDebug] Patch 1 in juicyores:patches/survival-blocktypes-stone-ore-gem.json: File game:blocktypes/stone/ore-gem.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.844 [VerboseDebug] Patch 2 in juicyores:patches/survival-blocktypes-stone-ore-gem.json: File game:blocktypes/stone/ore-gem.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.844 [VerboseDebug] Patch 3 in juicyores:patches/survival-blocktypes-stone-ore-gem.json: File game:blocktypes/stone/ore-gem.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.844 [VerboseDebug] Patch 4 in juicyores:patches/survival-blocktypes-stone-ore-gem.json: File game:blocktypes/stone/ore-gem.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.844 [VerboseDebug] Patch 0 in juicyores:patches/survival-blocktypes-stone-ore-graded.json: File game:blocktypes/stone/ore-graded.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.844 [VerboseDebug] Patch 1 in juicyores:patches/survival-blocktypes-stone-ore-graded.json: File game:blocktypes/stone/ore-graded.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.844 [VerboseDebug] Patch 2 in juicyores:patches/survival-blocktypes-stone-ore-graded.json: File game:blocktypes/stone/ore-graded.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.844 [VerboseDebug] Patch 3 in juicyores:patches/survival-blocktypes-stone-ore-graded.json: File game:blocktypes/stone/ore-graded.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.844 [VerboseDebug] Patch 4 in juicyores:patches/survival-blocktypes-stone-ore-graded.json: File game:blocktypes/stone/ore-graded.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.844 [VerboseDebug] Patch 5 in juicyores:patches/survival-blocktypes-stone-ore-graded.json: File game:blocktypes/stone/ore-graded.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.845 [VerboseDebug] Patch 0 in juicyores:patches/survival-blocktypes-stone-ore-ungraded.json: File game:blocktypes/stone/ore-ungraded.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.845 [VerboseDebug] Patch 1 in juicyores:patches/survival-blocktypes-stone-ore-ungraded.json: File game:blocktypes/stone/ore-ungraded.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.845 [VerboseDebug] Patch 2 in juicyores:patches/survival-blocktypes-stone-ore-ungraded.json: File game:blocktypes/stone/ore-ungraded.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.845 [VerboseDebug] Patch 3 in juicyores:patches/survival-blocktypes-stone-ore-ungraded.json: File game:blocktypes/stone/ore-ungraded.json not found. Hint: This asset is usually only loaded Server side 29.7.2025 09:38:38.845 [VerboseDebug] Patch 4 in juicyores:patches/survival-blocktypes-stone-ore-ungraded.json: File game:blocktypes/stone/ore-ungraded.json not found. Hint: This asset is usually only loaded Server side Something like that. Edited July 29, 2025 by Spear and Fang
xXx_Ape_xXx Posted July 29, 2025 Report Posted July 29, 2025 A quick read on this page will explain most of what makes a mod client or server only, or universal. Modding: Asset System
nilsso Posted July 30, 2025 Author Report Posted July 30, 2025 Thanks for pointing out client-debug.log and the asset system reference. I wish I had read the startup sequence section of the Understanding the VS Engine page earlier. Quote When the server is ready and the client is ready to connect - the server will send a number of assets to the client. All blocks, items and entities (respective folders: blocktypes, itemtypes & entities) are only loaded server side and then sent to each client. Conversly the textures, shapes and sounds are (mostly) ignored by the server and only loaded on the client. Thanks again. Looks like I'll have to convince my pal to install juicy ores on the server then.
Recommended Posts