-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
# #
# JudgeWeapon #
# by #
# MathiasMC #
# Any ideas for the plugin or need help? #
# contact me on spigot #
# #
events:
# If damage entity
EntityDamageByEntity: true
# Pickup item
EntityPickupItem: true
# Used to remove player damage (not recommended to disable)
PlayerDeath: true
# Drop item
PlayerDropItem: true
# Right, left click
PlayerInteract: true
# Interact with an entity
PlayerInteractAtEntity: true
# Join is used to load player if had quit while has effects
PlayerJoin: true
# Quit is used to save player if quit while has effects
PlayerQuit: true
# How often to run commands section if player has used item that was not his (ticks)
timer: 70
# Damage player?
damage: true
damage-amount: 1.5
# Remove item if used an item that was not his
remove: true
# Time commands run every set seconds
time: 3
time-commands:
- 'jw message {player} &7[&cJudgeWeapon&7] &cYou bleed, death is inevitable...'
# Commands run every x amount of ticks
commands:
- 'jw effect give {player} confusion 10 1 false false'
- 'jw effect give {player} slow 3 4 false false'
# Commands run when player has used the item that was not his
run-commands:
- 'jw message {player} &7[&cJudgeWeapon&7] &cBoom... you will bleed to death now.'
death-commands:
- 'jw message {player} &7[&cJudgeWeapon&7] &cYou died from using another players item.'
death-owner:
- 'jw message {player} &7[&cJudgeWeapon&7] &cYou died and lost your item.'
# If player pickup the item that was his
pickup-owner:
- 'jw message {player} &7[&cJudgeWeapon&7] &7This is your item keep it safe.'
drop-owner:
- 'jw message {player} &7[&cJudgeWeapon&7] &7You dropped your item?'
drop-other:
- 'jw message {player} &7[&cJudgeWeapon&7] &7You dropped someones item'
# If player pickup another players item
pickup-other:
- 'jw message {player} &7[&cJudgeWeapon&7] &7This is not your item you will bleed to death if you use it.'
# Knockback
knockback: true
# Knockback power (- backwards 1.5 forward)
knockback-power: -1.5
# Particles
particle: true
# Item used
particle-material: redstone_block
# Amount to create
particle-amount: 35
# Y-Offset
particle-y-offset: 0.3
# Explode
explode: true
# Power of explosion if enabled
explode-power: 0
# Set fire?
explode-fire: false
# Can destroy blocks?
explode-block: falsetimer - Time in ticks. Defines how often a player will take damage while bleeding. It also defines how often commands under commands section will be executed.
damage - Should a player take damage while bleeding? Recommended value - true.
damage-amount - Damage amount.
remove - Should a judge's weapon be destroyed when a non-owner attempts to use it?
time - Time in seconds. Defines how often commands under time-commands section will be executed.
time-commands - Commands to be executed every time seconds during bleeding.
commands - Commands to be executed every timer ticks during bleeding.
run-commands - Commands to be executed when a non-owner attempts to use a judge's weapon.
death-commands - Commands to be executed when a player dies from blood loss.
death-owner - Commands to be executed when a judge loses his weapon due to death.
pickup-owner - Commands to be executed when a judge picks up his previously lost weapon.
drop-owner - Commands to be executed when a judge drops his weapon.
drop-other - Commands to be executed when a non-owner drops a judge's weapon.
pickup-other - Commands to be executed when a non-owner picks up a weapon lost by a judge
knockback - ON/OFF knockback when non-owner tries to use a judge's weapon.
knockback-power - Defines power and direction of the knockback. Positive numbers - forward. Negative numbers - backward.
particle - ON/OFF visual bleeding effect.
particle-material - Particle type.
particle-amount - Particles amount.
particle-y-offset - Y-Offset of visual bleeding effect.
explode - Should explosion occur when a non-owner attempts to use a judge's weapon?
explode-power - Explosion power.
explode-fire - Should the explosion create fire?
explode-block - Should the explosion destroy blocks?
# #
# JudgeWeapon #
# by #
# MathiasMC #
# Any ideas for the plugin or need help? #
# contact me on spigot #
# #
players: []
default:
material: diamond_sword
name: '&cJudge Sword'
lore:
- '&6Judge: {player}'
enchantments:
- sharpness:4
attributes:
- generic_movement_speed:0.05:hand
hide-flags:
- hide_enchantsplayers - This serves to store information about the presence of active player effects in case the player is re-logged. Don't touch it.
default - Item ID. This name is used in jw make and jw link commands. When creating a new item, you can use any name.
material - Material type.
name - Displayed item name.
lore - Item lore.
enchantments - Item enchantments. Format: enchant:level. List:
bane_of_arthropods
efficiency
fire_aspect
flame
fortune
infinity
knockback
looting
mending
power
punch
sharpness
silk_touch
smite
sweeping
unbreaking
vanishing_curse
attributes - Item attributes. Format: attribute:value:slot. List:
generic_armor
generic_armor_toughness
generic_attack_damage
generic_attack_knockback
generic_attack_speed
generic_knockback_resistance
generic_luck
generic_max_health
generic_movement_speed
hide-flags - Hide enchants or/and attributes. Possible values hide_enchants, hide_attributes.