Giter Site home page Giter Site logo

infernus101 / kitui Goto Github PK

View Code? Open in Web Editor NEW
44.0 12.0 33.0 131 KB

Advance AdvancedKits! Select Kits from a form, just do /kit and get kits info and select it if available! For Minecraft Bedrock Edition!

License: GNU General Public License v3.0

PHP 100.00%
pmmp modalform php pocketmine-mp mcpe plugin kits

kitui's Introduction

kitui's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kitui's Issues

Question

Hello, your plugin is awesome. But, I can't add more kits.

Also, do you have a NPC plugin?

How to run from console?

Not necessarily an issue, just wondering if there's a command to run from console to activate form pop-up on a player. I realize they can just /kit themselves but I still want to throw it on a functioning Slapper for aesthetic reasons.

Item droping

can you add an option in the config.yml to make it if you have to many items in your inventory the items drop on the ground

inv full ?

why im use /kit only inventory full ?

Help.

The Kits Plugin Is Working But I Added Some Kits To My Server And When I Do /kit I Click On The Kit And I Click "Yes" To Get My Kit And I Don't Get Anything. There's Nothing Saying An Error Please Fix It.

~ oqkqq.

Make /kit <kitname> work

This plugin would be a lot more useful if instead of advertising your server, you let us have commands that open the info for each individual kit. You currently have this on your server so this would require no effort to code in. I love this plugin, and I'd like to keep using it but without the ability to make slappers that you tap to confirm selection of a kit this plugin is pretty useless. Players get confused that they have to go over and tap a separate slapper to select a kit.

classes enchantment now found

KitUI Issue

  • This issue isn't duplicated - you can check if it is by using the search bar located at the top left hand corner and select "Issues" on the left.
  • This issue includes appropriate markdown for sections - e.g. code blocks for crash dumps.
  • This issue is understandable in English.

Issue description

...

Reproducing the issue

  1. ... place 1.1.1 in plugins folder
  2. ... start server
  3. doesnt load

Client information

PocketMine-MP Version: (insert commit hash here)
MCPE Version: (insert game version here)
Plugin Version: (insert commit hash here)
PHP version: 7.2

Optional information

...

[20:00:25] [Server thread/CRITICAL]: Error: "Class 'Infernus101\KitUI\Enchantment' not found" (EXCEPTION) in "KitUI_dev-24.phar/src/Infernus101/KitUI/Main" at line 43 [20:00:25] [Server thread/DEBUG]: #0 src/pocketmine/plugin/PluginBase(90): Infernus101\KitUI\Main->onEnable() [20:00:25] [Server thread/DEBUG]: #1 src/pocketmine/plugin/PharPluginLoader(122): pocketmine\plugin\PluginBase->setEnabled(boolean 1) [20:00:25] [Server thread/DEBUG]: #2 src/pocketmine/plugin/PluginManager(610): pocketmine\plugin\PharPluginLoader->enablePlugin(Infernus101\KitUI\Main object) [20:00:25] [Server thread/DEBUG]: #3 src/pocketmine/Server(1957): pocketmine\plugin\PluginManager->enablePlugin(Infernus101\KitUI\Main object) [20:00:25] [Server thread/DEBUG]: #4 src/pocketmine/Server(1943): pocketmine\Server->enablePlugin(Infernus101\KitUI\Main object) [20:00:25] [Server thread/DEBUG]: #5 src/pocketmine/Server(1729): pocketmine\Server->enablePlugins(integer 1) [20:00:25] [Server thread/DEBUG]: #6 src/pocketmine/PocketMine(564): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar://C:/Users/Nasir Husain/Desktop/test2/PocketMine-MP.phar/, string C:\Users\Nasir Husain\Desktop\test2\, string C:\Users\Nasir Husain\Desktop\test2\plugins\) [20:00:25] [Server thread/DEBUG]: #7 C:/Users/Nasir Husain/Desktop/test2/PocketMine-MP.phar(1): require(string phar://C:/Users/Nasir Husain/Desktop/test2/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Config

...

Could not pass player interact event!

KitUI Issue

  • This issue isn't duplicated - you can check if it is by using the search bar located at the top left hand corner and select "Issues" on the left.
  • This issue includes appropriate markdown for sections - e.g. code blocks for crash dumps.
  • This issue is understandable in English.

