SmpMechanics
BetterSleep, Custom Day/Night Time, /sit, Mob Cleaner, Block Loggin, SimpleTPA, /hat, /fly, /god, Cozy Campfire
📖About SmpMechanics
⚠️ Compatibility Note: This plugin is built for Minecraft 1.21.5 Purpur. It has been tested on Purpur 1.21.5 and Spigot 1.21.1. Designed to work on 1.21.x Spigot/Purpur/Paper/Bukkit environments.
If you want to report a bug or suggest a new plugin, join my Discord server.
🛠️ SmpMechanics
The ultimate utility solution for your Survival Multiplayer server!
SmpMechanics is an all-in-one plugin designed to enhance the SMP experience without breaking the vanilla feel. It combines essential administrative tools, social interactions, and immersive survival mechanics into a single, highly optimized package. From custom day/night cycles to interactive furniture and smart sleep systems—it’s all here!
✨ Key Features
- 🌙 Advanced Sleep System: No more skipping the night instantly! The "Time Warp" mechanic smoothly accelerates time when players sleep.
- Buffs: Players sleeping in beds receive potion rewards.
- Debuffs: Players wandering around at night receive penalties.
- Neutral: Players sitting on chairs/stairs are safe—they skip the night but get no buffs or debuffs.
- ⏳ Custom Day/Night Cycle: Take control of time! Set the day or night duration independent of vanilla game rules.
- 🪑 Social Interactions: Right-click any Stair or Slab to sit down instantly. Toggle whether others can sit on you with
/sittoggle. - 🔥 Cozy Campfires: Relaxing by the fire pays off. Players standing near a lit Campfire will passively regenerate health over time.
- ⚔️ Smart Mob Clear: The unique
/kill monsterscommand removes hostile mobs to reduce lag but protects named entities, pets, and mobs inside boats or minecarts. - 🛡️ Inspector & Logging: Built-in SQLite logger tracks block placement, breaking, and chest interactions. Use the Inspector Tool to check history.
- 🛠️ Admin & Vital Tools: Includes Gamemode switchers (
/gm), Heal/Feed (/heal,/feed), Inventory editing (/eqf), and Flight (/fly). - 🌍 Multi-Language: Full support for English and Polish (switchable via command).
⚙️ Configuration & Modules
The plugin is modular. You can enable or disable specific features in config.yml or via commands:
- Modules: Toggle
sleep,social,logger, orutilitysystems on the fly. - Time Control: Define exactly how many seconds a Day and Night should last using
/smp set. - Rewards & Penalties: Fully customizable potion effects for sleeping or staying awake.
📜 Commands and Permissions
Main command: /smp
| Command | Description | Permission | Default |
|---|---|---|---|
| --- PLAYER --- | |||
/sit |
Sit on the block beneath you. | smpmechanics.sit |
✅ Everyone |
/sittoggle |
Toggle if players can sit on you. | smpmechanics.sit |
✅ Everyone |
/tpa <player> |
Send a teleport request. | smpmechanics.tpa |
✅ Everyone |
/tpaccept |
Accept a teleport request. | smpmechanics.tpa |
✅ Everyone |
/hat |
Wear the item in your hand as a hat. | smpmechanics.hat |
✅ Everyone |
/autopickup |
Toggle auto-pickup for drops. | smpmechanics.autopickup |
✅ Everyone |
/ping |
Check your latency to the server. | smpmechanics.ping |
✅ Everyone |
| --- ADMIN --- | |||
/smp <args> |
Manage modules, language, and time settings. | smpmechanics.admin |
❌ OP |
/gm <mode> |
Switch gamemode (0, 1, 2, 3). | smpmechanics.gamemode |
❌ OP |
/heal [player] |
Heal yourself or someone else. | smpmechanics.heal |
❌ OP |
/feed [player] |
Feed yourself or someone else. | smpmechanics.feed |
❌ OP |
/fly |
Toggle flight mode. | smpmechanics.fly |
❌ OP |
/god |
Toggle invincibility (God Mode). | smpmechanics.god |
❌ OP |
/eq <player> |
View a player's inventory. | smpmechanics.invsee |
❌ OP |
/eqf <player> |
Edit a player's inventory. | smpmechanics.invsee.edit |
❌ OP |
/setspawn |
Set world spawn point. | smpmechanics.admin |
❌ OP |
/kill monsters |
Smartly remove hostile mobs. | smpmechanics.kill |
❌ OP |
/inspektor |
Get the Inspector Tool for logs. | smpmechanics.inspektor |
❌ OP |
Wildcard Permission (Full Admin): smpmechanics.*
🚀 Installation
- Download the
.jarfile. - Place it in the
/plugins/folder of your server (Spigot/Paper/Purpur 1.21.x). - Restart the server.
- Done! The
config.ymlanddatabase.dbwill generate automatically.