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

[REMOVED] KnowWhenOthersDisconnect

Comments in 'Plugin Releases' started by CreepyTheMiner, Jun 7, 2014.

Thread Status:
Not open for further replies.
  1. CreepyTheMiner
    Offline

    CreepyTheMiner New Member

    Joined:
    May 30, 2014
    Posts:
    2
    Minecraft User:
    Kopercreeper
    CreepyTheMiner submitted a new plugin:

    KnowWhenOthersDisconnect - Pocketmine doesn't notify when players disconnect. if you use this plugin. it will notify you

    Read more about this plugin...
  2. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    I tried to submit a plugin that had the exact same function last month, and it was deleted. :mad:
    iJoshuaHD likes this.
  3. Anton Magsino
    Offline

    Anton Magsino Active Member

    Joined:
    Jan 17, 2014
    Posts:
    59
    Minecraft User:
    MinecrafterPH
    You probably might wanna change the class name. Some developers (or non-developers) would think that you made this using @SuperChipsLP's plugin creator. Just saying.
    LDX likes this.
  4. matthijspc
    Offline

    matthijspc New Member

    Joined:
    Apr 23, 2014
    Posts:
    44
    Minecraft User:
    matthijspc
    The plugin is not for the lastes version, will you please update is plugin to API 12 (it is now for 10)?? is need this plugin
    LDX likes this.
  5. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
    It is API 12. :p
  6. matthijspc
    Offline

    matthijspc New Member

    Joined:
    Apr 23, 2014
    Posts:
    44
    Minecraft User:
    matthijspc
    no it isn't
    Code:
    2014-06-07 09:40:43 [INFO] Loading plugin "KnowWhenOthersDisconnect" 1.0 by CreepyTheMiner
    2014-06-07 09:40:43 [WARNING] Plugin "KnowWhenOthersDisconnect" may not be compatible with the API (10 != 12)! It can crash or corrupt the server
    LDX likes this.
  7. Anton Magsino
    Offline

    Anton Magsino Active Member

    Joined:
    Jan 17, 2014
    Posts:
    59
    Minecraft User:
    MinecrafterPH
    It's not a serious error.
  8. matthijspc
    Offline

    matthijspc New Member

    Joined:
    Apr 23, 2014
    Posts:
    44
    Minecraft User:
    matthijspc
    My server is sometimes crashed through a plugin that was not for my api
  9. Toom_Raider
    Offline

    Toom_Raider New Member

    Joined:
    May 17, 2014
    Posts:
    20
    I made the plugin so that it shows who disconnected. Here's the code:
    PHP:
    <?php

    /*
    __PocketMine Plugin__
    name=KnowWhenOthersDisconnect
    description=pocketmine doesnt tell player when they disconnect. but this plugin will help them
    version=1.0
    author=CreepyTheMiner
    class=gV2jDPpe
    apiversion=10
    */

        
    class gV2jDPpe implements plugin{

        private 
    $api;

        public function 
    __construct(ServerAPI $api$server false){

            
    $this->api $api;

        }

        public function 
    init(){

        
    $this->api->addHandler("player.quit", array($this"eventHandler"), 100);

        }
       
        public function 
    eventHandler($data$event)
        {
        
    $user $data->username;
        switch(
    $event)
        {
            case 
    'player.quit':

                
    $this->api->chat->broadcast("".$user." disconnected from the server");

            break;
        }

        }

        public function 
    __destruct(){

        }

    }
  10. jython234
    Offline

    jython234 Notable Member Plugin Developer

    Joined:
    Nov 4, 2013
    Posts:
    324
    Plugins:
    1
    Minecraft User:
    jython234
    I put this exact plugin in my first plugin JyChat, it got rejected... :/

    Off-Topic: Getting adware on this page, just this tab though, strange.

    EDIT: Its everywhere!!!

    Double EDIT: Finally got rid of it, after 15 minutes.
    Last edited: Jun 19, 2014
  11. LDX
    Offline

    LDX Notable Member Plugin Developer

    Joined:
    Oct 2, 2013
    Posts:
    1,434
    Plugins:
    14
  12. CreepyTheMiner
    Offline

    CreepyTheMiner New Member

    Joined:
    May 30, 2014
    Posts:
    2
    Minecraft User:
    Kopercreeper
    This plugin has been removed and is no longer available for download.
Thread Status:
Not open for further replies.

Share This Page

Advertisement