Funkce
Plugin, Vám dokáže změnit padaní itemů z bloků. (Příklad: Zničíte sklo, vypadne Vám diamant, 10 Dolarů, železo, růže..)
Instalace
1) Vypneme server.
2) Stáhneme plugin z odkazu a rozbalíme.
Spoiler: zobrazit
http://dev.bukkit.org/bukkit-plugins/otherdrops/files/ Zde si můžete stáhnout verzi pluginu na Váš server.
3) Připojíme se na FTP.
4) Nahrajeme soubor "OtherDrops.jar"(Pokud ho ještě nemáme) do složky "Plugins".
5) Spustíme server v Control panelu.
6) Otevřeme ve FTP 'Plugins/OtherDrops/otherdrops-config.yml' a nastavíme. (Jak nastavit najdete níže.)
Příkazy a Permissions
/od reload -> Načte znovu config. -> otherdrops.admin.reloadconfig
/od show <typ bloku nebo zvíře> -> Schová config o zvířeti nebo typu bloku (Nejsem si jist) -> otherdrops.admin.show
/od id -> ukázat id položky -> otherdrops.admin.id
/od id mob -> Zobrazit informace o mobu na, kterého se dívate -> otherdrops.admin.id
/od drop [x y z] [p:<player>] [w:<world>] <drop parameters> -> Spawne konkrétní item nebo zvíře na určité parametry.
Config
Config:
Spoiler: zobrazit
Kód: Vybrat vše
# Set this to "low" to reduce number of boot messages or to high, highest, extreme for more debugging info
verbosity: normal #Jak často bude plugin psát do chatu?
# OtherDrops uses BukkitPermissions by default - set 'useyetipermissions' to true if you want
# legacy permissions support (no guarantees it will work).
useyetipermissions: false #Povolit permisse ?
# Number of decimal places to round money drops off to (for the drop and message)
money-precision: 2 #Počet desetinných míst pro zaokrouhlení peněz klesne na ...
# Set this to false if you don't want blocks to drop their custom configs upon explosions (eg. tnt/creepers)
customdropsforexplosions: true #Nastavte na hodnotu false, pokud nechcete bloky k dropnuutí jejich vlastní konfigurační soubory při explozích.
# 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 #Nastavte na hodnotu false, pokud chcete položky k dropnutí jako stak.
# Set this to true if you want XP drops to be cancelled when configuring mob drops (unless there is a default drop)Xq
# - this means you need to set an XP drop yourself if you want any XP to drop
disable_xp_on_non_default: false #to znamená, že musíte nastavit XP drop, zda chcete nějaký XP k dropu.
## 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
Dropování:
Tohle vložíme do "otherdrops-drops.yml"
Spoiler: zobrazit
Kód: Vybrat vše
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:
# GLASS:
# - drop: GLASS
#
# - drop: MONEY
# quantity: 3-15
# message: You recycled the glass for %q dollars.
Dolů dopíšeme text: (Je to jen příklad)
Spoiler: zobrazit
Kód: Vybrat vše
GLASS:
- drop: GLASS
- drop: MONEY
quantity: 3-15
message: Znicil jsi sklo vypadlo ti %q dollaru.
DIRT:
- drop: DIRT
- drop: DIAMOND
message: Znicil jsi hlinu vypadl ti diamant.
otherdrops-drops.yml vypadá teď takhle (I s mezerama, popisuji až dole funkci)
Spoiler: zobrazit
Kód: Vybrat vše
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:
# GLASS:
# - drop: GLASS
#
# - drop: MONEY
# quantity: 3-15
# message: You recycled the glass for %q dollars.
GLASS: #Nadpis (Nejlepší je tam napsat blok, který se bude ničit)
- drop: GLASS #Věc, která se bude ničit.
- drop: MONEY #Která věc při zničení ,,Glass" spadne? (Dostaneme peníze)
quantity: 3-15 #Zvolili jsme si peníze, tak taky musíme napsat kolik jich bude padat, já to mám od 3 (Dolarů) až po 15 (Dolarů).
message: Znicil jsi sklo vypadlo ti %q dollaru a 1 sklo. #Co se mi do chatu (Soukromého) napíše, když ničím GLASS ? ( Proměna "%q" je číslo dolarů kolik jste dostal/a)
DIRT: #Nadpis
- drop: DIRT #Věc, která se bude ničit.
- drop: DIAMOND #Která věc při zničení hlíny spadne?
message: Znicil jsi hlinu vypadl ti diamant a hlina.