Jump to content

Recommended Posts

Posted (edited)

Hi there, I'm happy to join the MCForge community today :)

 

I'm actually looking for creating a mod which allow players to create custom description for their character (Roleplay server), It's a complicated object, which handle several layers of description (not a simple string)

So I have my Capability classes, and i'm using a basic serializer to save it as a json string.

 

On the other side, I sucessffuly created a custom GuiScreen, with many inputs to edit the description and create new layers (But I didn't create any server/client interaction to open it.... Did I miss something ?)

 

 

But now, i'm struggling to get the next step with the server/client architecture :

 

_ What did I need to store the Capabilities on the server side (one per player), and send it to the Client to let him make some modifications (via my GuiScreen) ?

 

I Want to allow any players to right-click on another player, get his description, and make some modification on it, so what's the next things that I have to looking for ?

 

I can find detailed infos by myself, I just want to have a clear view of what I will need to make that works (And If you guys, can teach me a bit of how Client/server works, it will be great for me :)) )

 

 

 

Edited by Durzann

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.