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

how to freeze player

Comments in 'Plugin Development' started by GamesLoad, Jun 15, 2015.

  1. GamesLoad
    Offline

    GamesLoad Active Member

    Joined:
    Jun 28, 2014
    Posts:
    106
    Minecraft User:
    GamesLoad
    hello how do I freeze a player.
  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Simplest, hacker-vulnerable way: effect slowness with amplitude of at least 10
    KyleTheHack3r likes this.
  3. KyleTheHack3r
    Offline

    KyleTheHack3r

    Joined:
    Feb 2, 2015
    Posts:
    3
    Another method would be to cancel the move event:
    PHP:
    public function onPlayerMove(PlayerMoveEvent $event){
    $event->setCancelled(true);
    }
    Andrey Nazarchuk and LDX like this.

Share This Page

Advertisement