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

    Aericio New Member

    Joined:
    Feb 5, 2016
    Posts:
    10
    Minecraft User:
    Aericio
    I just noticed it today when I was trying to remove a command from my slapper lol
    applqpak likes this.
  2. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    Whoops, thanks. delcommand was supposed to exist; I fixed it now. Update has been submitted.
    Aericio and applqpak like this.
  3. Aericio
    Offline

    Aericio New Member

    Joined:
    Feb 5, 2016
    Posts:
    10
    Minecraft User:
    Aericio
    Thanks for fixing it :) Got really confused because of the message.
    applqpak likes this.
  4. VoBIs
    Offline

    VoBIs New Member

    Joined:
    Jun 20, 2015
    Posts:
    18
    Minecraft User:
    VoBIs
    Genisys Crash Dump Sat Feb 6 12:16:55 AMT 2016

    Error: Call to undefined method slapper\entities\SlapperHuman::isSurvival()
    File: /src/pocketmine/inventory/PlayerInventory
    Line: 236
    Type: E_ERROR

    Code:
    [227] return false;
    [228] }
    [229] $item = $ev->getNewItem();
    [230] }
    [231]
    [232]
    [233] $old = $this->getItem($index);
    [234] $this->slots[$index] = clone $item;
    [235] $this->onSlotChange($index, $old);
    [236] if($this->getHolder()->isSurvival()) $this->sendContents($this->getHolder());
    [237]
    [238] return true;
    [239] }
    [240]
    [241] public function clear($index) {
    [242] if (isset($this->slots[$index])) {
    [243] $item = Item::get(Item::AIR, null, 0);
    [244] $old = $this->slots[$index];
    [245] if ($index >= $this->getSize() and $index < $this->size) { //Armor change
    [246] Server::getInstance()->getPluginManager()->callEvent($ev = new EntityArmorChangeEvent($this->getHolder(), $old, $item, $index));

    Backtrace:
    #0 (): pocketmine\Server->crashDump(boolean)

    Genisys version: 1.0dev #0 [Protocol 38; API 1.13.1]
    uname -a: Linux localhost 3.10.0-327.3.1.el7.x86_64 #1 SMP Wed Dec 9 14:09:15 UTC 2015 x86_64
    PHP version: 5.6.2
    Zend version: 2.6.0
    OS : Linux, linux


    Yes, I'm using another core. it's genisys. Can you wtite a plugin for this core?
  5. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    Easier said that done. Sorry, not much I can do about that crash.
    applqpak likes this.
  6. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    Last edited: Feb 9, 2016
    Aericio and applqpak like this.
  7. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    suggestion:
    to have short alias so user dont have to type the ridiculously long cmd
  8. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    I already have a few aliases; you'll see them if you look in the code. Here's the aliases for the edit command:
    helmet: helm, helmet, head, hat, cap
    chestplate: chest, shirt, chestplate
    leggings: pants, legs, leggings
    boots: feet, boots, shoes
    item: hand, item, holding, arm, held
    skin: setskin, changeskin, editskin, skin
    name: name, customname
    menuname: listname, nameonlist, menuname
    namevisible: namevisible, customnamevisible, tagvisible, name_visible, custom_name_visible, tag_visible
    addcommand: addc, adduced, add command
    delcommand: delc, delcmd, delcommand, remove command
    listcommands: listcommands, listcmds, listcs
    fix: update, fix, migrate
    block: block, tile, blockid, tileid
    tphere: teleporthere, tphere, movehere, bringer
    tpto: teleportto, tpto, goto, teleport, tp
  9. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    not really what i mean
    i means:
    /slap as alias for /slapper
    Main level commands:
    - help: /slapper h
    - spawn: /slapper s <type> [name]
    - edit: /slapper e [id] [args...]
    - id: /slapper id
    - remove: /slapper rm [id]
    - version: /slapper ver
    - cancel: /slapper c
    - updateall: /slapper ua

    - helmet: /slapper e <eid> h <id>

    - chestplate: /slapper e <eid> c <id>

    - leggings: /slapper e <eid> l <id>
    
- boots: /slapper e <eid> b <id>
    
- skin: /slapper e <eid> s

    - name: /slapper e <eid> n <name>

    - addcommand: /slapper e <eid> ac <command>
    
- delcommand: /slapper e <eid> delc <command>
    
- listcommands: /slapper e <eid> lc

    - update: /slapper edit <eid> update

    - block: /slapper edit <eid> block <id>
    
- tphere: /slapper e <eid> tphere

    - tpto: /slapper edit <eid> tpto

    - menuname: /slapper edit <eid> menuname <name/remove>
    [/SPOILER="Aliases"]

    yours is mostly adding synonymous idk i think mine example is more of a making it 1 word approach
  10. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    I might add some of those, but some others would be hard to remember, but I'll think about it.
  11. MrBald
    Offline

    MrBald New Member

    Joined:
    Jun 1, 2015
    Posts:
    27
    Minecraft User:
    saint2715
  12. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    >"... but some others would be hard to remember..."
    the only problem that is
  13. CaptainKenji17
    Offline

    CaptainKenji17 Active Member

    Joined:
    Apr 22, 2014
    Posts:
    252
    Minecraft User:
    CaptainKenji17
    add a slapper version for php7?
  14. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    applqpak and CaptainKenji17 like this.
  15. GetCodingLife
    Offline

    GetCodingLife New Member

    Joined:
    Feb 10, 2016
    Posts:
    8
    Minecraft User:
    GetCodingLife
    add config, enable or disable player head moving
  16. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    I am aware of the ClearLagg issue, and I'm working on it, I should have a fix submitted in 4-5 hours.
    Last edited: Feb 12, 2016
    Oneeb likes this.
  17. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    Slapper 1.2.9.3 has been submitted! Changes:
    1.2.9.3: Fixed ClearLagg issues, tidied code, fixed /rca

    Fixed issues with ClearLagg removing Slappers, made all Slapper entities implement SlapperEntity to reduce unnecessary code, possibly reduced lag when slappers have a lot of commands set, and fixed /rca always saying "Player not found."

    Also added isSurvival() function to SlapperHumans, may fix crashes on some servers.

    If you are using PHP7, check out https://github.com/PMPlugins/Slapper/tree/php7
    Oneeb likes this.
  18. MrBald
    Offline

    MrBald New Member

    Joined:
    Jun 1, 2015
    Posts:
    27
    Minecraft User:
    saint2715
    Hello! Good plugin:) Slapper works on Genisys php7 0.13.X?
  19. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

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

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    Not Fixed. ClearLagg and GrabBag /et command still are able to remove them.

Share This Page

Advertisement