A mod for server modpack makers to prevent people from playing singleplayer. Just drag and drop it to the client modpack and upload it. Do NOT stick this on your server. This is CLIENT SIDE. Yes, people could just delete it but most people don't know to, or don't even know the LOCATION of the mods folder. It's fine. There isn't much to say here due to the simplicity of the mod!
Core modding post: http://www.minecraftforum.net/topic/2380266-
Server Only post: http://www.minecraftforum.net/topic/2532151-
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
ServerOnly is a free Minecraft Java mod. Downloaded 974 times (via CurseForge). Download it and open it directly in the game.