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

Outdated Heal Command 0.0.4

Provides the /heal <username> [amount] command to heal other users.

  1. linuxboytoo
    Offline

    linuxboytoo Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    41
    Plugins:
    4
    Minecraft User:
    linuxboytoo
    linuxboytoo submitted a new plugin:

    Heal Command - Provides the /heal <username> [amount] command to heal other users.

    Read more about this plugin...
  2. shoghicp
    Offline

    shoghicp Staff Member PocketMine Team

    Joined:
    Aug 22, 2013
    Posts:
    433
    Plugins:
    14
    Minecraft User:
    shoghicp
    Full health is 20, and I think that I coded something so that is the upper PocketMine limit.
  3. charged900
    Offline

    charged900 New Member

    Joined:
    Sep 10, 2013
    Posts:
    3
    Plugins:
    1
    You need to place a " at the end of line 39. You forgot it.
  4. charged900
    Offline

    charged900 New Member

    Joined:
    Sep 10, 2013
    Posts:
    3
    Plugins:
    1
    Here is the version of your plugin with no errors.

    Attached Files:

  5. linuxboytoo
    Offline

    linuxboytoo Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    41
    Plugins:
    4
    Minecraft User:
    linuxboytoo
    Yeah just found that and corrected :) will upload shortly. Sorry guys...
  6. linuxboytoo
    Offline

    linuxboytoo Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    41
    Plugins:
    4
    Minecraft User:
    linuxboytoo
    The heal method of the player class had a default of 1000 so I went with that.
  7. linuxboytoo
    Offline

    linuxboytoo Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    41
    Plugins:
    4
    Minecraft User:
    linuxboytoo
  8. linuxboytoo
    Offline

    linuxboytoo Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    41
    Plugins:
    4
    Minecraft User:
    linuxboytoo
  9. CaniCraftCom
    Offline

    CaniCraftCom New Member

    Joined:
    Sep 11, 2013
    Posts:
    8
    Minecraft User:
    CaniCraftCom
    This plugin crashed my server
    Code:
    ```
    # PocketMine-MP Error Dump Sat Sep 14 04:53:27 GMT 2013
    Error: array (
      'type' => 1,
      'message' => 'Call to a member function heal() on a non-object',
      'file' => '/storage/sdcard0/DroidPocketMine/src/API/PluginAPI.php(87) : eval()\'d code',
      'line' => 37,
    )
    
    Code:
    [28]
    [29]
    [30]
    [31]
    [32]
    [33]
    [34]
    [35]
    [36]
    [37]
    [38]
    [39]
    [40]
    [41]
    [42]
    [43]
    [44]
    [45]
    [46]
    [47]
    
    
    PM Version: Alpha_1.3.9 #617 [Protocol 12]
    Commit: 0000000000000000000000000000000000000000
    uname -a: Linux localhost 3.4.0-perf-gd0d4ccd-00001-g05844329 #1 SMP PREEMPT Thu Apr 18 21:58:27 KST 2013 armv7l
    PHP Version: 5.4.15
    Zend version: 2.4.0
    OS : Linux, linux
    Debug Info: array (
      'tps' => 18.9538,
      'memory_usage' => '11.75MB',
      'memory_peak_usage' => '12.17MB',
      'entities' => 1,
      'players' => 1,
      'events' => 14,
      'handlers' => 26,
      'actions' => 27,
      'garbage' => 0,
    )
    
    
    Parameters: array (
      'input' =>
      array (
      ),
      'commands' =>
      array (
        'enable-ansi' => 'false',
      ),
      'flags' =>
      array (
      ),
    )
    
    
    server.properties: array (
      'server-name' => 'CaniCraft PE',
      'description' => '',
      'motd' => 'Welcome @player to CaniCraft',
      'server-ip' => '',
      'server-port' => 19132,
      'server-type' => 'normal',
      'memory-limit' => '1012M',
      'last-update' => 1379134340,
      'white-list' => false,
      'spawn-protection' => '5',
      'view-distance' => '10',
      'max-players' => 5,
      'allow-flight' => true,
      'spawn-animals' => true,
      'spawn-mobs' => true,
      'gamemode' => 0,
      'hardcore' => false,
      'pvp' => true,
      'difficulty' => 1,
      'generator-settings' => '',
      'level-name' => 'Canada',
      'level-seed' => '',
      'level-type' => 'DEFAULT',
      'enable-query' => true,
      'enable-rcon' => false,
      'rcon.password' => '******',
      'send-usage' => true,
      'auto-save' => true,
    )
    
    
    Loaded plugins:
    MagicCarpet 0.2 by shoghicp
    WorldEditor 0.8 by shoghicp
    Portal 2.4 by ljy
    PocketMoney 1.8.1 by MinecrafterJPN
    PermissionPlus 1.0.8 by Omattyao
    PocketJobs 1.3.2 by MinecrafterJPN
    Trampoline 0.3 by ArcaneKnight97
    MultiWorld 1.0 by zhuowei
    TrustPlayer 1.3 by InusualZ
    Medic 0.0.3 by linuxboytoo
    
    
    Loaded Modules: array (
      0 => 'Core',
      1 => 'date',
      2 => 'ereg',
      3 => 'pcre',
      4 => 'sqlite3',
      5 => 'zlib',
      6 => 'bcmath',
      7 => 'ctype',
      8 => 'curl',
      9 => 'fileinfo',
      10 => 'filter',
      11 => 'hash',
      12 => 'json',
      13 => 'pcntl',
      14 => 'SPL',
      15 => 'PDO',
      16 => 'posix',
      17 => 'pthreads',
      18 => 'Reflection',
      19 => 'shmop',
      20 => 'sockets',
      21 => 'standard',
      22 => 'tokenizer',
    )
    Memory Usage Tracking:
    MzTUMzTyddIx1DEEAA==
    
    
    phpinfo():
    7Ttrc9s4kt/xK1DZrUtyZb2f9q6nTrbkRDWSpZGUzGW3rlgQCUqIKZIDkrLlX7/dAJ8SZcczs3Vf
    VimTQHej8epudDcYf+sL1/Y+fCTzz3P6lctAeC69/ol2qu1qo0PI8hCEfIeQiXCjJ+p4JnO2XhDS
    FlDUKz6XdmVj1a22aVqVOvwalU2902+3W81L+pcGXU7ndL4YjabzFV1tIzrwJW30abNx1elfNXv0
    5+WKNuuNFmVyt+855CYSjkWHLOTY6ZQdaLOvCRqdq077qtUlt55ri00kOb31djvmWkhJ31drZoJ4
    D9VKxRIBWzu8IlxHuLzi+aHYiWcWwhTfI96X3BZP17Wtt+O1tQRGnlsbema0424Y1Oae+cDDKTad
    zmswvJq/9TuqJX/i5h9o/ijCbcWMpPOGxsINQuY4hsVChpxq/CmsIY+M47Mj1n+UI/JIOXpRWIE6
    t0T4Pr+gAHvaOQXQcd3ydoV6IHa+w0taSc4sLo+hj1KER1BzI4oceRAkO5nAnoVfHAVfR5sCxN8y
    zZa7mmt48HkeEKh1CgogaMOta9crAEMQJ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oC14eb8xnR25Jgrgi5S+ww4Gl9LTmr5cDWdfVlkpJQFnAg4+P0caLxmsvOWZhvS88Hw/
    ngmeqAEzeY3kRTZaWwzLKexYDE1FzUDjHxv2jAiHnUiHNkznu1G0YBdeoUik5IfYAS3ofExXLxI8
    idDwXAN8f+5pSc+JNX+CmcH0tn5xQsm5aOAx/7vcicSj1nyCmutpbxQ9vEpywv4bWRNULyPyHfBq
    gsLktmCyHTTbVTgBsS+E/932oBCEB4dfvzPBbssr+pe7uz4EdO9+igt/ryHRT28kz/UXq+NZBhg+
    3twAA114rb9y8lx/iZafba1Gqws/0tkpea6zB3549KT1AoNeL2aAhdf7KyPP9ZcpRmn74TAery68
    1l05OcEVzFulTHPAz4NDETWPw3lk/RhR4EXS5OVE4IyADVnHZ3ceD5GjMEGLbScKtgVRjs9Kw4+9
    /urVVS2AYw08l1pgmUxa9dpQesLKlKmm6QhYoPIxZwhjx54MRx/UjXqznbwJxGtOFRx/48nYqvD1
    iIXCQ3BgcrTKkhl42sIJFDt8pYZMtXnJLOJgMO8Q4amjzFnOQ0HkscI36/qpkMoLMFweoJWESe25
    0oxuWz9zNAnnSkM/c6g90xMAC1NP3mSnPHrDETt92DfqjeZUFZr9KUFHx1gzCHa0IS2dmnZCjHVk
    21zmrXg9QW0xnuDnOajzCQcaiGeF6U/1k8A5YorEZWvoPWwTOMUcFBrDZOaWp60a3Z/j1zFFGDp6
    TvX4BQTapzfAoTLxsS+Ipj6SDFgdh7OHoAyHAbShLPeR/Ej+WwQ7ZYA5eWHOATRHqTFs6e1ep0p0
    pBYFshashVtLULQS0oqgLyKBjxTMgXUyiiva008SbHFKarvBfSxMdzldzbGY5Q7zFRLsQt9IfHZ9
    JsLxFfzmVAOIMY2dd+IMg0qZD+XaG7nZQKEDZ42U6KudXSCtMUaiQYkoaBluThN8uPONl2RYma9X
    CYQrqgWBamlNgldGgMNwmdbCKkJV4iBfIaCJAh2zIJOR0af57TItEEyt+aZeJMONdmtNFatVHnu8
    hCi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RCg4z+dzVa3A8mxnI1Www+
    jZTeHiXL06aD5XK0WmoSdXjXYDvJfLD6rGGg6le1PaiFJ2uqHFMF+Uq+/AQVMliObo3p7Mv9aj4b
    36uL0NrODWss4CaZzGbzMqS3XhOcye0EBpWNQLNVIv/oyYea6YEv/J3Jq3JU5XsEPsUZgjUc7ebB
    BNlwzvEAS3oGk5Zewxs/wKN5hgCkCa8xqr7nCPNwhghdSAEu6TkePiYe8eu6s+u0qzobXk2WMpWG
    4WA1UKuON8BkMjQm45vFYPHNSLcjFgWl4DFftBIJgwXsX27bUvh8MZuPFqtvxq+zxc+wubdKKvsX
    3U6n3idfxzcjYz6ej7J+LL6v+RBIB/HXGEkatExDjOVo8XW0+Oe7UlV5939aWU6oEq3RBI2M4FiB
    NMGJCp0w1LqUUGfalBLi7BL071OsrM+ihsVcUx1L6Y6ULUeH6paSFfSuOIP/aN6/U/NOhAhVMN4A
    pYTZTha1MaY5o48nbFExC/t6SnKqo7pBoqVpg6K6JoNNFTYT989zKE/uyvXn5L628B1E1d/mFGd5
    uxjPV8b9YDr605jdjSejP4chroKxWgzul5PBajT84wyHs9sv09H9KrdrGXIx+uXLaLkyVuPpyLib
    zAYxRaPVu2y02q12vdqq9/vlDY5JMyq819RYFXqRD4TC75/13zsZ1bqhWqffJzMIUa5t5gScfCSF
    rk3ddZMYo/uvrxnyAsmJFVfYHzXhBVZn7bei+hOMt+7tFcutiF4x24rmPzb7/8tmF6TmxGDrDXyT
    tS4wLDHVBfyrdlpRv2KklVc1gWVxQRkLXwxD0Zac08CzQ4iY+d/owYsofg4vuSXwY6R1BAGICPHy
    qOZJzG4I+0AAEGEGRX1lDLHXLkg+Oc51RRl0FK0dEWwhpFsfUvwn6UU+weuo+FMfLChs2idGbDEM
    b7+uKJ2Mb0f3yxE5mUA2zpTN1vNhWFsW4sgfhePQNcfvou3IuSBASX8drz7jR5uD+2/018ECzPnq
    299o/P8iKMSAmo/6SAnYwtJI5oYHmCSZjha3n4F+cDOejFffKCzK3Xh1P1ou6d1sQQd0Plisxrdf
    JoMFnX9ZzGfLUZWQsa1W1hIWRIshrK7JMZZlEEf7h/zaOXrtLpDvliGJeyDqwxF1E87WOMCMULib
    C+o7HG9iTc8NmRkmLP4H//uEy8Mq+Rc=
    
    
    ```
    
    This is the error Dump
  10. linuxboytoo
    Offline

    linuxboytoo Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    41
    Plugins:
    4
    Minecraft User:
    linuxboytoo
    Do you know what the heal parameters you used were? I presume I need to add some sanity checks to ensure a player is the one being healed. My guess is someone entered something other than a valid user as the target.
  11. linuxboytoo
    Offline

    linuxboytoo Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    41
    Plugins:
    4
    Minecraft User:
    linuxboytoo
  12. CaniCraftCom
    Offline

    CaniCraftCom New Member

    Joined:
    Sep 11, 2013
    Posts:
    8
    Minecraft User:
    CaniCraftCom
    I just tried to heal myself with /heal that's it
  13. linuxboytoo
    Offline

    linuxboytoo Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    41
    Plugins:
    4
    Minecraft User:
    linuxboytoo
    Try the update.
  14. CaniCraftCom
    Offline

    CaniCraftCom New Member

    Joined:
    Sep 11, 2013
    Posts:
    8
    Minecraft User:
    CaniCraftCom
    Seems to work good now with no errors when I just use /heal gives invalid user but doesn't crash thank you for fixing :)
  15. penguinfizzy
    Offline

    penguinfizzy Banned

    Joined:
    Oct 30, 2013
    Posts:
    15
    Minecraft User:
    LameBrains
    can u make it so when u do "/heal", you heal urself? would be much appreciated
  16. CameronLinville
    Offline

    CameronLinville New Member

    Joined:
    Feb 23, 2014
    Posts:
    4
    Minecraft User:
    CameronLinville
    Nice plugin! It works and I use it all the time for when I'm in survival testing something and I get hurt! Thanks man! I'm watching this plugin for further improvements!
  17. Creeperminer
    Offline

    Creeperminer Active Member

    Joined:
    Oct 12, 2014
    Posts:
    81
    Minecraft User:
    Creeperminer
    Can you update the plugin to the latest version
  18. DovahDoVolom
    Offline

    DovahDoVolom Active Member

    Joined:
    Nov 29, 2013
    Posts:
    76
    Minecraft User:
    DovahDoVolom
    I have been using EssentialsPE with the new API

Share This Page

Advertisement