Recoded | 10.08.2021
Hello! I am
@kingOf0. Heres my first plugin that i published to spigot, KingOfDrops!
After 3 years i recoded this plugin.
What is this?
Just a simple plugin that can
- Drop Item
- Give Item
- Run Command
when specified mob die.
What is specifations?
- Chance
- Name Check
- Type Check
Commands
Reload | kdrops.reload
/kdrops - Reloads config.yml and drops.yml. You have to reload after edit.
Paste | kdrops.paste
/kdrops paste - Pastes the item in your hand to paste.yml. Useful when you don't know XItemStack.
Pictures
Theres a hombie!
And He (probably) is alive!
Hombie dies. Then hombie drop sticks.
The given apple when skeleton dies. (Has %50 chance)
Code (YAML):
drop-1:
requirements:
typeCheck:
type
: TYPE
entityType
: ZOMBIE
nameCheck:
type
: NAME
name
:
"hombie"
actions:
dropStick:
type
: DROP
item:
material
: STICK
giveDiamond:
type
: GIVE
item:
material
: DIAMOND
amount
: 3
name
:
"§bSpecial Diamond!!"
drop-2:
requirements:
typeCheck:
type
: TYPE
entityType
: SKELETON
chanceCheck:
type
: CHANCE
chance
: 50.0
actions:
specialApple:
type
: GIVE
item:
material
: APPLE
amount
: 5
name
:
"§cSTRONG APPLE"
enchants:
DURABILITY
: 10