Internet Explorer
Internet Explorer is not supported. Please upgrade to a more modern browser.
The Bartender
config.yml
The Bartender v2.0.3 - https://pastebin.com/sBYifnvz
# The Bartender 2.0 by Ker35
# The Bartender is a feature-rich Minecraft plugin that lets players buy drinks, manage their sanity, and enjoy custom in-game bar experiences.
#
# -- SOME SETTINGS MAY REQUIRE A FULL RESTART TO APPLY CHANGES (avoid /bar reload) --
#
# DO NOT CHANGE SERVERID!
serverId: ""
settings:
enablePlugin: true
menuSlots: 54
bartenderSlot: 4
exitSlot: 49
exitMaterial: IRON_DOOR
maxSanity: 100
wastedSanity: 30
wastedTime: 2
nauseaThreshold: 20
deathSanity: 10
currency: $
messages:
prefix: '&l&6Bartender &r&l&8»&r &b'
reload: '&aYou reloaded the config files successfully!'
noPermission: '&cYou don''t have permission to do that!'
noMoney: '&cYou can''t afford {price} for {drink}.'
notAvailable: '&6This function isn''t available at this time.'
setSanityMessage: You set {player} {keyword} level to {sanity} {keyword} successfully!
resetSanityMessage: You reset {player} {keyword} successfully!
playerNotOnline: '&cThis player isn''t online.'
sanityMessage: 'Your {keyword} level is: {sanity} {keyword}'
sanityNow: '&eYour {keyword} is now: &6{sanity}'
sanityLore: '&7{keyword}: &c-{amount}'
setSanityWrong: '{keyword} level must be number between {range}'
boughtMessage: You bought {drink} for {price} successfully!
deathMessageToPlayer: '&cYou died of alcohol overdose'
deathMessageToAll: '&f{player} &cdied of alcohol overdose'
bartender_help: |-
&eAvailable Commands:
&7/bartender create <name> &f- Create a new bartender NPC
&7/bartender remove <id> &f- Remove a bartender NPC by ID
bartender_no_citizens: '&cCannot detect Citizens, is it installed?'
bartender_only_players: '&cOnly players can use this command.'
bartender_create_usage: '&cUsage: /bartender create <name>'
bartender_remove_usage: '&cUsage: /bartender remove <name|id>'
bartender_created: '&aBartender NPC ''&e{name}&a'' created with ID &e{id}&a.'
bartender_removed: '&aBartender NPC ''&e{name}&a'' removed.'
bartender_not_found: '&cNo NPC found with name or ID ''&e{target}&c''.'
bartender_unknown_sub: '&cUnknown subcommand. Use /bartender create/remove.'
bartender_greetings:
- '&bThe bartender greets you warmly.'
- '&bWelcome! What drink can I get for you?'
- '&bThirsty? I have just the thing.'
- '&bCheers! Take a seat and relax.'
- '&bFancy a cold drink?'
bartender_hologram:
- '&6Bartender &b{name}'
- '&eRight-click to order a drink!'
gui:
bartenderName: '&6&lBartender'
bartenderTitle: '#008DFF&lT#1581F8&lh#2B76F0&le#406AE9&l #555EE1&lB#6A52DA&la#8047D2&lr#953BCB<#AA2FC3&le#BF23BC&ln#D518B4&ld#EA0CAD&le#FF00A5&lr'
bartenderExit: '&c&lExit'
emptyMaterial:
title: '&f '
material: GRAY_STAINED_GLASS_PANE
data: 15
keywords:
sanity: '&fSanity'
duration: '&7Duration'
price: '&fPrice'
# Available previewColor Colors!
# Black
# Gray
# White
# Teal
# Blue
# Navy
# Purple
# Fuchsia
# Red
# Maroon
# Silver
# Orange
# Olive
# Yellow
# Lime
# Green
# Aqua
breweryx-brews: # This will only work if you have BreweryX Installed!
rum:
displayName: '&fRum'
slot: 19
price: 80
quality: 6
lore: '&aToo bitter to drink, Spiced by the barrel!'
vodka:
displayName: '&fVodka'
slot: 21
price: 90
quality: 8
lore: '&aStrong and sweet!'
whiskey:
displayName: '&fWhiskey'
slot: 23
price: 120
quality: 10
lore: '&aSingle Malt'
coffee:
displayName: '&fCoffee'
slot: 25
price: 10
quality: 9
lore: '&aMade with raw egg'
bar:
'0':
displayName: Cold Water
color: '&3'
lore: '&9Regeneration'
slot: 10
price: '10.00'
sanityReduce: 0
effects:
previewColor: aqua
type: REGENERATION
duration: 20
'1':
displayName: Cola Soda
color: '&7'
lore: '&aA little speed boost'
slot: 11
price: '20.00'
sanityReduce: 1
effects:
previewColor: black
type: SPEED
duration: 30
'2':
displayName: Monster Energy
color: '&a'
lore: '&bFast and jumpy!'
slot: 12
price: '35.00'
sanityReduce: 5
effects:
previewColor: lime
type: SPEED
duration: 60
'3':
displayName: Corona Beer
color: '&6'
lore: '&eChill out and move faster'
slot: 14
price: '50.00'
sanityReduce: 10
effects:
previewColor: yellow
type: SPEED
duration: 45
'4':
displayName: Heineken Beer
color: '&2'
lore: '&aJump higher, feel lighter'
slot: 15
price: '60.00'
sanityReduce: 12
effects:
previewColor: green
type: JUMP
duration: 60
'5':
displayName: Fine Wine
color: '&d'
lore: '&cA touch of instant healing'
slot: 16
price: '65.00'
sanityReduce: 15
effects:
previewColor: purple
type: HEAL
duration: 1
'6':
displayName: Grey Goose Vodka
color: '&f'
lore: '&7Walk on clouds (Jump & Nausea!)'
slot: 28
price: '80.00'
sanityReduce: 25
effects:
previewColor: silver
type: JUMP
duration: 45
'7':
displayName: Captain Morgan Rum
color: '&6'
lore: '&eGet tipsy (Strength & Confusion!)'
slot: 29
price: '90.00'
sanityReduce: 30
effects:
previewColor: orange
type: STRENGTH
duration: 30
'8':
displayName: Jack Daniels
color: '&6'
lore: '&cGet fiery (Fire Resistance!)'
slot: 32
price: '100.00'
sanityReduce: 20
effects:
previewColor: gold
type: FIRE_RESISTANCE
duration: 90
'9':
displayName: Glen McKenna
color: '&b'
lore: '&bInvincible for a short while'
slot: 33
price: '120.00'
sanityReduce: 35
effects:
previewColor: blue
type: ABSORPTION
duration: 30
'10':
displayName: Jim Beam
color: '&c'
lore: '&eNight vision (see all!)'
slot: 34
price: '70.00'
sanityReduce: 15
effects:
previewColor: red
type: NIGHT_VISION
duration: 100
'11':
displayName: Barkeeper's Surprise
color: '&5'
lore: '&dUnleash the power of the gods! &r&c(May Cause Death!)'
slot: 30
price: '250.00'
sanityReduce: 10
effects:
previewColor: purple
type: COMMAND
command: execute at {player} run summon minecraft:lightning_bolt ~ ~ ~
# (Runs a command) Use {player} to reference the player.
sounds:
drink_bought: ENTITY_PLAYER_LEVELUP
no_money: BLOCK_NOTE_BLOCK_BASS
drink_denied: BLOCK_NOTE_BLOCK_BASS
wasted: ENTITY_GENERIC_EXPLODE
menu_open: BLOCK_CHEST_OPEN
menu_close: BLOCK_CHEST_CLOSE
# Charity collects anonymous server statistics through bStats, an open-source statistics service for Minecraft software.
# Enable or Disable bStats (true/false)
bStats: true
# enableReports is similar to bStats, except reports to Ker35's API which is checked during support or for looking at plugin trends
enableReports: true
maxSeenPlayers: 1 # DO NOT CHANGE