You are viewing an older version of the site. Click here to view
the latest version of this page. (This may be a dead link, if so, try the root page of the docs
here.)
== fake_incoming_plugin_message ==
[[../objects/com.commandhelper.PlayerOfflineException|com.commandhelper.PlayerOfflineException]]
[[../objects/ms.lang.IllegalArgumentException|ms.lang.IllegalArgumentException]] |- ! scope="row" | Since | 3.3.1 |- ! scope="row" | Restricted |
Fakes an incoming plugin message from the player. Channel should be a string (the channel name) and message should be a byte_array primitive. Depending on the plugin, these parameters will vary. If message is null an empty byte_array is sent.
=== Vital Info ===
{| style="width: 40%;" cellspacing="1" cellpadding="1" border="1" class="wikitable"
|-
! scope="col" width="20%" |
! scope="col" width="80%" |
|-
! scope="row" | Name
| fake_incoming_plugin_message
|-
! scope="row" | Returns
| void
|-
! scope="row" | Usages
| [player,] channel, message
|-
! scope="row" | Throws
| [[../objects/ms.lang.CastException|ms.lang.CastException]][[../objects/com.commandhelper.PlayerOfflineException|com.commandhelper.PlayerOfflineException]]
[[../objects/ms.lang.IllegalArgumentException|ms.lang.IllegalArgumentException]] |- ! scope="row" | Since | 3.3.1 |- ! scope="row" | Restricted |
Yes
|-
! scope="row" | Optimizations
| None
|}
=== Usages ===
fake_incoming_plugin_message([player,] channel, message)=== Examples === Sorry, there are no examples for this function! :(
Find a bug in this page? Edit this page yourself, then submit a pull request. (Note this page is automatically generated from the documentation in the source code.)