Ich möchte diesen Plugin anfordern!
Link: https://www.spigotmc.org/resou…-13-drop2inventory.62214/
Beschreibung: (ENGLISH)
When you break a block or kill a mob, the drops will get put directly into your inventory. If your inventory is full, the items will drop on the floor. Players need the permission drop2inventory.use to use this feature. The drop collection can be toggled per player using the command /drop2inv or /drop2inventory.
Block drops, experience, Fortune enchantment and tool damage works just like in vanilla. That means you get a random amount of glowstone dust when breaking glowstone, seeds along with wheat, etc. Works also for blocks that need certain tools and the silk touch enchantment.
Examples:
- You will not get diamonds when you break diamond ore by hand.
- You will get a coal ore block if you mine it with a silk touch pickaxe
- You will get 1 coal and 0 to 2 experience when mining coal ore with a stone pickaxe
- You will get 2-4 glowstone dust when mining glowstone with a stone pickaxe
- There is a small chance of getting a potato/carrot/etc. when killing a zombie
Feature requests and bug reports only in the discussion or at GitHub please.
WorldGuard etc. supported: Drop2Inventory will not put the drop into your inventory when other plugins cancel the BlockBreakEvent.
You can also disable Drop2Inventory for certain blocks or mobs. This is useful if you use other plugins that change the drops of specific blocks/mobs. You can also use a whitelist instead. See the config file for more information.
Commands
/drop2inv or /drop2inventory
Toggles automatic drop collection per player
Permission: drop2inventory.use
Permissions
drop2inventory.use
Allows usage of automatic drop collection
Notes
All messages are customizable. Includes English, German and Turkish language. I will happily include your translation, if you send it to me [Blocked Image: https://www.spigotmc.org/styles/default/xenforo/clear.png]
Silk Touch and block drop mechanics have been optimized for 1.9-1.13 only. There could be some missing features in older versions, such as beetroot seeds dropping when harvesting a grown beetroot.
To view the source code, please visit https://github.com/JEFF-Media-GbR/Spigot-Drop2Inventory
Please contact us in the discussion or at github when you encounter any bugs or have any ideas for improvements.
Drop2Inventory uses bStats to gather Metrics. You can disable this by editing the plugins/bstats/config.yml file. View the statistics at https://bstats.org/plugin/bukkit/Drop2Inventory
Default configuration file
The config.yml is generated automatically, if it does not exist.
Config: (English)
##########################
##### Drop2Inventory #####
##########################
#
# Please note that players will need the permission drop2inventory.use to use this plugin
#
# Whether automatic drop collection is enabled by default for new players
# If set to false, players will have to enter /drop2inv once to enable automatic drop collection
enabled-by-default: false
# when set to true, block drops will be automatically collected if the plugin is enabled
collect-block-drops: true
# when set to true, block experience orbs will be automatically collected if the plugin is enabled
collect-block-exp: true
# when set to true, mob/entity drops will be automatically collected if the plugin is enabled
collect-mob-drops: true
# when set to true, mob/entity experience orbs will be automatically collected if the plugin is enabled
collect-mob-exp: true
# when set to true, players with automatic drop collection DISABLED will be
# shown a message on how to enable Drop2Inventory
# when they break a block for the first time.
# consider setting this to true when you set enabled-by-default to false.
# see also -> message-when-breaking-block
show-message-when-breaking-block: true
# when set to true, players with automatic drop collection ENABLED will be
# shown a message on how to disable Drop2Inventory
# when they break a block for the first time.
# consider setting this to true when you set enabled-by-default to true.
# see also -> message-when-breaking-block2
show-message-when-breaking-block-and-collection-is-enabled: false
# when set to true, the messages are shown again when a player
# logs out and back in and then breaks a block again.
show-message-again-after-logout: true
# Should we check for updates?
# When enabled, a message is printed in the console if a new version has
# been found, and OPs will be notified when they join the server.
# When set to true, we will check for updates on startup and every 24 hours
# When set to on-startup, we will only check on startup
# When set to false, don't check for updates
check-for-updates: true
#################################
#### disabled/enabled blocks ####
#################################
# You can disable automatic drop collection for certain blocks.
# This can be helpful if you use plugins that change certain block drops
# because Drop2Inventory only detects "vanilla" drops.
# Each block's material name has to be on a separate line, starting
# with a hyphen and followed by a space
# Example:
#
# disabled-blocks:
# - spawner
# - grass_block
# If you wish to use a whitelist instead of a blacklist,
# change the "disabled-blocks:" to "enabled-blocks:"
disabled-blocks:
#################################
#### disabled/enabled mobs ####
#################################
# You can disable automatic drop collection for certain mob types.
# This can be helpful if you use plugins that change certain mob drops
# because Drop2Inventory only detects "vanilla" drops.
# Each mob's name has to be on a separate line, starting
# with a hyphen and followed by a space
# Example:
#
# disabled-mobs:
# - bat
# - cave_spider
# If you wish to use a whitelist instead of a blacklist,
# change the "disabled-mobs:" to "enabled-mobs:"
disabled-mobs:
#########################
##### localization ######
#########################
# Available color codes:
# &0 Black &6 Gold &c Red
# &1 Dark Blue &7 Gray &d Light Purple
# &2 Dark Green &8 Dark Gray &e Yellow
# &3 Dark Aqua &9 Blue &f White
# &4 Dark Red &a Green
# &5 Dark Purple &b Aqua
# Available formatting codes:
# &k Obfuscated &m Strikethrough
# &l Bold &o Italic
# &n Underline &r Reset
##### English
message-disabled: "&7Automatic drop collection has been &cdisabled&7."
message-enabled: "&7Automatic drop collection has been &aenabled&7."
message-when-breaking-block: "&7Hint: Type &6/drop2inventory&7 or &6/drop2inv&7 to enable automatic drop collection."
message-when-breaking-block2: "&7Hint: Type &6/drop2inventory&7 or &6/drop2inv&7 to disable automatic drop collection."
##### German
#message-disabled: "&7Automatisches Einsammeln &cdeaktiviert&7."
#message-enabled: "&7Automatisches Einsammeln &aaktiviert&7."
#message-when-breaking-block: "&7Hinweis: Benutze &6/drop2inventory&7 oder &6/drop2inv&7 um das automatische Einsammeln zu aktivieren."
#message-when-breaking-block2: "&7Hinweis: Benutze &6/drop2inventory&7 oder &6/drop2inv&7 um das automatische Einsammeln zu deaktivieren."
##### Turkish - thanks to @successed for the translation
#message-disabled: "&bDrop2Inventory: &cKAPANDI"
#message-enabled: "&bDrop2Inventory: &aAÇILDI"
#message-when-breaking-block: "&bDrop2Inventory: &6Kırdığınız eşyaların otomatik olarak üzerinize gelmesini istiyorsanız &4/Drop2Inventory"
#message-when-breaking-block2: "&bDrop2Inventory: &6Kırdığınız eşyaların otomatik olarak üzerinize gelmesini kapatmak için &4/Drop2Inventory"
#########################
##### Done! #####
#########################
# please do not change the following line manually!
config-version: 7