Pewnie nie jeden z was myślał czasem Hmm, a może tak mogłyby lecieć z drewna patyki… Lub z kamienia różne minerały… Dzisiaj wam zaprezentuje dobrze zbudowany plugin, który pozwala zarządzać dropem z różnych rzeczy – od mobów po bloki. Przedstawiam wam OtherDrops.
Użycie:
Plugin pozwala nam na zarządzanie dropem czy to z mobów, czy z bloków. Możemy dostosowywać nietypowe przedmioty do dropu z danego bloku (np. diamenty z ziemi, złoto z kamienia) w różnych proporcjach procentowych (0,01%, 0,5% itd.).
Plugin jest dobrze kompatybilny z pluginami na pieniądze w przedmiocie (np. MoneyDrop), jak i z większościami pluginami na niestandardowe przedmioty.
Poniżej grafiki przedstawiające plugin:
- Plik otherdrops-config.yml
#######################
# Config ##############
#######################
# Set this to "low" to reduce number of boot messages or to high, highest, extreme for more debugging info
verbosity: normal
#######################
# Number of decimal places to round money drops off to (for the drop and message)
money-precision: 2
#######################
# Disable anonymous logging - set this to true if you get errors in older Tekkit or Bukkit versions on startup
# This value has been moved to the bStats/ folder. Please change the config option and disable BStats server side.
#######################
# Should we check for updates? - set this to false if you don't want to be notified of new versions
update_checker: true
#######################
# Should items fall onto the ground? - set this to false if you want items to go directly into the player's inventory
item_falls_on_ground: true
#######################
# WARNING: ONLY CHANGE THIS IF YOU KNOW WHAT YOU ARE DOING!!!
# Changing this to true will enable dropping Primed TNT from blocks and items interactions.
# Regularly, the plugin only permits dropping primed TNT from a monster/animal mob. Changing this
# to true could result in a chain of non-stop TNT, and may end up breaking the server!
# Only experienced users should change this to true!!!
primed_tnt: false
#######################
# Restore standard config/include files if they are deleted
restore_deleted_config_files: true
#######################
# Enchantments ########
#######################
# Ignore level: allow enchantments to ignore start and/or max level (eg. dig_speed#50)
# note: enchantments_ignore_level requires enchantments_use_unsafe to be true
enchantments_ignore_level: false
# Use unsafe: allow any enchantment on any item/tool (eg. [email protected]!DAMAGE_ALL#3)
enchantments_use_unsafe: false
# Restrict matching: when true, it will require enchantments to be exactly how they are configured in the drops file
# (for example, A pickaxe defined with Fortune 3 will only let a Fortune 3 pickaxe perform the drop. To allow a
# fortune 3, unbreaking 5, and efficiency 5 pickaxe to perform the drop, set this value to false.
enchantments_restrict_matching: true
####
#######################
# Drops ###############
#######################
# Set this to false if you don't want blocks to drop their custom configs upon explosions (eg. tnt/creepers)
customdropsforexplosions: true
#######################
# Set this to false if you want items to drop as a single stack (true=individual item drops, like lapis drops from lapis ore)
default_dropspread: true
#######################
# Set this to true if you want XP drops to be cancelled when configuring mob drops (unless there is a default drop)
# - this means you need to set an XP drop yourself if you want any XP to drop
disable_xp_on_non_default: false
#######################
# Allow any replacement block (by default non-safe replacements, eg. items, are blocked as they will crash the client)
allow_any_replacementblock: false
#######################
# Custom blockbreak events that don't drop the default are cancelled, therefore mcMMO won't generate XP for that break
# This setting tells OtherDrops to manually send these cancelled events to mcMMO, gathering mcMMO-XP & any double-drops, etc.
send_customblockbreak_to_mcmmo: true
#######################
## Override Defaults ##
##
money_overrides_default: false # set true to have money drops override default drops
xp_overrides_default: false # set true to have xp drops override default drops
loot_overrides_default: true # set true to have loot (anything other than money or xp, includes mobs) drops override default drops
####
#######################
# Misc ################
#######################
# Override explosion cap (normally capped at max power 100f to avoid crashing server)
override_explosion_cap: false
# Action radius - radius to consider for message, potioneffect, sound, damage & pset actions
action_radius: 10
#######################
# Color log messages - disable if they annoy you
color_log_messages: true
#######################
# OtherDrops will stop spawning new mobs if the number of living entities in the current world is higher
# this only affects the mobspawn trigger
custom_spawn_limit: 300
#######################
# Time & date format ##
#######################
# For message variables (${time} & ${date})
# see http://docs.oracle.com/javase/1.4.2/docs/api/java/text/SimpleDateFormat.html
# for full details
#
time_format: "HH:mm:ss"
date_format: "yyyy/MM/dd"
####
- Przykładowy plik otherdrops-drops.yml
include-files:
##########
# The plugin will scan through and load these files after loading the main config below.
# Note: drops from included files will are inclusive and will all be added to the drop list.
##########
# - includes/od-fix_undroppables.yml # fix glass, bookshelf, boat and stairs drops
# - includes/od-goldtools-basic.yml # allow gold tools chance to get ice, glowstone and grass
# - includes/od-goldtools-smelt.yml # gold-pickaxe smelts ores to ingots, sand to glass, etc
# - includes/od-ore_extraction.yml # allow ores to be "extracted" - leaving behind the stone
# - includes/od-leaf_overhaul.yml # overhaul leaf drops (apples, cocoa beans, leaves, sticks & a very small chance of golden apple)
# - includes/od-playerdeath_zombie.yml # players drop zombies on death
# - includes/od-undead_chaos.yml # the undead shall rise again! Includes players dropping zombies/skeletons
# - includes/od-random_examples.yml # For crazy testing only :) Read through examples before activating.
# - includes/od-dyewool.yml # Dye wool after placing!
# - includes/od-stop_mob_farms.yml # Stop mob farming!
## Other users overhauls
# - includes/overhaul-catballs.yml # great example/playable config from Catballs (disable "ob" configs before using this one, otherwise you might have too many drops)
# - includes/overhaul-zarius.yml # Zar's messy config (I run this with no other includes, at the moment)
## Add your files here (alternatively just add your custom drops to the bottom of this file)
# - my_custom_file1.yml
aliases:
##########
# add custom YAML aliases here (advanced customisation) - see the wiki for more information
defaults:
##########
# add default values for the config below, "include-files" have their own "defaults" sections
otherdrops:
##########
# Your changes here, or create a new .yml file and include it above in the "include-files" section
# Explore the included config files for many more examples
#
# If make a interesting or crazy config let me know on the forum and I might include it in the next release.
#
# Example:
snow:
- drop: {ice/%5, packed_ice/%5, blue_ice/%5, air/85%}
quantity: 1-2
chance: 10
Informacje:
- Wersja – 1.11 – 1.14+ (może działać na 1.15/1.16)
- Link do pobrania – https://www.spigotmc.org/resources/otherdrops-best-free-drop-manager.51793/
- Autor: CoolLord22 (aktualizacja oryginalnej wtyczki) oraz ZariusT
Uważam, że wtyczka przyda się na wierlu serwerach typu SkyBlock (drop z kamienia), czy też nietypowo na Survivalach.