Custom msg when player msg's specified player

Discussion in 'Archived: Plugin Requests' started by Glass_Eater84, Apr 12, 2014.

  1. Offline

    Glass_Eater84

    [quote uid=90875889 name="Onlineids" post=2409405]Ah no prob just one line of code, tell me if this works:
    <Edit by Moderator: Redacted mediafire url>

    Did you take what I had from the last config? Or did it just gltich for me?
     
    Last edited by a moderator: Nov 3, 2016
  2. Offline

    Onlineids

    What you mean? probably will have to change config
     
  3. Offline

    Glass_Eater84

    I apologize if this is too much to ask but can you send me a download link to the config file it is just genrating the old one and in the config can you just format it just with like test so I know where it goes? If not it is ok I just need the new config file.
     
  4. Offline

    Onlineids

    Whats wrong with it?
     
  5. Offline

    Glass_Eater84

    It is generating the old config even after I delete it. This is what it has now:
    Looks as if the old one is gone but I am still confused on how to format it So where it says "MESSAGED" I put "glasseater84" then where it says "MESSAGE" I type my custom msg? Also what do you mean where do I remove the {
     
  6. Offline

    Onlineids

    Glass_Eater84 dude the things in {} are just variables they are replaced by the plugin with what they equal at top you dont change them at all and they are optional
     
  7. Offline

    Glass_Eater84

    Still not working I set it up like you said to as well

    # Config for FBAfk
    # Supports Color/Format Codes!(&)
    # {MESSAGER} = Player name that messaged the player
    # {MESSAGED} = Player that was messaged
    # {MESSAGE} = Gets the message
    message: '&3{MESSAGER} &6sent &3{MESSAGED} &6this message: &3{MESSAGE}'
    Messaged=glasseater84 Message=Test
    (I am editing the last line not the top part)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  8. Offline

    Onlineids

    whats the error?

    why are u doing message = name??
    That is automatically defined by the plugin
    All the variables surrounded by {} you DO NOT change they are automatic

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  9. Offline

    Glass_Eater84

    Ok I understand that I dont need to change that now. However where do I put the custom msg?
     
  10. Offline

    Onlineids

    in between the quotes after message:
    the message already in there is just an example one
     
  11. Offline

    Glass_Eater84

    So like this: message: 'This is just the test'
     
  12. Offline

    Onlineids

    yea it supports color codes and like the config says at top if you want to get any of those like who is sending the message put in {MESSAGER} but you dont have to
     
  13. Offline

    Glass_Eater84

    How does it know the player becuase I only want it to show the msg when the player msg's me
     
  14. Offline

    Onlineids

    Idk its smart, its a plugin xD, if a player messages you it will show, otherwise it wont
     
  15. Offline

    Glass_Eater84

    Didn't work.
    This is my config:

    # Config for FBAfk
    # Supports Color/Format Codes!(&)
    # {MESSAGER} = Player name that messaged the player
    # {MESSAGED} = Player that was messaged
    # {MESSAGE} = Gets the message
    message: ‘&dTest’
     
  16. Offline

    Onlineids

    well if your only messaging yourself yes

    You have to tell me what doesnt work -_- I cant see your console

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  17. Offline

    Glass_Eater84

    Sorry it just doesn't display the msg for the player that sends the msg to me
     
  18. Offline

    Onlineids

    [quote uid=90944484 name="Glass_Eater84" post=2409537]Sorry it just doesn't display the msg for the player that sends the msg to me[/quote]
    Oh crap xD excuse my stupidity
    <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Nov 3, 2016
  19. Offline

    Glass_Eater84

    [quote uid=90875889 name="Onlineids" post=2409540]Oh crap xD excuse my stupidity
    <Edit by Moderator: Redacted mediafire url>

    This is what I have now and it still does not work.
    message: '&3Test’

    It is not displaying the text to the player that sent it to me
     
    Last edited by a moderator: Nov 3, 2016
  20. Offline

    Onlineids

    Your doing something wrong works for me


    [​IMG]
     
    timtower likes this.
  21. Offline

    Glass_Eater84

    There was a misunderstanding. I wanted it so if a player (not myself) msgs me they get told a msg. Not in msg format just a line of text.
     
  22. Offline

    Onlineids

    Dude the only reason you think it doesn't work is because your messaging yourself and i've been spending the last 60 msgs on here trying to tell you that
     
  23. Online

    timtower Administrator Administrator Moderator

    Could you please recreate your wanted output with the tellraw command?
     
  24. Offline

    Bzay9020

    Alright, so I looked through the topic and tried to figure out what he meant and what he wants. I saw the word AFK in the title and I made my own attempt to re-explain what he would like, but I may be incorrect. Here we go..

    So, My name is Player1. I am AFK at the moment, so i set the command to display the custom text. Player2 comes along and sends me a message, I recieve the message like normal, then Player2 has "This player will be back soon" or something like that pop up in the chat.

    I could be wrong, but that's what I pieced together from all of this mumble jumble of misphrased and misunderstood words. Hope I helped.
     
    Glass_Eater84 likes this.
  25. Offline

    Glass_Eater84

    Yes! Perfect! However I don't only want it when I am afk I want all the time. :) but otherwise perfect!
     
  26. Offline

    Bzay9020

    Glad I could help.
     
    Glass_Eater84 likes this.
  27. Offline

    Glass_Eater84

Share This Page