How to
How to set buttons:
The command depends on wheather Vault is installed or not:
With Vault
- type (buttoncontrol.set Permission needed)
- /buttoncontrol <sunny/rain/thunder/day/night> <Money> <Receiver>
- /bc <sunny/rain/thunder/day/night> <Money> <Receiver>
- <Receiver> is the person who gets the money whenever some uses the button/pressureplate
- You´ll get a message "Press a button!"
- Do what the message says. Press the button/pressure plate which should become the rain/thunder/stop/day/night button.
- If you get an other message, the creation was succesfull
Without Vault
- type (buttoncontrol.set Permission needed)
- /buttoncontrol [sunny/rain/thunder/day/night] <amount> <item>
- /bc [sunny/rain/thunder/day/night] <amount> <item>
- You´ll get a message "Press a button!"
- Do what the message says. Press the button/pressure plate which should become the rain/thunder/stop/day/night button.
- If you get an other message, the creation was succesfull
How to remove buttons:
Destroy them ingame and they´r gone. (if you have permission to do so)
How to use buttons:
- (only without Vault) Take the required items in your inventory.
- Click the button./Walk on the pressure plate.
- You get a message and your "money" was take away
- Look at the sky -> the weather/time changed
Permissions:
To set Buttons: buttoncontrol.set To destroy Buttons : buttoncontrol.destroy To use buttons: -day: buttoncontrol.time.day -night: buttoncontrol.time.night -sunny: buttoncontrol.weather.sunny -rain: buttoncontrol.weather.rain -thunder: buttoncontrol.weather.thunder
Configuration:
Default conig file:
Cooldown: 0 //time in sec you have to wait befor an button can be pressed again Buttons: [] //DO NOT CHANGE ANYTHING HERE (exept you know what you do) Duration: //how long the changed weather MUST be in secounds(if not changed again) thunder: 10 rain: 10 sun: 10 messages: //a lot of configurable messages ... ...