Submitted by PocketMine-MP 1.4.1-980
Warning! This crash was caused by the Owen2k6-PL plugin. Please contact the original plugin author.
General information
Version: 1.4.1-980
API version: 1.11.0
Caused by a Plugin: YES
Report date: Friday 05/08/2022 02:47:33
Attached Issue: None
System Information
PHP version: 5.6.10
Operating system: linux
System banner: Linux 957eb503fc0c 5.15.0-41-generic #44-Ubuntu SMP Wed Jun 22 14:20:53 UTC 2022 x86_64
Error information
Call to undefined function owen2k6\discordmsg()
File: /Owen2k6-Plugin-PMMP_dev-6.phar/src/owen2k6/main
Line: #35
Error level: E_ERROR
[26] public function onEnable()
[27] {
[28] $this->getServer()->getPluginManager()->registerEvents($this, $this);
[29] $this->getLogger()->info(TextFormat::DARK_GREEN . "I've been enabled!");
[30] $webhook = "https://discord.com/api/webhooks/1004907826927390831/8W1iDHAAtsvhAqjxsOViz9hR7fwEOSb5XsczTgTG9p7KLoMXDKtRh1D0zdV8Oyf2iXNF";
[31] $hookObject = json_encode([
[32] "content" => "if you see this, im a genius",
[33] "username" => "CassetteMC",
[34] ], JSON_FORCE_OBJECT);
[35] discordmsg($hookObject, $webhook); // SENDS MESSAGE TO DISCORD
[36]
[37] function discordmsg($msg, $webhook)
[38] {
[39] if ($webhook != "") {
[40] $ch = curl_init($webhook);
[41] $msg = "payload_json=" . urlencode(json_encode($msg)) . "";
[42]
[43] if (isset($ch)) {
[44] curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
[45] curl_setopt($ch, CURLOPT_POSTFIELDS, $msg);
#0 (): pocketmine\Server->crashDump()
Loaded Plugins
Name | Version | State | Author(s) |
Owen2k6-PL | 0.0.1 | Enabled | Owen2k6 |
SimpleAuth | 1.7.0 | Disabled | PocketMine Team, shoghicp |
Server Settings [toggle]
Name | Value |
gamemode | 0 |
enable-rcon | off |
white-list | off |
hardcore | off |
level-name | world |
max-players | 100 |
auto-save | on |
spawn-protection | 16 |
motd | Minecraft: PE Server |
memory-limit | -1 |
announce-player-achievements | on |
allow-flight | off |
spawn-animals | on |
spawn-mobs | on |
force-gamemode | off |
pvp | on |
difficulty | 1 |
generator-settings | |
level-seed | |
level-type | DEFAULT |
rcon.password | ****** |
enable-query | true |
disable-logfile | off |
server-port | 40114 |
settings.shutdown-message | Server closed |
settings.query-plugins | true |
settings.deprecated-verbose | true |
settings.enable-profiling | false |
settings.advanced-cache | false |
settings.upnp-forwarding | false |
settings.send-usage | true |
settings.async-workers | 1 |
debug.level | 1 |
debug.commands | false |
level-settings.default-format | mcregion |
level-settings.convert-format | false |
chunk-sending.per-tick | 4 |
chunk-sending.compression-level | 8 |
chunk-sending.max-chunks | 256 |
chunk-ticking.per-tick | 260 |
chunk-ticking.tick-radius | 4 |
chunk-ticking.light-updates | false |
chunk-ticking.clear-tick-list | false |
chunk-generation.use-async | true |
chunk-generation.per-tick | 1 |
chunk-gc.period-in-ticks | 600 |
ticks-per.animal-spawns | 400 |
ticks-per.monster-spawns | 1 |
ticks-per.autosave | 6000 |
ticks-per.cache-cleanup | 900 |
spawn-limits.monsters | 70 |
spawn-limits.animals | 15 |
spawn-limits.water-animals | 5 |
spawn-limits.ambient | 15 |
auto-report.enabled | true |
auto-report.send-code | true |
auto-report.send-settings | true |
auto-report.send-phpinfo | true |
auto-report.host | crash.pocketmine.net |
auto-updater.enabled | true |
auto-updater.on-update.warn-console | true |
auto-updater.on-update.warn-ops | true |
auto-updater.preferred-channel | stable |
auto-updater.suggest-channels | true |
auto-updater.host | www.pocketmine.net |
aliases | |
worlds | |