▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Pocket Dimensions
Pocket Dimensions

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!

Оцените первым
967
19

Pocket Dimensions 0.0.7-ALPHA

Pocket Dimensions lets every player own a personal world — invite friends, set trust levels, teleport mobs, and customize generation. One jar supports Minecraft 1.19.4 → 26.2 (Bukkit, Spigot, Paper, Purpur).

Commands

CommandUsagePermissionDescription
/givepd/givepd <player> [dimension|mobtool]pocketdimensions.commands.givepdGives the PD item bound to <player> (the item only works for them). mobtool requires pocketdimensions.commands.givepd.tool.
/pdtp/pdtp <player>pocketdimensions.commands.pdtpAdmin teleport into any player's dimension (offline supported).
/pd/pd <action> [args]pocketdimensions.commands.players.pdBase command; every action below has its own permission.
/pd invite <player>pocketdimensions.commands.player.pd.inviteInvite a player to the dimension you are standing in (expires in 120s). Works in someone else's dimension only if you are trusted there.
/pd acceptinv [player]pocketdimensions.commands.player.pd.inviteAccept a pending invite; with several invites, pick the sender.
/pd kick <player>pocketdimensions.commands.player.pd.kickKick a player from your dimension.
/pd trust <player> [builder|trusted]pocketdimensions.commands.player.pd.trustGrant trust in your dimension. Default tier: builder. trusted also needs ...pd.trust.trusted.
/pd untrust <player>pocketdimensions.commands.player.pd.trustRevoke trust.
/pd setspawnpocketdimensions.commands.player.pd.setspawnSet your dimension's spawn point to where you stand.
/pd upgradepocketdimensions.commands.player.pd.upgradeUpgrade your border to the next configured tier (charges money when the economy is enabled).
/pd settings [preset|environment|notify] [value]pocketdimensions.commands.player.pd.settingsView/change your dimension preset, environment and entry notifications. Applies when your dimension is next created.
/pd menupocketdimensions.commands.player.pd.menuOpen the GUI menu.
/pdleave/pdleavepocketdimensions.commands.player.pdleaveLeave the current pocket dimension.
/pdgamerule/pdgamerule <player> <rule> [value]pocketdimensions.commands.pdgameruleView or set a gamerule in a player's dimension — persisted per dimension and re-applied on every entry.
/pdworldborder/pdworldborder <player> <size>pocketdimensions.commands.pdworldborderSet a player's border size directly.
/pdreload/pdreloadpocketdimensions.commands.reloadReload config, messages, mob-teleport settings, protection extras and the economy hook. Storage type changes need a restart.
/pdlist/pdlistpocketdimensions.commands.admin.listList all dimensions: owner, loaded state, border, last seen.
/pdadminsee belowpocketdimensions.commands.admin.*/pdadmin delete <player> confirm (world and all data), /pdadmin reset <player> confirm (world only, data kept), /pdadmin cleanup <days> confirm (remove dimensions of players inactive for N days). Refuses while players are inside.

GUI — /pd menu

A two-view inventory. Sections are individually permission-gated:

  • Travel (...pd.menu.teleport) — enter or leave your dimension.
  • Trusted players (...pd.menu.trust) — one skull per trusted player; left-click cycles their tier (builder ↔ trusted), right-click removes. Adding new players: /pd trust <player>.
  • Preset / Environment / Notifications (...pd.menu.settings) — cycle FLAT → VOID → NORMAL and NORMAL → NETHER → THE_END (applies on next creation) and toggle entry notifications.
  • World border (...pd.menu.border) — shows the current and next tier size; click to upgrade.

Trust & protection

Dimension owners grant trust tiers. Everyone else (even past invitees) is a visitor:

  • Visitor — can look around, use doors/buttons, but cannot build, break, open containers or hurt the owner's mobs.
  • Builder — can build, break and use containers.
  • Trusted — builder rights plus can invite other players into the dimension. Admins (and anyone with pocketdimensions.bypass.protection) bypass all of it. Explosions never damage blocks inside dimensions (configurable).

Dimension settings & presets

New dimensions are generated from dimension.default-preset (FLAT / VOID / NORMAL) and dimension.default-environment (NORMAL / NETHER / THE_END). Players can pick their own for their next creation via /pd settings or the menu. Existing worlds are never regenerated. /pd setspawn moves the in-dimension spawn; invited players and first entries arrive there.

