Kill on Login plugin?

Discussion in 'Archived: Plugin Requests' started by granoth, Nov 11, 2012.

  1. Offline

    granoth

    Hello!

    I've been looking for a simple, lightweight plugin that kills the player once immediately after they log into the server.

    Of course, I'm reserving judgement as to wether this plugin actually exists. After a good time searching though I havn't had any luck.

    Just a thought :D

    Thanks alot!

    Granoth
     
  2. Offline

    LexLaiden

    VariableTriggers plugin. create an event trigger by typing this

    /vtevent Join @IF b <playername>.killedonce = false
    /vtevent Join @CMDCON kill <playername>


    @CMDCON runs any console command
     
  3. Offline

    jacklin213

    it takes 5 minutes to create a simple plugin like that, I'll let some one else do it. If no one does it I will
     
  4. Offline

    DaCreeperKiller

    Code:
        @EventHandler
        public void onPlayerLogin(PlayerLoginEvent e) {
            Player p = e.getPlayer();
            p.setHealth(0);
        }
    }
    For any dev that wants to compile this theres the code xD (I'm to lazy to xD)
     
  5. Offline

    jacklin213

    Last edited by a moderator: May 29, 2016

Share This Page