Inside your Plugin.php file, you can do something like :
public function boot()
{
\Vendor\Plugin\Models\SomeModel::extend(function ($model) {
$model::addGlobalScope('onlyActive', function ($builder) {
$builder->where('is_active', true); // Example condition
});
});
}