Singleplayer Library
🟡 Updated this year⚠️ Install Order · 2 steps
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
🖼️ Gallery (1 images)
🔍 Analysis
- 🏆 #77 of 119 datapack mods in this game by downloads
📋 About This Mod
!(https://cdn.modrinth.com/data/cached_images/23fccdd7324cd0f8b48cf6f979d9b18c5d535fe3_0.webp) --- !(https://cdn.modrinth.com/data/cached_images/2e98111b05a2ecc7a51024d1a66189b937f7c952_0.webp)
!(https://cdn.modrinth.com/data/cached_images/549e4dd28a1be267ef870b493d159b5d98bcbf22_0.webp)
SinglePlayer Library is a lightweight utility library for datapacks and mods that helps developers support singleplayer environments without creating separate versions of their projects. It provides a simple way to detect and enable singleplayer-specific features or settings, allowing projects that normally require manual setup or commands to work smoothly for singleplayer users.
!(https://cdn.modrinth.com/data/cached_images/2e98111b05a2ecc7a51024d1a66189b937f7c952_0.webp)
!(https://cdn.modrinth.com/data/cached_images/64dcc9aff4ec5cc25fca6ecf3d668e5e0359ab04_0.webp)
Ultra Lightweight : Minimal overhead designed for maximum performance. Easy Integration : Add singleplayer support to datapacks and mods without complex setup. Blazing Fast : Optimized to run efficiently with minimal impact. Developer Friendly : Built as a reusable foundation for other projects. Singleplayer Ready : Provides singleplayer support without requiring manual permission setup. Multi Version Support : Supports multiple Minecraft versions while keeping the same simple integration.
!(https://cdn.modrinth.com/data/cached_images/2e98111b05a2ecc7a51024d1a66189b937f7c952_0.webp)
!(https://cdn.modrinth.com/data/cached_images/4478249218d80547169ad46b105ebc94570fe625_0.webp)
SinglePlayer Library uses tags to provide a simple way for projects to detect and handle singleplayer environments. The library checks players at a 1-second interval to keep performance impact as low as possible. Unlike normal Minecraft tick functions that run 20 times per second, SinglePlayer Library only performs its check once per second, providing a lightweight and stable system.
- `splib_active`
- Indicates that the player has been detected by SinglePlayer Library and is running in a supported singleplayer environment. Projects can use this tag to enable singleplayer-specific features or settings.
- `splib_ignore`
- This tag is intended for developers and server owners. Players with this tag will be excluded from SinglePlayer Library handling, preventing `splib_active` from being automatically added.
!(https://cdn.modrinth.com/data/cached_images/2e98111b05a2ecc7a51024d1a66189b937f7c952_0.webp)
!(https://cdn.modrinth.com/data/cached_images/f948b8356580daeb92843dc8f1feeb870bbacd31_0.webp)
Use `splib_active` to run features or settings that should only apply in singleplayer worlds. Keep in mind that the code below does not run until the function is executed. The namespace my_pack is not automatically created by a datapack or mod you must implement and structure it yourself.
`check.mcfunction` ``` execute unless entity @s run function my_pack:tellraw_missing_library execute if entity @s run function my_pack:singleplayer_settings ```
`use_feature.mcfunction` ``` execute if entity @s run function my_pack:feature/run execute unless entity @s run function my_pack:feature/blocked ```
`other.mcfunction` ``` execute unless entity @s run function my_pack:performance/low_mode ```
!(https://cdn.modrinth.com/data/cached_images/2e98111b05a2ecc7a51024d1a66189b937f7c952_0.webp)
!(https://cdn.modrinth.com/data/cached_images/3a67bf2c759b72661fd0e3a7bf654ce2021d11fc_0.webp)
What Minecraft versions are supported?
SinglePlayer Library supports Minecraft Java Edition versions from 1. 17 to 1. 21+.
Does this add any gameplay features?
No. SinglePlayer Library is a developer utility and does not add gameplay features by itself. It provides a foundation that other projects can use for singleplayer-specific features and settings.
Can I use it in monetized projects?
Yes. Developers are allowed to use this library in projects that generate revenue.
However, the library itself must remain free and cannot be sold, paywalled, or redistributed as a paid product.
Is it required for players to install?
Only if a project using it requires the library. Otherwise, it has no effect on its own.
Can I modify or redistribute the library?
You may use it as a dependency in your projects, but you may not reupload, sell, redistribute it as a standalone product, or claim it as your own.
!(https://cdn.modrinth.com/
📊 Mod Details
- Game
- Minecraft Mods
- Author
- BibekTheLegend
- Version
- 0.1+mod
- Downloads
- 326
- Endorsements
- 1
- Category
- datapack
- Created
- 7/2/2026
- Updated
- 6/27/2026
- Game Versions
- 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2
- Tags
- library
🔧 How to Install Minecraft Mods Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Mods →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Mods versions does Singleplayer Library support?
The author lists 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19. Other versions may work but are untested by the author.
What is the latest version of Singleplayer Library?
Version 0.1+mod, published 2026-06-27 with 326 downloads recorded at the source.
Keep browsing — more Minecraft Mods mods await
