Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.