Jump to content

What can be done server-only?


Bydon873

Recommended Posts

I'm wondering what could be done in a mod that is placed in the server only, not the client, and what couldn't?

I know that GUIs are a no for server-side, but what else?

And for example, let's say I have other mods the server and client (let's use thaumcraft as an example) and I were to hook into the thaumcraft API on the server, could I change the behavior of a block? Say, make a node with infinite aspects?

Link to comment
Share on other sites

Question is too broad for you to get cover-all answer.

 

Vanilla client is designed to be able to interpret data sent from server.

Server loads/saves/computes data which is send to client to show to player, ANYTHING that client was not designed to do, well - can't be interpreted.

 

Note that you can use client's code to represent something it was not directly designed to show.

E.g: you can use vanilla GUIs to represent custom server inventories. Since client cannot interpret custom packets, you can only use vanilla ones.

 

Server mods can do pretty much anything they want, problem is that clients wont be able to display it or even crash trying.

E.g: Making custom entity in server mod would be problem since client wouldn't be able to spawn it locally (since it doesn't have it), BUT - with ASM you could edit server in a way to tell clients to spawn zombies as representation of custom entities with stats (health, speed, etc) set by server. But that still won't give you full experience sice not every entity is zombie-like (or other vanilla entity).

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.