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
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) --
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!"
# 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'
"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.
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!