Enhanced-Ores

Spigot/Paper plugin for custom items drop from specific blocks

MIT License

Stars
1
Committers
2

Bot releases are visible (Hide)

Enhanced-Ores - EnhancedOres Version 2.1 for MC 1.20.* Latest Release

Published by Miciasty 3 months ago

Changes:

Added:

  • method to reduce the durability of the item used to break a block
Enhanced-Ores - EnhancedOres Version 2.0 for MC 1.20.*

Published by Miciasty 3 months ago

Recommended is to setup again each Region options in Regions directory after first start if you already had those.

Recommended is to remove this section from config.yml

    # Economy item

    economy-item:
        material: GOLD_NUGGET
        item-meta:
            display-name: "<gold>Golden coin</gold>"
            lore:
                - "<gray>[-] </gray><yellow>Server currency</yellow>"
                - "<gray>[-] </gray><green>Użycie -> </green><dark_green>Paying for plots, buying items.</dark_green>"

    # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- #
    #   You can write name of any ore here.
    #   Warning! You can only use all blocks which names ends on "_ORE"
    #
    #   Example: COAL_ORE | IRON_ORE | GOLD_ORE | DEEPSLATE_GOLD
    # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- #

    # Ores from which drops currency

    ores:
        - DEEPSLATE_GOLD
    #   - GOLD
    #   - IRON
    #   - ...

    # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- #
    #   Minimum drop chance is "0" - 0%         // it will not change no matter what you do!
    #   Maximum drop chance is "100" - 100%     // it will not change no matter what you do!
    #
    #   You can use number types of Integer, Float and Double.
    #   If you will set "drop-chance" under 1, the logic behind it will multiply it by 100.
    #
    #   Example: 0.95 -> 95% | 1 -> 1% | 55 -> 55%
    # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- # ---- #

    # Drop chance
    drop-chance: 25

    cooldown: 5000

Changes:

Removed:

  • global options in config.yml

Added:

  • Regional config files! Now every region has it's own config file called by it's name in Regions directory. Example: Regions/spawn.yml
  • More drop options. Now each region can drop multiple items from different ores. For example just create new Region and look for it's file in Regions directory.
  • Devmode You can now see what is going on behind the scenes, for now at least in the newest changes. In the future I'm planning to make levels for devmode and sections to test each method.
  • To use devmode simply type /eo devmode in chat as Operator.

Updated:

  • README.md
  • version to 2.0
Enhanced-Ores - EnhancedOres Version 1.3 for MC 1.20.*

Published by Miciasty 3 months ago

Added:

  • new configuration file for applying lore Effects on items.
  • logic behind item's effect and drop chance
  • some fun with regex.. :(

Updated:

  • README.md
  • version to 1.3
Enhanced-Ores - EnhancedOres Version 1.2 for MC 1.20.*

Published by Miciasty 3 months ago

If you already had previous version of Enhanced Ores. Please update translations.yml with those 2 lines inside messages:

onCooldownPass:         "<warning>[!] <gold>Your cooldown passed."
configReloadSuccess:    "<success>Config reloaded successfully!"

And add this new one in config.yml under drop-chance

# Cooldown time in milliseconds
cooldown: 2000

Added:

  • cooldown time is now configurable in config.yml
  • cooldown apply only to mined block at specific location. Not all of them.
  • translations for 'onCooldownPass'
  • security measure, now if translations.yml doesn't contain some of required messages. You will meet message that tells you, you don't have this message.
Enhanced-Ores - EnhancedOres Version 1.1

Published by Miciasty 3 months ago

Fixed:

  • problem when trying to close a session. The user was getting a message stating that he didn't have any open session, even though he did.

Added:

  • new Logger integrated with Kyori Adventure. Now all announcement will use colors in Console. [Severe, Warning, Info, Success]
Enhanced-Ores - version 1.0

Published by Miciasty 3 months ago

First release

Related Projects