Making Mod Multiplayer(Server) Compatible

Started by JujuBeans on

Topic category: Help with modding (Java Edition)

Last seen on 19:12, 14. Apr 2020
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making Mod Multiplayer(Server) Compatible

I just uploaded my first mod to Curse today, and already I have a few downloads(woot!). However, one person commented that they tried to use the mod on their server but it won't work since it is made for client side only. I didn't think of this, even though I was intending to use it on my own server. I assumed it would be server compatible. :/

I tried googling this and couldn't find any answers. So, how do you make a mod for server side? 

Last seen on 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What types of elements did
Fri, 09/16/2016 - 05:25

What types of elements did you use?

Last seen on 19:12, 14. Apr 2020
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I made food recipes, blocks,
Sat, 09/17/2016 - 22:28

I made food recipes, blocks, tools, and plants that spawn in the world. 

Last seen on 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
when the server crashes , it
Sat, 09/17/2016 - 23:04

when the server crashes , it should save some crash log , can I see it?

Last seen on 10:15, 29. Mar 2017
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I remember there being a
Sat, 09/17/2016 - 23:05

I remember there being a Server option on the MCreator with minecraft 1.7.10 and 1.8.9

Last seen on 19:12, 14. Apr 2020
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't have a log, since it
Sun, 09/18/2016 - 23:20

I don't have a log, since it was someone who downloaded my mod that told me. I haven't tried adding it to my server yet. 

This is what he said the crash screen displayed though:

cpw.mods.fml.common.LoaderException: java.lang.NoClassDefFoundError: net/minecraft/client/entity/EntityClientPlayerMP

Also, it does have an option to test the mod in a server environment, but I don't see an option to compile it for a server. 

Last seen on 10:15, 29. Mar 2017
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:I don't have a log, since it
Mon, 09/19/2016 - 00:38

@#5 yeah, i saw the Server Test Enviroment when i was messing around with my mod, i accidenly found it while trying to launch the Client Test Enviroment, whoops, ;P

haven't tried it though

Last seen on 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have some imagination what
Mon, 09/19/2016 - 05:13

I have some imagination what the problem is, I had something similiar in past but I need whole log to tell more.

Last seen on 19:12, 14. Apr 2020
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, I'll ask the person if he
Mon, 09/19/2016 - 17:22

Ok, I'll ask the person if he could give me a copy. I really would like people to be able to use it on their servers. 

Last seen on 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can I see code of mcreator
Tue, 09/20/2016 - 14:12

Can I see code of mcreator_wallpaperDonut?

Last seen on 19:12, 14. Apr 2020
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Where would I find it? I am
Tue, 09/20/2016 - 23:58

Where would I find it? I am in the Pylo/MCreator folders but not sure what next. 

Last seen on 17:17, 10. Jan 2024
Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You have some element with
Wed, 09/21/2016 - 04:48

You have some element with name wallpaperDonut. Just look to its code

Last seen on 19:12, 14. Apr 2020
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
http://pastebin.com/8McmpgKk
Wed, 09/21/2016 - 17:39

http://pastebin.com/8McmpgKk

I hope that's right. I never decompiled a class file before. lol. Maybe I'll actually start writing my own code instead of relying solely on MCreator. :D

Last seen on 22:52, 27. Oct 2017
Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just a little update I found
Sun, 10/08/2017 - 23:14

Just a little update I found after testing, Blocks and Mobs create problems on servers, but items, recipes work fine, plants also work fine, so I would advice sticking to them.