Issue description

... Cant select kits!

Reproducing the issue

  1. Do /kit
  2. Kits list appears
  3. Select a kit !
  4. shows nothing!

Client information

PocketMine-MP Version: (insert commit hash here)
MCPE Version: (insert game version here)
Plugin Version: (insert commit hash here)
PHP version: 7.2

Optional information

...

 [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\server\DataPacketReceiveEvent' to 'KitUI v1.0.0': Undefined variable: info on Infernus101\KitUI\PlayerEvents
[23:04:58] [Server thread/CRITICAL]: ErrorException: "Undefined variable: info" (EXCEPTION) in "KitUI_dev-15.phar/src/Infernus101/KitUI/UI/windows/KitInfo" at line 24
[23:04:58] [Server thread/DEBUG]: #0 KitUI_dev-15.phar/src/Infernus101/KitUI/UI/windows/KitInfo(24): pocketmine\error_handler(integer 8, string Undefined variable: info, string phar://C:/Users/Nasir Husain/Desktop/test2/plugins/KitUI_dev-15.phar/src/Infernus101/KitUI/UI/windows/KitInfo.php, integer 24, array Array())
[23:04:58] [Server thread/DEBUG]: #1 KitUI_dev-15.phar/src/Infernus101/KitUI/UI/Window(23): Infernus101\KitUI\UI\windows\KitInfo->process()
[23:04:58] [Server thread/DEBUG]: #2 KitUI_dev-15.phar/src/Infernus101/KitUI/UI/Handler(31): Infernus101\KitUI\UI\Window->__construct(Infernus101\KitUI\Main object, pocketmine\Player object)
[23:04:58] [Server thread/DEBUG]: #3 KitUI_dev-15.phar/src/Infernus101/KitUI/UI/Handler(24): Infernus101\KitUI\UI\Handler->getWindow(integer 1, Infernus101\KitUI\Main object, pocketmine\Player object)
[23:04:58] [Server thread/DEBUG]: #4 KitUI_dev-15.phar/src/Infernus101/KitUI/UI/Window(49): Infernus101\KitUI\UI\Handler->getWindowJson(integer 1, Infernus101\KitUI\Main object, pocketmine\Player object)
[23:04:58] [Server thread/DEBUG]: #5 KitUI_dev-15.phar/src/Infernus101/KitUI/UI/windows/KitMainMenu(35): Infernus101\KitUI\UI\Window->navigateKit(integer 1, pocketmine\Player object, Infernus101\KitUI\UI\Handler object, string Visitor)
[23:04:58] [Server thread/DEBUG]: #6 KitUI_dev-15.phar/src/Infernus101/KitUI/PlayerEvents(47): Infernus101\KitUI\UI\windows\KitMainMenu->handle(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)
[23:04:58] [Server thread/DEBUG]: #7 src/pocketmine/plugin/MethodEventExecutor(38): Infernus101\KitUI\PlayerEvents->onDataPacket(pocketmine\event\server\DataPacketReceiveEvent object)
[23:04:58] [Server thread/DEBUG]: #8 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(Infernus101\KitUI\PlayerEvents object, pocketmine\event\server\DataPacketReceiveEvent object)
[23:04:58] [Server thread/DEBUG]: #9 src/pocketmine/plugin/PluginManager(721): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)
[23:04:58] [Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(91): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)
[23:04:58] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)
[23:04:58] [Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
[23:04:58] [Server thread/DEBUG]: #13 src/pocketmine/Player(3011): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[23:04:58] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
[23:04:58] [Server thread/DEBUG]: #15 src/raklib/server/ServerHandler(97): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 192.168.1.100:62325, raklib\protocol\EncapsulatedPacket object, integer 0)
[23:04:58] [Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/RakLibInterface(84): raklib\server\ServerHandler->handlePacket()
[23:04:58] [Server thread/DEBUG]: #17 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()
[23:04:58] [Server thread/DEBUG]: #18 src/pocketmine/Server(2518): pocketmine\network\Network->processInterfaces()
[23:04:58] [Server thread/DEBUG]: #19 src/pocketmine/Server(2274): pocketmine\Server->tick()
[23:04:58] [Server thread/DEBUG]: #20 src/pocketmine/Server(2149): pocketmine\Server->tickProcessor()
[23:04:58] [Server thread/DEBUG]: #21 src/pocketmine/Server(1731): pocketmine\Server->start()
[23:04:58] [Server thread/DEBUG]: #22 src/pocketmine/PocketMine(564): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar://C:/Users/Nasir Husain/Desktop/test2/PocketMine-MP.phar/, string C:\Users\Nasir Husain\Desktop\test2\, string C:\Users\Nasir Husain\Desktop\test2\plugins\)
[23:04:58] [Server thread/DEBUG]: #23 C:/Users/Nasir Husain/Desktop/test2/PocketMine-MP.phar(1): require(string phar://C:/Users/Nasir Husain/Desktop/test2/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[23:04:58] [Server thread/DEBUG]: Unhandled ModalFormResponsePacket received from optimusprime338: 0x650000801902300a

Config

...

FormAPI

please make your plugin compatible with FormAPI

UI Compatibility Issue with BlockSniper

KitUI Issue

  • This issue isn't duplicated - you can check if it is by using the search bar located at the top left hand corner and select "Issues" on the left.
  • This issue includes appropriate markdown for sections - e.g. code blocks for crash dumps.
  • This issue is understandable in English.

Issue description

When exiting a cooldown error from KitUI, BlockSniper 'Preset Creation' menu is displayed and an error is displayed on the console. This happens even with players that do not have permissions to use BlockSniper.

Reproducing the issue

  1. Create a base PocketMine-MP server with BlockSniper v.2.3.0 (dev-299) and KitUI v1.1.8 installed.
  2. In the game, open the KitUI interface /kit
  3. Choose any kit from the list.
  4. Choose Yes to select the kit.
  5. On the 'Error' menu, choose Exit.

Client information

PocketMine-MP Version: 1.7dev-571 (50f273c0416b14eb08248a4f3bccb4ca8ab79b4d)
MCPE Version: Windows 10 v1.2.8
Plugin Version: v1.1.8 (via Poggit)
PHP version: 7.2
BlockSniper version: v2.3.0 (dev-299)

Optional information

This issues has been reported on the BlockSniper GitHub repo as well. It can be found here:
BlockHorizons/BlockSniper#86

Console Error:

2018-01-02 [04:58:04] ^O[Server thread/CRITICAL]: ErrorException: "Invalid argument supplied for foreach()" (EXCEPTION) in "BlockSniper_dev-299.phar/src/BlockHorizons/BlockSniper/ui/windows/BrushMenuWindow" at line 96^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #0 BlockSniper_dev-299.phar/src/BlockHorizons/BlockSniper/ui/windows/BrushMenuWindow(96): pocketmine\error_handler(integer 2, string Invalid argument supplied for foreach(), string phar:///home/fiber/servers/1.2/plugins/BlockSniper_dev-299.phar/src/BlockHorizons/BlockSniper/ui/windows/BrushMenuWindow.php, integer 96, array Array())^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #1 BlockSniper_dev-299.phar/src/BlockHorizons/BlockSniper/listeners/UserInterfaceListener(37): BlockHorizons\BlockSniper\ui\windows\BrushMenuWindow->handle(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #2 src/pocketmine/plugin/MethodEventExecutor(38): BlockHorizons\BlockSniper\listeners\UserInterfaceListener->onDataPacket(pocketmine\event\server\DataPacketReceiveEvent object)^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #3 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(BlockHorizons\BlockSniper\listeners\UserInterfaceListener object, pocketmine\event\server\DataPacketReceiveEvent object)^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(721): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(91): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #8 src/pocketmine/Player(2966): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #10 vendor/pmmp/raklib/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string xx.xx.xx.xx:XXXXX, raklib\protocol\EncapsulatedPacket object, integer 0)^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket()^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #12 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #13 src/pocketmine/Server(2523): pocketmine\network\Network->processInterfaces()^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #14 src/pocketmine/Server(2275): pocketmine\Server->tick()^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #15 src/pocketmine/Server(2150): pocketmine\Server->tickProcessor()^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #16 src/pocketmine/Server(1738): pocketmine\Server->start()^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #17 src/pocketmine/PocketMine(554): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/fiber/servers/1.2/, string /home/fiber/servers/1.2/plugins/)^O
2018-01-02 [04:58:04] ^O[Server thread/DEBUG]: #18 /home/fiber/servers/1.2/PocketMine-MP.phar(1): require(string phar:///home/fiber/servers/1.2/PocketMine-MP.phar/src/pocketmine/PocketMine.php)^O

How to add custom enchants to items in kit.yml? (PiggyCustomEnchants)

KitUI Issue

  • This issue isn't duplicated - you can check if it is by using the search bar located at the top left hand corner and select "Issues" on the left.
  • This issue includes appropriate markdown for sections - e.g. code blocks for crash dumps.
  • This issue is understandable in English.

Issue description

How to add custom enchants to items in kit? (PiggyCustomEnchants)
Can anyone give me an example of adding custom enchants? Ex. Lifesteal(from piggycustomenchants) how should I do that?

Reproducing the issue

  1. ...
  2. ...

Client information

PocketMine-MP Version: (insert commit hash here)
MCPE Version: (insert game version here)
Plugin Version: (insert commit hash here)
PHP version: 7.2

Optional information

...

Replace this text with console / error logs or crash dumps. (Do not remove the triple backticks above and below this.)

Config

...

Color Codes

KitUI Issue

  • This issue isn't duplicated - you can check if it is by using the search bar located at the top left hand corner and select "Issues" on the left.
  • This issue includes appropriate markdown for sections - e.g. code blocks for crash dumps.
  • This issue is understandable in English.

Issue description

How do you use COLOR in the Kits? For example how do I make a red font, I tried § but I got a syntax error. I tried &, and it just says &.

Reproducing the issue

  1. Attempt to make a Kit with color.

Client information

PocketMine-MP Version: 1.7dev-721
Kit-UI Version: Latest
MCPE Version: 1.2.10
Plugin Version: Latest
PHP version: 7.2

Optional information

...

Replace this text with console / error logs or crash dumps. (Do not remove the triple backticks above and below this.)

Config

...

Improper SIgns Interaction

KitUI Issue

  • This issue isn't duplicated - you can check if it is by using the search bar located at the top left hand corner and select "Issues" on the left.
  • This issue includes appropriate markdown for sections - e.g. code blocks for crash dumps.
  • This issue is understandable in English.

Issue description

KitUI shows up with right click on any sign that has a blank first line.
...

Reproducing the issue

  1. Create a sign.
  2. Leave the first line empty and put anything on lines 2,3, and 4.
  3. Finish creating the sign.
  4. Right click on the sign.

Client information

PocketMine-MP Version: 1.7dev-571 (50f273c0416b14eb08248a4f3bccb4ca8ab79b4d)
MCPE Version: Windows 10 v1.2.8
Plugin Version: v1.1.8 (via Poggit)
PHP version: 7.2

Optional information

Currently, there doesn't appear to be any documentation that shows how to properly use Signs with KitUI, however, expected behavior would be that the first or last line of a sign intended to be used with KitUI should have something unique and easily identifiable as a kit interface sign. For example, first line of a Kit sign could be [KIT].

Broken

28.01 01:07:24 [Server] Server thread/CRITICAL Unhandled exception executing command 'kit eon' in kit: Call to undefined method pocketmine\inventory\PlayerInventory::setHelmet()
28.01 01:07:24 [Server] Server thread/CRITICAL Error: "Call to undefined method pocketmine\inventory\PlayerInventory::setHelmet()" (EXCEPTION) in "/src/KitUI/Kit" at line 68

lol

lol ived been trying to code a plugin like this but i cant seem to work it

permissions for kit signs

so for the kit sign i could give the player the permission kit.example and they can use a kit sign that has the kit example assigned to it?

whats the kit format for signs

Error

Issue description

It's strange but why the pictures around the kit do not work

Reproducing the issue

  1. Command: /kit

Client information

PocketMine-MP Version: 1.7dev-699
Kit-UI Version: 1.2.1
MCPE Version: 1.2.10
Plugin Version: 1.2.1
PHP version: 7.2

...

Wrong kit selection

KitUI Issue

  • This issue isn't duplicated - you can check if it is by using the search bar located at the top left hand corner and select "Issues" on the left.
  • This issue includes appropriate markdown for sections - e.g. code blocks for crash dumps.
  • This issue is understandable in English.

Issue description

...

Reproducing the issue

  1. ... make like 4 kits in config! (starter, guest, vip, knight)
  2. ... select starter kit from /kit
  3. select starter gives guest kit , select guest gives vip, select vip gives knight, select knight gives starter!

Client information

PocketMine-MP Version: (insert commit hash here)
MCPE Version: (insert game version here)
Plugin Version: (insert commit hash here)
PHP version: 7.2

Optional information

...

Replace this text with console / error logs or crash dumps. (Do not remove the triple backticks above and below this.)

Config

...

signs

KitUI Issue

  • This issue isn't duplicated - you can check if it is by using the search bar located at the top left hand corner and select "Issues" on the left.
  • This issue includes appropriate markdown for sections - e.g. code blocks for crash dumps.
  • This issue is understandable in English.

Issue description

...If you put down a blank sign and click it it show Kits , weird

Reproducing the issue

  1. ... place a sign and write nothing on it
  2. ... click it

Client information

PocketMine-MP Version: (insert commit hash here)
MCPE Version: (insert game version here)
Plugin Version: (insert commit hash here)
PHP version: 7.2

Optional information

...

Replace this text with console / error logs or crash dumps. (Do not remove the triple backticks above and below this.)

Config

...

Interference

KitUI Issue

  • I have KitUI and ShopUI installed, SOMETIMES when I get the error message on the kit and exit the UI box, I end up seeing the ShopUI instead of KitUI.
  • When I go to ShopUI and try going to the info UI, it won’t work because of KitUI is blocking it. If I uninstall KitUI then the ShopUI works perfectly but when KitUI and ShopUI both are installed then they end up combining.

Issue description

KitUI windows are interfering with ShopUI windows

Reproducing the issue

  1. Try getting the error (Unable to afford, No permissions)
  2. Click the Go Back or Exit Button
    *This only happens with ShopUI installed SOMETIMES

Client information

PocketMine-MP Version: #45 PMMP
MCPE Version: 1.2.5
Plugin Version: 1.1.3
PHP version: 7.2

Optional Information

This error only works with ShopUI installed, I have JoJoes Forms API plugin installed to make ShopUI work.
...

Replace this text with console / error logs or crash dumps. (Do not remove the triple backticks above and below this.)

Config

...

Text

KitUI Issue

  • Remove/Fix the weird font when asking the info of the Kit, looks a little bezeled when adding colors to the words.

Issue description

Remove/Fix the weird font when asking the info of the Kit, looks a little bezeled when adding colors to the words.

Reproducing the issue

  1. If any, remove font that could be in use or special characters to make the font of the text look different

Client information

PocketMine-MP Version:
PocketMine-MP_1.7dev-356_3614711a_API-3.0.0-ALPHA9.phar
MCPE Version: Minecraft Windows 10/PE 1.2.3
Plugin Version: 1.1.2
PHP version: 7.2

Optional information

None

Replace this text with console / error logs or crash dumps. (Do not remove the triple backticks above and below this.)

Config

...

enchants

do i have to use enchant names or can i use the id for the enchant(vanilla enchants)

Permissions didn´t work

The Kit Permission didn´t work

Where is the Problem i can´t find them.
Sorry for my bad English :D
groups.yml of PurePerms

Player:
alias: gst
isDefault: true
inheritance: []
permissions:

  • kit.command
  • kit.Standart
    worlds:
    City:
    isDefault: true
    permissions: []

Client information

PocketMine-MP Version: 1.7dev-516
MCPE Version: 1.2.7
Plugin Version: 1.1.7
PHP version: 7.2

10 apples?

KitUI Issue

  • This issue isn't duplicated - you can check if it is by using the search bar located at the top left hand corner and select "Issues" on the left.
  • This issue includes appropriate markdown for sections - e.g. code blocks for crash dumps.
  • This issue is understandable in English.

Issue description

..
I'm only trying out the sample kits and none work I only get 10 apple instead of the enchanted items listed in the kits.yml
Plz help

Reproducing the issue

  1. ...
  2. ...

Client information

PocketMine-MP Version: (1.2.10)
Kit-UI Version: (version: "1.2")
MCPE Version: (V1.2.10)
Plugin Version: (insert commit hash here)
PHP version: 7.2

Optional information

...

Replace this text with console / error logs or crash dumps. (Do not remove the triple backticks above and below this.)

Config

...

Note:
I'm also running these other plugins

AllSigns
Broadcaster
CombatLogger
DevTools
EconomyAPI
EconomyJob
EconomyLand
EconomyPShop
EconomySell
EconomyShop
FactionsPro
KitUI
LiveXYZ
MagicWE
PlanB
PureChat
PurePerms
Slappers
VoteReward
WorldProtect
essentialsTP
iProtector

Class not found

04.11 22:53:35 [Server] Server thread/DEBUG #20 /pmmp-latest.phar(1): require(string phar:///pmmp-latest.phar/src/pocketmine/PocketMine.php)
04.11 22:53:35 [Server] Server thread/DEBUG #19 src/pocketmine/PocketMine(564): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///pmmp-latest.phar/, string /, string /plugins/)
04.11 22:53:35 [Server] Server thread/DEBUG #18 src/pocketmine/Server(1731): pocketmine\Server->start()
04.11 22:53:35 [Server] Server thread/DEBUG #17 src/pocketmine/Server(2149): pocketmine\Server->tickProcessor()
04.11 22:53:35 [Server] Server thread/DEBUG #16 src/pocketmine/Server(2274): pocketmine\Server->tick()
04.11 22:53:35 [Server] Server thread/DEBUG #15 src/pocketmine/Server(2518): pocketmine\network\Network->processInterfaces()
04.11 22:53:35 [Server] Server thread/DEBUG #14 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()
04.11 22:53:35 [Server] Server thread/DEBUG #13 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket()
04.11 22:53:35 [Server] Server thread/DEBUG #12 src/raklib/server/ServerHandler(97): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 69.79.11.165:3803, raklib\protocol\EncapsulatedPacket object, integer 0)
04.11 22:53:35 [Server] Server thread/DEBUG #11 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
04.11 22:53:35 [Server] Server thread/DEBUG #10 src/pocketmine/Player(3011): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)
04.11 22:53:35 [Server] Server thread/DEBUG #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)
04.11 22:53:35 [Server] Server thread/DEBUG #8 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)
04.11 22:53:35 [Server] Server thread/DEBUG #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(91): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)
04.11 22:53:35 [Server] Server thread/DEBUG #6 src/pocketmine/plugin/PluginManager(721): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)
04.11 22:53:35 [Server] Server thread/DEBUG #5 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(Infernus101\KitUI\PlayerEvents object, pocketmine\event\server\DataPacketReceiveEvent object)
04.11 22:53:35 [Server] Server thread/DEBUG #4 src/pocketmine/plugin/MethodEventExecutor(38): Infernus101\KitUI\PlayerEvents->onDataPacket(pocketmine\event\server\DataPacketReceiveEvent object)
04.11 22:53:35 [Server] Server thread/DEBUG #3 KitUI/src/Infernus101/KitUI/PlayerEvents(47): Infernus101\KitUI\UI\windows\KitInfo->handle(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)
04.11 22:53:35 [Server] Server thread/DEBUG #2 KitUI/src/Infernus101/KitUI/UI/windows/KitInfo(82): Infernus101\KitUI\UI\windows\KitInfo->select(string true.)
04.11 22:53:35 [Server] Server thread/DEBUG #1 KitUI/src/Infernus101/KitUI/UI/windows/KitInfo(72): Infernus101\KitUI\Kit->add(pocketmine\Player object)
04.11 22:53:35 [Server] Server thread/DEBUG #0 KitUI/src/Infernus101/KitUI/Kit(55): Infernus101\KitUI\Kit->loadItem(integer 310, integer 0, integer 1, string ..o..l..2Adventurer ..7Helmet, string protection, string 2, string durability, string 2)
04.11 22:53:35 [Server] Server thread/CRITICAL Error: "Class 'PiggyCustomEnchants\CustomEnchants\CustomEnchants' not found" (EXCEPTION) in "KitUI/src/Infernus101/KitUI/Kit" at line 106
04.11 22:53:35 [Server] Server thread/CRITICAL Could not pass event 'pocketmine\event\server\DataPacketReceiveEvent' to 'KitUI v1.1.2': Class 'PiggyCustomEnchants\CustomEnchants\CustomEnchants' not found on Infernus101\KitUI\PlayerEvents

Do Not understand

KitUI Issue

  • This issue isn't duplicated - you can check if it is by using the search bar located at the top left hand corner and select "Issues" on the left.
  • This issue includes appropriate markdown for sections - e.g. code blocks for crash dumps.
  • This issue is understandable in English.

Issue description

...

Reproducing the issue

  1. ...
  2. ...

Client information

PocketMine-MP Version: (insert commit hash here)
MCPE Version: (insert game version here)
Plugin Version: (insert commit hash here)
PHP version: 7.2

Optional information

...

Replace this text with console / error logs or crash dumps. (Do not remove the triple backticks above and below this.)

Config

...

Not Working

I installed the plugin I don't know what happened I did the kits right it worked before but then it stopped working it shoes no error . When I do the command the interface it all the kits pop ups but when I click the kit it doesn't work.

Question

Hi,
This plugin reminds me of the modern AdvancedKits, great job on making it! Its now an absolute Essentials, for servers!
Just a feature, can you add permissions to use kits?
Like you need a permission to use a specific Kit.
Thanks,
Quiv

Plugin not working anymore???

Hey there infernus! I recently updated your plugin to 1.1.8 and whenever i do /kit it works perfectly, but then when i select a kit nothing happens. Do you know why this is happening?

whats rong

2018-03-03 [00:30:24] �[Server thread/CRITICAL]: Could not pass event 'pocketmine\event\server\DataPacketReceiveEvent' to 'KitUI v1.2.1': Class 'onebone\economyapi\EconomyAPI' not found on Infernus101\KitUI\PlayerEvents�
2018-03-03 [00:30:24] �[Server thread/CRITICAL]: Error: "Class 'onebone\economyapi\EconomyAPI' not found" (EXCEPTION) in "KitUI_dev-1.phar/src/Infernus101/KitUI/UI/windows/KitInfo" at line 67�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #0 KitUI_dev-1.phar/src/Infernus101/KitUI/UI/windows/KitInfo(97): Infernus101\KitUI\UI\windows\KitInfo->select(string true.)�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #1 KitUI_dev-1.phar/src/Infernus101/KitUI/PlayerEvents(80): Infernus101\KitUI\UI\windows\KitInfo->handle(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #2 src/pocketmine/plugin/MethodEventExecutor(38): Infernus101\KitUI\PlayerEvents->onDataPacket(pocketmine\event\server\DataPacketReceiveEvent object)�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #3 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(Infernus101\KitUI\PlayerEvents object, pocketmine\event\server\DataPacketReceiveEvent object)�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #4 src/pocketmine/plugin/PluginManager(683): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(91): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\server\DataPacketReceiveEvent object)�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\ModalFormResponsePacket object)�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(92): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #8 src/pocketmine/Player(2964): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/RakLibInterface(149): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #10 vendor/pocketmine/raklib/server/ServerHandler(103): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 99.139.170.145 64438, raklib\protocol\EncapsulatedPacket object, integer 0)�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(88): raklib\server\ServerHandler->handlePacket()�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #12 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #13 src/pocketmine/Server(2534): pocketmine\network\Network->processInterfaces()�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #14 src/pocketmine/Server(2285): pocketmine\Server->tick()�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #15 src/pocketmine/Server(2158): pocketmine\Server->tickProcessor()�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #16 src/pocketmine/Server(1744): pocketmine\Server->start()�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #17 src/pocketmine/PocketMine(385): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /home/gs/gs/data/servers/9358728/, string /home/gs/gs/data/servers/9358728/plugins/)�
2018-03-03 [00:30:24] �[Server thread/DEBUG]: #18 /home/gs/gs/data/servers/9358728/PocketMine-MP.phar(1): require(string phar:///home/gs/gs/data/servers/9358728/PocketMine-MP.phar/src/pocketmine/PocketMine.php)�

Tool's Efficiency Issue

KitUI Issue

  • This issue isn't duplicated - you can check if it is by using the search bar located at the top left hand corner and select "Issues" on the left.
  • This issue includes appropriate markdown for sections - e.g. code blocks for crash dumps.
  • This issue is understandable in English.

Issue description

This only happens when adding "efficiency" enchant to pickaxe

Reproducing the issue

  1. ... Add plugin to server
  2. ... Start Server

Client information

PocketMine-MP Version: (67a09a9)
MCPE Version: (1.2.6)
Plugin Version: (c191c3c)
PHP version: 7.2

Optional information

...

[01:28:02] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\server\DataPacketReceiveEvent' to 'KitUI v1.1.5': Call to undefined method PiggyCustomEnchants\CustomEnchants\CustomEnchants::getEnchantByName() on Infernus101\KitUI\PlayerEvents
[01:28:02] [Server thread/CRITICAL]: Error: "Call to undefined method PiggyCustomEnchants\CustomEnchants\CustomEnchants::getEnchantByName()" (EXCEPTION) in "DRN-KitUI/src/Infernus101/KitUI/Kit" at line 103

Config

Starter:
items:

kits.yml help?

can the config be like this

testkit:

  • "260:0:10"
  • "267:0:1:Sword Name:sharpness:3:knockback:1"
  • "302:0:1"
  • "303:0:1:DEFAULT:protection:1"
  • "304:0:1:Leggings Name"
  • "305:0:1"
  • "tell {player} Kit claimed!"
    cooldown:
    hours: 24
    minutes: 30
    effects:
  • "speed:120:10
    money: 50
    info: "This kit is too op XD Cost: 50$"
    ...

or does it have to be like this

testkit:

items:

  • "260:0:10"

  • "267:0:1:Sword Name:sharpness:3:knockback:1"

  • "302:0:1"

  • "303:0:1:DEFAULT:protection:1"

  • "304:0:1:Leggings Name"

  • "305:0:1"

  • "tell {player} Kit claimed!"

cooldown:
hours: 24
minutes: 30

effects:

  • "speed:120:2"

money: 50

info: "This kit is too op XD Cost: 50$"
...

inventory glitch

KitUI Issue

  • This issue isn't duplicated - you can check if it is by using the search bar located at the top left hand corner and select "Issues" on the left.
  • This issue includes appropriate markdown for sections - e.g. code blocks for crash dumps.
  • This issue is understandable in English.

Issue description

...
If u have 9 slots in inventory, and try to buy kit, it say ur inventory full and some items didn't send,
but you get no items from kit and your money get took.

Reproducing the issue

  1. ... have 9 slots free
  2. ... buy kit

Client information

PocketMine-MP Version: (insert commit hash here)
MCPE Version: (insert game version here)
Plugin Version: (insert commit hash here)
PHP version: 7.2

Optional information

...

Replace this text with console / error logs or crash dumps. (Do not remove the triple backticks above and below this.)

Config

...

Adding pictures to kits in UI?

KitUI Issue

  • This issue isn't duplicated - you can check if it is by using the search bar located at the top left hand corner and select "Issues" on the left.
  • This issue includes appropriate markdown for sections - e.g. code blocks for crash dumps.
  • This issue is understandable in English.

Adding pictures to kits?
...

Reproducing the issue

  1. ...
  2. ...

Client information

PocketMine-MP Version: (insert commit hash here)
MCPE Version: (insert game version here)
Plugin Version: (insert commit hash here)
PHP version: 7.2

Optional information

...

Replace this text with console / error logs or crash dumps. (Do not remove the triple backticks above and below this.)

Config

...

FormsAPI

Hi,
This plugin breaks other plugins using FormsAPI.
Latest PMMP
and Latest Plugin

Enchants?

i was saying can i use the enchantment id instead of the name of the enchant

ADD PLEASE

I have a wish that is very easy to implement! Could not you add a function for each kit adding the name kit, because on the main page / kit, the name kit does not look great

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.