[Bukkit] Gift Chests 2015-05-08

Adds a small chest block which when broken will drop a random item

  1. martijnpold
    Gift Chest 1.1.1

    This is my fifth plugin so far! :)

    What is this plugin?
    This plugin adds a little chest block. When broken it will give you a random item from the game! :)

    Holiday version here:
    **You can only have 1 version at a time!**

    Tutorial by Wukkit:

    Tutorial by me:

    /present [amount] - give yourself x presents
    /present [user] [amount] - give another user x presents

    /gift can be used instead of /present but does exactly the same thing

    presents.spawn - Grants access to /present (or /gift) to spawn a present

    Next updates
    - Optional crafting recipe
    - --Giving other players presents with commands-- Added in 1.1
    - --Giving multiple gifts-- Added in 1.1

    Any ideas? Make a ticket :)!

    version 1.1 to 1.1.1
    - When inventory is full presents will be dropped (no more losing gifts to full inventory :) )

    version 1.0 to 1.1
    - Added the posibility to send other players presents (yay!)
    - Added multiple gifts in one command (/gift [amount] OR /gift [user] [amount])

    version 1.0-SNAPSHOP to 1.0
    - Added blacklist in config
    - Uploaded plugin

    Data collecting
    This plugin uses McStats.org to collect anonymous data about the servers using the plugin and does NOT collect any personal information about any users or server owners of this plugin.

    Data it collects: Amount of players, java version, server version, server country (so no exact location), operating system (ex. windows/linux) and system info. This does not include any personal information in any way and will not be used for any other reasons than just looking at it

    Data Usage - The data being collected is for people and me to see how many people are using my plugin and does not include any personal information

    If you do not like this then you can disable it in the config files located at: <server>\plugins\PluginMetrics\config.yml and set opt-out: to true. If you do this no data will be collected from your server.

    Other Plugins
    Launchpads: http://dev.bukkit.org/bukkit-plugins/piston-launchpads/
    Modular Rooms: http://dev.bukkit.org/bukkit-plugins/modular-rooms/
    Home+ +: http://dev.bukkit.org/bukkit-plugins/homeplusplus/
    Presents: http://dev.bukkit.org/bukkit-plugins/presents/
    Gift Chests: http://dev.bukkit.org/bukkit-plugins/gift-chests/
    Toast: http://dev.bukkit.org/bukkit-plugins/toast/

Recent Reviews

  1. thedevilgames
    Version: 2015-05-08
    bug please fix
    [18:35:58 ERROR]: Could not pass event BlockBreakEvent to Presents v1.1.1
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:305) ~[spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62) ~[spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:502) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:487) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.PlayerInteractManager.breakBlock(PlayerI
    nteractManager.java:286) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.PlayerInteractManager.a(PlayerInteractMa
    nager.java:215) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java
    :618) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.PacketPlayInBlockDig.a(SourceFile:40) [s
    at net.minecraft.server.v1_8_R2.PacketPlayInBlockDig.a(SourceFile:10) [s
    at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:1
    3) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [
    at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_55]
    at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [spigot-1.8
    at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:7
    12) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:3
    68) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:6
    51) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java
    :554) [spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    at java.lang.Thread.run(Unknown Source) [?:1.7.0_55]
    Caused by: java.lang.NullPointerException
    at mpolder.bukkit.presents.Presents.onBlockBreak(Presents.java:154) ~[?:
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_55]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:301) ~[spigot-1.8.3.jar:git-Spigot-2ec6f06-7722428]
    ... 17 more
    1. martijnpold
      Author's Response
      Please put bugs in discussion section instead of the review section.