@Override
    public void onPlayerCommandPreprocess (PlayerCommandPreprocessEvent event) {
        Player player = event.getPlayer();
        String command = event.getMessage();
        String[] split = command.split(" ");
        if (!event.isCancelled() && split[0].equalsIgnoreCase("/backup")) {
            event.setCancelled(true);
            // only Player which has the Permissions by the plugin Permission can backup
            // only Player can backup when the properties only ops can backup is set by the server AND the player is an operator
            if (Main.Permissions != null && !Main.Permissions.has(player, "backup.canbackup"))
                return;
            if (pSystem.getBooleanProperty(BOOL_ONLY_OPS) && !player.isOp()) {
                player.sendMessage("You dont have the rights to backup the server!");
                return;
            }
            if (split.length == 1) {
                backupTask.setAsManuelBackup();
                player.getServer().getScheduler().scheduleSyncDelayedTask(plugin, backupTask);
            }
            else if (split.length == 2) {
                backupTask.setBackupName(split[1]);
                player.getServer().getScheduler().scheduleSyncDelayedTask(plugin, backupTask);
            }
            else
                player.sendMessage("/backup OPTIONALNAME");
        }
    }