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

Plugin disable Join and leave message

Comments in 'Plugin Development' started by MikkiMCPE, Jul 12, 2015.

  1. MikkiMCPE
    Offline

    MikkiMCPE Active Member

    Joined:
    May 16, 2015
    Posts:
    128
    Minecraft User:
    MikkiMC
    hello anyone have plugin to disable Join / leave message?

    thank you :)
  2. EvolSoft
    Offline

    EvolSoft Notable Member Plugin Developer

    Joined:
    Sep 10, 2014
    Posts:
    821
    Plugins:
    15
    Minecraft User:
    Flavius12
    First of all this seems a request and you should post it on a Plugin Requests section.
    Then try CustomAlerts
    RekkuzaRage likes this.
  3. MikkiMCPE
    Offline

    MikkiMCPE Active Member

    Joined:
    May 16, 2015
    Posts:
    128
    Minecraft User:
    MikkiMC
    yes i was used customalerts since customalerts release, but i need some alternative just for Disable join and leave message
  4. wolfdale
    Offline

    wolfdale Active Member Plugin Developer

    Joined:
    Dec 3, 2014
    Posts:
    276
    Plugins:
    1
    Minecraft User:
    ace
    Well, you just need a plugin with these functions
    Code:
    public function onEnable(){
            $this->getServer()->getPluginManager()->registerEvents($this, $this);
        }
       
        public function onJoin(PlayerJoinEvent $event){
            $event->setJoinMessage("");
        }
       
        public function onQuit(PlayerQuitEvent $event){
            $event->setQuitMessage("");
        }
    EvolSoft and MikkiMCPE like this.
  5. MikkiMCPE
    Offline

    MikkiMCPE Active Member

    Joined:
    May 16, 2015
    Posts:
    128
    Minecraft User:
    MikkiMC
    Great! thank you verymuch
  6. MikkiMCPE
    Offline

    MikkiMCPE Active Member

    Joined:
    May 16, 2015
    Posts:
    128
    Minecraft User:
    MikkiMC
    can you make full script? i want to learn how to write plugin too haha :) thanks
  7. wolfdale
    Offline

    wolfdale Active Member Plugin Developer

    Joined:
    Dec 3, 2014
    Posts:
    276
    Plugins:
    1
    Minecraft User:
    ace
    You will need DevTools to run this, unless you phar it.
    Just extract to your plugins folder

    Attached Files:

    MikkiMCPE and EvolSoft like this.

Share This Page

Advertisement