[ADMN/MISC] ButtonControl v3.0 - Control the weather/time with buttons [Vault] [1531]

Discussion in 'Inactive/Unsupported Plugins' started by Johni0702, May 27, 2011.

     
  1. Offline

    Johni0702

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ButtonControl
    v3.0
    BukkitDev (download here)



    As of the fact i recoded the whole datastructure of the plugin, all configfiles before 3.0 are NOT compatible with newer versions!


    A simple plugin to control the weather or time with buttons. Your servervisitors can switch the weather and time for free or for items (Vault economy is supported too). You can use Buttons or Pressure Plates. I´ll include new things too, simple write it in the comments.

    Features:
    • Control weather or time using buttons
    • Control weather or time can cost something
    • You can use (Stone) Pressure Plates too
    • All messages can be modified
    • Vault economy support
    • MultiWorld
    • BukkitPermissions support
    • Cooldown
    How to set buttons:

    The command depends on wheather Vault is installed or not.

    1.type (buttoncontrol.set Permission needed)
    "/buttoncontrol <sunny/rain/thunder/day/night> <Money> <Receiver>"
    or
    "/bc <sunny/rain/thunder/day/night> <Money> <Receiver>"

    <Receiver> is the person who gets the money whenever some uses the button/pressureplate



    1.type (buttoncontrol.set Permission needed)
    "/buttoncontrol [sunny/rain/thunder/day/night] <amount> <item>"
    or
    "/bc [sunny/rain/thunder/day/night] <amount> <item>"


    2.You´ll get a message "Press a button!"
    3.Do what the message says.
    Press the button/pressure plate which should become the rain/thunder/stop/day/night button.
    4.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:
    1(only without Vault).Take the required items in your inventory.
    2.Click the button./Walk on the pressure plate.
    3.You get a message and your "money" was take away
    4.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:
    Code:
    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
        ...
        ...
    
    Github

    Todo:
    • Add iConomy support(Vault)
    • Add permissions support
    • Add Essentials support(Vault)
    • Add MultiWorld support
    • Search bugs
    • Fix bugs
    • Add BOSEconomy support(Vault)
    • You can set the money for every button different
    • add an account that earns money when a player pushs an button
    • add an cooldown
    Changelog:

    v 3.0:
    • Recoded the inner data structure of the plugin
    • Updated to new Listener API
    • Updated to BukkitPermissions
    • Added Vault support instead of only iConomy
    v 2.3:
    • Added an Cooldown
    • Added an account that earns money if an player pushs an button
    • fixed "No Permissions" message

    v 2.2:
    • Addded Permissions support (thx to flames)
    • Fixed: If a button is free , now you can hold anything in your hand
    • Fixed: All the time MultiWorld didn´t work
    v 2.1.1:
    • Fixed Bug: iConomy takes one prize even if the buttons have all different
    v 2.1:
    • All buttons can cost different
    v 2.0:
    • Renamed the plugin from "ButtonWeather" to "ButtonControl"
    • Added: control time by buttons/pressure plates
    • fixed one very little bug
    v 1.5.2:
    • fixed bug again: changed messages didn´t load from the config
    v 1.5.1:
    • fixed bug: changed messages didn´t load from the config
    v 1.5:
    • fixed bug: if you hold the exact amount of money it won´t disapear
    • added Pressure Plates support
    • fixed bug: if you break an button and anyone (without he´s OP) place it again, the button works
    v 1.4:
    • all messages can be changed in the config now
    v 1.3:
    • now you haven´t to take the EXACT amount of money in your hand
    v 1.2.3:
    • fixed error if klick in the air
    v 1.2.2:
    • fixed an bug in the savesystem that saved the count of the stop/thunder buttons wrong
    v 1.2.1:
    • fixed an bug on the stormbutton
    • fixed an bug in the savesystem
    v 1.2:
    • added MultiWorld support
    • fix a lot of bugs
    • now unlimited buttons can be set
    • changed weather is now longer (configurable)
    v 1.1:
    • added iConomy support
    v 1.0:
    • Main plugin

    This post has been edited 2 times. It was last edited by Johni0702 Aug 24, 2012.
    nicoxxl, vrox and Lolmewn like this.
  2.  
  3. Offline

    Jay101

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i would like to see an update too :)
  4. Offline

    JustT0by

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Da wir beide aus Deutschland sind schreibe ich es mal auf Deustch ;)
    Einen Button erstellen klappt wunderbar, nur wenn ich den dann drücke (als OP oder Admin oder sogar als User)
    passiert rein gar nichts. Die Console spuckt auch nichts aus.
  5. Offline

    Caedes

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have this plugin and it doesn't work. I can create a thunder button but I can't use it. It don't get any message or error. Doe anyone know what is this bug? I use last recommanded version of server.
  6. Offline

    Inf

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Would someone pick this up? I couldnt find any plugin that has the same features :(

Share This Page