SMPTools
SMPTools puts the rules of a private SMP in one menu. Type /smptools and every rule shows up as an item: green is on, red is off. Click to switch it. Most settings can also be changed in config.yml if you'd rather edit a file.
One jar runs on Paper 1.21 through 26.3. I've tested it on 1.21, 1.21.11, 26.1.2, 26.2 and 26.3.
Questions, bugs or ideas: Discord Source code (MIT): GitHub
Installing
- Run Paper or a Paper fork like Purpur. Spigot and Folia aren't supported.
- Put
SMPTools.jarinplugins/and restart the server. - Run
/smptoolsas an op.
You need Java 21 or newer on 1.21.x and Java 25 on 26.x, which is what the server needs anyway.
What's in the menu
Combat
- PvP on or off.
- PvP protection for new players, for as many minutes as you set. They can drop it early with
/smptools protection off. You can also give players a short protection after they respawn. - Combat log: log out in the middle of a fight and you die. You can block commands like
/homeor/spawnwhile someone is in combat. - Elytra and Riptide can be turned off during combat, so nobody flies away from a fight.
- If the player you're fighting dies, combat ends for both of you.
- Totems, ender pearls, end crystals, respawn anchor explosions and bed bombing each have their own switch.
- TNT insta kill. Turn it off and TNT can only do up to a damage cap you set.
- Attribute swap: switches Paper's fix for hotbar-swap tricks on or off. It only appears on versions where Paper has that setting (1.21.11 and up).
Lifesteal
- Kill a player and you take one of their hearts.
- Drop to 0 hearts and you're banned for good.
/withdrawheart [amount]turns your hearts into Heart items you can hand to someone else. Right-click one to use it. Hearts can't be used in crafting./smptools revive <player>lifts the ban and gives some hearts back.
Items
- Netherite armor and netherite tools, each on or off.
- A mace limit for how many maces the whole server can craft.
- Blocked items: add something from your inventory and nobody can use, place, craft or pick it up.
- Recipe blocker for items that shouldn't be craftable.
- Enchant blocker. Pick enchantments that can't come from enchanting tables, anvils, loot, fishing or villagers.
- Item limits, so one player can carry at most, say, 2 totems.
- These rules also apply to crafters, anvils and chests, so players can't get around them that way.
World
- TNT griefing and mob griefing on or off.
- The Nether and The End on or off.
- Keep inventory.
- One player sleep.
- Hardcore mode: players who die become spectators until an admin revives them.
- Anti stasis chamber, which deletes ender pearls held in bubble columns.
- String duper, on 1.21 and 1.21.1 only. Mojang patched string dupers in 1.21.2.
Quality of life
- Sit on stairs, slabs and carpets by right-clicking them with an empty hand.
- Villager pickup. Sneak and right-click a villager with an empty hand to get it as a head. Place the head and the same villager comes back with its trades.
- Insta restock, so villager trades never run out.
- Tree miner. Cut one log with an axe and the whole tree falls. Sneak to cut a single log.
- XP clumps: orbs get picked up all at once.
- Easier recipes for golden apples (4 gold), cobwebs (5 string) and anvils (6 iron ingots and an iron block).
- A tab list and scoreboard you set up in
config.yml, with placeholders like{ping},{kills}and{hearts}.
Commands
| Command | What it does | Permission |
|---|---|---|
/smptools |
Opens the menu | Everyone can look (you can turn that off in the menu). smptools.admin to change things |
/smptools reload |
Reloads config.yml |
smptools.admin |
/smptools revive <player> |
Lifts a ban, revives a hardcore player and gives hearts back | smptools.admin |
/smptools protection [off] |
Shows or ends your own PvP protection | Everyone |
/warn <player> [reason] |
Warns a player. At 3 warnings a command runs (a ban by default) | smptools.warn |
/warns [player] |
Shows warnings | Everyone for themselves, smptools.warn for others |
/clearwarns <player> |
Clears a player's warnings | smptools.warn |
/invsee <player> [ender] |
Opens a player's inventory or ender chest | smptools.invsee (smptools.invsee.edit to change items) |
/withdrawheart [amount] |
Turns your hearts into Heart items | Everyone, while lifesteal is on |
smptools.bypass skips item rules, dimension rules and the combat log punishment. Nobody has it by default, ops included.
About Paper settings
Attribute swap and string duper change settings that Paper lists under unsupported-settings. The change stays in memory only. SMPTools never writes to paper-global.yml, and the original values come back when the plugin shuts down.
License
MIT. The code is on GitHub.
Information
Pinned Versions
- R1.21–26.3
Pages
Members
1Owner