diff --git a/.documentation/JAVADOC-README.md b/.documentation/JAVADOC-README.md index a41f20e..c3afbd5 100644 --- a/.documentation/JAVADOC-README.md +++ b/.documentation/JAVADOC-README.md @@ -1,6 +1,6 @@ -# UltraBackpack Javadoc +# UltraDepository Javadoc -基于 [Github Pages](https://pages.github.com/) 搭建,请访问 [JavaDoc](https://carmjos.github.io/UltraBackpack) 。 +基于 [Github Pages](https://pages.github.com/) 搭建,请访问 [JavaDoc](https://carmjos.github.io/UltraDepository) 。 ## 如何实现? diff --git a/.documentation/README.md b/.documentation/README.md index 03a95f4..3f8e7a3 100644 --- a/.documentation/README.md +++ b/.documentation/README.md @@ -1,17 +1,18 @@ ```text - _ _ _ _ ____ _ _ -| | | | | | | _ \ | | | | -| | | | | |_ _ __ __ _| |_) | __ _ ___| | ___ __ __ _ ___| | __ -| | | | | __| '__/ _` | _ < / _` |/ __| |/ / '_ \ / _` |/ __| |/ / -| |__| | | |_| | | (_| | |_) | (_| | (__| <| |_) | (_| | (__| < - \____/|_|\__|_| \__,_|____/ \__,_|\___|_|\_\ .__/ \__,_|\___|_|\_\ - | | - |_| + _ _ _ _ _____ _ _ +| | | | | | | __ \ (_) | +| | | | | |_ _ __ __ _| | | | ___ _ __ ___ ___ _| |_ ___ _ __ _ _ +| | | | | __| '__/ _` | | | |/ _ \ '_ \ / _ \/ __| | __/ _ \| '__| | | | +| |__| | | |_| | | (_| | |__| | __/ |_) | (_) \__ \ | || (_) | | | |_| | + \____/|_|\__|_| \__,_|_____/ \___| .__/ \___/|___/_|\__\___/|_| \__, | + | | __/ | + |_| |___/ ``` -# UltraBackpack 帮助介绍文档 + +# UltraDepository 帮助介绍文档 ## [开发文档](JAVADOC-README.md) -基于 [Github Pages](https://pages.github.com/) 搭建,请访问 [JavaDoc](https://carmjos.github.io/UltraBackpack) 。 +基于 [Github Pages](https://pages.github.com/) 搭建,请访问 [JavaDoc](https://carmjos.github.io/UltraDepository) 。 ## 文档目录 \ No newline at end of file diff --git a/.examples/depositories/README.md b/.examples/depositories/README.md new file mode 100644 index 0000000..b41ec92 --- /dev/null +++ b/.examples/depositories/README.md @@ -0,0 +1,31 @@ +# UltraDepository 示例仓库配置 + +## 使用须知 + +示例配置基于 MineCraft 1.16 实现,更低版本可能无法使用。 + +## 如何使用? + +1. 下载并安装 UltraDepository 插件。 +2. 启动服务器,配置 `config.yml` 中的一些基础设置。 +3. 下载你想要的示例仓库配置文件,并放入 `插件配置目录/depositories` 下。 +4. 重启服务器,即可令对应的配置文件生效! + + +## 示例图片 + +### 渔夫仓库 ([fishman.yml](fishman.yml)) + +![fishman](images/fishman.png) + +### 矿工仓库 ([miner.yml](miner.yml)) + +![miner](images/miner.png) + +### 农夫仓库 ([farmer.yml](farmer.yml)) + +![farmer](images/farmer.png) + +### 猎人仓库 ([hunter.yml](hunter.yml)) + +![hunter](images/hunter.png) \ No newline at end of file diff --git a/.examples/depositories/farmer.yml b/.examples/depositories/farmer.yml new file mode 100644 index 0000000..194ade7 --- /dev/null +++ b/.examples/depositories/farmer.yml @@ -0,0 +1,129 @@ +name: "&a&l农夫仓库" + +capacity: + default: 500 # 若为0则默认不可以使用该仓库 + permissions: + - "ud.farmer.vip:1000" + +gui: + title: "&a&l农夫仓库" + lines: 6 + items: + "INFO": + material: CHEST + data: 0 + slot: 49 + name: "&2&l背包信息" + lore: + - " " + - "&f仓库最大容量&a %UltraDepository_capacity_farmer%" + - "&f仓库已用容量&a %UltraDepository_used_farmer%" + - "&f仓库剩余容量&a %UltraDepository_usable_farmer%" + - " " + +items: + "WHEAT_SEEDS": + slot: 10 + price: 0.1 + limit: 500 + name: "&a&l小麦种子" + "MELON_SEEDS": + slot: 11 + price: 0.1 + limit: 500 + name: "&8&l西瓜种子" + "PUMPKIN_SEEDS": + slot: 12 + price: 0.1 + limit: 500 + name: "&f&l南瓜种子" + "BEETROOT_SEEDS": + slot: 13 + price: 0.1 + limit: 500 + name: "&7&l甜菜种子" + "NETHER_WART": + slot: 14 + price: 0.1 + limit: 500 + name: "&c&l地狱疣" + "COCOA_BEANS": + slot: 15 + price: 0.1 + limit: 500 + name: "&6&l可可豆" + "SWEET_BERRIES": + slot: 16 + price: 0.1 + limit: 500 + name: "&c&l树莓" + "BEETROOT": + slot: 19 + price: 0.1 + limit: 500 + name: "&c&l甜菜根" + "CARROT": + slot: 20 + price: 0.1 + limit: 500 + name: "&6&l胡萝卜" + "POTATO": + slot: 21 + price: 0.1 + limit: 500 + name: "&e&l土豆" + "WHEAT": + slot: 22 + price: 0.1 + limit: 500 + name: "&e&l小麦" + "MELON_SLICE": + slot: 23 + price: 0.1 + limit: 500 + name: "&c&l西瓜片" + "PUMPKIN": + slot: 24 + price: 0.1 + limit: 500 + name: "&6&l南瓜" + "CACTUS": + slot: 25 + price: 0.1 + limit: 500 + name: "&2&l仙人掌" + "POISONOUS_POTATO": + slot: 28 + price: 0.1 + limit: 500 + name: "&a&l毒土豆" + "KELP": + slot: 29 + price: 0.1 + limit: 500 + name: "&2&l海带" + "SUGAR_CANE": + slot: 30 + price: 0.1 + limit: 500 + name: "&a&l甘蔗" + "BAMBOO": + slot: 31 + price: 0.1 + limit: 500 + name: "&a&l竹子" + "VINE": + slot: 32 + price: 0.1 + limit: 500 + name: "&2&l藤蔓" + "CHORUS_FRUIT": + slot: 33 + price: 0.1 + limit: 500 + name: "&d&l紫颂果" + "CHORUS_PLANT": + slot: 34 + price: 0.1 + limit: 500 + name: "&5&l紫颂植株" \ No newline at end of file diff --git a/.examples/depositories/fishman.yml b/.examples/depositories/fishman.yml new file mode 100644 index 0000000..8679965 --- /dev/null +++ b/.examples/depositories/fishman.yml @@ -0,0 +1,64 @@ +name: "&b&l渔夫仓库" + +capacity: + default: 500 # 若为0则默认不可以使用该仓库 + permissions: + - "ud.fishman.vip:1000" + +gui: + title: "&b&l渔夫仓库" + lines: 4 + items: + "INFO": + material: CHEST + data: 0 + slot: 31 + name: "&9&l背包信息" + lore: + - " " + - "&f仓库最大容量&b %UltraDepository_capacity_fishman%" + - "&f仓库已用容量&b %UltraDepository_used_fishman%" + - "&f仓库剩余容量&b %UltraDepository_usable_fishman%" + - " " + +items: + "INK_SAC": + slot: 11 + price: 0.1 + limit: 500 + name: "&8&l墨囊" + lore: + - " " + - "&f抓住墨鱼!" + "TROPICAL_FISH": + slot: 12 + price: 0.1 + limit: 500 + name: "&(#EE7942)&l小丑鱼" + lore: + - " " + - "&f不是小丑!" + "SALMON": + slot: 13 + price: 0.1 + limit: 500 + name: "&c&l鲑鱼" + lore: + - " " + - "&f肉质鲜美!" + "COD": + slot: 14 + price: 0.1 + limit: 500 + name: "&f&l鳕鱼" + lore: + - " " + - "&f十分美味!" + "PUFFERFISH": + slot: 15 + price: 0.1 + limit: 500 + name: "&6&L河豚" + lore: + - " " + - "&f小心有毒!" \ No newline at end of file diff --git a/.examples/depositories/hunter.yml b/.examples/depositories/hunter.yml new file mode 100644 index 0000000..ad11cf0 --- /dev/null +++ b/.examples/depositories/hunter.yml @@ -0,0 +1,130 @@ +name: "&5&l猎人仓库" + +capacity: + default: 500 # 若为0则默认不可以使用该仓库 + permissions: + - "ud.hunter.vip:1000" + +gui: + title: "&5&l猎人仓库" + lines: 6 + items: + "INFO": + material: CHEST + data: 0 + slot: 49 + name: "&5&l背包信息" + lore: + - " " + - "&f仓库最大容量&d %UltraDepository_capacity_hunter%" + - "&f仓库已用容量&d %UltraDepository_used_hunter%" + - "&f仓库剩余容量&d %UltraDepository_usable_hunter%" + - " " + + +items: + "CHICKEN": + slot: 10 + price: 0.1 + limit: 500 + name: "&6&l鸡肉" + "PORKCHOP": + slot: 11 + price: 0.1 + limit: 500 + name: "&c&l猪肉" + "BEEF": + slot: 12 + price: 0.1 + limit: 500 + name: "&c&l牛肉" + "MUTTON": + slot: 13 + price: 0.1 + limit: 500 + name: "&6&l羊肉" + "RABBIT": + slot: 14 + price: 0.1 + limit: 500 + name: "&f&l兔肉" + "RABBIT_HIDE": + slot: 15 + price: 0.1 + limit: 500 + name: "&f&l兔子皮" + "LEATHER": + slot: 16 + price: 0.1 + limit: 500 + name: "&c&l皮革" + "EGG": + slot: 19 + price: 0.1 + limit: 500 + name: "&f&l鸡蛋" + "RABBIT_FOOT": + slot: 20 + price: 0.1 + limit: 500 + name: "&f&l兔子脚" + "FEATHER": + slot: 21 + price: 0.1 + limit: 500 + name: "&f&l羽毛" + "GOLD_NUGGET": + slot: 22 + price: 0.1 + limit: 500 + name: "&e&l金粒" + "GHAST_TEAR": + slot: 23 + price: 0.1 + limit: 500 + name: "&7&l恶魂之泪" + "BLAZE_ROD": + slot: 24 + price: 0.1 + limit: 500 + name: "&e&l烈焰棒" + "MAGMA_CREAM": + slot: 25 + price: 0.1 + limit: 500 + name: "&c&l岩浆球" + "SLIME_BALL": + slot: 28 + price: 0.1 + limit: 500 + name: "&a&l粘液球" + "BONE": + slot: 29 + price: 0.1 + limit: 500 + name: "&f&l骨头" + "SPIDER_EYE": + slot: 30 + price: 0.1 + limit: 500 + name: "&4&l蜘蛛眼" + "GUNPOWDER": + slot: 31 + price: 0.1 + limit: 500 + name: "&7&l火药" + "ROTTEN_FLESH": + slot: 32 + price: 0.1 + limit: 500 + name: "&2&l腐肉" + "STRING": + slot: 33 + price: 0.1 + limit: 500 + name: "&f&l线" + "ENDER_PEARL": + slot: 34 + price: 0.1 + limit: 500 + name: "&5&l末影珍珠" \ No newline at end of file diff --git a/.examples/depositories/images/farmer.png b/.examples/depositories/images/farmer.png new file mode 100644 index 0000000..e465c34 Binary files /dev/null and b/.examples/depositories/images/farmer.png differ diff --git a/.examples/depositories/images/fishman.png b/.examples/depositories/images/fishman.png new file mode 100644 index 0000000..f83212c Binary files /dev/null and b/.examples/depositories/images/fishman.png differ diff --git a/.examples/depositories/images/hunter.png b/.examples/depositories/images/hunter.png new file mode 100644 index 0000000..a486a12 Binary files /dev/null and b/.examples/depositories/images/hunter.png differ diff --git a/.examples/depositories/images/miner.png b/.examples/depositories/images/miner.png new file mode 100644 index 0000000..ab08230 Binary files /dev/null and b/.examples/depositories/images/miner.png differ diff --git a/.examples/depositories/miner.yml b/.examples/depositories/miner.yml index 73f6ce4..8f26d13 100644 --- a/.examples/depositories/miner.yml +++ b/.examples/depositories/miner.yml @@ -1,28 +1,136 @@ -name: "&c&l矿业仓库" +name: "&e&l矿工仓库" capacity: - default: 0 # 若为0则默认不可以使用该仓库 + default: 5000 # 若为0则默认不可以使用该仓库 permissions: - - "ub.miner.vip:5000" + - "ud.miner.vip:10000" gui: - title: "&c&l矿业仓库" + title: "&e&l矿工仓库" lines: 6 items: - "CLOSE": - material: RED_STONE + "INFO": + material: CHEST data: 0 - slot: 0 - name: "关闭界面" + slot: 49 + name: "&e&l背包信息" lore: - - "点击后您将关闭本界面。" - actions: - - "[LEFT:CLOSE]" - - "[SHIFT_LEFT:CLOSE]" + - " " + - "&f仓库最大容量&6 %UltraDepository_capacity_miner%" + - "&f仓库已用容量&6 %UltraDepository_used_miner%" + - "&f仓库剩余容量&6 %UltraDepository_usable_miner%" + - " " items: + "COBBLESTONE": + slot: 11 + price: 0.1 + limit: 500 + name: "&f&l圆石" + lore: + - " " + - "&f方块!" + "IRON_ORE": + slot: 12 + price: 0.1 + limit: 500 + name: "&f&l铁矿" + lore: + - " " + - "&f升级!" + "GOLD_ORE": + slot: 13 + price: 0.1 + limit: 500 + name: "&e&l金矿" + lore: + - " " + - "&f财富!" + "COAL": + slot: 14 + price: 0.1 + limit: 500 + name: "&8&l煤炭" + lore: + - " " + - "&f燃料!" + "FLINT": + slot: 15 + price: 0.1 + limit: 500 + name: "&7&l燧石" + lore: + - " " + - "&f点火!" + "IRON_INGOT": + slot: 20 + price: 0.1 + limit: 500 + name: "&f&l铁锭" + lore: + - " " + - "&f制造!" + "GOLD_INGOT": + slot: 21 + price: 0.1 + limit: 500 + name: "&e&l金锭" + lore: + - " " + - "&f高贵!" + "LAPIS_LAZULI": + slot: 22 + price: 0.1 + limit: 500 + name: "&9&l青金石" + lore: + - " " + - "&f附魔!" "DIAMOND": - slot: 5 + slot: 23 price: 10 - limit: 100 - name: "&b&l钻石" \ No newline at end of file + limit: 1500 + name: "&b&l钻石" + lore: + - " " + - "&f钻石!" + "EMERALD": + slot: 24 + price: 10 + limit: 1500 + name: "&a&l绿宝石" + lore: + - " " + - "&f交易!" + "CLAY_BALL": + slot: 30 + price: 0.1 + limit: 500 + name: "&7&l黏土" + lore: + - " " + - "&f塑形!" + "REDSTONE": + slot: 29 + price: 0.1 + limit: 500 + name: "&c&l红石" + lore: + - " " + - "&f电路!" + "GLOWSTONE_DUST": + slot: 32 + price: 0.5 + limit: 1500 + name: "&6&l萤石" + lore: + - " " + - "&f发光!" + "QUARTZ": + slot: 33 + price: 0.5 + limit: 1500 + name: "&f&l石英" + lore: + - " " + - "&f美丽!" \ No newline at end of file