1. xMdb

    xMdb Well-Known Member

    xMdb
    MVP+
    Messages:
    5,022
    Hey all!

    This is going to be my first ever module/mod release. This is my first successful project. Many of you have been asking me when I use it when I'm AFK. I'll be pointing people to here to download it if you wish.

    This module is a simple module that will message a player with a message specified in the amafk.js file when /afk toggle is ran.

    Screenshots
    User end
    [​IMG]

    Receiving end
    [​IMG]

    Adding a custom message
    [​IMG]

    Changing the Message

    Go to .minecraft\config\ChatTriggers\AmAFK > Open amafk.js
    Go to this line of code:

    [​IMG]

    Edit the message. "name" is the variable for the users name. Do not edit the part ""msg " + name +" as it is the command to message back.

    The command to toggle AFK mode is /afk toggle. It is automatically toggled off when you first login.
    The default message is "Hey (playername)! I am currently not here right now." You can change it if you want (see above).

    Download
    To download, go over to https://chattriggers.com (made by @KerbyBit) and download the latest version of the ctjs-SNAPSHOT.jar. Then, put it in your mods folder (Forge 1.8.9 needed) and run Minecraft.

    When ingame, do /ct load, then install the module by doing /ct import AmAFK. After running this command, you should have AmAFK installed! Do /ct load again and then you can use /afk toggle. Enjoy!

    2nd Download
    If that doesn't work, you can use the ChatTriggers site to download it here: https://www.chattriggers.com/modules/AmAFK (click "What do I do with this?" for a tutorial GIF)

    Thanks for reading! If you downloaded this be sure to leave a like on the thread :D
    If you find any bugs, tag me in this thread and I'll fix them ASAP.

    Copyright © xMdb 2017-2018 (DO NOT REDISTRIBUTE)
    https://xmdb.co WIP ;)

    Changelog
    1.1 [LATEST VERSION]: Updated to latest cj.js version (thanks @KerbyBit :D)
    To install latest, delete AmAFK 1.0 and run /ct import AmAFK again.
     
    #1
    Last edited: Jul 12, 2018
    • Like Like x 6
    • Useful Useful x 2
    • Hype Train Hype Train x 1
    • Helper Lapis Helper Lapis x 1
  2. first
     
    #2
    • Useful Useful x 1
  3. xMdb

    xMdb Well-Known Member

    xMdb
    MVP+
    Messages:
    5,022
    useful :D
     
    #3
    • Useful Useful x 1
  4. xMdb

    xMdb Well-Known Member

    xMdb
    MVP+
    Messages:
    5,022
    sorry to everyone who downloaded the latest version of ctjs and tried to use amafk; it didnt work! sorry to all of u ppl

    ill be fixing it rn!
     
    #4
  5. xMdb

    xMdb Well-Known Member

    xMdb
    MVP+
    Messages:
    5,022
    New Update!
    1.1: Updated to latest cj.js version (thanks @KerbyBit :D)
    To install latest, delete AmAFK 1.0 and run /ct import AmAFK again.
     
    #5
  6. 555

    555

    555 New Member

    Messages:
    6
    Thats really helpful. You don't know how often I'll be away and have angry friends being mad at me when I am back because I'm "ignoring" them.
     
    #6
    • Like Like x 1
  7. xMdb

    xMdb Well-Known Member

    xMdb
    MVP+
    Messages:
    5,022
    im glad you enjoy :p
     
    #7
  8. Congrats on finishing your mod!
    +1
     
    #8
    • Like Like x 1
  9. xMdb

    xMdb Well-Known Member

    xMdb
    MVP+
    Messages:
    5,022
    Thank you :D
     
    #9
    • Like Like x 1
  10. +1 awesome chattrigger addon!

    Suggestion:
    Try to let it work on any server. (Or tell me to how add it myself :p)
     
    #10
    Last edited: Jul 13, 2018
    • Like Like x 1
  11. xMdb

    xMdb Well-Known Member

    xMdb
    MVP+
    Messages:
    5,022
    hey, thanks for the lapis, im glad you like it.

    i cant let it work on any server because chat macros may be bannable + im too lazy to go on different servers and put in the syntax for each message. this addon is hypixel only :p (sorry)
     
    #11
    • Like Like x 1
  12. Alright :3
     
    #12
    • Like Like x 1
  13. Congrats on helper lapis!
     
    #13
    • Like Like x 1
  14. xMdb

    xMdb Well-Known Member

    xMdb
    MVP+
    Messages:
    5,022
    Thanks
     
    #14
    • Like Like x 1
  15. Knew you for so long, congrats on the mod release. Definitely would download that
     
    #15
  16. xMdb

    xMdb Well-Known Member

    xMdb
    MVP+
    Messages:
    5,022
    Thank you :)
     
    #16
  17. xMdb

    xMdb Well-Known Member

    xMdb
    MVP+
    Messages:
    5,022
    bump!
     
    #17
  18. Empale

    Empale Well-Known Member

    Empale
    MVP+
    Darker DARK
    Member
    Messages:
    998
    idk anything about coding but is there any way to make this automatically toggle on when you become idle in limbo?
     
    #18
  19. xMdb

    xMdb Well-Known Member

    xMdb
    MVP+
    Messages:
    5,022
    I'll think about it, maybe in the future. Also yes it is possible.
     
    #19
  20. Can you make an update to automatically say in chat if you are afk in other types of chat? For example, if you are in a party, but the doorbell rings and you have to bring in the package. This might take a minute, so players should be able to set a timer, say 30 seconds, and after 30 seconds of no movement it says in chat "I am currently AFK."
     
    #20

Share This Page