piggyarchive / piggyauth Goto Github PK
View Code? Open in Web Editor NEWSafe & feature-rich auth plugin. Project has been discontinued
License: Apache License 2.0
Safe & feature-rich auth plugin. Project has been discontinued
License: Apache License 2.0
PROJECT DISCONTINUED - if you with to for these to be implemented, please create PR's and add them by yourself.
Please add support to move the Here With files to Piggy Auth
Please make sure your issue complies with these guidelines:
When you are logged in by UUID, the wither will stay and items.
PMMP
3.0.0.19
TypeError: "Argument 1 passed to PiggyAuth\Main::isAuthenticated() must be an instance of pocketmine\Player, instance of slapper\entities\SlapperHuman given, called in phar://C:/Users/Administrator/Desktop/RP/plugins/PiggyAuth (2).phar/src/PiggyAuth/EventListener.php on line 186" (EXCEPTION) in "/PiggyAuth (2).phar/src/PiggyAuth/Main" at line 148
This happens with my other issue (Joining a whitelisted server)... idk they might have connection
Please make sure your issue complies with these guidelines:
latest
my crashdump
Tesseract Crash Dump Wed Apr 26 04:29:16 ACT 2017
Error: Using $this when not in object context
File: /PiggyAuth-master/src/PiggyAuth/EventListener
Line: 182
Type: notice
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN : PiggyAuth v3.0.0.17
Code:
[173] $function = function ($result, $args, $plugin) {
[174] $player = $plugin->getServer()->getPlayerExact($args[0]);
[175] $message = $args[1];
[176] if ($player instanceof Player) {
[177] if ($result !== true) {
[178] $player->sendMessage($plugin->languagemanager->getMessage($player, "invalid-email"));
[179] $plugin->getServer()->getPluginManager()->callEvent(new PlayerFailEvent($plugin, $player, Main::LOGIN, Main::INVALID_EMAIL));
[180] } else {
[181] $plugin->register($player, $plugin->sessionmanager->getSession($player)->getSecondPassword(), $plugin->sessionmanager->getSession($player)->getSecondPassword(), $message);
[182] $this->plugin->sessionmanager->getSession($player)->setSecondPassword(null);
[183] $this->plugin->sessionmanager->getSession($player)->setGivingEmail(false);
[184] }
[185] }
[186] };
[187] $arguements = array($player->getName(), $message);
[188] $this->plugin->emailmanager->validateEmail($message, $function, $arguements);
[189] $event->setCancelled();
[190] }
[191] }
[192] }
Backtrace:
#0 /src/pocketmine/scheduler/AsyncPool(151): PiggyAuth\Tasks\ValidateEmailTask->onCompletion(pocketmine\Server object)
#1 /src/pocketmine/scheduler/ServerScheduler(252): pocketmine\scheduler\AsyncPool->collectTasks(boolean)
#2 /src/pocketmine/Server(2665): pocketmine\scheduler\ServerScheduler->mainThreadHeartbeat(integer 3165)
#3 /src/pocketmine/Server(2389): pocketmine\Server->tick(boolean)
#4 /src/pocketmine/Server(2299): pocketmine\Server->tickProcessor(boolean)
#5 /src/pocketmine/Server(1860): pocketmine\Server->start(boolean)
#6 /src/pocketmine/PocketMine(468): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///root/faction/PocketMine-MP.phar/, string /root/faction/, string /root/faction/plugins/, string unknown)
#7 (1): require_once(string phar:///root/faction/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
Tesseract version: 0000000000000000000000000000000000000000 [Protocol 107; API 3.0.1]
uname -a: Linux web 2.6.32-042stab113.21 #1 SMP Wed Mar 23 11:05:25 MSK 2016 x86_64
PHP version: 7.0.3
Zend version: 3.0.0
OS : Linux, linux
Server uptime: 2 minutes 56 seconds
Number of loaded worlds: 4
Players online: 2/100
[03:02:23] [Server thread/CRITICAL]: "Could not pass event 'pocketmine\event\player\PlayerExhaustEvent' to 'PiggyAuth v2.0.1': Argument 1 passed to PiggyAuth\Main::isAuthenticated() must be an instance of pocketmine\Player, instance of slapper\entities\SlapperHuman given, called in phar:///home/gmplus/Server/plugins/PiggyAuth_v2.0.1 (3).phar/src/PiggyAuth/EventListener.php on line 192 on PiggyAuth\EventListener
[03:02:23] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to PiggyAuth\Main::isAuthenticated() must be an instance of pocketmine\Player, instance of slapper\entities\SlapperHuman given, called in phar:///home/gmplus/Server/plugins/PiggyAuth_v2.0.1 (3).phar/src/PiggyAuth/EventListener.php on line 192" (EXCEPTION) in "/PiggyAuth_v2.0.1 (3).phar/src/PiggyAuth/Main" at line 149
I love piggies :-). They are so cute!
[05:01:26] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to PiggyAuth\Main::isAuthenticated() must be an instance of pocketmine\Player, instance of slapper\entities\SlapperHuman given, called in phar://C:/Users/Administrator/Desktop/RP/plugins/PiggyAuth.phar/src/PiggyAuth/EventListener.php on line 195" (EXCEPTION) in "/PiggyAuth.phar/src/PiggyAuth/Main" at line 148
[05:01:26] [Server thread/CRITICAL]: "Could not pass event 'pocketmine\event\player\PlayerExperienceChangeEvent' to 'PiggyAuth v2.0.1': Argument 1 passed to PiggyAuth\Main::isAuthenticated() must be an instance of pocketmine\Player, instance of slapper\entities\SlapperHuman given, called in phar://C:/Users/Administrator/Desktop/RP/plugins/PiggyAuth.phar/src/PiggyAuth/EventListener.php on line 195 on PiggyAuth\EventListener
How to disable database :/? I am not using it but if I try to load plugin without database it shows this error:
[Server thread/CRITICAL]: Exception: "Unable to open database: unable to open database file" (EXCEPTION) in "/PiggyAuth-master/src/PiggyAuth/Databases/SQLite3" at line 15
Please, I want to use this auth. It looks really great!
"Could not pass event 'pocketmine\event\player\PlayerQuitEvent' to 'PiggyAuth v2.0.1': Argument 1 passed to pocketmine\Player::setGamemode() must be of the type integer, null given, called in phar://C:/Users/Administrator/Desktop/RP/plugins/PiggyAuth (2).phar/src/PiggyAuth/Main.php on line 415 on PiggyAuth\EventListener
TypeError: "Argument 1 passed to pocketmine\Player::setGamemode() must be of the type integer, null given, called in phar://C:/Users/Administrator/Desktop/RP/plugins/PiggyAuth (2).phar/src/PiggyAuth/Main.php on line 415" (EXCEPTION) in "/src/pocketmine/Player" at line 1369
[Tesseract] [09:43:35] ERROR> [PiggyAuth] Invalid API key.
[Tesseract] [09:43:35] ERROR> [PiggyAuth] Invalid public API key.
OS: Debian 8
Mcpe: 1.0.6
Version: Tesseract
Please make sure your issue complies with these guidelines:
I am using MySQL as Database! And PiggyAuth cant connet because of this: Warning: mysqli::__construct(): (HY000/1130): Host '(MyIpbutIdontSayItxD)' is not allowed to connect to this MySQL server in /-----/-------/plugins/PiggyAuth-master/src/PiggyAuth/Databases/MySQL.php on line 19
Warning: mysqli::query(): Couldn't fetch mysqli in /-----/------/plugins/PiggyAuth-master/src/PiggyAuth/Databases/MySQL.php on line 23
Tesseract, PMMP
PiggyAuth version 3.0.0.07
I get this error in the console when I am starting the Server! But the server isn't crashing
1.
Nope
Could you add something like if player is not registered or logged in, it gets random username, for example Player1, Player2, etc. and it can do everything like normal player but it will not can execute commands? I hope I was clear enough.
Boss bar not work.
Enter with 0.16.1 ,windows 10.
[21:00:13] [Server thread/CRITICAL]: "Could not pass event 'pocketmine\event\player\PlayerQuitEvent' to 'PiggyAuth v2.0.1': Argument 1 passed to pocketmine\Player::setGamemode() must be of the type integer, null given, called in phar:///home/gmplus/Server/plugins/PiggyAuth_v2.0.1.phar/src/PiggyAuth/Main.php on line 410 on PiggyAuth\EventListener
[21:00:13] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\Player::setGamemode() must be of the type integer, null given, called in phar:///home/gmplus/Server/plugins/PiggyAuth_v2.0.1.phar/src/PiggyAuth/Main.php on line 410" (EXCEPTION) in "/src/pocketmine/Player" at line 1360
[21:00:13] [Server thread/INFO]: Edy[/*:19132] logged out due to [GM+ Network]
[21:00:21] [Server thread/INFO]: MCPEPIG[/*:24165] [ClientID: -* logged in with entity id 1 at (TempWorld, 57.5, 66, 99.5)
itelis[21:00:21] [Server thread/CRITICAL]: "Could not pass event 'pocketmine\event\player\PlayerJoinEvent' to 'PiggyAuth v2.0.1': Class pocketmine\network\protocol\BossEventPacket not found on PiggyAuth\EventListener
[21:00:21] [Server thread/CRITICAL]: ClassNotFoundException: "Class pocketmine\network\protocol\BossEventPacket not found" (EXCEPTION) in "/src/spl/BaseClassLoader" at line 144
Hello,
This is a feature request. Can you make it for unlogged in members they get a guest1038 tag. I can advertise that they must register to get there name shown? They can walk around the lobby without registration but they will have something like guest2828. Possibly edit in the config?
Could you teleport* the entity (wither) at 0/0/0 (X/Y/Z)? I think it would be better.
Please make sure your issue complies with these guidelines:
When players chat, there is horrible lag when checking if messages are the password. (Currently removed from PiggyAuth)
ask for auth if a player is not logged in with xbox account
register: auth
login1xwithxbox: auth
login2x: xbox login
login3xwithoutxbox: auth
Please make sure your issue complies with these guidelines:
If you provide an email on register, it does nothing but works fine with none.
PMMP
3.0.0.19
Please make sure your issue complies with these guidelines:
[Tesseract] [02:58:13] CRITICAL> Error: "Cannot use object of type stdClass as array" (EXCEPTION) in "/PiggyAuth-master/src/PiggyAuth/Commands/RegisterCommand" at line 83
[Tesseract] [02:58:13] INFO> An unknown error occurred while attempting to perform this command
[Tesseract] [02:58:13] CRITICAL> Unhandled exception executing command 'reload' in reload: Cannot use object of type stdClass as array
[Tesseract] [02:58:13] CRITICAL> Error: "Cannot use object of type stdClass as array" (EXCEPTION) in "/PiggyAuth-master/src/PiggyAuth/Commands/RegisterCommand" at line 83
tesseract rotten apple
latest
yaml
1- email support
2- forget password send pin to email
3-chat register/login
and im using piggy auth because data bases
Tesseract Crash Dump Fri Apr 14 17:22:04 UTC 2017
Error: Call to a member function getMessageFromLanguage() on null
File: /plugins/PiggyAuth.phar/src/PiggyAuth/Tasks/AutoUpdaterTask
Line: 57
Type: notice
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN : PiggyAuth v3.0.0.04
Code:
[48] $server->getPluginManager()->enablePlugin($server->getPluginManager()->loadPlugin($server->getDataPath() . "/plugins/PiggyAuth.phar"));
[49] return true;
[50] }
[51] $plugin->getLogger()->info(str_replace("{features}", $features, str_replace("{version}", $release, $plugin->languagemanager->getMessageFromLanguage($plugin->languagemanager->getDefaultLanguage(), "plugin-outdated"))));
[52] return true;
[53] }
[54] $plugin->getLogger()->info($plugin->languagemanager->getMessageFromLanguage($plugin->languagemanager->getDefaultLanguage(), "plugin-up-to-date"));
[55] return true;
[56] }
[57] $plugin->getLogger()->info($plugin->languagemanager->getMessageFromLanguage($plugin->languagemanager->getDefaultLanguage(), "over-api-rate-limit"));
[58] return false;
[59] }
[60] }
[61]
[62]
[63]
[64]
[65]
[66]
[67]
The domain McpeFun.com is no longer available. I will not be hosting it in that domain anymore, please use puremc.pw instead.
Please make sure your issue complies with these guidelines:
Sometimes the force function is not run after registering, resulting in effects not being removed, bossbars not removed, or gamemode set. This issue only happens occasionally and started happening when async was added.
Should we add a banning system into PiggyAuth?
For yes, ๐
For no, ๐
If I write my password in the chat, then again password and then email it shows "Invalid email.". My email is [email protected]. And I see boss (wither) in front of me if I have enabled boss bar.
Please make sure your issue complies with these guidelines:
Boss bar doesn't show up
PMMP
3.0.0.20
1.Get on or logout.
Its annoying. you register, type in PW, PW and have no more effects. you can move etc. then you want to chat and tada: "Invalid email"
I think it is time to work on 3.0.0 and create new Issue named 3.0.0 UPDATE or something.
I think you could add one more message on join (it could be optional too). Something like - "Welcome on {server}!". {server} = $this->getServer()->getName().
Notice: Undefined property: pocketmine\network\protocol\ContainerSetSlotPacket::$selectSlot in phar:///---------/plugins/PiggyAuth.phar/src/PiggyAuth/EventListener.php on line 352
OS: Debian 8
Version: Tesseract
V. 1.0.6
Will you add more languages? I could help you with translation.
I've been noticing people complaining about this plugin crashing and/or having other issues on other server software. This plugin was written for PMMP, not for other server software. Why not add a list of tested/supported server software (Besides PMMP) in clear view at the readme file or in a CONTRIBUTING.md?
Please make sure your issue complies with these guidelines:
Since uuid login is now processed in the start session function, you can no longer logout with it enabled.
PMMP
3.0.0.20
Sorry I removed everything but i think you know me xD
When a player is joining (Console Output)
[Tesseract] [21:11:13] CRITICAL> "Das Event 'pocketmine\event\player\PlayerQuitEvent' konnte nicht an 'PiggyAuth v3.0.0.08' weitergegeben werden: Call to a member function isAuthenticated() on null in PiggyAuth\EventListener"
[Tesseract] [21:11:13] CRITICAL> Error: "Call to a member function isAuthenticated() on null" (EXCEPTION) in "/plugins/PiggyAuth-master/src/PiggyAuth/Main" at line 713
Please make sure your issue complies with these guidelines:
Notice: Undefined index: mcpepiglovesbacon in phar:///home/gmplus/Server/plugins/PiggyAuth_v2.0.1.phar/src/PiggyAuth/Main.php on line 396
[07:34:27] [Server thread/CRITICAL]: "Could not pass event 'pocketmine\event\player\PlayerQuitEvent' to 'PiggyAuth v2.0.1': Argument 1 passed to pocketmine\Player::setGamemode() must be of the type integer, null given, called in phar:///home/gmplus/Server/plugins/PiggyAuth_v2.0.1.phar/src/PiggyAuth/Main.php on line 396 on PiggyAuth\EventListener
[07:34:27] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\Player::setGamemode() must be of the type integer, null given, called in phar:///home/gmplus/Server/plugins/PiggyAuth_v2.0.1.phar/src/PiggyAuth/Main.php on line 396" (EXCEPTION) in "/src/pocketmine/Player" at line 1360
Can you add MySQL?
Help translate PiggyAuth! Comment if you can help with a language.
Open This Thingy,
Thee Please
https://gist.github.com/NeuroBinds/287f637a1e794470f05751a51c23ceda
Added this onto my server and it doesnt work. When i got to /plugins it shows red :p piggy fix it or else no mud ๐ love youuu no homo.
Email registration does not work. Only "none". Shows "Invalid email.".
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.