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

Ok so i made a gui that opens up when you press a button, it shots like level, exp, stats ect ect, how do i call these int variables from a plugin or must i set them for every player via the mod ?

This needs more explanation.

 

GUIs are client sided displays. You don't call values FROM them. You put values INTO them (onto display).

 

Do I understand correctly - you have server-sided plugin that holds values about players (stats), and you want to display those values in player's GUI (as Forge mod)?

 

What API is your plugin using?

 

Basically you will need to setup packets server->client.

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

  • Author

pretty much, i have spigot 1.8 for forge 1.8, i have the gui, and i want to insert values obtained from a plugin.

Could I ask "Why??????".  Why are you using another Client side mod system instead of just doing it all in Forge.  Or perhaps, spigot has changed since I last messed with it. 

 

If you have just Forge questions, we can probably help.  If you are looking for spigot, need to look elsewhere.

Long time Bukkit & Forge Programmer

Happy to try and help

I think they have a server (that doesn't run forge) and they want players to be able to log in without forge. BUT they can install an optional client mod to improve their experience. That's what I gathered from the post

  • Author

i had no idea im able to do this all in forge :o if i can make guis, and scoreboards on the screen then no need at all for spigot!

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.