HomeJavaMods[Abandoned] RandomItemDropper
[Abandoned] RandomItemDropper
[​IMG]
What does it do?
With this plugin, you can easily drop random items between two locations based on chance rates!

Features
Intended usage
  1. Create a drop profile (/rid create <profile>)
  2. Set the 1st location of the profile you created. (/rid loc1 <profile>)
  3. Set the 2nd location of the profile you created (/rid loc2 <profile>)
  4. Add the items you want (/rid addItem <profille> <material>)
    Warning:
    You should add the items according to their names in the bukkit library. Check it out here:
    https://dev.bukkit.org/projects/supplies/pages/material-list
  5. Set the chance rate of the item you added. (/rid setChance <profile> <material> <chance>)
    Warning:
    The chance rate totals must be 100%.
  6. You can enable or disable async mode with ' /rid async <profile>' command.
    Warning:
    If you enabled async mode, you should set the delay with ' /rid setAsyncDelay <profile> <delay>' command.
  7. You can see the info of the profile with ' /rid info <profile>' command.
  8. All configues are done! you can drop the items based on the chance rates with the '/rid drop <profile> <item size>' command.
Commands
Spoiler: Command list
  1. /rid drop <profile> <item size>
  2. /rid create <profile>
  3. /rid delete <profile>
  4. /rid loc1 <profile>
  5. /rid loc2 <profile>
  6. /rid addItem <profile> <material>
  7. /rid removeItem <profile> <material>
  8. /rid setChance <profile> <material> <chance>
  9. /rid async <profile>.
  10. /rid setAsyncDelay <profile> <delay>
  11. /rid info <profile>
  12. /rid reloadConfig

Images & Gifs
Spoiler: Images & Gifs
Spoiler: Dropper
Spoiler: Async mode enabled (delay = 1s)
[​IMG]
Spoiler: Async mode disabled
[​IMG]
Spoiler: Commands
[​IMG]

[​IMG]

[​IMG]

[​IMG]

[​IMG]
Spoiler: Auto dropper
[​IMG]
Config file

Spoiler: Config
Code (YAML):

# Created by EylexLive
# Discord: Umut Erarslan#8378
# Please forward bugs you find via Discord.

auto-dropper
:
  enabled
: false
  minutes-remaining-broadcast-enabled
: true
  minutes-remaining-broadcast
:
    # 5 minutes before dropping.
    '5'
:
      message
: '&8 [ &7Auto Dropper&8 ] &f %drop_size% items &awill randomly drop between
        &f %location_1% &aand &f%location_2% &acoordinates at &f%minutes% minutes later.'
    # 4 minutes before dropping.
    '4'
:
      message
: '&8 [ &7Auto Dropper&8 ] &f %drop_size% items &awill randomly drop between
        &f %location_1% &aand &f%location_2% &acoordinates at &f%minutes% minutes later.'
    # 3 minutes before dropping.
    '3'
:
      message
: '&8 [ &7Auto Dropper&8 ] &f %drop_size% items &awill randomly drop between
        &f %location_1% &aand &f%location_2% &acoordinates at &f%minutes% minutes later.'
    # 2 minutes before dropping.
    '2'
:
      message
: '&8 [ &7Auto Dropper&8 ] &f %drop_size% items &awill randomly drop between
        &f %location_1% &aand &f%location_2% &acoordinates at &f%minutes% minutes later.'
    # 1 minutes before dropping.
    '1'
:
      message
: '&8 [ &7Auto Dropper&8 ] &f %drop_size% items &awill randomly drop between
        &f %location_1% &aand &f%location_2% &acoordinates at &f%minutes% minute later.'
  # When it is 18:00
  '18:00'
:
    # Drop profile name created earlier.
    drop-name
: drop1
    # How many items will it drop?
    drop-size
: 10
    # Do you want to send a broadcast message?
    broadcast-message-enabled
: true
    # Message
    broadcast-message
: '&8 [ &7Auto Dropper&8 ] &f %drop_size% items &arandomly dropped
     between &f %location_1% &aand &f%location_2% &acoordinates!'

Drops file
Spoiler: Drops
Code (YAML):
drops :
  drop1
:
    loc1
: LOCATION
    loc2
: LOCATION
    items
: { }
    async
:
      enabled
: true
      delay
: 1

Need help?
Discord : Umut Erarslan#8378
Send a friend request!

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

[Abandoned] RandomItemDropper is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 593 times (via Spigot). Download it and open it directly in the game.

Explore more