diff --git a/docs-java/process/plugin/ManageTool/Permission/meta.md b/docs-java/process/plugin/ManageTool/Permission/meta.md index 731173e9d..f2cf9321d 100644 --- a/docs-java/process/plugin/ManageTool/Permission/meta.md +++ b/docs-java/process/plugin/ManageTool/Permission/meta.md @@ -40,6 +40,35 @@ sidebar_position: 6 - 'refresh: A' ``` +### 升级制vip + + + +```yaml + 'A': + display: + material: stone + update: 20 + icons: + - condition: 'perm rank.vip+' + display: + lore: '最顶级vip' + - condition: 'perm rank.vip' + display: + lore: '你是普通玩家,点击花费20金币升级到vip+' + actions: + all: + - 'command inline "lp user {{player name}} permission set rank.vip+ true" as console {condition=check papi %vault_eco_balance% >= 20}' + - condition: 'perm rank.default' + display: + lore: '你是普通玩家,点击花费10金币升级到vip' + actions: + all: + - 'command inline "lp user {{player name}} permission set rank.vip true" as console {condition=check papi %vault_eco_balance% >= 10}' +``` + + + 用权限的好处是适用性广,不过对op不太方便,因为op所有权限都是true嘛 ## 限时权限 diff --git a/docs-java/process/plugin/other/Menu/TrMenu.md b/docs-java/process/plugin/other/Menu/TrMenu.md index ea96c6d36..44fd8f780 100644 --- a/docs-java/process/plugin/other/Menu/TrMenu.md +++ b/docs-java/process/plugin/other/Menu/TrMenu.md @@ -42,12 +42,6 @@ sidebar_position: 4 交流群:325014486 -## Invero - -Invero 俗称 TrMenu v4 - -详情请见 [Invero](Invero.md) - ## 案例 :::warning @@ -94,6 +88,22 @@ Invero 俗称 TrMenu v4 - condition: 'tell 想不到骚话' ``` +特别的,写在此处的语句要比 name,lore 等位置先执行,下方是一个使用此特性的案例 + +```yaml + 'A': + display: + material: stone + icons: + - condition: 'meta set mat to stone' + - condition: 'tell meta get mat' + - condition: 'meta set amt to 10' + actions: + all: + tell meta get mat + papi join [ '%checkitem_remove_mat:' meta get mat ',amt:' meta get amt '%' ] +``` + ![](_images/子图标写动作.png) ### 玩家信息 diff --git a/docs-java/process/plugin/protection/BentoBox.md b/docs-java/process/plugin/protection/BentoBox.md index b385d52ca..9f508c056 100644 --- a/docs-java/process/plugin/protection/BentoBox.md +++ b/docs-java/process/plugin/protection/BentoBox.md @@ -19,7 +19,6 @@ sidebar_label: 领域 - BentoBox `文档(中文)` https://docs.bentobox.world/zh/latest/ - ::: 著名的领域生存插件。 diff --git a/docs/advance/open-website.md b/docs/advance/open-website.md index f51a0e5de..5a9cbb0a9 100644 --- a/docs/advance/open-website.md +++ b/docs/advance/open-website.md @@ -228,36 +228,42 @@ cf-cname.xingpingcn.top 不需要开启小黄云 如果你觉得这个源码不适合你,或者是你不想用别人的源码,你可以尝试去自学。这里就不附上自学的教程了 ## 使用NamelessMC搭建网站服务 + ### 使用宝塔面板搭建 + :::warning 如果你的域名没有备案的话,请不要购买国内的服务器(因为工信部为了打击不良网站,所以只要在国内的虚拟主机或服务器要进行建站的话,域名需要备案) ::: + #### 要准备的 + namelessmc的配置要求原文要求的是 PHP 7.4、8.0或8.1(推荐),具有以下扩展: - - php curl - - php-exif - - php-gd支持png和jpeg - - php mbstring - - php-mysql或php-mysqlnd - - php pdo - - php xml + + php curl + + php-exif + + php-gd支持png和jpeg + + php mbstring + + php-mysql或php-mysqlnd + + php pdo + + php xml 还有MySQL 5.7.22或更高 或 MariaDB 10.2或更高 还有一台安装了Apache或NGINX或Caddy的服务器 这些宝塔面板都有(除php插件外) + #### 正式开始 + :::warning 接下来的教程都默认你安装了所有依赖和有公网ip @@ -302,5 +308,3 @@ PHP 7.4、8.0或8.1(推荐),具有以下扩展: ![](_images/open-web-photo/index.png) 如果你看到这个界面那么如果你是第1次使用宝塔面板搭建网站,那么恭喜你,你成功了 - -