PhantomIsolation 是一款插件,允许玩家选择是否让幻翼生成在自己身边。
主要功能:
-
游戏内命令用于检查、启用或禁用设置。
-
基于权限的访问控制:服务器管理员可以通过配置权限来控制哪些玩家可以使用该插件的功能。
-
可自定义的消息和设置
-
支持 MySQL 和 Flat Files(本地文件)存储类型
简而言之,PhantomIsolation 帮助那些不喜欢幻翼的玩家也能愉快地享受游戏。
权限与命令
| 命令 | 描述 | 权限 | 默认值 |
|---|---|---|---|
/pil |
显示用法命令列表 | `` | |
/pil check |
检查当前设置 | ||
/pil status |
检查当前设置 | ||
/pil enable |
禁用幻翼在你身边生成 | ||
/pil on |
禁用幻翼在你身边生成 | ||
/pil disable |
启用幻翼在你身边生成 | ||
/pil off |
启用幻翼在你身边生成 | ||
/phantomisolationreload |
重新加载配置文件 | phantomisolation.reload |
false |
/pilr |
重新加载配置文件 | phantomisolation.reload |
false |
/phantomisolation <usage> |
命令别名,方便使用 |
Config.yml
# PhantomIsolation2 配置
# PhantomIsolation 命令消息
phantomisolation-command:
messages:
status: "&a幻影隔离当前状态为 %status%"
status_enabled: "&a已启用"
status_disabled: "&c已禁用"
not-player: "&c此命令只能由玩家执行!"
enabled: "&a幻影隔离现已启用。"
disable: "&c幻影隔离现已禁用。"
usage: "&6用法: /phantomisolation &a[check|disable|enable]"
# PhantomIsolationReload 命令消息
phantomisolationreload-command:
messages:
reload-config: "&a配置已成功重新加载。"
reload-config-error: "&c重新加载配置时发生错误。"
# 数据库设置及错误消息
database:
# 数据库类型
datatype: "flatfile" # 选项: "flatfile" 或 "mysql"
# MySQL 数据库设置(仅在 datatype 为 "mysql" 时使用)
address: "localhost:3306"
user: "username"
password: "password"
database: "phantom_isolation"
# 本地文件错误消息
flatfile-messages:
fail-load: "&c无法从本地文件加载数据。"
fail-save: "&c无法将数据保存到本地文件。"
# MySQL 错误消息
mysql-messages:
fail-connect: "&c无法连接到 MySQL 数据库。"
fail-load: "&c无法从 MySQL 数据库加载数据。"
fail-save: "&c无法将数据保存到 MySQL 数据库。"
贡献
如果您希望为 PhantomIsolation 做出贡献,欢迎提交包含您更改的拉取请求。我们欢迎并感谢所有贡献。
许可证
本插件采用 MIT 许可证授权。有关更多信息,请参阅 LICENSE.md。
PhantomIsolation is a plugin allow player choose phantom should spawn on them self.
Key Features:
-
In-game command to check, enabled, disabled setting.
-
Permission-based access: Server administrators can control which players have access to the plugin's features by configuring permissions.
-
Configurable messages and settings
-
Support Mysql , Flat Flies storage type
In summary, PhantomIsolation is help player don't like phantom still enjoy the game.
Permissions & Commands
| Command | Description | Permission | Default |
|---|---|---|---|
/pil |
usage command list | `` | |
/pil check |
check current settings | ||
/pil status |
check current settings | ||
/pil enable |
disable phantom to spawn on you | ||
/pil on |
disable phantom to spawn on you | ||
/pil disable |
enable phantom to spawn on you | ||
/pil off |
enable phantom to spawn on you | ||
/phantomisolationreload |
reload configuration flies | phantomisolation.reload |
false |
/pilr |
reload configuration flies | phantomisolation.reload |
false |
/phantomisolation <usage> |
alias command for easy to using command |
Config.yml
# PhantomIsolation2 Configuration
# PhantomIsolation command messages
phantomisolation-command:
messages:
status: "&aPhantom Isolation is currently %status%"
status_enabled: "&aenabled"
status_disabled: "&cdisabled"
not-player: "&cThis command can only be executed by a player!"
enabled: "&aPhantom Isolation is now enabled."
disable: "&cPhantom Isolation is now disabled."
usage: "&6Usage: /phantomisolation &a[check|disable|enable]"
# PhantomIsolationReload command messages
phantomisolationreload-command:
messages:
reload-config: "&aConfiguration reloaded successfully."
reload-config-error: "&cAn error occurred while reloading the configuration."
# Database settings and error messages
database:
# Database type
datatype: "flatfile" # Options: "flatfile" or "mysql"
# MySQL database settings (only used if datatype is "mysql")
address: "localhost:3306"
user: "username"
password: "password"
database: "phantom_isolation"
# Flat file error messages
flatfile-messages:
fail-load: "&cFailed to load data from the flat file."
fail-save: "&cFailed to save data to the flat file."
# MySQL error messages
mysql-messages:
fail-connect: "&cFailed to connect to MySQL database."
fail-load: "&cFailed to load data from the MySQL database."
fail-save: "&cFailed to save data to the MySQL database."
Contributing
If you would like to contribute to PhantomIsolation, feel free to submit a pull request with your changes. All contributions are welcome and appreciated.
License
This plugin is licensed under the MIT license. See LICENSE.md for more information.
下载 PhantomIsolation
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PhantomIsolation
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PhantomIsolation
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PhantomIsolation
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PhantomIsolation
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 PhantomIsolation
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
评论 0
登录后参与评分
还没有评论,来抢沙发吧