HomeJavaModsServer Shader Gate & Enforcer
Server Shader Gate & Enforcer
ModsJava

Server Shader Gate & Enforcer

by VolfLife · on Modrinth

Description Server Shader Gate & Enforcer (SSGE) – a client-side mod and server-side plugin that requires players to install a shader and use specific…

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.8–1.21.10 · BungeeCord⬇ Download for 1.21.6–1.21.7 · BungeeCord⬇ Download for 1.21.8–1.21.10 · Fabric⬇ Download for 1.21.6–1.21.7 · Fabric⬇ Download for 1.21.8–1.21.10 · Paper⬇ Download for 1.21.6–1.21.7 · Paper⬇ Download for 1.21.8–1.21.10 · Bukkit⬇ Download for 1.21.8–1.21.10 · Folia⬇ Download for 1.21.8–1.21.10 · Spigot⬇ Download for 1.21.8–1.21.10 · Velocity
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Server Shader Gate & Enforcer — screenshot 1Server Shader Gate & Enforcer — screenshot 2Server Shader Gate & Enforcer — screenshot 3Server Shader Gate & Enforcer — screenshot 4

Description

Server connection error screen: the player's shader or shader settings do not match the server's configuration. The error text suggests downloading the shader and shader settings from the specified link Server Shader Gate & Enforcer (SSGE) – a client-side mod and server-side plugin that requires players to install a shader and use specific shader options to play on the server.

Upon connecting to the server, the SSGE client mod automatically sends its configuration data about the current shader and its settings to the server plugin. The server plugin compares the received data with its own configuration. If the data matches, the player is allowed onto the server. Otherwise, the connection is refused.

The mod requires Iris and Fabric API to work.

Сonfiguration

The configuration file of the mod – ssge_mod.json; the configuration file of the plugin for the server – ssge.yml

ssge_mod.json
{
  "shaderFile": "",
  "shaderOptions": "",
  "sizeShader": 0,
  "sizeOptions": 0,
  "shaderHash": "",
  "enableShaders": false
}

This configuration is generated automatically when connected to the server and depends on the Iris settings: the switch on/off shader, selected shader file and selected shader settings

shaderFile – shaderpack file

shaderOptions – shader settings file. If the shader uses default settings, this string will be empty because the file does not exist.

sizeShader – shaderpack size in bytes.

sizeOptions – shader settings size in bytes. If the shader uses default settings, this value is 0.

shaderHash - SHA-256 hash of the shader file.

enableShaders – shaders enabled/disabled switch

ssge.yml
require_enabled: true
shader_file: ''
shader_options: ''
size_shader: 0
size_options: 0
shader_hash: ""
require_shader: true
require_options: true
link: https://example.com/download-shader-with-config
exempt_players: []

Generated automatically and must be configured manually to work properly.

require_enabled – shaders enabled/disabled switch.

shader_file – shaderpack file.

shader_options – shader settings file. If the shader uses default settings, this string will be empty because the file will not exist.

size_shader – shaderpack size in bytes.

size_options – shader settings size in bytes. If the shader uses default settings, this value is 0.

shader_hash – SHA-256 hash of the shader file.

require_shader – requires a specific shaderpack.

require_options – requires specific shader settings.

link – your link to download the shader and specific settings.

exempt_players - list of exempt players can play on the server without installing the SSGE client mod or using any shaders (e.g., admins or moderators).

Use /ssge reload to reload the plugin configuration.

Sending and receiving a link

If a player has the client mod installed but their configuration does not match the server’s, the plugin sends them a download link before kicking the player.

The client mod receives the link, saves it to the file ssge_link.txt in the .minecraft/config directory, and automatically opens the file for the user.

ssge_link.txt
You received this file because you tried to join a Minecraft server that requires
a specific shader (or shader settings) that you may not have installed.

Download the shader from the link provided by the server administrator and follow
these instructions unless otherwise noted:
1. Download the shader archive (.zip) and the shader settings (.txt) from the link below.
2. Put both files into your game directory's "shaderpacks" folder.
3. Go to the Iris menu, select and enable this shader from the list, and try logging into the server again.

If the server provides a checksum (SHA-256), verify it against the downloaded shader file.
If you still have any difficulties joining the server, please contact the server administration for help.

!!! WARNING: External link below may be dangerous !!!
Open it ONLY if you fully trust this Minecraft server and the linked website.

Possible risks include:
 - malicious installers, viruses, or trojans that can harm your system
 - phishing pages designed to steal Minecraft, Discord, email or other credentials
 - web scripts that can collect personal or sensitive information
 - stealers that silently extract passwords, tokens, or browser data
 - drive-by or automated downloads that execute without clear consent
 - spoofed or tampered downloads (files different from what they claim)

If unsure — do NOT open the link.

https://example.com/download-shader-with-config

Be careful: the server administrator may provide a malicious link to harm your system or steal your data. Always check the link using online scanners and do not open it if it looks suspicious. If you detect a threat, report the server on the hosting platform or listing website.

When placing a link in the plugin configuration, follow these guidelines:

For example

Let's say we want all players on our server to play using thejinxedartist's MC VHS shader.

Then the plugin configuration can be like this:

require_enabled: true              <––
shader_file: 'MCVHSV2.zip'         <––  Required 
shader_options: 'MCVHSV2.zip.txt'  <––   values
size_shader: 275232                <––
size_options: 79                   <––
shader_hash: "e59a3d139..."        <––
require_shader: true
require_options: true
link: https://modrinth.com/shader/mc-vhs
exempt_players: ["Admin", "You"]

The mod configuration must match the plugin configuration and be like this:

{
  "shaderFile": "MCVHSV2.zip",
  "shaderOptions": "MCVHSV2.zip.txt",
  "sizeShader": 275232,
  "sizeOptions": 79,
  "shaderHash": "e59a3d139...",
  "enableShaders": true
}

If the player has a different configuration, the server will kick him.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more