Player Utils

Quick rating

Player Utils

No reviews yet

Four commands to control health, air, PvP, and spawnpoints, with optional conditions and persistence.

Tech
Mod Loaders
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
Latest Version
playerutils-1.0.0.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Player Utils

A powerful administrative mod for NeoForge 1.21.1 that adds four essential commands for gameplay control.

NeoForge Minecraft License


✨ Features

  • /choke – Force players to suffocate unless specific inventory conditions are met.
    Oxygen depletes rapidly and causes damage when empty. Conditions are optional.
  • /health – Lock a player's health to a fixed value (1–100) until conditions are met.
    Supports optional inventory conditions.
  • /pvp – Disable a player's ability to attack other players.
    Simple on/off toggle.
  • /autosp – Automatically sets your spawnpoint to your death location when you die.
    Click the respawn button to respawn exactly where you died.

All states are persisted in each player's NBT data, surviving server restarts and relogs.


📖 Command Reference

/choke

Subcommand Syntax Description
start /choke start <targets> [slotList] Starts suffocating the target players. If slotList is omitted, the effect is unconditional (always active).
stop /choke stop [targets] Stops the effect. If no targets are given, affects the command sender.

/health

Subcommand Syntax Description
start /health start <target> <health> [slotList] Locks the target's health to the given value (1–100). If slotList is omitted, the lock is unconditional.
stop /health stop [target] Releases the lock and restores max health to 20.

/pvp

Subcommand Syntax Description
start /pvp start <targets> Disables PvP for the targets (they cannot damage other players).
stop /pvp stop [targets] Re-enables PvP.

/autosp

Subcommand Syntax Description
start /autosp start <targets> Enables auto spawnpoint – upon death, the player's spawnpoint is set to the death location.
stop /autosp stop [targets] Disables the feature.

🧩 SlotList Format (for /choke and /health)

The slotList is an optional JSON array that defines conditions on specific inventory slots.
Each entry is an object with the slot name as key and an object of item IDs and required counts.

Slot names:

  • hotbar.0 to hotbar.8 –hotbar
  • inventory.9 to inventory.35 –inventory
  • armor.head, armor.chest, armor.legs, armor.feet –armor
  • offhand –offhand

Item format: "namespace:item" (e.g., "minecraft:diamond").
Count is optional; if omitted, any amount is accepted. Multiple items in one slot act as OR (any of them works).

Example:

[
  {"hotbar.8": {"minecraft:bedrock": 1}},
  {"armor.head": {"create:diving_helmet": 1, "create:netherite_diving_helmet": 1}},
  {"inventory.32": {"minecraft:netherite_block": 32}}
]

This requires:

  • Slot 8 (last hotbar slot) has at least 1 bedrock.
  • Helmet slot has either a diving helmet or a netherite diving helmet.
  • Inventory slot 32 has exactly 32 netherite blocks.

🔒 Permissions

All commands require OP level 2 (default for most server admins).
In singleplayer, enable cheats or use /op in a server environment.


📝 License

This mod is distributed under All Rights Reserved unless otherwise stated in the source code.
You may use it on your server, but redistribution or modification requires explicit permission from the author.


🙏 Acknowledgements

  • NeoForge for the modding framework.
  • All contributors and testers.

📞 Contact

Author: DogOfFurina
Issues & suggestions: GitHub Issues


Player Utils

A powerful administrative mod for NeoForge 1.21.1 that adds four essential commands for gameplay control.

NeoForge Minecraft License


✨ Features

  • /choke – Force players to suffocate unless specific inventory conditions are met.
    Oxygen depletes rapidly and causes damage when empty. Conditions are optional.
  • /health – Lock a player's health to a fixed value (1–100) until conditions are met.
    Supports optional inventory conditions.
  • /pvp – Disable a player's ability to attack other players.
    Simple on/off toggle.
  • /autosp – Automatically sets your spawnpoint to your death location when you die.
    Click the respawn button to respawn exactly where you died.

All states are persisted in each player's NBT data, surviving server restarts and relogs.


📖 Command Reference

/choke

Subcommand Syntax Description
start /choke start <targets> [slotList] Starts suffocating the target players. If slotList is omitted, the effect is unconditional (always active).
stop /choke stop [targets] Stops the effect. If no targets are given, affects the command sender.

/health

Subcommand Syntax Description
start /health start <target> <health> [slotList] Locks the target's health to the given value (1–100). If slotList is omitted, the lock is unconditional.
stop /health stop [target] Releases the lock and restores max health to 20.

/pvp

Subcommand Syntax Description
start /pvp start <targets> Disables PvP for the targets (they cannot damage other players).
stop /pvp stop [targets] Re-enables PvP.

/autosp

Subcommand Syntax Description
start /autosp start <targets> Enables auto spawnpoint – upon death, the player's spawnpoint is set to the death location.
stop /autosp stop [targets] Disables the feature.

🧩 SlotList Format (for /choke and /health)

The slotList is an optional JSON array that defines conditions on specific inventory slots.
Each entry is an object with the slot name as key and an object of item IDs and required counts.

Slot names:

  • hotbar.0 to hotbar.8 –hotbar
  • inventory.9 to inventory.35 –inventory
  • armor.head, armor.chest, armor.legs, armor.feet –armor
  • offhand –offhand

Item format: "namespace:item" (e.g., "minecraft:diamond").
Count is optional; if omitted, any amount is accepted. Multiple items in one slot act as OR (any of them works).

Example:

[
  {"hotbar.8": {"minecraft:bedrock": 1}},
  {"armor.head": {"create:diving_helmet": 1, "create:netherite_diving_helmet": 1}},
  {"inventory.32": {"minecraft:netherite_block": 32}}
]

This requires:

  • Slot 8 (last hotbar slot) has at least 1 bedrock.
  • Helmet slot has either a diving helmet or a netherite diving helmet.
  • Inventory slot 32 has exactly 32 netherite blocks.

🔒 Permissions

All commands require OP level 2 (default for most server admins).
In singleplayer, enable cheats or use /op in a server environment.


📝 License

This mod is distributed under All Rights Reserved unless otherwise stated in the source code.
You may use it on your server, but redistribution or modification requires explicit permission from the author.


🙏 Acknowledgements

  • NeoForge for the modding framework.
  • All contributors and testers.

📞 Contact

Author: DogOfFurina
Issues & suggestions: GitHub Issues


Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works