Language

Iris Blocker

Iris Blocker

Modrinth

Detect client's mods using translation resolver from server side and restrict their abilities! This plugin exists for more convenient user experience, not for crazy restrictions.

8 downloads updated 12d ago
latest v1.0.2 Modrinth
Folia Paper Purpur Spigot 1.21.11 – 26.2 ManagementUtility

NMinimapIrisBlocker

Translation-resolve-method mods detector. Designed to use with NMinimap but can also work separately.

Features

  • Configurable mod list (via restricted-translations config property)
  • Configurable blocked commands for players with these mods installed.
  • On-join check for players
  • Automatic NMinimap disable for players with restrictions

Supported server platforms

Dependencies

Permissions

  • nminimap.skip-check - access to bypass sign check
  • nminimap.admin - access to admin features

Admin commands

/mib reload - Reload plugin
/mib probe <player> - Force probe player. Restrictions will not apply if player has nminimap.skip-check permission
/mib players - Show list of players with restrictions

How does it work?

Minecraft client can resolve translations components (e.g. iris.shaders.reloaded, item.minecraft.diamond, etc.).
Plugin utilizes it - opens and closes sign menu when player joining.

API

Force probe player

public void myProbe(Player player) {
    NMinimapIrisBlocker.getInstance().probe(player, ProbeCause.CUSTOM)
            .thenAccept(result -> {
                System.out.println("CHECK RESULT: " + result.result());
                System.out.println("RESOLVED TRANSLATIONS");
                System.out.println(result.resolved());
            });
}

Handle on-join check (to open menu for example)

@EventHandler
public void handleJoinCheck(AsyncPlayerCheckDoneEvent e) {
    if (!e.getCause().equals(ProbeCause.JOIN))
        return;
    var player = e.getPlayer();
    System.out.println("CHECK RESULT: " + e.getResult().result());
    System.out.println("RESOLVED TRANSLATIONS");
    System.out.println(e.getResult().resolved());

    player.openInventory(yourInventory);//etc
}

Looking for affordable and powerful Server hosting?


Make sure to check out GaleniusNodes! Starting at 3€/month.
With my link you can get 20% off Your first month

Help and support

If you have questions, want ask for a feature or report a bug - feel free to open issue,
Also you can ask a question in the discord server.

Versions

Release
1.0.2
folia, paper, purpur · 1.21.11, 26.1, 26.1.1 · 12d ago
Changes: 1. Added spigot compatibility 2. Changed probe method - anvil instead of signs
5
Release
1.0.0
folia, paper, purpur · 1.21.11, 26.1, 26.1.1 · 1mo ago
Fist release
3

Comments 0

No comments yet. Be the first to share your thoughts.

FAQ

How do I install Iris Blocker?

Download the file for your Minecraft version and loader from this page, then drop the .jar into your mods (or plugins) folder and launch the game.

Is Iris Blocker free?

Iris Blocker is free to download on Modgrid — we link straight to the official source, no paywall or bundled installer.

Which Minecraft versions does Iris Blocker support?

Works with Folia, Paper, Purpur, Spigot. Supports versions 1.21.11–26.2. See the download section on this page for the full list of supported versions and loaders.

Download Iris Blocker

Files are served directly from the original source. Modgrid does not host or modify them.