Zarius / Bukkit-OtherBlocks

OtherBlocks (now known as OtherDrops) plugin for Bukkit (dev build: https://www.mediafire.com/?i6ows1g6kus2o0l)
http://dev.bukkit.org/server-mods/otherdrops/
GNU General Public License v3.0
17 stars 17 forks source link

A way to ensure only one drop from dropgroups #317

Open rePewtr opened 10 years ago

rePewtr commented 10 years ago

Hey,

what i am looking for is basically what {curly brackets} do, just for whole drops within a dropgroup. As example:

    dropgroup: mmspawn
    chance: 100%
    drops:
      - command: /examplecommand
        chance: 40%
        delay: 100
      - command: /examplecommand2
        chance: 15%
        delay: 120
      - command: /examplecommand3
        chance: 10%
        delay: 160

Some way to ensure that only ONE of the commands gets executed.

zerafox commented 10 years ago

use the Unique flag..

Flag: UNIQUE

that's what it's there for. o.O