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. hihihoholalalolo
    Offline

    hihihoholalalolo New Member

    Joined:
    May 11, 2016
    Posts:
    33
    Minecraft User:
    hihihoho
    Thanks and sorry
  2. hihihoholalalolo
    Offline

    hihihoholalalolo New Member

    Joined:
    May 11, 2016
    Posts:
    33
    Minecraft User:
    hihihoho
    And why you know
  3. hihihoholalalolo
    Offline

    hihihoholalalolo New Member

    Joined:
    May 11, 2016
    Posts:
    33
    Minecraft User:
    hihihoho
    Thx Later I will say to Name ,IP and Port ,op for you :)
  4. NoBakaCookies4U
    Offline

    NoBakaCookies4U New Member

    Joined:
    Mar 14, 2016
    Posts:
    22
    Minecraft User:
    NoBakaCookies4PE
    Help! I cannot do PVP. Is this Slapper's fault?
  5. Yeelze
    Offline

    Yeelze New Member

    Joined:
    Apr 2, 2016
    Posts:
    31
    Minecraft User:
    Yeelze
    /difficulty 1
  6. NoBakaCookies4U
    Offline

    NoBakaCookies4U New Member

    Joined:
    Mar 14, 2016
    Posts:
    22
    Minecraft User:
    NoBakaCookies4PE
    You mean you can't be in peaceful?
  7. NoBakaCookies4U
    Offline

    NoBakaCookies4U New Member

    Joined:
    Mar 14, 2016
    Posts:
    22
    Minecraft User:
    NoBakaCookies4PE
    Is there some sort of max entity count? Because my Slappers keep disappearing after I make a certain number. If this is true, can you up or remove the maximum?
  8. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    Should not be implemented into any core yet. But you could check your pocketmine.yml
  9. NoBakaCookies4U
    Offline

    NoBakaCookies4U New Member

    Joined:
    Mar 14, 2016
    Posts:
    22
    Minecraft User:
    NoBakaCookies4PE
    It is strange, because I only have about 5 or 6 slappers.
  10. hihihoholalalolo
    Offline

    hihihoholalalolo New Member

    Joined:
    May 11, 2016
    Posts:
    33
    Minecraft User:
    hihihoho
    Me too
  11. hihihoholalalolo
    Offline

    hihihoholalalolo New Member

    Joined:
    May 11, 2016
    Posts:
    33
    Minecraft User:
    hihihoho
    Um... if I need to make all the players to run the command (slapper) then how?
    And sorry so late
  12. hihihoholalalolo
    Offline

    hihihoholalalolo New Member

    Joined:
    May 11, 2016
    Posts:
    33
    Minecraft User:
    hihihoho
    If I need to make all the people tab the slapper and top to 127 6 128 so how?
  13. Survingo
    Offline

    Survingo Active Member

    Joined:
    Dec 6, 2015
    Posts:
    221
    Wouldn't it make more sense if you write your own little plugin and foreach($server->dispatchCommand());?
  14. hihihoholalalolo
    Offline

    hihihoholalalolo New Member

    Joined:
    May 11, 2016
    Posts:
    33
    Minecraft User:
    hihihoho
    Idk how to write !!
  15. hihihoholalalolo
    Offline

    hihihoholalalolo New Member

    Joined:
    May 11, 2016
    Posts:
    33
    Minecraft User:
    hihihoho
    Idk how to write teach me
  16. MichaelM04
    Offline

    MichaelM04 Active Member Plugin Developer

    Joined:
    Nov 12, 2015
    Posts:
    213
    Plugins:
    1
    Minecraft User:
    Michael
    You can create a simple task or function to do so in a plugin, example:
    PHP:
    public function runCommand(){
        foreach(
    $this->getPlugin()->getServer()->getOnlinePlayers() as $player){
            
    $this->getPlugin()->getServer()->dispatchCommand($player"slapper");
        }
    }
    Using Slapper is quite simple.

    When wanting the console to run the command do it like this:
    /slapper edit {Slapper_Id} addcommand tp {player} 123 23 123

    (In the example shown above, the command (tp) is run by the console tp'ing the player (who tapped the slapper) to the cords specified)

    When wanting the command to be run by, let's say the player that taps the Slapper, do so like this:
    /slapper edit {Slapper_Id} addcommand rca {player} say Hi World!

    rca = Run Command As
    {player} = Player who tapped the slapper
    Rca {player} : will execute the command by that player NOT the console.
    When entering the command without (rca) the command will be dispatched by the console.
    Last edited: Oct 10, 2016
    Survingo likes this.
  17. Yeelze
    Offline

    Yeelze New Member

    Joined:
    Apr 2, 2016
    Posts:
    31
    Minecraft User:
    Yeelze
    That's not possible with slapper.
    You may make your own plugin
  18. Apex
    Offline

    Apex New Member

    Joined:
    Nov 17, 2016
    Posts:
    3
    Minecraft User:
    Hakeemfunkyy
    Hi I'm facing an error everytime I try to spawn a slapper. It says "An unkown error occured while trying to perform this command"
    I am using genisys. Is there any way I can fix this? I would really love to have this awesome plugin

    Attached Files:

  19. alex1215
    Offline

    alex1215 New Member

    Joined:
    Nov 17, 2016
    Posts:
    9
    Minecraft User:
    alex1215
    Can anyone show me every text/command I should know to set up the fake players
  20. Apex
    Offline

    Apex New Member

    Joined:
    Nov 17, 2016
    Posts:
    3
    Minecraft User:
    Hakeemfunkyy
    Commands:

    /slapper [args…]
    /nothing - Does nothing! This is the default fallback command.
    /rca <player> <command> - Run command as another player! This can be used to only run the command if the player has permission.
    help: /slapper help
    spawn: /slapper spawn <type> [name]
    edit: /slapper edit [id] [args…]
    id: /slapper id
    remove: /slapper remove [id]
    version: /slapper version
    cancel: /slapper cancel
    updateall: /slapper updateall

    Edit args:

    helmet: /slapper edit <eid> helmet <id>

    chestplate: /slapper edit <eid> <id>

    leggings: /slapper edit <eid> leggings <id>

    boots: /slapper edit <eid> boots <id>

    skin: /slapper edit <eid> skin

    name: /slapper edit <eid> name <name>

    addcommand: /slapper edit <eid> addcommand <command>

    delcommand: /slapper edit <eid> delcommand <command>

    listcommands: /slapper edit <eid> listcommands

    update: /slapper edit <eid> update

    block: /slapper edit <eid> block <id>

    tphere: /slapper edit <eid> tphere

    tpto: /slapper edit <eid> tpto

    menuname: /slapper edit <eid> menuname <name/remove>
    Spoiler: Aliases for edit args

    What you can spawn:

    Player (Human)

    Zombie

    Zombie Pigman (PigZombie)

    Creeper

    Skeleton

    Bat

    Slime

    Magma Cube (LavaSlime)

    Enderman

    Silverfish

    Spider

    CaveSpider

    Villager

    Chicken

    Cow

    Pig

    Wolf

    Mooshroom (MushroomCow)

    Sheep

    Squid

    Blaze

    Ghast

    VillagerZombie (ZombieVillager)

    Ocelot

    FallingSand

    PrimedTNT

    Fireball

    Boat
    Credits to EnviousGamer on LEET Forums :)

Share This Page

Advertisement