Need help? Ask on the forum, ask a fellow user or developer (join us on IRC), or contact sk89q.
Contribute to the wiki, edit this page! Register an account, or login with Facebook first.
HEY! Do you integrate (or want to) a plugin into yours? Do you help work on WE/WG/etc.? Please subscribe to our mailing list!
CommandHelper
API
storm
From SK's Wiki
< CommandHelper | API
Contents |
Purpose
The storm function is used to start or stop storms (rain/snow).
Signature
Note: In cases where this page conflicts with the main API page, the main API page is to be considered the correct version. Please update this signature and any examples if you find discrepancies.
| Function Name | Returns | Arguments | Throws | Description | Since | Restricted |
|---|---|---|---|---|---|---|
| storm | void | isStorming | CastException | Creates a storm if isStorming is true, stops a storm if isStorming is false | 3.0.1 | Yes
|
Simple Usage
#The /storm command creates a storm and the /sun command stops the storm.
/storm = storm(true)
/sun = storm(false)
Advanced Usage
<insert more advanced usage>