menu
#2825134 Cannot declare class WarpUI\Main, because the name is already in use

Submitted by PocketMine-MP 3.9.4

General information

Version: 3.9.4
Git commit: 1be6783c
Plugin involvement: Direct
Report date: 2019-09-11 16:39:31 +0000 UTC

System Information

PHP version: 7.3.8
Operating system: linux
System banner: Linux v137704.hosted-by-vdsina.ru 5.0.0-27-generic #28-Ubuntu SMP Tue Aug 20 19:53:07 UTC 2019 x86_64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot declare class WarpUI\Main, because the name is already in use
File: plugins/MenuDonate/src/Floats/Main
Line: #16
Error level: E_COMPILE_ERROR
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
    use pocketmine\utils\Config;
use pocketmine\event\Listener;
use pocketmine\command\Command;
use pocketmine\plugin\PluginBase;
use pocketmine\level\Position;
use pocketmine\level\Level;
use pocketmine\math\Vector3;
use pocketmine\command\CommandSender;

class Main extends PluginBase implements Listener {
private $data, $pp;

public function onEnable() {
$this->getServer()->getPluginManager()->registerEvents($this, $this);
$this->getLogger()->info("§fThe plugin was written by §aWillis(Гаджиев Гаджи)");
$this->getLogger()->info("§fGood §bluck §fto you use");
@mkdir($this->getDataFolder());
$this->data = new Config($this->getDataFolder()."config.yml", Config::YAML, ["shop" => ["x" => 0, "y" => 0, "z" => 0, "level" => "world"], "mine" => ["x" => 0, "y" => 0, "z" => 0, "level" => "world"], "pvp" => ["x" => 0, "y" => 0, "z" => 0, "level" => "world"]]);
$this->pp = $this->getServer()->getPluginManager()->getPlugin("PurePerms");
$cfg = new Config($this->getDataFolder()."config2.yml");

Loaded Plugins

  • Show

Server Settings

  • Show