Possible to crash a player with /crash <player>

Discussion in 'Plugin Development' started by TheWolfBadger, Nov 23, 2017.

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

    TheWolfBadger

    I have a client requesting a plugin to crash a player's game, I don't know why. I was offering plugins for free and this is his request. So I was wondering what the best way to do this would be or if it's even known to be possible? Thanks!
     
  2. Offline

    Zombie_Striker

    @TheWolfBadger
    You can't really "crash" the client, as in a CTD (Close-To-Desktop), but you can kick-crash them using bad packets. The best way to do this is to hook into the packet channel, using something like protocol lib, and try sending an entity move packet, but say that the entities id is negative. Since ids cannot be negative, the client will crash to the main menu.
     
  3. Offline

    TheWolfBadger

    The client said before that he had a version in 1.8 that working by CTD, but no longer works in the versions above. So there is no way to CTD though and never has been?
     
  4. Offline

    Zombie_Striker

    @TheWolfBadger
    Yeah, 1.8 had a ton of bugs and exploits.

    You may be able to experiment with some of the packets here:
    http://wiki.vg/Protocol

    Try experimenting with the packets. There may be a value for one of them that may not be handled correctly and may be able to crash the system.
     
    TheWolfBadger likes this.
  5. Offline

    timtower Administrator Administrator Moderator

    Locked as this is not something that should be done.
     
Thread Status:
Not open for further replies.

Share This Page