Skip to content

Instantly share code, notes, and snippets.

@I-Knight-I
Created March 4, 2020 17:35
Show Gist options
  • Save I-Knight-I/3b15c426b10b041b82580dcd4beee3df to your computer and use it in GitHub Desktop.
Save I-Knight-I/3b15c426b10b041b82580dcd4beee3df to your computer and use it in GitHub Desktop.
Envoys Config.yml
#
# Commands to be executed when an envoy spawns (not when it is opened)
# Available variables:
# %x - X coordinate of the envoy
# %y - Y coordinate of the envoy
# %z - Z coordinate of the envoy
# %world - Name of the world the envoy spawned in
# %tier - Name of the tier of the envoy
config-version: 61
root-command: /envoys
verbose-logging: false
lang:
prefix: '&7&l[&6&l!&7&l] &7'
no-permission: You do not have permission for this
setup-finished: Envoy setup successfully
not-a-valid-id: That ID does not exist / is not valid
removed-envoy: Successfully removed envoy.
envoys-refilled: ''
amount: There are %amount supply drops (%worldAmount in your world)
list: '%id (%tier) - World: %world X: %x Y: %y Z: %z'
random-envoy-locations: A &4&l%tier &6&lSupply Drop &7spawned at &7&lX:%x Y:%y Z:%z!
reload: Reloaded successfully
data-saved: Data file saved successfully
invalid-syntax: Invalid syntax, type /envoys help for help
add-item-no-name-or-chance: You must specify a name and a chance
no-item-in-hand: You must have an item in your hand
name-already-exists: This name already exists in the config
added-item: Successfully added item
broadcast-open-message: '&4&l%tier &7Supply Drop opened by %player'
called-drop: You have called a drop in!
already-opened: This supply drop was already opened %minutes minutes ago!
current-envoys:
top: Current supply drops
line: 'There is a %tier &6Supply Drop &7at: %world, %x, %y, %z'
disabled-region: Supply drops cannot be called in this area
compass-disabled: Supply Drop compass tracking has been disabled
compass-enabled: Supply Drop compass tracking has been enabled
compass-envoy-distance: The nearest Supply Drop is %distance metres away
compass-no-active-envoys: There are no Supply Drops currently active
cleared-envoys: Cleared all Supply Drops
all-envoys-opened: ''
contents:
tiers:
Tier-I:
chance: 60
items:
- token500
Tier-II:
chance: 45
items:
- token750
Tier-III:
chance: 25
items:
- token1000
Tier-IV:
chance: 20
items:
- token1500
Tier-V:
chance: 10
items:
- token1750
Tier-VI:
chance: 7
items:
- token2500
Tier-VII:
chance: 5
items:
- token5000
Tier-VIII:
chance: 3
items:
- token7500
Tier-IX:
chance: 1
items:
- token10000
Tier-X:
chance: 1
items:
- token15000
items:
token500:
type: command
chance: 100
commands:
- title @a times 1 15 5
- title @a actionbar ["",{"text":">>","bold":true,"color":"gold"},{"text":"
%player won ","color":"gray"},{"text":"500 tokens","bold":true,"color":"aqua"},{"text":"
from ","color":"gray"},{"text":"Tier-I","bold":true,"color":"dark_red"},{"text":"
Supply Drop","bold":true,"color":"gold"},{"text":"!","color":"gold"},{"text":"
<<","bold":true,"color":"gold"}]
- tm add %player 500
token750:
type: command
chance: 100
commands:
- title @a times 1 15 5
- title @a actionbar ["",{"text":">>","bold":true,"color":"gold"},{"text":"
%player won ","color":"gray"},{"text":"750 tokens","bold":true,"color":"aqua"},{"text":"
from ","color":"gray"},{"text":"Tier-II","bold":true,"color":"dark_red"},{"text":"
Supply Drop","bold":true,"color":"gold"},{"text":"!","color":"gold"},{"text":"
<<","bold":true,"color":"gold"}]
- tm add %player 750
token1000:
type: command
chance: 100
commands:
- title @a times 1 15 5
- title @a actionbar ["",{"text":">>","bold":true,"color":"gold"},{"text":"
%player won ","color":"gray"},{"text":"1,000 tokens","bold":true,"color":"aqua"},{"text":"
from ","color":"gray"},{"text":"Tier-III","bold":true,"color":"dark_red"},{"text":"
Supply Drop","bold":true,"color":"gold"},{"text":"!","color":"gold"},{"text":"
<<","bold":true,"color":"gold"}]
- tm add %player 1000
token1500:
type: command
chance: 100
commands:
- title @a times 1 15 5
- title @a actionbar ["",{"text":">>","bold":true,"color":"gold"},{"text":"
%player won ","color":"gray"},{"text":"1,500 tokens","bold":true,"color":"aqua"},{"text":"
from ","color":"gray"},{"text":"Tier-IV","bold":true,"color":"dark_red"},{"text":"
Supply Drop","bold":true,"color":"gold"},{"text":"!","color":"gold"},{"text":"
<<","bold":true,"color":"gold"}]
- tm add %player 1500
token1750:
type: command
chance: 100
commands:
- title @a times 1 15 5
- title @a actionbar ["",{"text":">>","bold":true,"color":"gold"},{"text":"
%player won ","color":"gray"},{"text":"1,750 tokens","bold":true,"color":"aqua"},{"text":"
from ","color":"gray"},{"text":"Tier-V","bold":true,"color":"dark_red"},{"text":"
Supply Drop","bold":true,"color":"gold"},{"text":"!","color":"gold"},{"text":"
<<","bold":true,"color":"gold"}]
- tm add %player 1750
token2500:
type: command
chance: 100
commands:
- title @a times 1 15 5
- title @a actionbar ["",{"text":">>","bold":true,"color":"gold"},{"text":"
%player won ","color":"gray"},{"text":"2,500 tokens","bold":true,"color":"aqua"},{"text":"
from ","color":"gray"},{"text":"Tier-VI","bold":true,"color":"dark_red"},{"text":"
Supply Drop","bold":true,"color":"gold"},{"text":"!","color":"gold"},{"text":"
<<","bold":true,"color":"gold"}]
- tm add %player 2500
token5000:
type: command
chance: 100
commands:
- title @a times 1 15 5
- title @a actionbar ["",{"text":">>","bold":true,"color":"gold"},{"text":"
%player won ","color":"gray"},{"text":"5,000 tokens","bold":true,"color":"aqua"},{"text":"
from ","color":"gray"},{"text":"Tier-VII","bold":true,"color":"dark_red"},{"text":"
Supply Drop","bold":true,"color":"gold"},{"text":"!","color":"gold"},{"text":"
<<","bold":true,"color":"gold"}]
- tm add %player 5000
token7500:
type: command
chance: 100
commands:
- title @a times 1 15 5
- title @a actionbar ["",{"text":">>","bold":true,"color":"gold"},{"text":"
%player won ","color":"gray"},{"text":"7,500 tokens","bold":true,"color":"aqua"},{"text":"
from ","color":"gray"},{"text":"Tier-VIII","bold":true,"color":"dark_red"},{"text":"
Supply Drop","bold":true,"color":"gold"},{"text":"!","color":"gold"},{"text":"
<<","bold":true,"color":"gold"}]
- tm add %player 7500
token10000:
type: command
chance: 100
commands:
- title @a times 1 15 5
- title @a actionbar ["",{"text":">>","bold":true,"color":"gold"},{"text":"
%player won ","color":"gray"},{"text":"10,000 tokens","bold":true,"color":"aqua"},{"text":"
from ","color":"gray"},{"text":"Tier-IX","bold":true,"color":"dark_red"},{"text":"
Supply Drop","bold":true,"color":"gold"},{"text":"!","color":"gold"},{"text":"
<<","bold":true,"color":"gold"}]
- tm add %player 10000
token15000:
type: command
chance: 100
commands:
- title @a times 1 15 5
- title @a actionbar ["",{"text":">>","bold":true,"color":"gold"},{"text":"
%player won ","color":"gray"},{"text":"15,000 tokens","bold":true,"color":"aqua"},{"text":"
from ","color":"gray"},{"text":"#","bold":true,"obfuscated":true,"color":"dark_red"},{"text":"Tier-X","bold":true,"color":"dark_red"},{"text":"#","bold":true,"obfuscated":true,"color":"dark_red"},{"text":"
Supply Drop","bold":true,"color":"gold"},{"text":"!","color":"gold"},{"text":"
<<","bold":true,"color":"gold"}]
- tm add %player 15000
holograms:
enabled: true
text: '&4&l%tier &6Supply Drop'
envoys-refilled-by-command-only: false
envoy-refill-delay: 3600
envoy-refill-minimum-players:
enabled: true
minimum-players: 2
envoy-auto-remove:
enabled: true
remove-time: 10800
tell-if-already-opened: false
updates-per-second: 5
random-location:
enabled: true
amount: 1
min-x: -30000
min-z: 470000
max-x: 30000
max-z: 530000
always-on-top: true
minimum-y: 1
maximum-y: 255
disabled-worlds:
- Lounge
- city
- world_the_end
- world_nether
- creative
broadcast-locations:
enabled: true
only-to-players-in-same-world: true
only-refill-random-location-envoys: false
delete-old-envoys: false
worldguard-integration:
enabled: true
type: everywhere
blacklisted-regions:
- spawn_large_region
whitelisted-regions:
spawnregion1:
tier-selection: automatic
amount: -1
world: world
exclude:
- excludedregion1
spawnregion2:
tier-selection: manual
tiers:
tier1: 3
tier2: 7
world: world
integrations:
griefprevention:
enabled: false
random-tiers:
- Tier-I
- Tier-II
- Tier-III
- Tier-IV
- Tier-V
- Tier-VI
- Tier-VII
- Tier-VIII
- Tier-IX
- Tier-X
max-items: 1
min-items: 1
max-commands: 1
min-commands: 1
commands-on-spawn: []
particles:
enabled: true
style: circle
particle-type: CAMPFIRE_SIGNAL_SMOKE
colour:
enabled: false
colours:
- AQUA
- BLACK
- BLUE
- FUCHSIA
- GRAY
- GREEN
- LIME
- MAROON
- NAVY
- OLIVE
- ORANGE
- PURPLE
- RED
- SILVER
- TEAL
- WHITE
- YELLOW
styles:
circle:
particle-count: 10
radius: 2.0
firework-on-open:
enabled: true
power: 0
flicker: false
trail: true
type: STAR
colors:
- RED
- YELLOW
delete-after-open: true
broadcast-on-open: true
drop-item:
enabled: false
material: REDSTONE_TORCH
name: '&6Call Supply Drop'
tier-color: c
lore:
- '&cRight click this item'
- '&cto call a &6Supply Drop'
broadcast-on-place: '&7%player called a &6Supply Drop &7in at %x, %y, %z'
broadcast-location: false
wait-time: 0
disabled-regions:
- spawn_large_region
refill-countdown: []
start-refill-countdown-after-opened: false
refilled-message-worlds:
- disabledWorld
enable-metrics: false
compass:
enabled: true
always-on: false
refresh-interval: 10
fall-from-sky:
enabled: false
y: 250
check-interval: 2
update-checker:
notify-on-join: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment