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.

DieserChris

Members
  • Joined

  • Last visited

Everything posted by DieserChris

  1. Thanks for the tipp. Works like a charm!
  2. Hey, I'm writing a server-side mod, that has to be able to kick a player. I tried using the following code: final ServerPlayer player = event.getServer().getPlayerList().getPlayerByName(ev.getUser().getId()); Objects.requireNonNull(player).disconnect(); But, the player never get's kicked / disconnected from the server. How do I kick a player from the server? EDIT: I'm using MC Version 1.18.2
  3. Hey, I need to add a local jar file as a dependency. Currently I'm doing it the following way: build.gradle: dependencies { // [...] minecraft 'net.minecraftforge:forge:1.18.2-40.1.85' // [...] implementation files("chronos_lib/chronos-shared-1.0-SNAPSHOT-all.jar") } While developing, this seems to work, but the contained classes aren't available at runtime - ClassNotFoundException. How can I make the jar available at runtime?
  4. What would be an excellent approach to store a custom file on the server? To give some context: I'm working on a utility mod that requires me to save display names, balances & a crime stat. The data needs to be persistent, and I don't want to use a database.

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.