infernus101 / profileui Goto Github PK
View Code? Open in Web Editor NEWGet any player's profile on a Modal Form! MCPE v1.2! PMMP support only!
License: Apache License 2.0
Get any player's profile on a Modal Form! MCPE v1.2! PMMP support only!
License: Apache License 2.0
[12:04:27] [Server thread/CRITICAL]: Unhandled exception executing command 'profile armthedev' in profile: Undefined index: mining [12:04:27] [Server thread/CRITICAL]: ErrorException: "Undefined index: mining" (EXCEPTION) in "ProfileUI-master/src/Infernus101/window/ProfileWindow" at line 68
This happen when /profile [name]
I want a slapper to use /profile without the player manually typing /profile then their name.
For Example, i want the player to hit a slapper using rca {player} profile and the profile UI shows
[15:49:53] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerDeathEvent' to 'ProfileUI v3.5.1': Event is not Cancellable on Infernus101\PlayerEvents
[15:49:53] [Server thread/CRITICAL]: BadMethodCallException: "Event is not Cancellable" (EXCEPTION) in "src/pocketmine/event/Event" at line 58
[15:49:53] [Server thread/DEBUG]: #0 ProfileUI-master/src/Infernus101/PlayerEvents(37): pocketmine\event\Event->isCancelled()
[15:49:53] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(38): Infernus101\PlayerEvents->onDeath(pocketmine\event\player\PlayerDeathEvent object)
[15:49:53] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(Infernus101\PlayerEvents object, pocketmine\event\player\PlayerDeathEvent object)
[15:49:53] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(721): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerDeathEvent object)
[15:49:53] [Server thread/DEBUG]: #4 src/pocketmine/Player(3554): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerDeathEvent object)
[15:49:53] [Server thread/DEBUG]: #5 src/pocketmine/entity/Living(413): pocketmine\Player->callDeathEvent()
[15:49:53] [Server thread/DEBUG]: #6 src/pocketmine/Player(3436): pocketmine\entity\Living->kill()
[15:49:53] [Server thread/DEBUG]: #7 src/pocketmine/entity/Entity(943): pocketmine\Player->kill()
[15:49:53] [Server thread/DEBUG]: #8 src/pocketmine/entity/Living(105): pocketmine\entity\Entity->setHealth(double -20)
[15:49:53] [Server thread/DEBUG]: #9 src/pocketmine/entity/Entity(905): pocketmine\entity\Living->setHealth(double -20)
[15:49:53] [Server thread/DEBUG]: #10 src/pocketmine/entity/Living(351): pocketmine\entity\Entity->attack(pocketmine\event\entity\EntityDamageEvent object)
[15:49:53] [Server thread/DEBUG]: #11 src/pocketmine/Player(3587): pocketmine\entity\Living->attack(pocketmine\event\entity\EntityDamageEvent object)
[15:49:53] [Server thread/DEBUG]: #12 src/pocketmine/entity/Living(324): pocketmine\Player->attack(pocketmine\event\entity\EntityDamageEvent object)
[15:49:53] [Server thread/DEBUG]: #13 src/pocketmine/entity/Entity(1399): pocketmine\entity\Living->fall(double 43.8409)
[15:49:53] [Server thread/DEBUG]: #14 src/pocketmine/entity/Entity(1662): pocketmine\entity\Entity->updateFallState(double -1.0807, boolean 1)
[15:49:53] [Server thread/DEBUG]: #15 src/pocketmine/Player(1563): pocketmine\entity\Entity->move(double 0.0065000000000008, double -1.0807, double 0.00079999999999814)
[15:49:53] [Server thread/DEBUG]: #16 src/pocketmine/Player(1720): pocketmine\Player->processMovement(integer 1)
[15:49:53] [Server thread/DEBUG]: #17 src/pocketmine/level/Level(723): pocketmine\Player->onUpdate(integer 3065)
[15:49:53] [Server thread/DEBUG]: #18 src/pocketmine/Server(2360): pocketmine\level\Level->doTick(integer 3065)
[15:49:53] [Server thread/DEBUG]: #19 src/pocketmine/Server(2513): pocketmine\Server->checkTickUpdates(integer 3065, double 1508590193.6707)
[15:49:53] [Server thread/DEBUG]: #20 src/pocketmine/Server(2257): pocketmine\Server->tick()
[15:49:53] [Server thread/DEBUG]: #21 src/pocketmine/Server(2136): pocketmine\Server->tickProcessor()
[15:49:53] [Server thread/DEBUG]: #22 src/pocketmine/Server(1718): pocketmine\Server->start()
[15:49:53] [Server thread/DEBUG]: #23 src/pocketmine/PocketMine(556): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///root/pmmp/PocketMine-MP.phar/, string /root/pmmp/, string /root/pmmp/plugins/)
[15:49:53] [Server thread/DEBUG]: #24 /root/pmmp/PocketMine-MP.phar(1): require(string phar:///root/pmmp/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[15:49:53] [Server thread/INFO]: Twertik fell from a high place
[08:38:25] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\block\BlockBreakEvent' to 'ProfileUI v3.5': Undefined index: armthedev on Infernus101\PlayerEvents [08:38:25] [Server thread/CRITICAL]: ErrorException: "Undefined index: armthedev" (EXCEPTION) in "ProfileUI-master/src/Infernus101/Main" at line 57
And
[08:40:35] [Server thread/CRITICAL]: ErrorException: "Undefined variable: flag" (EXCEPTION) in "ProfileUI-master/src/Infernus101/Main" at line 40
An error occurs when I die from a breakdown about a block!!
[00:05:16] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerDeathEvent' to 'ProfileUI v3.5.1': Undefined variable: event on Infernus101\PlayerEvents
[00:05:16] [Server thread/CRITICAL]: ErrorException: "Undefined variable: event" (EXCEPTION) in "ProfileUI-master/src/Infernus101/PlayerEvents" at line 38
[00:05:16] [Server thread/DEBUG]: #0 ProfileUI-master/src/Infernus101/PlayerEvents(38): pocketmine\error_handler(integer 8, string Undefined variable: event, string /root/pmmp/plugins/ProfileUI-master/src/Infernus101/PlayerEvents.php, integer 38, array Array())
[00:05:16] [Server thread/DEBUG]: #1 src/pocketmine/plugin/MethodEventExecutor(38): Infernus101\PlayerEvents->onDeath(pocketmine\event\player\PlayerDeathEvent object)
[00:05:16] [Server thread/DEBUG]: #2 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(Infernus101\PlayerEvents object, pocketmine\event\player\PlayerDeathEvent object)
[00:05:16] [Server thread/DEBUG]: #3 src/pocketmine/plugin/PluginManager(721): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerDeathEvent object)
[00:05:16] [Server thread/DEBUG]: #4 src/pocketmine/Player(3554): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerDeathEvent object)
[00:05:16] [Server thread/DEBUG]: #5 src/pocketmine/entity/Living(413): pocketmine\Player->callDeathEvent()
[00:05:16] [Server thread/DEBUG]: #6 src/pocketmine/Player(3436): pocketmine\entity\Living->kill()
[00:05:16] [Server thread/DEBUG]: #7 src/pocketmine/entity/Entity(943): pocketmine\Player->kill()
[00:05:16] [Server thread/DEBUG]: #8 src/pocketmine/entity/Living(105): pocketmine\entity\Entity->setHealth(double -20)
[00:05:16] [Server thread/DEBUG]: #9 src/pocketmine/entity/Entity(905): pocketmine\entity\Living->setHealth(double -20)
[00:05:16] [Server thread/DEBUG]: #10 src/pocketmine/entity/Living(351): pocketmine\entity\Entity->attack(pocketmine\event\entity\EntityDamageEvent object)
[00:05:16] [Server thread/DEBUG]: #11 src/pocketmine/Player(3587): pocketmine\entity\Living->attack(pocketmine\event\entity\EntityDamageEvent object)
[00:05:16] [Server thread/DEBUG]: #12 src/pocketmine/entity/Living(324): pocketmine\Player->attack(pocketmine\event\entity\EntityDamageEvent object)
[00:05:16] [Server thread/DEBUG]: #13 src/pocketmine/entity/Entity(1399): pocketmine\entity\Living->fall(double 43.8409)
[00:05:16] [Server thread/DEBUG]: #14 src/pocketmine/entity/Entity(1662): pocketmine\entity\Entity->updateFallState(double -1.0807, boolean 1)
[00:05:16] [Server thread/DEBUG]: #15 src/pocketmine/Player(1563): pocketmine\entity\Entity->move(double 0.00040000000000084, double -1.0807, double 0)
[00:05:16] [Server thread/DEBUG]: #16 src/pocketmine/Player(1720): pocketmine\Player->processMovement(integer 1)
[00:05:16] [Server thread/DEBUG]: #17 src/pocketmine/level/Level(723): pocketmine\Player->onUpdate(integer 1857)
[00:05:16] [Server thread/DEBUG]: #18 src/pocketmine/Server(2360): pocketmine\level\Level->doTick(integer 1857)
[00:05:16] [Server thread/DEBUG]: #19 src/pocketmine/Server(2513): pocketmine\Server->checkTickUpdates(integer 1857, double 1508619916.9515)
[00:05:16] [Server thread/DEBUG]: #20 src/pocketmine/Server(2257): pocketmine\Server->tick()
[00:05:16] [Server thread/DEBUG]: #21 src/pocketmine/Server(2136): pocketmine\Server->tickProcessor()
[00:05:16] [Server thread/DEBUG]: #22 src/pocketmine/Server(1718): pocketmine\Server->start()
[00:05:16] [Server thread/DEBUG]: #23 src/pocketmine/PocketMine(556): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///root/pmmp/PocketMine-MP.phar/, string /root/pmmp/, string /root/pmmp/plugins/)
[00:05:16] [Server thread/DEBUG]: #24 /root/pmmp/PocketMine-MP.phar(1): require(string phar:///root/pmmp/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
How did you connect/depend economyapi
Add a skull when hold click it opens personal profile
The bug is that it does not output the number of estimates in the profile, there are no errors
Cool Plugin! I Have Some Ideas:
If the user has a perm, they could enter the user's name into a input box, and the UI displays the chosen user's profile details.
And then add an option where a certain user can block others from seeing their details (toggle switch).
It makes for a better plugin experience. :D ;)
Hi i was wondering if for the ui you could ass a setting where you can see the players permissions so that way its easier to get to every info
CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerDeathEvent' to 'ProfileUI v3.5.1': Event is not Cancellable on Infernus101\PlayerEvents [11:41:10] [Server thread/CRITICAL]: BadMethodCallException: "Event is not Cancellable" (EXCEPTION) in "src/pocketmine/event/Event" at line 58
Kills and deaths record is not showing to the form..It still to 0
plugin version 4.0
it seems to me that you check only if the player's player kills, but you do not check the moment that a player can die himself
[15:44:00] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerDeathEvent' to 'ProfileUI v4': Call to undefined method pocketmine\event\entity\EntityDamageEvent::getDamager() on Infernus101\PlayerEvents
[15:44:00] [Server thread/CRITICAL]: Error: "Call to undefined method pocketmine\event\entity\EntityDamageEvent::getDamager()" (EXCEPTION) in "ProfileUI-master/src/Infernus101/PlayerEvents" at line 42
[15:44:00] [Server thread/DEBUG]: #0 src/pocketmine/plugin/MethodEventExecutor(38): Infernus101\PlayerEvents->onDeath(pocketmine\event\player\PlayerDeathEvent object)
[15:44:00] [Server thread/DEBUG]: #1 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(Infernus101\PlayerEvents object, pocketmine\event\player\PlayerDeathEvent object)
[15:44:00] [Server thread/DEBUG]: #2 src/pocketmine/plugin/PluginManager(721): pocketmine\plugin\RegisteredListener->callEvent(pocketmine\event\player\PlayerDeathEvent object)
[15:44:00] [Server thread/DEBUG]: #3 src/pocketmine/Player(3554): pocketmine\plugin\PluginManager->callEvent(pocketmine\event\player\PlayerDeathEvent object)
[15:44:00] [Server thread/DEBUG]: #4 src/pocketmine/entity/Living(413): pocketmine\Player->callDeathEvent()
[15:44:00] [Server thread/DEBUG]: #5 src/pocketmine/Player(3436): pocketmine\entity\Living->kill()
[15:44:00] [Server thread/DEBUG]: #6 src/pocketmine/entity/Entity(943): pocketmine\Player->kill()
[15:44:00] [Server thread/DEBUG]: #7 src/pocketmine/entity/Living(105): pocketmine\entity\Entity->setHealth(double -20)
[15:44:00] [Server thread/DEBUG]: #8 src/pocketmine/entity/Entity(905): pocketmine\entity\Living->setHealth(double -20)
[15:44:00] [Server thread/DEBUG]: #9 src/pocketmine/entity/Living(351): pocketmine\entity\Entity->attack(pocketmine\event\entity\EntityDamageEvent object)
[15:44:00] [Server thread/DEBUG]: #10 src/pocketmine/Player(3587): pocketmine\entity\Living->attack(pocketmine\event\entity\EntityDamageEvent object)
[15:44:00] [Server thread/DEBUG]: #11 src/pocketmine/entity/Living(324): pocketmine\Player->attack(pocketmine\event\entity\EntityDamageEvent object)
[15:44:00] [Server thread/DEBUG]: #12 src/pocketmine/entity/Entity(1399): pocketmine\entity\Living->fall(double 43.9193)
[15:44:00] [Server thread/DEBUG]: #13 src/pocketmine/entity/Entity(1662): pocketmine\entity\Entity->updateFallState(double -1.0807, boolean 1)
[15:44:00] [Server thread/DEBUG]: #14 src/pocketmine/Player(1563): pocketmine\entity\Entity->move(double 0, double -1.0807, double 0)
[15:44:00] [Server thread/DEBUG]: #15 src/pocketmine/Player(1720): pocketmine\Player->processMovement(integer 1)
[15:44:00] [Server thread/DEBUG]: #16 src/pocketmine/level/Level(723): pocketmine\Player->onUpdate(integer 1554)
[15:44:00] [Server thread/DEBUG]: #17 src/pocketmine/Server(2360): pocketmine\level\Level->doTick(integer 1554)
[15:44:00] [Server thread/DEBUG]: #18 src/pocketmine/Server(2513): pocketmine\Server->checkTickUpdates(integer 1554, double 1508762640.0731)
[15:44:00] [Server thread/DEBUG]: #19 src/pocketmine/Server(2257): pocketmine\Server->tick()
[15:44:00] [Server thread/DEBUG]: #20 src/pocketmine/Server(2136): pocketmine\Server->tickProcessor()
[15:44:00] [Server thread/DEBUG]: #21 src/pocketmine/Server(1718): pocketmine\Server->start()
[15:44:00] [Server thread/DEBUG]: #22 src/pocketmine/PocketMine(556): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///root/pmmp/PocketMine-MP.phar/, string /root/pmmp/, string /root/pmmp/plugins/)
[15:44:00] [Server thread/DEBUG]: #23 /root/pmmp/PocketMine-MP.phar(1): require(string phar:///root/pmmp/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[15:44:00] [Server thread/INFO]: Twertik fell from a high place
Since you are using the new ui how to make a button ?
cant load plugin, unknown dependency factionspro
and I have factionspro, from poggit.
Add option to show your prefix or suffix using PureChat. Will be really helpful👍
I have a customui,my question is..What command/code do i have to put on an item that when you tap for example the book(My profile) It will show you your profile?
Currently, Its Basically Only For Factions! Im Sure Other Types Of Servers Want To Use It But The Current Features Don't Really Match Their Server! To Fix This I Have Some Ideas:
Prisons:
Sky Wars:
All:
When I Use Command:
2017-10-13 [17:09:38] �[Server thread/CRITICAL]: Unhandled exception executing command 'profile PotatoeTrainYT' in profile: Call to a member function getUserDataMgr() on null�
2017-10-13 [17:09:38] �[Server thread/CRITICAL]: Error: "Call to a member function getUserDataMgr() on null" (EXCEPTION) in "ProfileUI-master/src/Infernus101/window/ProfileWindow" at line 20�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #0 ProfileUI-master/src/Infernus101/window/Window(22): Infernus101\window\ProfileWindow->process()�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #1 ProfileUI-master/src/Infernus101/window/Handler(26): Infernus101\window\Window->__construct(Infernus101\Main object, pocketmine\Player object, pocketmine\Player object)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #2 ProfileUI-master/src/Infernus101/window/Handler(19): Infernus101\window\Handler->getWindow(integer 0, Infernus101\Main object, pocketmine\Player object, pocketmine\Player object)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #3 ProfileUI-master/src/Infernus101/Main(52): Infernus101\window\Handler->getWindowJson(integer 0, Infernus101\Main object, pocketmine\Player object, pocketmine\Player object)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #4 src/pocketmine/command/PluginCommand(58): Infernus101\Main->onCommand(pocketmine\Player object, pocketmine\command\PluginCommand object, string profile, array Array())�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #5 src/pocketmine/command/SimpleCommandMap(241): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string profile, array Array())�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #6 src/pocketmine/Server(1984): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string profile PotatoeTrainYT)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #7 src/pocketmine/Player(2125): pocketmine\Server->dispatchCommand(pocketmine\Player object, string profile PotatoeTrainYT)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(219): pocketmine\Player->chat(string /profile PotatoeTrainYT)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/protocol/CommandRequestPacket(47): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandRequest(pocketmine\network\mcpe\protocol\CommandRequestPacket object)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(91): pocketmine\network\mcpe\protocol\CommandRequestPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/protocol/BatchPacket(115): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandRequestPacket object)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #12 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(91): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #13 src/pocketmine/Player(2990): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/RakLibInterface(143): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #15 src/raklib/server/ServerHandler(97): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 82.27.215.56:40413, raklib\protocol\EncapsulatedPacket object, integer 0)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #16 src/pocketmine/network/mcpe/RakLibInterface(82): raklib\server\ServerHandler->handlePacket()�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #17 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #18 src/pocketmine/Server(2517): pocketmine\network\Network->processInterfaces()�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #19 src/pocketmine/Server(2270): pocketmine\Server->tick()�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #20 src/pocketmine/Server(2149): pocketmine\Server->tickProcessor()�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #21 src/pocketmine/Server(1731): pocketmine\Server->start()�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #22 src/pocketmine/PocketMine(553): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/gs/gs/data/servers/7652418/PocketMine-MP_1.7dev-82_03d3e595_API-3.0.0-ALPHA8.phar/, string /home/gs/gs/data/servers/7652418/, string /home/gs/gs/data/servers/7652418/plugins/)�
2017-10-13 [17:09:38] �[Server thread/DEBUG]: #23 /home/gs/gs/data/servers/7652418/PocketMine-MP_1.7dev-82_03d3e595_API-3.0.0-ALPHA8.phar(1): require(string phar:///home/gs/gs/data/servers/7652418/PocketMine-MP_1.7dev-82_03d3e595_API-3.0.0-ALPHA8.phar/src/pocketmine/PocketMine.php)�
With permissions, when a staff member run /profile (player), It will also show an extra "Punishment" Section, which has buttons that can execute BAN, MUTE, WARN, FREEZ...etc type of punishment to run on the target player.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.