Closed AL3XPI closed 5 years ago
@Infernus101
@AL3XPI you're using old KitUI, try with latest release
@Infernus101 I used the latest release and it still gives me the same error.
@Infernus101 I used the latest release and it still gives me the same error.
Whats the version?
1.3.5
1.3.5
do you have old piggyce in your plugins?
i have piggy ce 1.4.6 latest version
send a screenshot of console
do /plugins and send output
@Infernus101
@AL3XPI fixed in v1.3.6
thanks it works now
KitUI Issue
Issue description
Server crashes when you click on a kit with an enchanted sword (unbreaking 3). 1 of my 2 kits (1 has unenchanted stone sword other has enchanted diamond sword).
Reproducing the issue
Client information
PocketMine-MP Version: (insert commit hash here) 3.9.2 Kit-UI Version: (insert commit hash or version from plugin.yml here) 1.3.5 MCPE Version: (insert game version here) 1.12.0 Plugin Version: (insert commit hash here) PHP version: 7.2
Optional information
...
Config
...
§6§lStarter Kit:
Format: "id:damage:count:name:ench_name:ench_level"
If you want only custom name (no enchantments): "id:damage:count:name"
If you don't want enchantments or custom name: "id:damage:count"
If you want only enchantments (no custom name): "id:damage:count:DEFAULT:ench_name:ench_level" -- you have to put DEFAULT in the name field
If you want more than one enchantment just do: "id:damage:count:name:ench1_name:ench1_level:ench2_name:ench2_level"
or "id:damage:count:DEFAULT:ench1_name:ench1_level:ench2_name:ench2_level" if you don't want a custom item name
Please note: You have to write numeric IDs
items:
"364:0:32" helmet: "302:0:1" chestplate: "303:0:1" leggings: "304:0:1" boots: "305:0:1"
commands: # {player} will get replaced by player's name
"tell {player} §6§lStarter Kit §aclaimed!"
cooldown: hours: 0 minutes: 10
Format: "name:time:amplifier"
Time is in seconds
Kit name to show on the menu, you can use color symbol '§'
kit-name: "§6§lStarter Kit"
Add a cost for the kit. Compatible with EconomyAPI only
Put 0 if you want the kit to be free
money: 0
Enter image url for the kit. png image. The image will be shown in kit main menu if its compatible.
image-url: "https://minecraft.gamepedia.com/media/minecraft.gamepedia.com/f/f2/Stone_Sword.png?version=ede6f1623f23eb3959b3d5287dc54bb0"
Info to show when selected a Kit in UI form
info: "Starter Kit for those starting out"
Custom Kit perms, CaSe sEnSiTiVe
permission: "kit.starter" §l§2No§4DeBuff §9Kit:
Format: "id:damage:count:name:ench_name:ench_level"
If you want only custom name (no enchantments): "id:damage:count:name"
If you don't want enchantments or custom name: "id:damage:count"
If you want only enchantments (no custom name): "id:damage:count:DEFAULT:ench_name:ench_level" -- you have to put DEFAULT in the name field
If you want more than one enchantment just do: "id:damage:count:name:ench1_name:ench1_level:ench2_name:ench2_level"
or "id:damage:count:DEFAULT:ench1_name:ench1_level:ench2_name:ench2_level" if you don't want a custom item name
Please note: You have to write numeric IDs
items:
'364:0:64' helmet: "310:0:1:17:3" chestplate: "311:0:1:17:3" leggings: "312:0:1:17:3" boots: "313:0:1:17:3"
commands: # {player} will get replaced by player's name
"tell {player} §l§2No§4DeBuff §9Kit §aclaimed!"
cooldown: hours: 0 minutes: 1
Format: "name:time:amplifier"
Time is in seconds
effect: "speed:3600:2"
Kit name to show on the menu, you can use color symbol '§'
kit-name: "§l§2No§4DeBuff §9Kit"
Add a cost for the kit. Compatible with EconomyAPI only
Put 0 if you want the kit to be free
money: 0
Enter image url for the kit. png image. The image will be shown in kit main menu if its compatible.
image-url: "https://www.digminecraft.com/brewing_recipes/images/splash_potion_healing.png"
Info to show when selected a Kit in UI form
info: "NoDeBuff Kit for PVP"
Custom Kit perms, CaSe sEnSiTiVe
permission: "kit.nodebuff" ...