[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

    XxFuNxX

    Good job :)
     
  3. Offline

    MonsieurApple

    Approved, but please look to the future: BukkitDev.
     
  4. Offline

    xGhOsTkiLLeRx

    @MonsieurApple

    Woho!
    I know about BukkitDev, it's already approved there ;)
    But anyway: Thanks :)
     
  5. Offline

    xGhOsTkiLLeRx

    Bump!
    Update is uploaded!

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

    (Now listening right to glowstonedrop.enable.* and glowstonedrop.*)
     
  6. how about if u go to nether, mine glowstone -> do u get glowstone dust from them or also a block?
    if this works this way:
    break a glowstone in nether -> dust back
    break a own placed glowstone -> block back
    then i love this
     
  7. Offline

    xGhOsTkiLLeRx

    Thanks for the suggestion.
    Will work on it asap!

    (Config values to change between dust/block in normal & nether worlds)
     
  8. this would be really awesome to get work, im gonna get this plugin to use for sure :)
    Nether is so people go pick glowstone dust to make glowstones. If they get each glowstone block there as block back, its 2 easy to get them. :) In normal world its different if people have placed and want to re-place the glowstone
     
  9. Offline

    xGhOsTkiLLeRx

    Version 1.3 is uploaded!
    Enjoy :)


    Version 1.3
    • New config values for each world
    • New commands
    • New permissions
    • Control the drops for each world!
     
  10. awesome!
    Thank you very mch!
    - glowstonedrop.use.skyland
    - glowstonedrop.use.normal

    these i need so people get block instead of dust?
    Does it matter if my "normal" world name is Semiminecraft ?
    EDIT: works but i also get nether as block? wut
     
  11. Offline

    xGhOsTkiLLeRx

    Update!

    Version 1.3.1
    • Added usage stats
    REMEMBER:

    This plugin sends usage statistics! If you wish to disable the usage stats, look at /plugins/stats/config.yml!
     
  12. Offline

    xGhOsTkiLLeRx

    Update again!

    Version 1.3.2

    • Changed the messages a bit
    • Updated to new config system

    Expect version 1.4 soon, after The End and 1.9 & bukkit are official released!
     
  13. Offline

    xGhOsTkiLLeRx

    Version 1.3.3
    • Critical bug fixes!
    • Cleaned up the whole code & corrected some mistakes!
    Now it should be working right again - sorry for any inconvenience
     
  14. Offline

    BooGaLoo90

    Please update! Love this mod but it doesnt work, i keep getting dust back as glowstone in the normal world and under the worlds i have block for normal.
     
  15. Offline

    xGhOsTkiLLeRx

    @BooGaLoo90
    Thx for your reply,

    please provide me these information
    1. CB build number
    2. GlowstoneDrop version
    3. What permission system are you using?
     
  16. Offline

    BooGaLoo90

    oh and btw, i downloaded 1.3.2 after 1.3.3 was released. i havent re downloaded it but make your download is the latest download. cuz i downloaded the outdated one.
     
  17. Offline

    xGhOsTkiLLeRx

    You, Sir, are telling me my downloads are outdated?
    Nope they aren't, I always double check this.
    (Maybe delete your Cache if you have trouble to download the plugin)

    And reading isn't one of your strengths, is it? ;)

    Version 1.3.3
    • Critical bug fixes!
    • Cleaned up the whole code & corrected some mistakes!
    So what do you think?

    Please switch to 1.3.3 and remember - only OP's can use the plugin without a permissions-plugin, until you turn permissions to false in the config!
     
  18. Offline

    BooGaLoo90

    yes i read the changelog.
    no the plugin isnt working for me at all.
    I just downloaded the download on the bukket dev page and added to the server. i deleted the previous .jar file along with the folder. i tried to /reload and also hard restarted the server. the .jar is there but it isnt creating a new folder with config.
     
  19. Offline

    xGhOsTkiLLeRx

    Your doing something wrong. I just checked it on my netbook (in school atm), with a fresh minecraft_server.jar 1.81 & CB build 1337. Everything is working fine.
    Delete your glowstonedrop.jar & the folder glowstonedrop and stats
    Then shut down your server & copy the glowstonedrop.jar into the plugins folder.

    Btw. running Java 6 or 7? maybe you have to update to 7, because GlowstoneDrop is compiled with Java 7!

    Sorry for the inconvenience!
     
  20. Offline

    xGhOsTkiLLeRx

    Update!

    Should be working again above cb #1395
    @BooGaLoo90
    Try to use the new update and tell me if it works now!
     
  21. Offline

    BooGaLoo90

    thanks for the update! ill test it when i can.
     
  22. Offline

    BooGaLoo90

    ok i just tested this and its still not working at all =/ i deleted the old .jar file a while ago and i put this in and restarted and it didnt even make a glowstone folder for the config =/

    but i do see you mention above that i just noticed to delete "Stats" .. what is that? a required plugin or something?

    This time i am using minecraft 1.o, craftbukkit 1488
    Code:
    2011-11-23 02:18:08 [SEVERE] Could not load 'plugins/GlowstoneDrop.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: de/xghostkillerx/glowstonedrop/GlowstoneDrop : Unsupported major.minor version 51.0
    	at java.lang.ClassLoader.defineClass1(Native Method)
    	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
    	at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
    	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:247)
    	at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:170)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:215)
    	at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:136)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:141)
    	at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:117)
    	at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52)
    	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:141)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:388)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2016
  23. Offline

    xGhOsTkiLLeRx


    Update to Java 7 to solve the problem!
    If you can't I'll make a special build for Java 6
     
  24. Offline

    BooGaLoo90

    Im asking my GSP about it right now. i asked them the last time you suggested this and they said they have the latest version so im asking them again.

    EDIT:
    so its a little less than version 7 =P. any way you can make a special version for me? =)
     
  25. Offline

    xGhOsTkiLLeRx

    Sorry, but been busy with development, because a bukkit bug broke the plugin for about 20-30 builds...
    You will at least need build 1508 to run this version. Otherwise it will crash!

    http://dl.dropbox.com/u/26476995/GlowstoneDrop-pre-.jar

    It's a pre build for 1.0.0. I changed the skyland world to the end & it's compiled in Java 6
    Because you aren't the only one, I'm going to compile in Java 6 again - always.

    Sorry for the delay.
     
  26. Offline

    BooGaLoo90

    i think im using 1492, ill make sure to update that first. thanks for the update!
     
  27. Offline

    xGhOsTkiLLeRx

    Update again ;)
    You can use it, but only if you want.
    Could be unstable

    Download

    I added the custom item wish!
    For the custom item put the number in the ' ' ! For more than one item, sepreate them via a comma! If you use more than one custom item, you can delete the ' ' ,
    but PLEASE use them again, if you only use one item again!
     
  28. Offline

    xGhOsTkiLLeRx

    Hello at all!
    Update is out!
    • Changed the code from Skylands to The End
    • Added custom item config
    PLEASE RE-READ THE CONFIG SECTION!
     
  29. Offline

    xGhOsTkiLLeRx

    Hello again.

    Update released, please delete your config!

    Version 1.5
    • Redone custom items - control now the pickaxes, too
    • New stats system
    • Fixed NPE
     
  30. Offline

    xGhOsTkiLLeRx

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

Share This Page