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 was making a command to show the player history names, everything is okay with the command. The command is: "/checkname"(aliases: /name) but when player say on chat "checkname"(or the command aliases) the command run. Have a method to cancel it and just when player type: "/checkname" the command run?

Thanks.

  • Author

Here the register command code: 

ClientCommandHandler.instance.registerCommand(new CheckNameHistoryCMD());

 

And I just remove the @Override above the compareTo or I need return a another int?

Edited by Snaking

  • Author
3 minutes ago, diesieben07 said:

Client commands are broken like this at the moment unfortunately. There was a pull request for it (#3360), but it seems it was abandoned. I will make a new one.

But I my mod is 1.8.9 version. Maybe the mod version I use is abandoned too?

  • Author

Cause if yes, I wanted to know if you had the same issues than me. Cause I really don't know what cause it, does not make sense, Cause it's a command, and it wotk without "/"

  • Author
2 minutes ago, diesieben07 said:

Like I already said, it is a known bug with client commands. There was a PR to fix it (I linked it above). I now made a new one (#3847).

Okay, Maybe I try use other versions, Or I just stay with this, cause is just if sender send the message on chat. Thank you.

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.