Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Join leave?!?

Comments in 'Plugin Development' started by Foreverblues, May 27, 2015.

  1. Foreverblues
    Offline

    Foreverblues New Member

    Joined:
    May 27, 2015
    Posts:
    6
    Minecraft User:
    anonymous4Life
    Hi I'm have a server Called 4LifeCraft (which is in beta because I'm learning slowly XD) i would like to know if there is a plugin or which file I can change to switch when it says {player} joined the game! Can you please tell me!!! I'm still a noob so English would be appreciated XD also I am using a server host called CookedPorkchop :p please reply to this ASAP it's pretty much the last think for my server to be in alpha!
  2. Artide
    Offline

    Artide Active Member

    Joined:
    Apr 20, 2015
    Posts:
    214
    Minecraft User:
    Artide5
    Yes there is, custom alerts by EvolSoft: https://forums.pocketmine.net/plugins/customalerts.879/
    Creeperface and EvolSoft like this.
  3. Foreverblues
    Offline

    Foreverblues New Member

    Joined:
    May 27, 2015
    Posts:
    6
    Minecraft User:
    anonymous4Life
    Yes I just tried that :D but why isn't it working? I read some reviews and it talked about EssitialsPe! I really need Essintials PE(which I have) but it doesn't work with essitials PE :/ can u please help!
    PEMapModder likes this.
  4. Foreverblues
    Offline

    Foreverblues New Member

    Joined:
    May 27, 2015
    Posts:
    6
    Minecraft User:
    anonymous4Life
    Also I'm on pocketmine 1.4.1 on minecraft PE 0.10.4 on ios
  5. Pman1220
    Offline

    Pman1220 Active Member Plugin Developer

    Joined:
    Nov 21, 2013
    Posts:
    123
    Plugins:
    1
    Minecraft User:
    Pman1220
    Download EssentialsPE here https://github.com/LegendOfMCPE/EssentialsPE they updated join and quit messages to work with other plugins. Or you could edit the file to change the join message to your liking. I believe you can edit the message in the PlayerEvents Files.
    Code:
    public function onPlayerJoin(PlayerJoinEvent $event){
            // Nick and NameTag set:
            $message = $event->getJoinMessage();
            if($message instanceof TextContainer){
                $message->setText(str_replace($event->getPlayer()->getName(), $event->getPlayer()->getDisplayName(), $message->getText()));
            }else{
                $message = str_replace($event->getPlayer()->getName(), $event->getPlayer()->getDisplayName(), $message);
            }
            $event->setJoinMessage($message); #[B][U]<<<<< <<<HERE[/U][/B]
  6. Foreverblues
    Offline

    Foreverblues New Member

    Joined:
    May 27, 2015
    Posts:
    6
    Minecraft User:
    anonymous4Life
    yes but is there a .phar version of the plugin?
  7. Pman1220
    Offline

    Pman1220 Active Member Plugin Developer

    Joined:
    Nov 21, 2013
    Posts:
    123
    Plugins:
    1
    Minecraft User:
    Pman1220
    Get the plugin dev tools and extract the folder to your plugins folder. Then type in console "makeplugin EssentialsPE"
  8. Foreverblues
    Offline

    Foreverblues New Member

    Joined:
    May 27, 2015
    Posts:
    6
    Minecraft User:
    anonymous4Life
    Can u please make a .ohar version and link it im a noob owner :/
  9. Foreverblues
    Offline

    Foreverblues New Member

    Joined:
    May 27, 2015
    Posts:
    6
    Minecraft User:
    anonymous4Life

Share This Page

Advertisement