Code Monkey home page Code Monkey logo

chest-menu---nukkit's Introduction

一个很久之前写的mcpe服务器插件,基于nukkit服务端,mcpe版本 <= 1.1

一个nk版的箱子菜单,因为我还是萌新(反正萌就对了),所以写的貌似有点难配置#(滑稽)

/menu add [id]

新建一个菜单。

/menu send [id]

给自己显示一个菜单。

/menu set [id]

进入设置模式,可自由从菜单取出/放入物品。

/menu item new [名字]

设置手持物品为菜单物品

/menu item set [属性] [数值]

(close true/false 输入true点击按钮会关闭菜单)

(give 物品id:物品特殊值 给予玩家物品,重复输入可添加多个物品)

(del 物品id:物品特殊值 删除玩家的物品,重复输入可添加多个物品)

(add 数字 给玩家money)

(remove 数字 减少玩家money)

(cmd 指令 用.代替空格,{p}代替执行的玩家名字,指令前面加{op}执行op指令,如{op}say.{p}。重复输入可添加多个指令)。

/menu reload

重载菜单数据和配置文件

配置文件config可改手持什么物品点击打开菜单。

进服会给玩家一张地图,手持地图潜行也会打开菜单,可在配置文件关闭打开,打开什么菜单也要设置,填菜单id。

手持地图潜行打开菜单有几率失败,因为nk的物品存多了nbt就炸

要改地图上的图片只要更改插件目录下的Menu.png然后重启服务器,记得改名成Menu.png

money使用@him188money插件

chest-menu---nukkit's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.