Jail
Jail copied to clipboard
Crash upom start up
GenisysPro Crash Dump Sat Sep 9 09:54:32 CDT 2017
Error: Declaration of hoyinm14mc\jail\commands\DeljailCommand::onCommand(pocketmine\command\CommandSender $issuer, pocketmine\command\Command $cmd, string $label, array $args): bool must be compatible with pocketmine\command\CommandExecutor::onCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $command, $label, array $args)
File: /Jail-master/src/hoyinm14mc/jail/commands/DeljailCommand
Line: 27
Type: E_COMPILE_ERROR
THIS CRASH WAS CAUSED BY A PLUGIN
BAD PLUGIN : Jail v1.2.0
Code:
[18] */
[19]
[20] namespace hoyinm14mc\jail\commands;
[21]
[22] use hoyinm14mc\jail\Jail;
[23] use hoyinm14mc\jail\base\BaseCommand;
[24] use pocketmine\command\CommandSender;
[25] use pocketmine\command\Command;
[26]
[27] class DeljailCommand extends BaseCommand
[28] {
[29]
[30] public function onCommand(CommandSender $issuer, Command $cmd, string $label, array $args): bool
[31] {
[32] switch (strtolower($cmd->getName())) {
[33] case "deljail":
[34] if (isset($args[0]) !== true) {
[35] return false;
[36] }
[37] if ($issuer->hasPermission("jail.command.deljail") !== true) {
Backtrace:
#0 (): pocketmine\Server->crashDump(boolean)
Genisys version: 0000000000000000000000000000000000000000 [Protocol 113; API 3.0.1]
uname -a: Linux localhost 3.10.49-6733392 #1 SMP PREEMPT Wed Mar 29 20:12:38 KST 2017 armv7l
PHP version: 7.0.3
Zend version: 3.0.0
OS : Linux, android
Server uptime: 13 seconds
Number of loaded worlds: 3
Players online: 0/20
Loaded plugins:
ManyWorlds 2.0.3 by aliuly for API(s) 2.0.0
EconomyAPI 2.0.9 by onebone for API(s) 2.0.0
Fireworks_JJBH 1.0 by Jaciel by Jaciel14 for API(s) 1.12.0
PurePerms 1.3.5 by 64FF00 for API(s) 1.13.0, 2.0.0
DevToolsByMRJAYEDIT MRJAYEDIT by PocketMine Team for API(s) 3.0.0-ALPHA1
JoinTitle 1 by Kotov EditBy ThaiEdit for API(s) 3.0.0
BlockParticle 1 by FreeGamingHere for API(s) 2.0.0, 3.0.0
AddonThaiEditBar 1 by Mishka for API(s) 2.0.0, 3.0.1, 3.0.0-ALPHA2, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5
ThaiEditBar 2 by ThaiEdit for API(s) 1.0.0, 2.0.0, 2.1.0, 3.0.0, 3.0.0-ALPHA1, 3.0.0-ALPHA2
SplatCraft 1.1.1 by for API(s) 1.11.0
WorldEdit+ 0.01 by for API(s) 2.0.0
WorldFixer 1 by CreeperFace for API(s) 1.12.0
SoupFFA 1.5.0 by McpeBooster for API(s) 3.0.0-ALPHA5, 2.0.0, 1.12.0
Jail 1.2.0 by hoyinm14mc for API(s) 2.0.0, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0-ALPHA6, 3.0.0-ALPHA7
ClearLagg 1.1.0 by LegendOfMCPE for API(s) 3.0.0-ALPHA1
EconomyJob 2.0.4 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 3.0.1, 3.0.0-ALPHA3, 3.0.0-ALPHA5, 3.0.0-ALPHA7, 3.0.0-ALPHA6
ReasonWL 2 by CreeperFace for API(s) 1.12.0
FlyCommand 1.0.0 by MCrafters for API(s) 3.0.0-ALPHA1
PlayerSize by xxniceassasinl0 for API(s) 2.0.0, 2.1.0, 3.0.0APLHA1, 3.0.0
PureChat 1.4.0 by 64FF00 for API(s) 1.13.0, 2.0.0
GrabBag 2.3.0 by aliuly for API(s) 1.10.0, 1.11.0, 1.12.0
UltimateParticles 4.1.0 by hoyinm14mc for API(s) 2.0.0
RankUp 0.3.1 by Falkirks for API(s) 1.4.0
Btw this error occurs on every version except 1.1.2 and below .
Are you still able to use this plugin when you use v1.1.2 and below? I mean are the commands executable?
Yes i can use ver 1.1.2 and below and i can set the prison but the prisoners r able to execute commands while prisoned and the config is empty. Also the asyncUpdateChecker gets crashed after the server startup ( cuz of the jail plugin)
But now im using the 0.4dev version u posted on youtube which only allows me to jail and unjail people (poor me lol)