Serverside mod requiring clients to have?

Started by GenericMeme on

Topic category: Troubleshooting, bugs, and solutions

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Serverside mod requiring clients to have?

Under my Workspace settings I have the "Server side only" box checked. Upon placing my mod in the server it disconnects everyone due to mod mismatch.

 

Currently my mod only does 3 things.

1. Patch an Elytra dupe on my server

screenshot

 

2. Puts a message in chat when you leave a dimension

screenshot

3. Puts a message in chat when the server unloads a world

screenshot

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I can not seem to find…
Mon, 06/07/2021 - 16:13

I can not seem to find information about how to make my mod server side only or allow any remote acceptable version to connect to the server.

I've edited my @mod line and when I make it look like this I get build errors and it asks me if I want to regenerate or ignore

@Mod(modid = "genericmod", name="genericmod2", version="1.0.0", serverSideOnly = true, acceptedMinecraftVersions = "*")