Описание
# 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 ` | 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 ` | Sends a teleport request to a player. |
| `/tpahere ` | 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 ` | Sends a private message (also `/w`, `/tell`). |
| `/reply ` (`/r`) | Replies to your last conversation. |
| `/ignore ` | Ignores or unignores a player. |
| `/msgtoggle` | Toggles private messages on/off. |
| `/helpop ` | 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 ` | 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 ` | Creates a warp at your location. |
| `/delwarp ` | Deletes a warp. |
| `/tppos ` | Teleports to exact coordinates. |
| `/tphere ` | Teleports a player to you. |
| `/tpall` | Teleports everyone to you. |
| `/gm [player]` | Changes gamemode (also `/gmc`, `/gms`, `/gma`, `/gmsp`).|
| `/fly`, `/god`, `/heal`, `/feed` | Toggle flight / invulnerability, heal, feed. |
| `/speed [player]` | Sets movement speed. |
| `/vanish` | Becomes invisible to non-staff. |
| `/mute`, `/unmute ` | Mutes or unmutes a player. |
| `/freeze ` | Freezes a player in place. |
| `/warn`, `/warnings`, `/clearwarnings` | Manage player warnings. |
| `/tempban`, `/unban`, `/checkban` | Temporary bans with a duration and reason. |
| `/invsee ` | Views a player's inventory (with armor and off-hand). |
| `/ci [player]` | Clears an inventory. |
| `/repair`, `/more` | Repairs or refills the held item. |
| `/smite ` | Strikes a player with lightning. |
| `/broadcast ` | 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 ` | Creates a protected region from your selection. |
| `/region delete ` | Deletes a region. |
| `/region list` / `/region info ` | Lists regions or shows details. |
| `/region flag ` | Sets a protection flag. |
| `/region addmember` / `removemember` | Adds or removes a bypass member. |
| `/region priority ` | Sets which region wins where they overlap. |
| `/region redefine ` | Updates a region's bounds. |
| `/region tp ` | 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.json` controls 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.