menu
#3974496 Cannot declare class muafcoin\Main because the name is already in use

Submitted by PocketMine-MP 3.11.1

General information

Version: 3.11.1
Git commit: 40a2211a
Plugin involvement: Direct
Report date: 2020-03-24 13:57:52 +0000 UTC

System Information

PHP version: 7.3.5
Operating system: win
System banner: Windows NT WHATUPTIME-COM 6.3 build 9600 (Windows Server 2012 R2 Datacenter Edition) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Cannot declare class muafcoin\Main because the name is already in use
File: plugins/MuaFcoin-1/src/muafcoin/Main
Line: #19
Error level: E_COMPILE_ERROR
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
use pocketmine\level\sound\EndermanTeleportSound;
use pocketmine\level\sound\AnvilFallSound;
use pocketmine\level\sound\Sound;
use pocketmine\math\Vector3;
use jojoe77777\FormAPI;
use pocketmine\Player;
use pocketmine\Server;
use muacoin\Main;

class Main extends PluginBase implements Listener {

public function onEnable(){
$this->getServer()->getPluginManager()->registerEvents($this, $this);
$this->eco = $this->getServer()->getPluginManager()->getPlugin("EconomyAPI");
$this->getLogger()->notice("§bRankShop§eSystem §esuccessfully enabled. §aBy zZPROGAMERZz423");

@mkdir($this->getDataFolder());
$this->saveDefaultConfig();
$this->getResource("config.yml");
}

Loaded Plugins

  • Show

Server Settings

  • Show