mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
Changed chat to send. Documentation included
This commit is contained in:
parent
f3e9d4df31
commit
09c2c1b2ee
40
documentation/BlockAPI.txt
Normal file
40
documentation/BlockAPI.txt
Normal file
@ -0,0 +1,40 @@
|
||||
-
|
||||
/ \
|
||||
/ \
|
||||
/ PocketMine \
|
||||
/ MP \
|
||||
|\ @shoghicp /|
|
||||
|. \ / .|
|
||||
| .. \ / .. |
|
||||
| .. | .. |
|
||||
| .. | .. |
|
||||
\ | /
|
||||
\ | /
|
||||
\ | /
|
||||
\ | /
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
#Authored By: sekjun9878
|
||||
#Author's Email: sekjun9878@gmail.com
|
||||
#
|
||||
#BlokAPI Function Documentation.
|
||||
#
|
||||
#Version Alpha
|
||||
#Revision Alpha
|
||||
|
||||
public function blockBreak($data, $event)
|
||||
Description:
|
||||
Breajs a block on the map.
|
||||
Parameters:
|
||||
$name = Array of
|
||||
$data["x"] = x coordinate
|
||||
$data["y"] = y coordinate
|
||||
$data["z"] = z coordinate
|
||||
$event //
|
||||
Return Values:
|
||||
true = If the block is unbreakable
|
||||
|
@ -35,7 +35,7 @@ class ChatAPI{
|
||||
|
||||
}
|
||||
|
||||
public function chat($a, $b){//a == name of owner. b == message
|
||||
public function send($a, $b){//a == name of owner. b == message
|
||||
$this->server->chat($a, $b);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user