Rewards bag

This project is abandoned and its default file will likely not work with the most recent version of Minecraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.

  • Overview:
    This plugin add some Rewards bag like in the mod Hardcore questing mode. There is 8 bag with some fun loots. This plugin can be use like an API, see below for more information.
    • New:Added bag: Hats
    • For 1.7: One commands avaible(/rb hats)
  • Bag:
    /I\Don't forget to uptade the config if you were using an old version
    There is 8 types of bag (craft then right click and don't forget to pick item or you will lose them). You can disable each bag in the config. Mobs and players drops rewards bag (1/1000 to drop a legendary by kiling mobs and 1/100 by killing a player)

1. Basic:
craft: [A] = wood | [B] = redstone
[A][A][A]
[A][B][A]
[A][A][A]

2. Good:
craft: [A] = Quartz block | [B] = lapis lazuli
[A][A][A]
[A][B][A]
[A][A][A]

3. Greater:
craft: [A] = Ender stone | [B] = emerald
[A][A][A]
[A][B][A]
[A][A][A]

4. Epic:
craft: [A] = Iron block | [B] = Diamond
[A][A][A]
[A][B][A]
[A][A][A]

5. Legendary:
craft: [A] = Diamond block | [B] = nether star
[A][A][A]
[A][B][A]
[A][A][A]

6. Effect:(Produce 8 bag)
craft: [A] = ghast tear | [B] = Water bottle
[A][A][A]
[A][B][A]
[A][A][A]

7. Field:
craft: [A] = Dirt | [B] = Bone meal
[A][A][A]
[A][B][A]
[A][A][A]

8. Hats:
craft: [A] = Diamond | [B] = Emeraldl
[A][A][A]
[A][B][A]
[A][A][A]

  • Configuration:
    In the config file, you can disable:
    -recipe(set it to false)
    -basic(set it to false)
    -good(set it to false)
    -greater(set it to false)
    -epic(set it to false)
    -legendary(set it to false)
    -effect(set it to false)
    -field(set it to false)
    -mobs loot(set it to false)
    -players loot(set it to false)

You can now configure the loot. You need to set to value (min and max). If the random number is between min and max, it will be drop. The "max" at the end is the maximum number which can be choose (so the random number is between 0 and "max").

  • Commands & permissions:
    /rb bag: show you all the bag.
    /rb give <bag> <amount>: Give you some bag.(You need the permission RewardsBag.give)
    /rb help: show you the help
    /rb stats <player>: Show you player stats.(You need the permissions RewardsBag.stats)
    /rb resetstats <player>: Reset stats for a player.(You need the permissions RewardsBag.resetstats)
    /rb hats: Equip the block you held (Blocks can only provide from the bag hat), (You need the permissions RewardsBag.hat), (This command is avaible on the version 1.7)
  • API:
    Little change, you can now set the amount of bag
    Add the plugin to your libraries. Then add this:
public boolean setupRB(){
		me.saphirant.rewardsBag.Main apiRB = (me.saphirant.rewardsBag.Main) Bukkit.getServer().getPluginManager().getPlugin("RewardsBag");
		return (apiRB != null);
	}

and in the onEnable():

setubRB();

Now to give a bag to a player (with p a Player & i an int):

RBapi.basicbag(p,i);
RBapi.goodbag(p,i);
RBapi.greaterbag(p,i);
RBapi.epicbag(p,i);
RBapi.legendarybag(p,i);
RBapi.effectbag(p,i);
RBapi.fieldbag(p,i);
RBapi.hatbag(p,i);

or you can drop a reward bag(with e an Entity for the location & i an int):

RBapi.dropbasicbag(e,i);
RBapi.dropgoodbag(e,i);
RBapi.dropgreaterbag(e,i);
RBapi.dropepicbag(e,i);
RBapi.droplegendarybag(e,i);
RBapi.dropeffectbag(e,i);
RBapi.dropfieldbag(e,i);
RBapi.drophatbag(e,i);
  • Other:
    If you have suggestions for more loots or more bags.
    • Thanks all for download :p
      If you want to donate for my job: DONATE

Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    91042
  • Created
    Apr 11, 2015
  • Last Released File
    May 15, 2015
  • Total Downloads
    4,706
  • License

Categories

Members

Recent Files