跳到正文

Pebble’s Portal Commands

作者:lilpebs

A server-side mod that lets you configure your portals to run commands with ease!

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

🌀 Pebbles Portal Commands 🌀

📜 Command Guide
Admin commands for creating and managing command portals:

  • `/portal add <name>` – Begin creating a new portal

1. Right-click the first corner block

2. Right-click the second corner block

3. Add commands using the command below

4. Finish portal creation

  • `/portal commands add <command>` – Add a command to execute when players enter the portal

Example: `/portal commands add give {player_name} diamond 1`

  • `/portal finish` – Complete portal creation
  • `/portal cancel` – Cancel current portal creation
  • `/portal list` – Show all existing portals
  • `/portal remove <name>` – Delete a portal
  • `/portal reload` – Reload portals from disk

💫 Placeholders

  • `{player_name}` – Replaced with the name of the player who enters the portal

Example: `say {player_name} has entered the shop portal!`

Result when player “Steve” enters: `say Steve has entered the shop portal!`

🔰 Usage Tips

  • Portals can include any number of commands
  • You can create portals of any size by selecting corner blocks
  • Commands run with server permission level
  • If you make a mistake, use `/portal cancel` and start over
  • Portals are saved automatically and persist after server restart
  • After configuring your portal, you can also navigate to `config/pebbles-portal-commands/portal to edit or delete your portal, then run /portal reload` to load new configuration

常见问题

Pebble’s Portal Commands 支持哪些 Minecraft 版本?

Pebble’s Portal Commands 支持 Minecraft Java 版 1.21.1,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Pebble’s Portal Commands 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

lilpebs 的其他作品

查看全部 →