CoreCommands Mod
CoreCommands is a Minecraft mod that adds the essential commands a server needs - homes, warps, teleporting, moderation tools, and area protection - in one lightweight package. Everything works across dimensions, saves to disk, and lands you somewhere safe. Here's an overview of the commands and features.
Homes & Warps:
| Command | Description |
|---|---|
/home [name] |
Teleports home. With one home it goes straight there; with several it lets you pick. |
/sethome [name] |
Sets a home at your location. No name sets a default home. |
/delhome <name> |
Deletes a home. |
/homes (/listhomes) |
Lists your homes (clickable). |
/warp [name] |
Teleports to a warp, or lists them. |
/warps (/listwarps) |
Lists all warps (clickable). |
/spawn |
Teleports to the server spawn. |
Teleporting:
| Command | Description |
|---|---|
/tpa <player> |
Sends a teleport request to a player. |
/tpahere <player> |
Asks a player to teleport to you. |
/tpaccept |
Accepts a teleport request. |
/tphereaccept |
Accepts a "teleport to me" request. |
/tpdeny |
Denies a pending request. |
/tpcancel |
Cancels a request you sent. |
/back |
Returns to your last location or death point (safely). |
/rtp |
Teleports to a random safe spot above ground. |
/top |
Teleports to the highest block above you. |
Communication:
| Command | Description |
|---|---|
/msg <player> <message> |
Sends a private message (also /w, /tell). |
/reply <message> (/r) |
Replies to your last conversation. |
/ignore <player> |
Ignores or unignores a player. |
/msgtoggle |
Toggles private messages on/off. |
/helpop <message> |
Messages online staff. |
/rules |
Displays the server rules. |
Utility & Info:
| Command | Description |
|---|---|
/list |
Shows who's online. |
/tps |
Server performance, memory, and uptime. |
/near [radius] |
Lists nearby players. |
/seen <player> |
Shows when a player was last online. |
/playtime |
Shows your total playtime. |
/ping |
Shows your connection ping. |
/afk |
Toggles AFK status. |
/enderchest (/ec) |
Opens your ender chest anywhere. |
/workbench (/craft) |
Opens a crafting table anywhere. |
/hat |
Wears the item in your hand. |
/chelp |
Opens the clickable command list. |
Staff Commands (op only):
| Command | Description |
|---|---|
/setspawn |
Sets the server spawn. |
/setwarp <name> |
Creates a warp at your location. |
/delwarp <name> |
Deletes a warp. |
/tppos <x> <y> <z> |
Teleports to exact coordinates. |
/tphere <player> |
Teleports a player to you. |
/tpall |
Teleports everyone to you. |
/gm <mode> [player] |
Changes gamemode (also /gmc, /gms, /gma, /gmsp). |
/fly, /god, /heal, /feed |
Toggle flight / invulnerability, heal, feed. |
/speed <1-10> [player] |
Sets movement speed. |
/vanish |
Becomes invisible to non-staff. |
/mute, /unmute <player> |
Mutes or unmutes a player. |
/freeze <player> |
Freezes a player in place. |
/warn, /warnings, /clearwarnings |
Manage player warnings. |
/tempban, /unban, /checkban |
Temporary bans with a duration and reason. |
/invsee <player> |
Views a player's inventory (with armor and off-hand). |
/ci [player] |
Clears an inventory. |
/repair, /more |
Repairs or refills the held item. |
/smite <player> |
Strikes a player with lightning. |
/broadcast <message> |
Sends a server-wide announcement. |
/socialspy, /sc |
Spy on private messages / toggle staff chat. |
/cc reload, /cc save |
Reloads config or force-saves data. |
Region Protection (op only):
| Command | Description |
|---|---|
/region wand |
Gives the selection wand (left = pos1, right = pos2). |
/region create <name> |
Creates a protected region from your selection. |
/region delete <name> |
Deletes a region. |
/region list / /region info <name> |
Lists regions or shows details. |
/region flag <name> <flag> <deny\|allow> |
Sets a protection flag. |
/region addmember / removemember |
Adds or removes a bypass member. |
/region priority <name> <level> |
Sets which region wins where they overlap. |
/region redefine <name> |
Updates a region's bounds. |
/region tp <name> |
Teleports safely to a region. |
Region flags: break, place, interact, pvp, mob-damage, explosions, drop-item, pickup-item, hunger, fall-damage, entry, exit, notify, damage, container, heal, mob-spawning.
Features:
- Homes & Warps - multiple homes and warps with tab completion and clickable lists. Homes save instantly.
- Safe Teleporting - homes, warps, spawn, back, and region teleports never drop you into blocks, lava, or the void.
- Smart /rtp - smooth, lag-free random teleport that always lands above ground (never caves), respects the world border, and has an adjustable cooldown.
- Region Protection - wand-based claims that cover full height, with per-region flags, member bypass, and a priority system.
- Moderation Suite - mute, freeze, warnings, temp bans, vanish, social spy, and staff chat.
- Cross-Dimension - everything works in the Overworld, Nether, and End.
- Data Persistence - all data is saved as JSON in
config/corecommands/, auto-saved every 5 minutes and on shutdown. - Configurable -
config.jsoncontrols max homes, RTP range/cooldown, TPA timeout, full-height claims, update checks, and more. - Update Notifications - staff are told in-game when a new version is available.
How to Install CoreCommands (Mod)
CoreCommands by TheeCobra is verified for Forge, Neoforge across Minecraft versions 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1 (latest release: 2.2.3, file size: 156 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1) and platform (Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Forge, Neoforge.
- Move the downloaded CoreCommands file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version- Runs on Minecraft 26.1.2 / NeoForge 26.1.2. Use v2.2.1 for 26.2 and v2.2.0 for 1.21.1.
## Bug Fixes
- Fixed a server crash every 5 minutes when an expired tempban was left over from before a restart.
- Fixed the jar missing loader info, so older NeoForge gave a confusing error instead of saying which Minecraft version is needed.
- Singleplayer worlds no longer share homes, warps, regions, jails and spawn with each other.
- A data file that can't be read is kept as <name>.broken instead of being wiped.
- Broken or very old entries in data files no longer crash the server.
- Mutes, tempbans, warnings and freezes are saved right away, so a crash can't undo them.
- Accepting a teleport request after the other player respawned no longer sends you to where they died.
- Homes, warps, jails, spawn and /back now work in modded dimensions.
- Teleport requests have clickable [Accept] and [Deny] buttons.
- Tab complete for player names, times, homes, warps, settings and region flags.
- Staff commands work from the console, and /unjail, /warn and /warnings work on offline players.
/region pos1,/region pos2, and/region infoon its own shows the region you're in.- New region flags
animalsandmob-griefing. Regions also block buckets, armor stand looting and pistons from outside. /ec <player>for staff,/playtime <player>, and/ignoreon its own lists who you ignore.- Time settings accept
30sor5minstead of milliseconds.
## Changes
/homegoes straight to a home called "home"./spawnworks even if no spawn was set./tpacceptaccepts both /tpa and /tpahere requests.- Clearer messages. When staff change something for a player, both of them are told.
## Bug Fixes
- /back after dying could put you inside the ground. It now takes you to the nearest safe spot, never into lava, water or blocks.
- Items dropped in a no-drop region were deleted. They go back to your inventory now.
- Logging out in a modded dimension could send you to the Overworld on the next join.
- /hat put the whole stack on your head.
- AFK messages gave away vanished staff.
- Muted players could still use /msg.
- Playtime from the last session before a restart was lost.
### New
/mute <player> [time] [reason]– mutes can now expire on their own/mute,/unmuteand/tempbanwork on players who are offline/trash– open a bin that destroys whatever you put in it/homes <player>– staff can view another player's homesteleportDelaysetting – stand still for a few seconds before teleporting (staff skip it)afkAutoMinutessetting – idle players are marked AFK automatically- Vanished staff now join silently
### Fixes
- Jailed and frozen players could escape with
/home,/warp,/spawn,/backor/tpa - Turning
/backon in/cc configneeded a restart to work - Warps and spawn could be lost if the server crashed before the next autosave
- Logging out while AFK left you stuck as AFK
/cc config- change any setting in game, no file editing and no restart needed. Type/cc configon its own to see every setting with a short description, click one to edit it, or set it directly:/cc config maxHomes 10.- Settings now explain themselves, so finding things like the home limit no longer means digging through the config file.
## Bug Fixes
- Hand editing config.json could silently reset every setting back to default. A mistake in one line now only affects that line, and the server log tells you which one.
- Settings changed in config.json while the server was running were undone a few minutes later.
- A config file that can't be read is kept as config.json.broken instead of being replaced.
- The home limit and RTP range are checked for sensible values instead of being trusted blindly.
/rules reloadreset god mode, vanish, AFK and freeze back to an older state.
/rules add|remove|set|reload- Manage server rules in-game (op only)/cc//corecommands- Show version info/cc reload- Reload all config from files/cc save- Force save all data/tppos <x> <y> <z>- Teleport to exact coordinates/ci [player]- Clear inventory/smite <player>- Strike lightning on a player/region wand- Get the region selection wand (wooden axe)/region create|delete|list|info- Manage protected regions/region flag <name> <flag> <deny|allow>- Set protection flags (break, place, interact, pvp, mob-damage, explosions)/region addmember|removemember- Add/remove bypass members/region priority|redefine- Set priority or update region bounds/region tp <name>- Teleport safely to a region/region expand <name> vert- Expand a region to full height/enderchest(/ec) - Open your ender chest anywhere/workbench(/craft,/wb) - Open a crafting table anywhere/hat- Wear the item in your hand/repair//more- Repair or refill the held item (op only)/list- See who's online/tps- Server performance, memory, and uptime/gm <mode> [player]- Quick gamemode switch/chelp- Clickable in-game command list
## Improvements
- Region-based spawn protection with wand selection, per-region flags, member bypass, and priority system
- Region claims now protect the full height automatically (floor to sky)
- New region flags: damage, container, heal, and mob-spawning
- Auto-save every 5 minutes - no more data loss on crash
- Homes, warps, spawn, and back now work across dimensions (overworld, nether, end)
- Old save data auto-upgrades to include dimension info
- Expired temp bans are cleaned up automatically
rules.jsonnow auto-creates in the config folder on first load- Consolidated gamemode commands into a single clean class
- Config folder reorganized - only
config.jsonandrules.jsonat top level, all data moved todata/subfolder - Existing data files auto-migrate to
data/on first load /invseenow links to the target's real inventory - no more item duplication/rtpis now smooth with no lag spikes and always lands you safely above ground - never in caves, lava, or out of bounds. Short cooldown, adjustable or disable-able by admins.- All teleports (
/home,/warp,/spawn,/back, regions) now land you safely - never stuck inside blocks or the void /hometakes you straight home when you have one, or lets you pick when you have several./sethomewith no name sets a default home.- Homes now save instantly
- Cleaner private messages with click-to-reply, and neater messages throughout
- Staff are notified in-game when a new version is available
## Bug Fixes
- Fixed homes/warps teleporting to wrong dimension
- Fixed
rules.jsonnot appearing in config folder until first shutdown - Fixed freeze position not persisting across dimensions
- Fixed
/invseeallowing item duplication /backno longer
/rules add|remove|set|reload- Manage server rules in-game (op only)/cc//corecommands- Show version info/cc reload- Reload all config from files/cc save- Force save all data/tppos <x> <y> <z>- Teleport to exact coordinates/ci [player]- Clear inventory/smite <player>- Strike lightning on a player
## Improvements
- Auto-save every 5 minutes - no more data loss on crash
- Homes, warps, spawn, and back now work across dimensions (overworld, nether, end)
- Old save data auto-upgrades to include dimension info
- Expired temp bans are cleaned up automatically
rules.jsonnow auto-creates in the config folder on first load- Consolidated gamemode commands into a single clean class
- Config folder reorganized - only
config.jsonandrules.jsonat top level, all data moved todata/subfolder - Existing data files auto-migrate to
data/on first load
## Bug Fixes
- Fixed homes/warps teleporting to wrong dimension
- Fixed
rules.jsonnot appearing in config folder until first shutdown - Fixed freeze position not persisting across dimensions
### Player
/ping— Check your connection latency/msgtoggle— Toggle receiving private messages/w,/whisper,/tell— New aliases for/msg
### Staff
/gmc,/gms,/gma,/gmsp— Quick gamemode switching/invsee <player>— View a player's inventory/freeze <player>— Freeze/unfreeze a player in place/staffchator/sc— Private staff-only chat channel/socialspy— Monitor all private messages
### Moderation
/warn <player> <reason>— Issue a warning/warnings <player>— View a player's warning history/clearwarnings <player>— Clear all warnings/tempban <player> <duration> <reason>— Temporarily ban a player (e.g.1d12h,30m)/unban <player>— Remove a temporary ban/checkban <player>— Check remaining ban time
## Improvements
- Private messages now have a cleaner format and play a notification sound
- Max homes, RTP range, TPA timeout, and back command are now fully configurable via
config.json - Config auto-merges new options on update — no need to delete your old config
- Expanded version support for Minecraft
1.21through1.21.x
## Bug Fixes
- God mode and vanish state no longer reset on server restart
- Fixed potential crash caused by concurrent data access on load
- Removed broken TPA request persistence that caused failed teleports after restart
- Players now spawn at their exact logout position when rejoining
- /back command no longer interferes with logout/login positions
- Position tracking properly saves on disconnect
### Added
- Config option to disable /back command (config/corecommands/config.json)
- Separate logout position tracking system
### New Commands
/reply <message>- Quick reply to your last message/tphere <player>- Teleport players to you (Admin only)/tpcancel- Cancel your pending teleport request/helpop <message>- Request help from online operators
### Improvements
- TPA requests now expire after 60 seconds
- Home limit: 5 homes per player
- Death location saved - use
/backto return - Better color-coded messages for clarity
- All teleport commands now save your previous location
### Bug Fixes
- Fixed duplicate data loading issue
- Improved command error handling
- Enhanced message formatting consistency
## Commands List
- Player Commands:**
/tpa, /tpaccept, /tpdeny, /tpcancel, /home, /sethome, /delhome, /listhomes, /spawn, /warp, /listwarps, /back, /afk, /rules, /msg, /reply, /helpop- Admin Commands:**
/setspawn, /setwarp, /delwarp, /tphere- Fixed Teleportation Issues**:
- Player spawn points are now properly saved and loaded.
- Resolved the issue with players being teleported to unintended locations on first join.
- Improved Command Auto-Completion**:
- Updated
/tpaand/msgcommands to useEntityArgument.player()instead ofStringArgumentType.word()for better player name auto-completion.
- Reliable Data Handling**:
- Ensured that data like homes, warps, AFK status, last locations, and teleportation requests are saved and loaded correctly.
#### New Commands
/back**: Teleports players to their last location./afk**: Toggles AFK status and untoggle./rules**: Displays server rules./msg**: Sends private messages to other players.
#### Enhancements
- Case-Insensitive Names**: Home and warp names are now case-insensitive.
- Tab Completion**: Added tab completion for home and warp names.
- Improved Messaging**: Enhanced message formatting with multiple colors for clarity.
- Customizable Rules**: Added a rules file for server owners to customize rules.