1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Title on join

Discussion in 'Requests' started by thelucyclub, Apr 22, 2017.

  1. thelucyclub

    thelucyclub Spider Jockey

    Messages:
    28
    GitHub:
    thelucyclub
    when you join a customizable message pops up after (5ticks...) the player joins.
     
    MC ATECH likes this.
  2. MC ATECH

    MC ATECH Baby Zombie

    Messages:
    117
    GitHub:
    mcpeatech
    If your wanting to use the title set the fade in time to 100 (5 seconds). You may need a plugin to display the title! If you need one I can help as I know how to do this :p
    If your wanting a Popop or tip I don't know how you would go about this :p
     
  3. KingResos

    KingResos Spider Jockey

    Messages:
    37
    GitHub:
    kingresos
    Look up JoinTitle by ThaiEdit :p
     
  4. MC ATECH

    MC ATECH Baby Zombie

    Messages:
    117
    GitHub:
    mcpeatech
    This won't give her what she wants..
     
  5. KingResos

    KingResos Spider Jockey

    Messages:
    37
    GitHub:
    kingresos
    Yea, it does .-.
     
  6. KingResos

    KingResos Spider Jockey

    Messages:
    37
    GitHub:
    kingresos
    wouldn't popups be $p->sendPopup?
     
  7. thelucyclub

    thelucyclub Spider Jockey

    Messages:
    28
    GitHub:
    thelucyclub
  8. KingResos

    KingResos Spider Jockey

    Messages:
    37
    GitHub:
    kingresos
  9. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    as a general warning you should not download random plugins without verifying it's not malicious regardless where it came from regardless if it's by anyone
     
  10. WinterBuild7074

    WinterBuild7074 Zombie Pigman

    Messages:
    693
    GitHub:
    winterbuild7074
    Code for that will be:
    PHP:
    public function onJoin(PlayerJoinEvent $event) {
        
    $popupmsg $this->getConfig()->get("PopupMessage");
        
    $player $event->getPlayer();
        
    $player->sendPopup($popupmsg);
    }
     
  11. TheDiamondYT

    TheDiamondYT Zombie

    Messages:
    298
    GitHub:
    TheDiamondYT1
    he asked for a title...not a popup.
     
  12. MC ATECH

    MC ATECH Baby Zombie

    Messages:
    117
    GitHub:
    mcpeatech
    He didn't actually... he said message pops up
     
    XxCodeRedxX likes this.
  13. rektpixel

    rektpixel Baby Zombie

    Messages:
    186
    if you want a title message to popup just use JoinCommands plugin and BroadCaster, in config set join command to - sp {player} {message} and the message stays there for about 10 seconds anyways so the player will see it for about 5 seconds after joining, if you want everyone to see the message use * instead of {player}
     
    MC ATECH likes this.
  14. MC ATECH

    MC ATECH Baby Zombie

    Messages:
    117
    GitHub:
    mcpeatech
    Don't think they wanted this but it's another way of doing it :p
     
    rektpixel likes this.
  15. rektpixel

    rektpixel Baby Zombie

    Messages:
    186
    lol sneak in a cheeky function when the player rektpixel taps stone he gets op XD
     
    HimbeersaftLP likes this.
  16. TheDiamondYT

    TheDiamondYT Zombie

    Messages:
    298
    GitHub:
    TheDiamondYT1
    They clearly wanted it... Read the title.

    He said a message that "pops up", and a title pops up. Since he used the word title in the thread title we can assume thats what he wants.
     
  17. MC ATECH

    MC ATECH Baby Zombie

    Messages:
    117
    GitHub:
    mcpeatech
    I meant I thought they meant the title or a popup in one plugin.. not the use of several.
     
  18. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    What I know despite all the argument is that a plugin that allows popup on join had better also allow title on join, doing both, since it's similar anyway.

    A simple example: JoinDisplays (Project on Poggit)
     
    thelucyclub and corytortoise like this.
  19. thelucyclub

    thelucyclub Spider Jockey

    Messages:
    28
    GitHub:
    thelucyclub
    Thank you but, I know how to do this. The title is pretty specific... but just to clarify, i want a TITLE not a POPUP. Sorry for any confusion.
     
  20. thelucyclub

    thelucyclub Spider Jockey

    Messages:
    28
    GitHub:
    thelucyclub
    Thank you @SOFe but it doesn't work. I'm on a pretty recent PM build, running server auth with block-all disabled. so, Idk why its not working. I appreciate the help guys! (And... SOFe? Idk who u r. :p)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.