Multiplayer compatibility

Started by ElMineToFlama on

Topic category: Help with MCreator software

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Multiplayer compatibility

Hi, I created a simple mod that adds only one command. When you use it, it displays text in the chat. The problem is that this mod only works on singleplayer and I would like to use it on any server. When I go to any server, the server doesn't recognize the command, but there are mods that works on servers (like XRay) and I would like to use my mod on servers too. To display the text in the chat, I used the "send to chat to all players" block. I searched on a lot of pages but I can't fix it. Please help, I'm new to modding.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mods adding blocks, items,…
Sun, 05/10/2020 - 02:46

Mods adding blocks, items, commands, etc are server side, so they have to be placed inside the folders of the server, and users have to load them inside their own mods folder. Mod like X-RAY or Optifine are client side only, so you can use them even if they aren’t on the server.

Joined May 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But there are mods that adds…
Sun, 05/10/2020 - 19:55

But there are mods that adds commands and can be used in a vanilla server, how did they do it?

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
not just? how?
Wed, 11/10/2021 - 18:23
not just? how?