Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Slapper 1.2.9.3

Hit entities to run commands!

  1. Jon
    Offline

    Jon Active Member Plugin Developer

    Joined:
    Sep 1, 2013
    Posts:
    201
    Plugins:
    3
    Minecraft User:
    Heromine14
    We have a poet and we didn't know
    PEMapModder likes this.
  2. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    my propuse is it install this plugin not to install a plugin that depend on other?
  3. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    try making run as player is that hard well sorry then : (
  4. Anonymous4life
    Offline

    Anonymous4life New Member

    Joined:
    Apr 9, 2015
    Posts:
    26
    Minecraft User:
    Anonymous4life
    Does SlapIt work for 1.5Dev?
  5. Goerick
    Offline

    Goerick Active Member

    Joined:
    Jan 24, 2014
    Posts:
    250
    Minecraft User:
    goerick
    Yeag get rid of that annoying fallback error mesage please!


    P.s

    off topic but i think essesntialsPE should be split up into multiple plugin like how @onebone split up his economy plugin.
    HyperFuse likes this.
  6. djk
    Offline

    djk New Member

    Joined:
    Mar 23, 2015
    Posts:
    11
    Minecraft User:
    DJK_YT
    Brill! Maybe set indervisual files for the npc like when you create it make its own file to set the commands for more simple use! Very Good.
    also maybe you could change its skin?!! :)
  7. djk
    Offline

    djk New Member

    Joined:
    Mar 23, 2015
    Posts:
    11
    Minecraft User:
    DJK_YT
    you can in the config file
    Legoboy0215 likes this.
  8. DrbeastOfficial
    Offline

    DrbeastOfficial New Member

    Joined:
    Jan 4, 2015
    Posts:
    17
    Minecraft User:
    Drbeastproject
    O ok lol I thought if you where op PurePerms would give you all perms.
  9. Goerick
    Offline

    Goerick Active Member

    Joined:
    Jan 24, 2014
    Posts:
    250
    Minecraft User:
    goerick
    ?

    I think you posted in the wrong section
  10. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    Oneeb likes this.
  11. kennethgomad
    Offline

    kennethgomad New Member

    Joined:
    Mar 31, 2015
    Posts:
    17
    Minecraft User:
    kennethgomad
    for this plugin you need to add multiple config for npc to set each but this amazing I'm making walking npc
  12. CsNle
    Offline

    CsNle New Member

    Joined:
    Jun 26, 2015
    Posts:
    3
    Minecraft User:
    Cansll
    i try to uninstall the plugin and kill it,but when i install the plugin back,it spawn again.it looks like sign the position in somewhere...
  13. Daniel123
    Offline

    Daniel123 New Member

    Joined:
    Jan 10, 2015
    Posts:
    18
    Minecraft User:
    Megatroll
    Fatal error: Call to undefined method pocketmine\entity\Item::getName() in phar://plugins/Slapper_v1.0.2.phar/src/slapper/main.php on line 159
  14. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
    Tons of people think this, but EssentialsPE is the "Ported version" of Bukkit essentials, and the only parts from Bukkit essentials that are separated are the ones not included in EssentialsPE xD
  15. Ishan
    Offline

    Ishan Active Member

    Joined:
    Apr 1, 2015
    Posts:
    99
    Minecraft User:
    Ishannaik
    bugg
    why this happened?

    Fatal error: Call to undefined method pocketmine\entity\Item::getName() in phar://C:/Users/lenovo pc/Desktop/PocketMine-M/plugins/Slapper_v1.0.2.phar/src/slapper/main.php on line 159

    Call Stack:
    0.0245 407584 1. {main}() C:\Users\lenovo pc\Desktop\PocketMine-M\PocketMine-MP.phar:0
    0.0272 402488 2. require('phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/PocketMine.php') C:\Users\lenovo pc\Desktop\PocketMine-M\PocketMine-MP.phar:1
    0.7379 540896 3. pocketmine\Server->__construct() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/PocketMine.php:464
    12.1374 18796584 4. pocketmine\Server->start() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/Server__32bit.php:1772
    12.1425 18806976 5. pocketmine\Server->tickProcessor() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/Server__32bit.php:2166
    394.8038 63463648 6. pocketmine\Server->tick() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/Server__32bit.php:2288
    394.8041 63463712 7. pocketmine\Server->checkTickUpdates() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/Server__32bit.php:2483
    394.8041 63463744 8. pocketmine\level\Level->doTick() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/Server__32bit.php:2327
    394.8044 63464056 9. pocketmine\entity\Item->onUpdate() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/level/Level__32bit.php:661
    394.8044 63464384 10. pocketmine\entity\Entity->entityBaseTick() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/entity/Item.php:103
    394.8056 63466808 11. pocketmine\entity\Item->attack() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/entity/Entity__32bit.php:811
    394.8056 63466808 12. pocketmine\entity\Entity->attack() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/entity/Item.php:85
    394.8056 63466808 13. pocketmine\plugin\PluginManager->callEvent() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/entity/Entity__32bit.php:581
    394.8063 63466808 14. pocketmine\plugin\RegisteredListener->callEvent() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/plugin/PluginManager.php:673
    394.8064 63466808 15. pocketmine\plugin\MethodEventExecutor->execute() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/plugin/RegisteredListener.php:96
    394.8064 63466808 16. slapper\main->onEntityInteract() phar://C:/Users/lenovo pc/Desktop/PocketMine-M/PocketMine-MP.phar/src/pocketmine/plugin/MethodEventExecutor.php:36
  16. XEmAX32
    Offline

    XEmAX32 Active Member

    Joined:
    Feb 1, 2015
    Posts:
    80
    Minecraft User:
    XEmAX32
    it crash :eek:
    PocketMine-MP Crash Dump Thu Jul 2 18:41:48 CEST 2015



    Error: Call to undefined method pocketmine\entity\Item::getName()

    File: /Slapper_v1.0.2.phar/src/slapper/main

    Line: 159

    Type: E_ERROR



    THIS CRASH WAS CAUSED BY A PLUGIN

    BAD PLUGIN: Slapper v1.0.1



    Code:

    [150] $taker = $ev->getEntity();

    [151] if(!($ev instanceof EntityDamageByChildEntityEvent)){

    [152] if(!($ev instanceof EntityDamageByBlockEvent)){

    [153] $didItWork = "No";

    [154] $isInvalid = "No";

    [155] if (!($taker instanceof Player)){ $takerSaveId = $taker->getSaveId(); }

    [156] if(($ev instanceof EntityDamageByEntityEvent)){ $giver = $ev->getDamager(); };

    [157] if (($taker instanceof Player)) return;

    [158] if(!($takerSaveId == "Human")){ $isInvalid = "Yes"; }

    [159] $takerName = $taker->getName();

    [160] $giverName = $giver->getName();

    [161] if($giver->hasPermission("slapper.hit")){ $didItWork = "Yes"; }else{

    [162] if($isInvalid == "No"){ $ev->setCancelled(); } }

    [163] if(($didItWork = "No")){

    [164] if($isInvalid == "No"){

    [165] $configPart = $this->getConfig()->get($takerName);

    [166] if($configPart == null){ $configPart = $this->getConfig()->get("FallbackCommand"); }

    [167] foreach($configPart as $commandNew){

    [168] $this->getServer()->dispatchCommand(new ConsoleCommandSender(), str_replace("{player}", $giverName, $commandNew));

    [169] }
  17. Jon
    Offline

    Jon Active Member Plugin Developer

    Joined:
    Sep 1, 2013
    Posts:
    201
    Plugins:
    3
    Minecraft User:
    Heromine14
    Update?
  18. XEmAX32
    Offline

    XEmAX32 Active Member

    Joined:
    Feb 1, 2015
    Posts:
    80
    Minecraft User:
    XEmAX32
    yes please jojoe
  19. Jon
    Offline

    Jon Active Member Plugin Developer

    Joined:
    Sep 1, 2013
    Posts:
    201
    Plugins:
    3
    Minecraft User:
    Heromine14
    Not sure about what version are you using...
    Both?
    Because it says the errore is in 1.0.1 and the plugin is the 1.0.2
    Last edited: Jul 3, 2015
  20. XEmAX32
    Offline

    XEmAX32 Active Member

    Joined:
    Feb 1, 2015
    Posts:
    80
    Minecraft User:
    XEmAX32
    i have the ultimate version of slapper

Share This Page

Advertisement