gordonmhy / jail Goto Github PK
View Code? Open in Web Editor NEWA revolutionary player punishment system. Designed for @PocketMine servers.
License: GNU General Public License v3.0
A revolutionary player punishment system. Designed for @PocketMine servers.
License: GNU General Public License v3.0
Server thread/CRITICAL ErrorException: "Undefined property: hoyinm14mc\jail\Jail::$data" (EXCEPTION) in "/Jail.phar/src/hoyinm14mc/jail/Jail" at line 220
Hi,
Please find another issue
Dev | #41
https://poggit.pmmp.io/r/9388/Jail.phar
and PocketMine-MP_1.6.2dev-339_f0b4a33e_API-3.0.0-ALPHA7
2017-08-02 [10:52:07] �[Server thread/CRITICAL]: Unhandled exception executing command 'jailed' in jailed: Return value of hoyinm14mc\jail\commands\JailedCommand::onCommand() must be of the type boolean, none returned�
2017-08-02 [10:52:07] �[Server thread/CRITICAL]: TypeError: "Return value of hoyinm14mc\jail\commands\JailedCommand::onCommand() must be of the type boolean, none returned" (EXCEPTION) in "Jail.phar/src/hoyinm14mc/jail/commands/JailedCommand" at line 41�
Hi,
Error on the console :
2017-09-15 [20:04:33] �[Server thread/CRITICAL]: Could not save Config /home/gsp_1582/g7.hmserv.eu-19132/plugins/Jail/players.yml: Cannot serialize Server instance�
PocketMine-MP 1.6.2dev-578: PurePerms 1.4.1-dev2; AllSigns 1.0.3; ItemCasePE 1.1.0-dev1; FactionsPro 1.3.11-2.alpha7; KillMoney 1.1.2; xyz 1.0.3; EconomyAPI 5.7.1-dev2; SimpleAuth 2.1.0-map.3; essentialsTP 1.2.0-dev1; CrateKeys 1.0.0; SimpleAuthHelper 2.0.6; AlwaysSpawn 2.2.3-dev1; Jail 1.2.0; PiggyCustomEnchants 1.0.2; Slapper 1.3.5; ChatToDiscord 1.1.0; iProtector 4.0.1#3.1b; Parkour 1.5.6; EconomyShop 2.0.8-dev2; PureChat 1.4.10-dev2
PocketMine-MP Version: 1.6.2dev "Unleashed" (API 3.0.0-ALPHA3)
Plugin Version: Alpha0.3.0
PHP version: 7.0.15
Hi just wanted to say thank you for developing a great plugin.
i modified the plugin to test with API 3.0.0-ALPHA3.
i was able to enable and create the jail without issue.
however when i try to jail someone (me op) i get the errors in console as below:
[20:18:12] [Server thread/INFO]: Loading pocketmine.yml...
[20:18:12] [Server thread/INFO]: Loading server properties...
[20:18:12] [Server thread/INFO]: Selected English (eng) as the base language
[20:18:12] [Server thread/INFO]: Starting Minecraft: PE server version v1.0.3.0
[20:18:12] [Server thread/INFO]: Opening server on 0.0.0.0:19134
[20:18:13] [Server thread/INFO]: This server is running PocketMine-MP version 1.6.2dev "Unleashed" (API 3.0.0-ALPHA3)
[20:18:13] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License
[20:18:13] [Server thread/INFO]: Loading recipes...
[20:18:13] [Server thread/INFO]: Loading Jail vAlpha0.3.0
[20:18:13] [Server thread/INFO]: Preparing level "plots"
[20:18:13] [Server thread/INFO]: Preparing level "world"
[20:18:13] [Server thread/INFO]: Preparing level "mines"
[20:18:13] [Server thread/INFO]: Preparing level "Arena"
[20:18:13] [Server thread/INFO]: Preparing level "spleef"
[20:18:13] [Server thread/INFO]: Preparing level "survive"
[20:18:13] [Server thread/INFO]: Preparing level "TNTRUN"
[20:18:13] [Server thread/INFO]: Preparing level "CTF2"
[20:18:13] [Server thread/INFO]: Enabling Jail vAlpha0.3.0
[20:18:13] [Server thread/INFO]: [Jail] Loading configurations...
Warning: mysqli::__construct(): (HY000/1049): Unknown database 'Jail' in phar://C:/Users/steve/Desktop/PocketMine/plugins/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail.php on line 619
[20:18:13] [Server thread/INFO]: [Jail] SQL Server connection error: Unknown database 'Jail'
[20:18:13] [Server thread/INFO]: [Jail] Loaded Successfully!
[20:18:13] [Server thread/INFO]: [Jail] Fetching latest version from repository...
[20:18:13] [Server thread/INFO]: [Jail] Result will appear when server query is started.
[20:18:13] [Server thread/INFO]: Starting GS4 status listener
[20:18:13] [Server thread/INFO]: Setting query port to 19134
[20:18:13] [Server thread/INFO]: Query running on 0.0.0.0:19134
[20:18:13] [Server thread/INFO]: Default game type: Survival Mode
[20:18:13] [Server thread/INFO]: Done (1.317s)! For help, type "help" or "?"
[20:18:15] [Server thread/INFO]: [Jail] No update found!
[20:18:46] [Server thread/INFO]: Troll923[/86.163.130.2:1025] logged in with entity id 1 at (world, 253.2406, 69, 257.5541)
Notice: Undefined index: jailed in phar://C:/Users/steve/Desktop/PocketMine/plugins/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail.php on line 453
[20:18:47] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerJoinEvent' to 'Jail vAlpha0.3.0': Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned on hoyinm14mc\jail\listeners\PlayerListener
[20:18:47] [Server thread/CRITICAL]: TypeError: "Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned" (EXCEPTION) in "/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail" at line 453
[20:18:47] [Server thread/INFO]: Troll923 joined the game
Notice: Undefined index: jailed in phar://C:/Users/steve/Desktop/PocketMine/plugins/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail.php on line 453
[20:18:48] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerMoveEvent' to 'Jail vAlpha0.3.0': Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned on hoyinm14mc\jail\listeners\PlayerListener
[20:18:48] [Server thread/CRITICAL]: TypeError: "Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned" (EXCEPTION) in "/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail" at line 453
Notice: Undefined index: jailed in phar://C:/Users/steve/Desktop/PocketMine/plugins/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail.php on line 453
[20:18:49] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerMoveEvent' to 'Jail vAlpha0.3.0': Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned on hoyinm14mc\jail\listeners\PlayerListener
[20:18:49] [Server thread/CRITICAL]: TypeError: "Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned" (EXCEPTION) in "/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail" at line 453
Notice: Undefined index: jailed in phar://C:/Users/steve/Desktop/PocketMine/plugins/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail.php on line 453
[20:18:50] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerMoveEvent' to 'Jail vAlpha0.3.0': Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned on hoyinm14mc\jail\listeners\PlayerListener
[20:18:50] [Server thread/CRITICAL]: TypeError: "Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned" (EXCEPTION) in "/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail" at line 453
Notice: Undefined index: jailed in phar://C:/Users/steve/Desktop/PocketMine/plugins/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail.php on line 453
[20:18:50] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerMoveEvent' to 'Jail vAlpha0.3.0': Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned on hoyinm14mc\jail\listeners\PlayerListener
[20:18:50] [Server thread/CRITICAL]: TypeError: "Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned" (EXCEPTION) in "/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail" at line 453
Notice: Undefined index: jailed in phar://C:/Users/steve/Desktop/PocketMine/plugins/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail.php on line 453
[20:18:53] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerCommandPreprocessEvent' to 'Jail vAlpha0.3.0': Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned on hoyinm14mc\jail\listeners\PlayerListener
[20:18:53] [Server thread/CRITICAL]: TypeError: "Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned" (EXCEPTION) in "/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail" at line 453
Notice: Undefined index: jailed in phar://C:/Users/steve/Desktop/PocketMine/plugins/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail.php on line 453
[20:19:02] [Server thread/CRITICAL]: Could not pass event 'pocketmine\event\player\PlayerCommandPreprocessEvent' to 'Jail vAlpha0.3.0': Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned on hoyinm14mc\jail\listeners\PlayerListener
[20:19:02] [Server thread/CRITICAL]: TypeError: "Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned" (EXCEPTION) in "/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail" at line 453
Notice: Undefined index: jailed in phar://C:/Users/steve/Desktop/PocketMine/plugins/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail.php on line 453
[20:19:02] [Server thread/CRITICAL]: Unhandled exception executing command 'jail troll923 jail1 1 ha' in jail: Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned
[20:19:02] [Server thread/CRITICAL]: TypeError: "Return value of hoyinm14mc\jail\Jail::isJailed() must be of the type boolean, null returned" (EXCEPTION) in "/phar_zip_Jail_vAlpha0.3.0_dTarOhEF7fILx_m (2)_VL6JXCk6bZ0huoC.phar/src/hoyinm14mc/jail/Jail" at line 453
[20:19:15] [Server thread/INFO]: Troll923 left the game
[20:19:15] [Server thread/INFO]: Troll923[/86.163.130.2:1025] logged out due to timeout
If you have time to take a look or even let me know where i am going wrong it would be appreciated.
is this something new with API 3.0.0-ALPHA3?
Kind Reagards
Star
Will be enhanced soon
Only movement is restricted. Players can still chat, run commands, break/place blocks even though its set to false in command.
Using latest version from github
[15:04:41] [Server thread/CRITICAL]: Could not save Config /home/opfactions/plugins/Jail/players.yml: yaml_emit(): Memory error: Not enough memory for creating an event (libyaml)
Hi,
Critical Error
Jail 1.2.0
PocketMine-MP 1.6.2dev-515
2017-09-02 [01:01:50] �[Server thread/CRITICAL]: Unhandled exception executing command 'jailinfo bank' in jailinfo: Undefined index: jail�
2017-09-02 [01:01:50] �[Server thread/CRITICAL]: ErrorException: "Undefined index: jail" (EXCEPTION) in "Jail.phar/src/hoyinm14mc/jail/commands/JailinfoCommand" at line 50�
2017-09-02 [01:02:01] �[Server thread/CRITICAL]: Unhandled exception executing command 'jailinfo colin' in jailinfo: Undefined index: jail�
2017-09-02 [01:02:01] �[Server thread/CRITICAL]: ErrorException: "Undefined index: jail" (EXCEPTION) in "Jail.phar/src/hoyinm14mc/jail/commands/JailinfoCommand" at line 50�
2017-09-02 [01:03:01] �[Server thread/CRITICAL]: Unhandled exception executing command 'jailinfo colin' in jailinfo: Undefined index: jail�
2017-09-02 [01:03:01] �[Server thread/CRITICAL]: ErrorException: "Undefined index: jail" (EXCEPTION) in "Jail.phar/src/hoyinm14mc/jail/commands/JailinfoCommand" at line 50�
2017-09-02 [01:06:56] �[Server thread/CRITICAL]: ErrorException: "Undefined offset: 0" (EXCEPTION) in "Jail.phar/src/hoyinm14mc/jail/tasks/TimeBroadcastTask" at line 50�
2017-09-02 [01:06:56] �[Server thread/CRITICAL]: Could not execute task hoyinm14mc\jail\tasks\TimeBroadcastTask: Undefined offset: 0�
thanks
If i'm used /votejail and /unjail NOT WORK.
Message.yml not work for me, and i have this config:
"allow-chat: true
allow-command: false
allow-block-break: false
allow-block-place: false
#If false, restricts player's VECTOR3 movement, not whole POSITION
allow-movement: true
allow-attack: false
disable-damage: true"
Not work and "allow-chat", but is true.
Edit: For /votejail and /unjail : Player have name "xDenys15" ,but in config is "xdenys15"
Is one difference. You can fix that?
When you type '/jailmine set arthur' it asks you to set the first position by tapping or placing a block. When you do it, it doesn't ask for your second position of the mine.
Error in console: Notice: Undefined index: jailed in C:\Users\Gamer27832 server\Desktop\New folder (10)\plugins\Jail-master\src\hoyinm14mc\jail\Jail.php on line 302
hi,
please upgrade Alpha8
thanks
Hello there,
I installed the .phar on the poggit page and when I went to install it I got the error -
[17:39:32] [Server thread/CRITICAL]: ErrorException: "unlink(/root/plugins/Jail/messages.yml): No such file or directory
" (EXCEPTION) in "Jail.phar/src/hoyinm14mc/jail/Jail" at line 245
My server is run on a Linux VPS. Please tell me if you require more information in order to solve the issue!
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
Is this project still continuing? @gordonmhy
Hi,
Pleaser find another issue with latest version
2017-08-02 [11:01:17] �[Server thread/CRITICAL]: Unhandled exception executing command 'tpjail 2' in tpjail: Return value of hoyinm14mc\jail\commands\TpjailCommand::onCommand() must be of the type boolean, none returned�
2017-08-02 [11:01:17] �[Server thread/CRITICAL]: TypeError: "Return value of hoyinm14mc\jail\commands\TpjailCommand::onCommand() must be of the type boolean, none returned" (EXCEPTION) in "Jail.phar/src/hoyinm14mc/jail/commands/TpjailCommand" at line 75�
I hope that this plugin can be continued. This plugin is very useful, punishing offenders without being banned. for now this plugin is working, but some code crashes.
good luck :DD
Seems to be crashing on start up of the server.
Any possible fix for this, crash dump below
PocketMine-MP Crash Dump Tue Aug 22 06:08:19 EDT 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.phar/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:
PocketMine-MP version: 1.6.2dev #0 [Protocol 113; API 3.0.0-ALPHA6]
PHP Version: 7.0.3
Zend version: 3.0.0
OS : Linux, linux
Hi,
Please find an error
2017-09-13 [07:22:11] �[Server thread/CRITICAL]: Unhandled exception executing command 'unjail Steve' in unjail: Argument 2 passed to pocketmine\inventory\PlayerInventory::setItem() must be an instance of pocketmine\item\Item, string given, called in phar:///home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar/src/pocketmine/inventory/BaseInventory.php on line 131�
2017-09-13 [07:22:11] �[Server thread/CRITICAL]: TypeError: "Argument 2 passed to pocketmine\inventory\PlayerInventory::setItem() must be an instance of pocketmine\item\Item, string given, called in phar:///home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar/src/pocketmine/inventory/BaseInventory.php on line 131" (EXCEPTION) in "src/pocketmine/inventory/PlayerInventory" at line 321�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #0 src/pocketmine/inventory/BaseInventory(131): pocketmine\inventory\PlayerInventory->setItem(integer 0, string O:21:"pocketmine\item\Stick":7:{s:8:"..block";N;s:5:"..id";i:280;s:7:"..meta";i:0;s:26:".pocketmine\item\Item.tags";s:0:"";s:31:".pocketmine\item\Item.cachedNBT";N;s:5:"count";i:3;s:7:"..name";s:5:"Stick";})�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #1 Jail.phar/src/hoyinm14mc/jail/Jail(525): pocketmine\inventory\BaseInventory->setContents(array Array())�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #2 Jail.phar/src/hoyinm14mc/jail/commands/UnjailCommand(46): hoyinm14mc\jail\Jail->unjail(string Sidahmed44)�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #3 src/pocketmine/command/PluginCommand(58): hoyinm14mc\jail\commands\UnjailCommand->onCommand(pocketmine\Player object, pocketmine\command\PluginCommand object, string unjail, array Array())�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #4 src/pocketmine/command/SimpleCommandMap(237): pocketmine\command\PluginCommand->execute(pocketmine\Player object, string unjail, array Array())�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #5 src/pocketmine/Server(1953): pocketmine\command\SimpleCommandMap->dispatch(pocketmine\Player object, string unjail Sidahmed44)�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #6 src/pocketmine/Player(3036): pocketmine\Server->dispatchCommand(pocketmine\Player object, string unjail Sidahmed44)�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #7 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(222): pocketmine\Player->handleCommandStep(pocketmine\network\mcpe\protocol\CommandStepPacket object)�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #8 src/pocketmine/network/mcpe/protocol/CommandStepPacket(69): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleCommandStep(pocketmine\network\mcpe\protocol\CommandStepPacket object)�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #9 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(94): pocketmine\network\mcpe\protocol\CommandStepPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #10 src/pocketmine/network/mcpe/protocol/BatchPacket(106): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\CommandStepPacket object)�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #11 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(94): pocketmine\network\mcpe\protocol\BatchPacket->handle(pocketmine\network\mcpe\PlayerNetworkSessionAdapter object)�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #12 src/pocketmine/Player(3072): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #13 src/pocketmine/network/mcpe/RakLibInterface(145): pocketmine\Player->handleDataPacket(pocketmine\network\mcpe\protocol\BatchPacket object)�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #14 src/raklib/server/ServerHandler(97): pocketmine\network\mcpe\RakLibInterface->handleEncapsulated(string 2.9.105.240:38957, raklib\protocol\EncapsulatedPacket object, integer 0)�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/RakLibInterface(86): raklib\server\ServerHandler->handlePacket()�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #16 src/pocketmine/network/Network(89): pocketmine\network\mcpe\RakLibInterface->process()�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #17 src/pocketmine/Server(2473): pocketmine\network\Network->processInterfaces()�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #18 src/pocketmine/Server(2239): pocketmine\Server->tick()�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #19 src/pocketmine/Server(2118): pocketmine\Server->tickProcessor()�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #20 src/pocketmine/Server(1700): pocketmine\Server->start()�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #21 src/pocketmine/PocketMine(541): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string phar:///home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar/, string /home/gsp_1445/g4.hmserv.eu-19133/, string /home/gsp_1445/g4.hmserv.eu-19133/plugins/)�
2017-09-13 [07:22:11] �[Server thread/DEBUG]: #22 /home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar(1): require(string phar:///home/gsp_1445/g4.hmserv.eu-19133/PocketMine-MP.phar/src/pocketmine/PocketMine.php)�
PocketMine-MP 1.6.2dev-576: PurePerms 1.4.1-dev2; AllSigns 1.0.3; ItemCasePE 1.1.0-dev1; KillMoney 1.1.2; xyz 1.0.3; EconomyAPI 5.7.1-dev2; essentialsTP 1.2.0-dev1; CrateKeys 1.0.0; AlwaysSpawn 2.2.3-dev1; Jail 1.2.0; SimpleAuth 2.0.0-alpha7; SimpleAuthHelper 2.0.6; PiggyCustomEnchants 1.0.2; Slapper 1.3.5; ChatToDiscord 1.1.0; iProtector 4.0.1#3.1b; FactionsPro 1.3.11-1.alpha7; Parkour 1.5.6; EconomyShop 2.0.8-dev2; PureChat 1.4.10-dev2
How i can de-activate this feature?
Is buggy. Crash my server.
Bug not fixed: Fixed non-jailed players get kicked upon second join and crash server
why you dont make a until store
so the server dont need to count
Update Alpha10 please !
Hello!
I would like to use this plugin but the API version is not compatible with version 3.3.2 of PocketMine-MP
Any plan to update? Can I help? I'm a PHP developer but a beginner minecraft developer.
[Server thread/INFO]: This server is running PocketMine-MP version 3.3.2
[Server thread/INFO]: PocketMine-MP is distributed under the LGPL License
[Server thread/INFO]: Loading resource packs...
[Server thread/ERROR]: Could not load plugin 'Jail': Incompatible API version (plugin requires one of: 2.0.0, 3.0.0-ALPHA3, 3.0.0-ALPHA4, 3.0.0-ALPHA5, 3.0.0-ALPHA6, 3.0.0-ALPHA7)
PocketMine-MP Crash Dump Mon May 3 19:03:20 WIB 2021
Error: Argument 2 passed to pocketmine\inventory\BaseInventory::setItem() must be an instance of pocketmine\item\Item, string given, called in phar://C:/Users/lemineral/Desktop/PocketMine-MP-3.12.6/PocketMine-MP.phar/src/pocketmine/inventory/BaseInventory.php on line 136
File: pmsrc/src/pocketmine/inventory/BaseInventory
Line: 159
Type: TypeError
A PLUGIN WAS INVOLVED IN THIS CRASH
BAD PLUGIN: Jail v3.1.1
Code:
[150] */
[151] public function dropContents(Level $level, Vector3 $position) : void{
[152] foreach($this->getContents() as $item){
[153] $level->dropItem($position, $item);
[154] }
[155]
[156] $this->clearAll();
[157] }
[158]
[159] public function setItem(int $index, Item $item, bool $send = true) : bool{
[160] if($item->isNull()){
[161] $item = ItemFactory::get(Item::AIR, 0, 0);
[162] }else{
[163] $item = clone $item;
[164] }
[165]
[166] $oldItem = $this->getItem($index);
[167] if($this->eventProcessor !== null){
[168] $newItem = $this->eventProcessor->onSlotChange($this, $index, $oldItem, $item);
[169] if($newItem === null){
In this last update I can not trap anyone in the cage, when I give the / jail command the following message appears "an unknown error occurred while trying to perform this command"
If drop one item, ( and player isn't on jail ) , cannot because say: You can not use this in jail.
@hoyinm14mc
I can't set a mine. It says touch/break the first position, but nothing happens. What should I do?
this plugin creates alot of lagg
write this old version
[18:05:09] [Server thread/INFO]: [Jail] Start fetching data...
[18:05:11] [Server thread/INFO]: [Jail] >>>>> Channel: Poggit <<<<<
[18:05:11] [Server thread/INFO]: [Jail] Your version is outdated!
Latest version: 1.1.5
[18:05:11] [Server thread/INFO]: [Jail]
Update details for v1.1.5 - 31/JUL/2017
i try pl but sho its new
[18:06:59] [Server thread/INFO]: Plugins (17): AdvancedKits v5.1.0, AliasPlayer v2, AntiCheat v1, BadNames v0.0.1, EconomyAPI v2.0.9, EconomyAuction v2.0.2, EconomyCasino v2.0.2, essentialsTP v1.2.0-dev1, iProtector v4.0.1#3.1b, ItemCloud v1.3, Jail v1.1.6, PurePerms v1.4.1-dev2, SimpleAuth v2.0.0-alpha7, SimpleAuthHelper v2.0.5-dev1, Worlds v1.0.11, XYZ v1.0.3, PureChat v1.4.10-dev2
Hi,
Please fin another issue.
I have a doubt. Jail issue or EconomyAPI issue or both ?
Dev | #41
https://poggit.pmmp.io/r/9388/Jail.phar
and PocketMine-MP_1.6.2dev-339_f0b4a33e_API-3.0.0-ALPHA7
2017-08-02 [11:07:49] �[Server thread/CRITICAL]: Unhandled exception executing command 'bail' in bail: Call to undefined method onebone\economyapi\EconomyAPI::getMoney()�
2017-08-02 [11:07:49] �[Server thread/CRITICAL]: Error: "Call to undefined method onebone\economyapi\EconomyAPI::getMoney()" (EXCEPTION) in "Jail.phar/src/hoyinm14mc/jail/economy/Pocketmoney" at line 36�
Update to PM4 API 4.0.0
Hi,
Please fin a new issue with latest version Jail 1.1.5
thanks for your job
2017-08-02 [10:50:11] �[Server thread/CRITICAL]: Unhandled exception executing command 'votejail Steve' in votejail: Undefined index: VoteForJail�
2017-08-02 [10:50:11] �[Server thread/CRITICAL]: ErrorException: "Undefined index: VoteForJail" (EXCEPTION) in "Jail.phar/src/hoyinm14mc/jail/commands/VotejailCommand" at line 46�
Will be fixed
Please update Alpha 9 version
thanks
Hi,
Please find critical error with :
latest version Jail Dev 43 1.1.6 (https://poggit.pmmp.io/r/9514/Jail.phar)
&
PocketMine-MP_1.6.2dev-340_8a02dbb1_API-3.0.0-ALPHA7.phar
2017-08-03 [12:32:02] �[Server thread/INFO]: [Jail] Jailed player Steve for 1 min
Reason: test�
2017-08-03 [12:32:02] �[Server thread/CRITICAL]: Could not execute task hoyinm14mc\jail\tasks\TimeBroadcastTask: Undefined index: Steve�
2017-08-03 [12:32:02] �[Server thread/CRITICAL]: ErrorException: "Undefined index: Steve" (EXCEPTION) in "Jail.phar/src/hoyinm14mc/jail/tasks/TimeBroadcastTask" at line 50�
2017-08-03 [12:32:02] �[Server thread/CRITICAL]: Could not execute task hoyinm14mc\jail\tasks\TimeBroadcastTask: Undefined index: Steve�
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.