I wanna make mod for server using only

Started by Gsxt3ryo on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I wanna make mod for server using only
Sat, 07/15/2023 - 06:19 (edited)

I need help making a mod for Forge 1.18.2 (40.1.0) with the mod being inactive when playing single player

Edited by Gsxt3ryo on Sat, 07/15/2023 - 06:19
Joined Mar 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know if that's what…
Sat, 07/15/2023 - 14:17

I don't know if that's what you're asking but you can click on Workspace at the top left click on workspace settings (or ctrl+alt+p) go to "advanced settings" and click on "server side only"

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But it wasnt working
Tue, 07/18/2023 - 09:28

But it wasnt working

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
From what i know you don't…
Tue, 07/18/2023 - 17:07

From what i know you don't have to do anything. Your mod can't contain any code that needs client side (new entities, blocks, items etc). As long as your mod has only procedures and commands (both has to be server sided only, because there are some procedures and global triggers that need client), your mod should be considered by forge as server sided.