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.

Snaking

Members
  • Joined

  • Last visited

Everything posted by Snaking

  1. 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.
  2. 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 "/"
  3. You already make commands in 1.8.9 version?
  4. But the 1.8.9 Is the command bug?
  5. But I my mod is 1.8.9 version. Maybe the mod version I use is abandoned too?
  6. 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?
  7. Here my code: https://hastebin.com/ironamafix.java
  8. 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.
  9. @diesieben07 This example you sent, I can use in all of my code or this is just when play join on server?
  10. I can use a HashMap to save the player?
  11. Well, I want just delay messages. Like as I said: //When the player join in a server will send (examples): sendMessage("Message#1"); //And this second message I wanted like 2secs delay: sendMessage("Message#2 With 2sec delay");
  12. Hm, The message who are sending is within a method I have created, And I call this method in an event
  13. Oh, one of delay is to send message to player, Like 2/4 sec delay. Does each method have a specific way of using the delay?
  14. I wanted a delay to read the line below the code, I would use this in several places of the code. Basically it would take a few seconds to send a pro player message(This is one of the things I want with delay) I was using Thread to delay it, But use more than 1 Thread in the same method will be bad
  15. Like on command or on tickEvent
  16. But, what event I use to count ticks?
  17. Hello there, I wanted to know how can I put a delay in my code like: (without use Timers ) //First message: sendMessage("1"); //I want to show this message 3 seconds after the first sendMessage("2"); Thank you.
  18. Well, I did it. Thank you guys!
  19. I was trying to look for something that would help me with this enum and how I could use it, but I did not find it :'/
  20. Okay, But how can this enum will help me about the tick?
  21. I know what is enum but in this way I'm not understanding. Sorry, But please write me a example code, I don't want copy your code, But I would to understand that without the code it's so hard to me learn But everybody convert as a String and save in HashMap on Spigot, Maybe(And YES) Forge programming is more complex and different
  22. But I really don't know how to use that, Have some methods like: "END, START, compareTo(), ..." I use "..phase.START"? Cause in Spigot programming I always convert to String, And save them on HashMap.
  23. How I use the "TickEvent::phase"? And I'll check what server the player is later. And about the "stringly typed" I saw the topic you send to me, But I didn't understand
  24. I made a new code, Now it count a Integer. I remove the "Timer". New code: https://hastebin.com/ohutufovuy.cs @diesieben07

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.