1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

i need someone to update this plugin for me

Discussion in 'Plugin Help' started by PandaDev, Jul 18, 2020.

  1. PandaDev

    PandaDev Spider

    Messages:
    12
    GitHub:
    pandajesus123
    please someone update this plugin for me
     

    Attached Files:

    • UHC.zip
      File size:
      148.1 KB
      Views:
      9
  2. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    what is your version and what is error?! o_O
     
  3. PandaDev

    PandaDev Spider

    Messages:
    12
    GitHub:
    pandajesus123
    Fatal error: Declaration of Ad5001\UHC\Main::eek:nCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $cmd, $label, array $args) must be compatible with pocketmine\plugin\PluginBase::eek:nCommand(pocketmine\command\CommandSender $sender, pocketmine\command\Command $command, string $label, array $args): bool in /home/container/plugins/UHC/src/Ad5001/UHC/Main.php on line 35
    [17:54:21] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
     
  4. zRqsxDev

    zRqsxDev Creeper

    Messages:
    2
    GitHub:
    zRqsx
    Try to do:

    Main class extends PluginBase {
     
  5. Primus

    Primus Zombie Pigman

    Messages:
    749
    Yea, that should solve it.
     
  6. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    yes, set class Main extends PluginBase {}
     
  7. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    o_Oo_O:facepalm::facepalm:
    PHP:
    class Main extends PluginBase {

    //ad here your all functions and stuff :p
    }
     
    zRqsxDev likes this.
  8. zRqsxDev

    zRqsxDev Creeper

    Messages:
    2
    GitHub:
    zRqsx
    Sorry, maybe I'm a typo, and maybe next time I'll fix it;)
     
  9. GodWeedZao

    GodWeedZao Zombie Pigman

    Messages:
    401
    GitHub:
    godweedzao
    Ok, run a plugin with Main class extends PluginBase, i want to see Lol
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.