Storage

Pick the backend in config.yml (storage.type):

  • JSON (default) — lastlocs.json, pdborders.json, dimensions.json in the plugin folder; atomic, serialized writes. The first two are the same files 0.0.5 used.
  • SQLITE / MYSQL — bundled JDBC drivers, nothing to install. Switching auto-imports existing JSON data once and renames the old files *.imported. Tables created on first boot: pd_locations, pd_borders, pd_meta, pd_trusts, pd_settings.

Economy (Vault) — disabled by default

  1. Install Vault and any economy plugin (EssentialsX, CMI…).
  2. Set economy.enabled: true in config.yml and set prices.
  3. economy.creation-cost is charged the first time a player's world is created; economy.upgrades are the border tiers used by /pd upgrade and the menu. Without Vault (or with economy.enabled: false) everything works but is free.

World Management

Empty dimensions unload (after saving) after world-management.unload-delay-seconds; players who log out inside are returned on rejoin. entity-cap warns owners whose dimension exceeds the limit (0 = off).

Mob Teleportation

Right-click a mob with your key item (or the mob teleporter tool) to store it in your dimension or retrieve it back.

  • pocketdimensions.mobteleport.use — use the feature at all.
  • pocketdimensions.mobteleport.store — send mobs in.
  • pocketdimensions.mobteleport.retrieve — take mobs out.

Default Game Rules

Defaults live in config.yml (default-gamerules:); rule names are resolved at runtime with legacy fallbacks, so both 26.x and pre-1.21.11 spellings work on any server. Per-dimension overrides made with /pdgamerule are stored and win over the defaults.


Permission Reference

PermissionWhat it controlsDefault
pocketdimensions.receive.keyGetting the key item on first join (key-item.give-on-first-join)true
pocketdimensions.feedbackEntry/exit titles, sounds and entry notificationstrue
pocketdimensions.bypass.protectionIgnores all dimension protectionop
pocketdimensions.commands.givepd/givepdop
pocketdimensions.commands.givepd.toolGiving the mobtool itemop
pocketdimensions.commands.pdtp/pdtp admin teleportop
pocketdimensions.commands.players.pdBase /pd commandop
pocketdimensions.commands.player.pd.invite/pd invite, /pd acceptinvop
pocketdimensions.commands.player.pd.kick/pd kickop
pocketdimensions.commands.player.pd.kick.bypassCannot be kickedop
pocketdimensions.commands.player.pd.trust/pd trust, /pd untrustop
pocketdimensions.commands.player.pd.trust.trustedGranting the full trusted tierop
pocketdimensions.commands.player.pd.setspawn/pd setspawnop
pocketdimensions.commands.player.pd.upgrade/pd upgrade + menu border itemop
pocketdimensions.commands.player.pd.settings/pd settings + menu setting itemsop
pocketdimensions.commands.player.pd.menuOpening /pd menuop
pocketdimensions.commands.player.pd.menu.teleportMenu travel itemop
pocketdimensions.commands.player.pd.menu.trustMenu trust sectionop
pocketdimensions.commands.player.pd.menu.settingsMenu preset/environment/notification itemsop
pocketdimensions.commands.player.pd.menu.borderMenu border itemop
pocketdimensions.commands.player.pdleave/pdleaveop
pocketdimensions.commands.pdgamerule/pdgamerule (persists per dimension)op
pocketdimensions.commands.pdworldborder/pdworldborderop
pocketdimensions.commands.reload/pdreloadop
pocketdimensions.commands.admin.list/pdlistop
pocketdimensions.commands.admin.delete/pdadmin deleteop
pocketdimensions.commands.admin.reset/pdadmin resetop
pocketdimensions.commands.admin.cleanup/pdadmin cleanupop
pocketdimensions.mobteleport.useUse mob teleportationop
pocketdimensions.mobteleport.storeSend mobs into your dimensionop
pocketdimensions.mobteleport.retrieveTake mobs out of your dimensionop

Recommended player rank (regular players):

