[MECH/MISC] GlowstoneDrop v1.7 - Destroy a glowstone and get a block back! [1.5.1-R0.2]

Discussion in 'Archived: Plugin Releases' started by xGhOsTkiLLeRx, Aug 23, 2011.

  1. Offline

    xGhOsTkiLLeRx

    GlowstoneDrop - Get a glowstone block back!
    Version: v1.7

    <font color="#ff0000">BukkitDev: Click!</font>

    Description:

    Destroy a glowstone with a pickaxe (or other configured item) and get a block back!
    It's a rebirth of GlowstoneDrop from @XxFuNxX
    The code is updated & improved and better, but all credit of the idea and the original plugin goes to XxFuNxX!

    Comes with a config, permissions & commands!


    Demonstration:


    Video of the presentation can be found here!

    Features:
    * Allows you to destroy a glowstone block and get a block back
    * Config, permissions & commands
    * You will need a pickaxe, just like the "real" block requires; additionally you can customize the allowed items
    * Change the drop for each world
    * <font color="#ff0000">This plugin sends usage statistics! If you wish to disable the usage stats, look at /plugins/PluginMetrics/config.yml!</font>

    Config:
    Code:
    # For help please refer to http://bit.ly/oW6iR1 or http://bit.ly/rcN2QB
    configuration:
      permissions: true
      messages: true
    items:
    - WOOD_PICKAXE
    - STONE_PICKAXE
    - IRON_PICKAXE
    - GOLD_PICKAXE
    - DIAMOND_PICKAXE
    
    Commands & Permissions:

    Only the bukkit permissions are supported! I highly recommend that you use a plugin for permissions like bPermissions or PermissionsEX (PEX)!!
    If the config value permission is set to false, all people can use the plugin!
    If no permission system is found, all commands are for OPs only! (as long as permissions is set to true) Of course the console can use the commands, too!
    If a command is typed wrong, it will return, that you should type /glowstonedrop help or /glowdrop help for more information!

    You can type the long version /glowstonedrop or use the shortcut /glowdrop


    Show Spoiler
    glowstonedrop.use.<worldName>
    Description: Needed to use the plugin in the specific world! (Otherwise you get dust!)

    /glowstonedrop reload
    /glowdrop reload
    Node: glowstonedrop.reload
    Description: Reloads the config

    /glowstonedrop help
    /glowdrop help
    Node: glowstonedrop.help
    Description: Displays the help

    /glowstonedrop enable permissions
    /glowdrop enable permissions
    Node: glowstonedrop.enable.permissions
    Description: Enables the permissions! (Only OPs or player with the permission can use the plugin!)

    /glowstonedrop disable permissions
    /glowdrop disable permissions
    Node: glowstonedrop.disable.permissions
    Description: Disables the permissions! ALL players can use the plugin!

    /glowstonedrop enable messages
    /glowdrop enable messages
    Node: glowstonedrop.enable.messages
    Description: Enables the messages

    /glowstonedrop disable messages
    /glowdrop disable messages
    Node: glowstonedrop.disable.messages
    Description: Disables the messages

    /glowstonedrop set <world> <block|dust>
    /glowdrop set <world> <block|dust>
    Node: glowstonedrop.set
    Description: Changes the drop in the world


    Of course you can use nodes like,
    glowstonedrop.*
    glowstonedrop.use.*
    glowstonedrop.enable.*
    etc.


    Download/Source Code/Dev Builds:

    [​IMG] (Latest recommend version on Dropbox) - - <Edit by Moderator: Redacted bit url>
    [​IMG] (Latest <font color="#ff0000">dev</font> builds/bleeding edge builds) - - <Edit by Moderator: Redacted bit url>
    [​IMG] (Source code hosted on Github) - - <Edit by Moderator: Redacted bit url>


    Future Plans (a.k.a. ToDo):
    * Release a new build with links in the source (needs to be approved before) Done
    * Per world environment config for the drop Done
    * Change the Skylands to the End dimension! (I've to wait 'til bukkit is ready for 1.9 ;)) Done

    Make sure to take a look at the always up to date ToDo!


    Known Bugs:

    None :)


    Changelog:

    Version 1.7
    * Changed the behaviour, each world is now controlled [only the one with blocks]
    * Breaking changes due to new config values, commands & permissions
    * Compiled against latest Bukkit (1.4)
    * Cleaned up code

    Version 1.6.3
    * No drops for player in creative mode
    * Newest version of statistics


    Show Spoiler
    Version 1.6.2
    * Fixed command bug
    * Update for R6 / 1.2.3
    * Newest version of statistics

    Version 1.6.1
    * Fixed spell bugs
    * Code improvement
    * Newest version of statistics

    Version 1.6
    * Updated to newest bukkit standard
    * Included a new feature: localization
    * Heavy code improvement!
    * Newest version of statistics

    Version 1.5
    * Redone custom items - control now the pickaxes, too
    * New stats system
    * Fixed NPE

    Version 1.4
    * Changed the code from Skylands to The End
    * Added custom item config

    Version 1.3.4
    * Added a new stats system :)
    * Fixed config bug - works above builds #1395

    Version 1.3.3
    * Critical bug fixes!
    * Cleaned up the whole code & corrected some mistakes!

    Version 1.3.2
    * Changed the messages a bit
    * Updated to new config system

    Version 1.3.1
    * Added usage stats

    Version 1.3
    * New config values for each world
    * New commands
    * New permissions
    * Control the drops for each world!

    Version 1.2
    * Fixed permissions bug
    * Changed permissions a bit for upcoming versions

    Version 1.1
    * Added commands (enable messages & disable messages)
    * New config value: messages
    * You can now define, if a message is displayed, if the use without the permission destroys a glowstone block

    Version 1.0.1
    * Fixed a message output mistake

    Version 1.0
    * Added commands and permissions
    * Added check for the pickaxe
    * Updated code & improved code
    * Config file

    Version 0.3 (by XxFuNxX)
    * Added Permissions support

    Version 0.2 (by XxFuNxX)
    * Fixed so you don't get both dust and block now only block!

    Version 0.1 (by XxFuNxX)
    * Releasing GlowstoneDrop


    Credits:

    @XxFuNxX for the original plugin!


    Banner:

    Feel free to use this banner!! :)

    [​IMG]
    [​IMG]


    Donations:

    If you really like my plugin, you can if you want make a donation via PayPal!

    [​IMG]

    License:

    This plugin is released under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) license!
    [​IMG]
     
    Last edited by a moderator: Feb 21, 2017
  2. Offline

    xGhOsTkiLLeRx

    Version 1.6.1
    • Fixed spell bugs
    • Code improvement
    • Newest version of statistics

    Enjoy
     
  3. Offline

    xGhOsTkiLLeRx

    Hello all,

    Version 1.6.2
    • Fixed command bug
    • Update for R6 / 1.2.3
    • Newest version of statistics

    Enjoy
     
  4. Offline

    xGhOsTkiLLeRx

    Good evening again.

    Update released.
    Version 1.6.3
    • No drops for player in creative mode
    • Newest version of statistics
     
  5. Offline

    Oliver3456

    Some people would just want to get the dust back though...
    IDEA: You could make like a 30% or 50% (or any other number) chance of getting
     
  6. Offline

    xGhOsTkiLLeRx

    Version 1.7
    • Changed the behaviour, each world is now controlled [only the one with blocks]
    • Breaking changes due to new config values, commands & permissions
    • Compiled against latest Bukkit (1.4)
    • Cleaned up code

    Enjoy. If you don't want so much control, 1.6.3 works fine!
    This is probably one of the last updates since this plugin isn't very popular & I've got nothing to change :)
     

Share This Page