Перейти к содержимому
Mineforgian

Pocket Dimensions

Create custom pocket dimension for you players! They can invite and kick other players and go between the real world and their pocket dimension using a special item!

Загрузки
670
Подписчики
19
Обновлён
15 февраля 2026 г.
Лицензия
All-Rights-Reserved

Опубликован 28 июня 2024 г.

Pocket Dimensions 0.0.5-ALPHA

Pocket Dimensions lets you create custom worlds for your players.

Commands

Command Usage Permission Description
/givepd /givepd <player> [dimension|mobtool] pocketdimensions.commands.givepd Gives the PD item. Defaults to 'dimension' if type is unspecified. Use 'mobtool' for the mob teleporter (requires extra perm).
pocketdimensions.commands.givepd.tool Required to give the 'mobtool' specifically.
/pdtp /pdtp <player> pocketdimensions.commands.pdtp Admin teleport to any player's pocket dimension (offline supported).
/pd /pd <action> [args] pocketdimensions.commands.players.pd Base command for player actions.
/pd invite <player> pocketdimensions.commands.player.pd.invite Invite a player to your dimension.
/pd acceptinv (None) Accept a pending invite (expires in 120s).
/pd kick <player> pocketdimensions.commands.player.pd.kick Kick a player from your dimension.
pocketdimensions.commands.player.pd.kick.bypass Players with this permission cannot be kicked.
/pdleave /pdleave pocketdimensions.commands.player.pdleave Leave the current pocket dimension and return to previous location.
/pdgamerule /pdgamerule <player> <rule> [value] pocketdimensions.commands.pdgamerule View or set a gamerule in a specific player's dimension.
/pdworldborder /pdworldborder <player> <size> pocketdimensions.commands.pdworldborder Set the world border size for a specific player's dimension.

Mob Teleportation

Right-click a mob with your Pocket Dimension item (or dedicated tool) to transport it between worlds.

  • Store: Send a mob into your dimension (teleports to your last known location in the PD, or spawn).
  • Retrieve: Take a mob out of your dimension (teleports to your last known location in the main world).

Permissions:

  • pocketdimensions.mobteleport.use - Required to use the feature at all.
  • pocketdimensions.mobteleport.store - Required to send mobs IN.
  • pocketdimensions.mobteleport.retrieve - Required to take mobs OUT.

Recommended Permissions (Player Rank)

Give these to your default players for the full experience:

- pocketdimensions.commands.players.pd
- pocketdimensions.commands.player.pd.invite
- pocketdimensions.commands.player.pd.kick
- pocketdimensions.commands.player.pdleave
- pocketdimensions.mobteleport.use
- pocketdimensions.mobteleport.store
- pocketdimensions.mobteleport.retrieve

Default Game Rules

The following rules are applied to Pocket Dimensions by default (currently hardcoded):

  • DO_MOB_SPAWNING: false
  • DO_IMMEDIATE_RESPAWN: true
  • KEEP_INVENTORY: true
  • MOB_GRIEFING: false
  • DO_WEATHER_CYCLE: false
  • And more (safety defaults).

Default World Border: 10,000 blocks wide (configurable in config.yml).


NOTE: This is one of my first plugins and it is still under heavy development. There are definitely bugs. Please report them on my discord - https://discord.gg/H5XdXvb2pP or add them to https://github.com/lethy-r/PocketDimensions-Issues/issues

Ченджлог

0.0.5Альфа1.21.9, 1.21.10, 1.21.11 · 15 февраля 2026 г.
  • Added 1.21.11 compatibility: Fixed crash related to DO_MOB_SPAWNING removal by implementing dynamic GameRule resolution.
  • Added Bi-directional Mob Teleportation:
    • Players can send mobs into their PD and retrieve them back to the main world.
    • Mobs teleport to the player's last known location in the respective dimension.
    • Ownership check: Only the owner of the PD can teleport mobs to/from it.
  • Added Modular Tool System:
    • New tools section in config.yml.
    • Configurable mob-teleporter tool (required: true/false).
    • /givepd <player> [dimension|mobtool] command updated with tab-completion.
  • Added Automatic Config Updater:
    • Automatically adds new configuration keys to existing files on startup without loss of user data.
  • Improved Quality of Life:
    • Full Tab-Completion for all commands (/pd, /givepd, /pdgamerule, /pdtp, /pdworldborder).
    • Cooldown system to prevent accidental double-teleportation when interacting with mobs.
  • Modular Permissions:
    • Added specific permissions for storing/retrieving mobs and giving tools.
    • Registered all legacy permissions in plugin.yml.
  • Bug Fixes:
    • Fixed issue where players would teleport along with mobs.
    • Fixed logic for right-clickable entities (horses, sheep, etc.) to ensure teleportation works consistently.
0.0.4Альфа1.21.8, 1.21.9, 1.21.10 · 20 января 2026 г.

Added

  • /pdleave Command: Added a new command to leave the current pocket dimension and return to your previous location (or spawn).
    • Permission: pocketdimensions.commands.player.pdleave
  • /pdworldborder Command: Added a command to set and update the world border size for a specific player's pocket dimension.
    • Permission: pocketdimensions.commands.pdworldborder
  • messages.yml: Added a full messages configuration file, allowing you to translate or customize every message sent by the plugin.
  • Fail-safe Messages: Added hardcoded default messages. The plugin will now safely fall back to internal defaults if a message is missing from your config.

Configuration Changes

  • Key Item Customization: You can now fully customize the "Key Item" (used to enter dimensions) in config.yml.
    • Change the Material, Display Name, and Lore.
  • World Border Settings:
    • Added default-world-border-size to config.yml to set the global default size.
    • Individual sizes set via /pdworldborder are saved to pdborders.json and now persist across restarts.

Changed

  • Folder Organization: All Pocket Dimension worlds are now generated inside a dedicated pocketdimensionworlds/ folder to keep your server root clean.
    • Note: If you have existing worlds in the root folder, you may need to move them into this new folder manually.
  • Safety Checks: Added strict permission checks to /givepd, /pdgamerule, and other commands to prevent unauthorized use.
  • Location Saving: Improved how the "last location" is saved, ensuring players return to the correct spot even after visiting someone else's dimension.
0.0.3Альфа1.20.4, 1.20.5, 1.20.6 · 25 сентября 2024 г.

-Fixed an Issue with positions not saving when logging off while inside Pocket Dimension.

-Added the Ability to customise gamerules per pocket dimension. (Permission: pocketdimensions.commands.pdgamerule)

0.0.2Альфа1.20.2, 1.20.3, 1.20.4 · 4 июля 2024 г.

0.0.2. -Now it saves the location in the pocket dimension aswell.

-Teleports instantly instead of having to click twice when first loading the pocket dimension.

-Fixed a bug in pdtp where it wouldn't teleport if the dimension wasn't loaded.

0.0.1Альфа1.20.2, 1.20.3, 1.20.4 · 28 июня 2024 г.

Initial Upload Tested 1.19.4-1.20.4 May work in newer

Комментарии

Загружаем…