- pocketdimensions.commands.players.pd
- pocketdimensions.commands.player.pd.invite
- pocketdimensions.commands.player.pd.kick
- pocketdimensions.commands.player.pd.trust
- pocketdimensions.commands.player.pd.setspawn
- pocketdimensions.commands.player.pd.upgrade
- pocketdimensions.commands.player.pd.settings
- pocketdimensions.commands.player.pd.menu
- pocketdimensions.commands.player.pdleave
- pocketdimensions.mobteleport.use
- pocketdimensions.mobteleport.store
- pocketdimensions.mobteleport.retrieve

Trusted/co-op rank (owners of shared dimensions): everything above plus pocketdimensions.commands.player.pd.trust.trusted. To disable a feature for one player, negate their node (e.g. -pocketdimensions.commands.player.pd.upgrade in LuckPerms); to disable globally, set the matching features.* switch to false.

Config Reference

KeyType / DefaultEffect
default-world-border-sizeint / 10000Border (diameter) when a player has no custom size.
features.trust-protectionbool / trueGlobal switch for the trust system and protection listener.
features.dimension-presetsbool / trueAllows players to choose preset/environment.
features.setspawnbool / trueAllows /pd setspawn.
features.gui-menubool / trueAllows /pd menu.
features.feedbackbool / trueTitles, sounds and entry notifications.
features.placeholderapibool / trueRegisters placeholders when PlaceholderAPI is installed.
features.admin-toolsbool / trueReserved switch for the admin commands (they are permission-gated).
storage.typeJSON/SQLITE/MYSQLActive backend; switching auto-imports JSON data.
storage.sqlite.filestring / database.dbSQLite file inside the plugin folder.
storage.mysql.host/port/database/username/password/use-ssl/table-prefix—MySQL connection and table prefix.
dimension.default-presetFLAT/VOID/NORMALGeneration for new dimensions. VOID = empty world with a small platform; NORMAL = terrain with a random seed.
dimension.default-environmentNORMAL/NETHER/THE_ENDEnvironment for new dimensions.
protection.protect-mobsbool / trueVisitors cannot hurt the owner's mobs.
protection.block-explosionsbool / trueExplosions deal no block damage inside dimensions.
protection.extra-containerslist / []Extra materials treated as locked containers.
economy.enabledbool / falseMaster switch for Vault charges.
economy.creation-costnumber / 0.0Charged on first dimension creation.
economy.upgradeslist of {size, cost}Border tiers for /pd upgrade (free when economy is off).
feedback.titlesbool / trueEntry/exit titles.
feedback.soundsbool / trueEntry/exit sounds.
feedback.sound-enter / feedback.sound-leavesound namePlayed on entry/exit.
key-item.material/name/lore—The key item's look. %player% is replaced.
key-item.custom-model-dataint / 0Resource-pack model (0 = off).
key-item.glowbool / falseEnchant glint.
key-item.give-on-first-joinbool / falseAuto-give once per player (needs pocketdimensions.receive.key).
key-item.interact-cooldown-msint / 1000Anti-double-click cooldown for the item.
key-item.craftable + recipe.shape + recipe.ingredients—Optional crafting recipe; the crafted key binds to the crafter.
tools.mob-teleporter.*—Mob tool: required, material, name, lore, custom-model-data, glow.
mob-teleport.enabled/mode/entities/exclude.categories/allow-named-mobs—Mob teleport rules.
default-gamerules.<rule>bool/intRules applied to every dimension; per-dimension /pdgamerule overrides win.
world-management.auto-unloadbool / trueUnload empty dimensions.
world-management.unload-delay-secondsint / 300Grace period before an empty dimension unloads.
world-management.sweep-interval-secondsint / 300Sweep frequency (min 30).
world-management.entity-capint / 0Warn owners above this entity count (0 = off).

PlaceholderAPI

%pd_in_pd%, %pd_border%, %pd_visitors%, %pd_dimension_loaded%.

Developer API

Cancellable Bukkit events other plugins can listen to: PocketDimensionCreateEvent, PlayerEnterDimensionEvent, PlayerLeaveDimensionEvent, InviteSendEvent, MobTeleportEvent (package mc.lethargos.pocketdimensions.api.event).


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

Партнёрский материал

Сервер для плагина Pocket Dimensions - как у профи

Плагин Pocket Dimensions создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином Pocket Dimensions для друзей можно за пару минут - BungeeHost всё уже подготовил.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.2.x26.1.x1.21.x1.20.x1.19.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки


Создатели

Детали

Лицензия:
Опубликован:2 года назад
Обновлён:1 месяц назад
Главная