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.

Trusak

Members
  • Joined

  • Last visited

  1. Now there is a smiley in front of it . ☺
  2. It works with the Eclipse Client but when I use the normal Minecraft 1.8.9 client, it deforms. EDIT: The §a deforms into ï¿1/2a
  3. Emphasis on "You are expected to have basic knowledge of Java before posting here." Ye sorry, I will stop asking questions on this forum but can you help me with the last question?
  4. That is what I am trying to do! ^^ One more quick question, is it possible to replace a word in a String with a ChatCode? I tried to do prop = prop.replace("&a", EnumChatFormatting.GREEN); and prop = prop.replace("&a", "§a"); , but the first one isn't working and the second one seems to only work with the Client from Eclipse, not the regular one (Why though?). I am so sorry for being annoying!
  5. Oh well, didn't expect that to be the problem, thanks!
  6. and you asked how to fix it What is different between your and my code?
  7. How to fix that? If I understood that right, I should create the booleans in the config first. Like that: Property PMs = config1.get("Booleans", "PMs", false); ?
  8. public static Configuration config1= new Configuration(); @EventHandler public void preInit(FMLPreInitializationEvent event) { Configuration config1= new Configuration(event.getSuggestedConfigurationFile()); config1.load(); FastExamples.NotResetVariables.PMs = config1.get("Booleans", "PMs", false).getBoolean(); FastExamples.NotResetVariables.instantRejoin = config1.get("Booleans", "InstantRejoin", false).getBoolean(); FastExamples.NotResetVariables.showPartyChat = config1.get("Booleans", "PartyChat", false).getBoolean(); FastExamples.NotResetVariables.showGuildChat = config1.get("Booleans", "GuildChat", false).getBoolean(); config1.save(); proxy.registerClientStuff(); }
  9. Any idea what to do about the config error?
  10. I've also tried checking for null before it activates but it is still crashing if(Clean.Coins.CC.config1 != null){ Clean.Coins.CC.config1.save(); } Also, just a random question, does anyone know why String[] splittedMessage = msg.split(")"); isn't working when it is ")" but is working when it is something different?
  11. Yes, I checked that but the line that makes the error is Clean.Coins.CC.config1.save(); and Clean.Coins.CC.config1 != null
  12. After doing everything I got this error: Code: Button: if(button == button25) { boolean State3 = FastExamples.NotResetVariables.PMsEnabled(); Minecraft.getMinecraft().displayGuiScreen(new GUI()); Property prop = Clean.Coins.CC.config1.get("Booleans", "PMs", false); boolean PMs = prop.getBoolean(); prop.set(!PMs); Clean.Coins.CC.config1.save(); } preInit: Configuration config1= new Configuration(event.getSuggestedConfigurationFile()); config1.load(); FastExamples.NotResetVariables.PMs = config1.get("Booleans", "PMs", false).getBoolean(); config1.save();

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.