inxomnyaa / WarpUI

A warp UI and world UI teleportation plugin that supports rotation and pitch.
https://poggit.pmmp.io/ci/thebigsmileXD/WarpUI/~
GNU General Public License v3.0
14 stars 8 forks source link

Not config.yml and not warp #16

Closed Centoller closed 4 years ago

Centoller commented 4 years ago

do not generate the config.yml since I want to get the Worlds browser since the utility is that of warps, and I do not see a command to add a warp, how do I add them?

inxomnyaa commented 4 years ago

Duplicate of #15, are you sure it is the latest version?

Centoller commented 4 years ago

I downloaded it from poggit, even inside the plugin folder is the resource folder with the config, but it doesn't generate it, and I don't see the command to add warp, only the / warpui and the / worldsui

inxomnyaa commented 4 years ago

/warpui add if i remember correctly.

Centoller commented 4 years ago

thanks, and is there a way to remove the worlds browser?

inxomnyaa commented 4 years ago

The item? I am not sure.To be fair, it has been a long time since i coded this plugin. I think not. I remember working on a config implementation.. no idea if i finished it

Centoller commented 4 years ago

the code there is advance of configuration, But it is not ready, Like the plugin I see that it has a lot of future, I hope you do not abandon it, since it is very good

inxomnyaa commented 4 years ago

I was testing gitpod.io for programming, unsure of error checks. Can you try the latest version? The config should now be generated

Centoller commented 4 years ago

config.yml is already generated (Excellent) But when entering the server it causes me internal server error, here is what console records

[11:22:10] [Server thread/DEBUG]: #0 plugins/WarpUI_dev-10.phar/src/xenialdan/WarpUI/EventListener(77): xenialdan\WarpUI\EventListener->getWarpItem()
[11:22:10] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(38): xenialdan\WarpUI\EventListener->onJoin(object pocketmine\event\player\PlayerJoinEvent)
[11:22:10] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(object xenialdan\WarpUI\EventListener, object pocketmine\event\player\PlayerJoinEvent)
[11:22:10] [Server thread/DEBUG]: #3 src/pocketmine/event/Event(95): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent)
[11:22:10] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(318): pocketmine\Player->doFirstSpawn()
[11:22:10] [Server thread/DEBUG]: #4 src/pocketmine/Player(1089): pocketmine\event\Event->call()
[11:22:10] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[11:22:10] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(111): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[11:22:10] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[11:22:10] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(111): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[11:22:10] [Server thread/DEBUG]: #10 src/pocketmine/Player(3158): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[11:22:10] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[11:22:10] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 181.42.29.14 38728, object raklib\protocol\EncapsulatedPacket, integer 0)
[11:22:10] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[11:22:10] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[11:22:10] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[11:22:10] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[11:22:10] [Server thread/DEBUG]: #17 src/pocketmine/Server(2346): pocketmine\snooze\SleeperHandler->sleepUntil(double 1579087330.8327)
[11:22:10] [Server thread/DEBUG]: #18 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
[11:22:10] [Server thread/DEBUG]: #19 src/pocketmine/Server(1785): pocketmine\Server->start()
[11:22:10] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] /home/gs-41481/, string[23] /home/gs-41481/plugins/)
[11:22:10] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(295): pocketmine\server()
[11:22:10] [Server thread/DEBUG]: #22 (1): require(string[70] phar:///home/gs-41481/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
inxomnyaa commented 4 years ago

There seems to be the error message missing ^^" I currently have no client to test with

Centoller commented 4 years ago

if you update it according to what you think causes the error, I try it without problems

inxomnyaa commented 4 years ago

config.yml is already generated (Excellent) But when entering the server it causes me internal server error, here is what console records

[11:22:10] [Server thread/DEBUG]: #0 plugins/WarpUI_dev-10.phar/src/xenialdan/WarpUI/EventListener(77): xenialdan\WarpUI\EventListener->getWarpItem()
[11:22:10] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(38): xenialdan\WarpUI\EventListener->onJoin(object pocketmine\event\player\PlayerJoinEvent)
[11:22:10] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(object xenialdan\WarpUI\EventListener, object pocketmine\event\player\PlayerJoinEvent)
[11:22:10] [Server thread/DEBUG]: #3 src/pocketmine/event/Event(95): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent)
[11:22:10] [Server thread/DEBUG]: #5 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(318): pocketmine\Player->doFirstSpawn()
[11:22:10] [Server thread/DEBUG]: #4 src/pocketmine/Player(1089): pocketmine\event\Event->call()
[11:22:10] [Server thread/DEBUG]: #6 src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[11:22:10] [Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(111): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[11:22:10] [Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/BatchPacket(123): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[11:22:10] [Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(111): pocketmine\network\mcpe\protocol\BatchPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[11:22:10] [Server thread/DEBUG]: #10 src/pocketmine/Player(3158): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[11:22:10] [Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/RakLibInterface(169): pocketmine\Player->handleDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket)
[11:22:10] [Server thread/DEBUG]: #12 vendor/pocketmine/raklib/src/server/ServerHandler(99): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string[18] 181.42.29.14 38728, object raklib\protocol\EncapsulatedPacket, integer 0)
[11:22:10] [Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(109): raklib\server\ServerHandler->handlePacket()
[11:22:10] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(99): pocketmine\network\mcpe\RakLibInterface->process()
[11:22:10] [Server thread/DEBUG]: #15 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\network\mcpe\RakLibInterface->pocketmine\network\mcpe\{closure}()
[11:22:10] [Server thread/DEBUG]: #16 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
[11:22:10] [Server thread/DEBUG]: #17 src/pocketmine/Server(2346): pocketmine\snooze\SleeperHandler->sleepUntil(double 1579087330.8327)
[11:22:10] [Server thread/DEBUG]: #18 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
[11:22:10] [Server thread/DEBUG]: #19 src/pocketmine/Server(1785): pocketmine\Server->start()
[11:22:10] [Server thread/DEBUG]: #20 src/pocketmine/PocketMine(272): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[15] /home/gs-41481/, string[23] /home/gs-41481/plugins/)
[11:22:10] [Server thread/DEBUG]: #21 src/pocketmine/PocketMine(295): pocketmine\server()
[11:22:10] [Server thread/DEBUG]: #22 (1): require(string[70] phar:///home/gs-41481/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

There you only got the trace of the error, but not the actual error itself :P Good thing is, i got my old monitor fixed, so i might be able to test and fix by myself later.

inxomnyaa commented 4 years ago

Just saw that the Item class was not imported

Centoller commented 4 years ago

Anything let me know, A plugin like this helps too

inxomnyaa commented 4 years ago

Build #13 seems to work for me. Enjoy and give it a try

Centoller commented 4 years ago

It works perfect, thank you very much, you have a lot of talent for creating plugins