Jump to content

[1.11] Client-Side only mod ?


Franckyi

Recommended Posts

Hi,

My mod is a simple GUI mod to edit some properties of an item.

Basically, this is how the mod works :

-> The player selects an item and press a hotkey 
-> GUI Opens
-> A packet is sent to the server with informations about the selected item (position in the inventory)
-> The player changes values in the GUI 
-> The player press "Done" button 
-> GUI Closes 
-> A packet with updated informations is sent to the server 
-> The server updates the item

The server doesn't do much but the mod still have to be installed on the server, or it won't work. Is there a way to make the mod client-sided only ?

Link to comment
Share on other sites

-> The server updates the item

 

That's not happening without a server mod. In general, the server is authoritative (keeps "real" data on a world and makes decisions about what to change) while clients are GUI terminals (display what the server says, and relay player input to the server for interpretation).

 

For the most part, the only local control is over display parameters. Hence, client-only mods tend toward X-ray vision hacks that can get you perma-banned from most servers. For that reason, every time someone shows up here asking about client-only modding (an attempt to circumvent server authority), it attracts special interest and (sometimes stern) warnings.

 

However, there are some useful information mods like recipe look-up that don't need anything on the server. If you wanted to do something like that, then you might find help here.

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

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.