The Bartender | A Potion Drinks Bar icon

The Bartender | A Potion Drinks Bar -----

Build Your Potion Tavern - Unlimited Drinks, Custom GUI, NPCs!



[​IMG]

Bring your server to life with bartender NPCs, drinks, and more!

The Bartender is the ultimate plugin for adding immersive bar and beverage features to your Minecraft server.
Perfect for roleplay, minigames, or any server that needs a little extra fun and flavor!

Updating from pre v2.0?
Delete theBartender plugin folder!


Features

‍ Folia Supported! (v2.0.4)

Bartender NPCs (Citizens support)
Ability to add BreweryX Brews to The Bartender!
Customizable drink menu with realistic effects
️ Supports GUI and right-click interaction
Configurable pricing, lore, and inventory slots
Sanity system: balance effects for more challenge!
Highly customizable messages
Command drinks: run any command from the bar!
bStats metrics collection (can be disabled)
Lightweight, no hard dependencies


Main /bar GUI Interface

[​IMG]



The Default Config
Code (Text):
# 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) --

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."
  sanityRespawn: "&eYou awaken... feeling slightly more sane."
  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:\n&7/bartender create <name> &f- Create a new bartender NPC\n&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&lt#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

sanity.yml Default Config!
Code (Text):
# sanity.yml
# List only thresholds, no maxSanity here (that's in config.yml)

thresholds:
  "60":
    message: "&eYou feel slightly uneasy. Your thoughts are clouded."
    effects:
      - "CONFUSION:10" # Confusion : 10 seconds

  "50":
    message: "&6Your hands are shaking. Something feels wrong..."
    effects:
      - "CONFUSION:20"
      - "SLOW:15"
      - "WEAKNESS:20"

  "40":
    message: "&cPanic grips you. You see shadows moving in the corners of your vision."
    effects:
      - "CONFUSION:30"
      - "NAUSEA:15"
      - "WEAKNESS:40"
      - "SLOW:25"
      - "MINING_FATIGUE:20"

  "20":
    message: "&4You are lost in terror! Your senses distort and your body fails you."
    effects:
      - "BLINDNESS:30"
      - "NAUSEA:60"
      - "WEAKNESS:60"
      - "MINING_FATIGUE:60"
      - "SLOW:60"
      - "POISON:20"
      - "WITHER:10"

  "5":
    message: "&8&oYou are in utter agony, trapped in a living nightmare. The end draws near..."
    effects:
      - "BLINDNESS:60"
      - "NAUSEA:120"
      - "SLOW:120"
      - "WEAKNESS:120"
      - "HUNGER:120"
      - "POISON:40"
      - "WITHER:20"

# Adding "KILL" will kill the player at that level, otherwise 0 is default

Commands & Permissions
Code (Text):
/bar - Opens Bar GUI (bartender.use)
/drunk - Shows your drunkness/sanity (bartender.use)
/bar info - Plugin info (bartender.use)

/bar setsanity <player> <amount> - Set a player's sanity (bartender.admin)
/bar resetsanity <player> - Reset a player's sanity (bartender.admin)

/bar reload - Reload the config (bartender.admin)

/bartender create <name> - Create a new bartender NPC (bartender.admin)
/bartender remove <id> - Remove a bartender NPC by ID (bartender.admin)

/npc hologram - Create a hologram above an NPC (citizens.npc.hologram)

PlaceholderAPI Support
Code (Text):
%thebartender_sanity% - The player's current Sanity level.
%thebartender_maxsanity% - The player's maximum Sanity value.
%thebartender_currency% - The currency that is being used.

Hard Dependencies
The plugin will not work without it!

Vault or ServiceIO



Soft Dependencies
The plugin works best when all are installed!

PlaceholderAPI
Citizens
BreweryX

Metrics collection
The Bartender collects anonymous server statistics through bStats, an open-source statistics service for Minecraft software.​

[​IMG]
If you'd like to disable metrics collection via bStats, you can edit the plugins/bStats/config.yml file.

Need support or want to suggest a feature?
Join our Discord Server for help, updates, and a friendly community!


Plugin Sponsorship
Thanks to Snownode for providing me a
free server to test my plugins on!

You can get 10% off when using the code SMELT at checkout!
[​IMG]

[​IMG]
Resource Information
Author:
----------
Total Downloads: 9,662
First Release: Aug 13, 2020
Last Update: Jun 29, 2025
Category: ---------------
All-Time Rating:
12 ratings
Find more info at ker35.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings