I want to make a plugin that Players can't drive in a Vehicle but they can sit in the Vehicle
Video https://youtu.be/0eXJmw5c0UU
Code:
@EventHandler public void onMove(PlayerMoveEvent e) { if(e.getPlayer().isInsideVehicle()) { e.setCancelled(true); } }