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.

BillehBawb

Members
  • Joined

  • Last visited

  1. So I know what to do, so far none of our conversation on this thread has helped me
  2. Can I have a code example?
  3. Yes, I know what a class and field is. If I try NetHandlerPlayClient.playerInfoMap it throws errors because it doesn't exist.
  4. Use the nethandle client thing. I have no idea what you mean when you say that.
  5. The mod is made so that people can use a command to add a username to the database. When the mod user joins a server it loops through everyone on the server and then if it finds someone with a username in the database it displays some text on the screen that they are in the database for a few seconds. https://hastebin.com/gocegupiko.swift = Join class https://hastebin.com/uhuxajapec.php = Name checker https://hastebin.com/kaqocaqelo.cs = SQL Connection thing
  6. It sets a value in the main class to true, which does something else.
  7. Ok, then how do I do it on the server?
  8. I have a MySQL database that has a list of usernames in it. When the mod user connects to a server I want it to check through all the players and see if they are in the database.
  9. I need to have it so that when a player joins a server it gets a player list of the world they are currently in.
  10. That only runs for singleplayer as far as I can tell. I cannot get it to run when joining a multiplayer server. And you don't know what my mod is about or what it does. It has to be in 1.8.9.
  11. I was just wondering, I have an event that is a ClientConnectedToServerEvent because I couldn't find any better event that gets when the player connects to the server. I need to get the world the player joins when this event fires, how do I do this?
  12. Bump, I still cant get the connector to compile with the jar

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.