DATABASE: TYPE: "SQLITE" # MYSQL, MONGODB or SQLITE MYSQL: HOST: "localhost" DATABASE: "sellworth" USER: "root" PASSWORD: "password" MONGODB: URI: "localhost" DATABASE: "SellWorth" SETTINGS: # Master switch for the worth lore on items. false turns it off for everyone and makes # /worthdisplay refuse with the GLOBALLY-DISABLED message below. WORTH-LORE: true # /worthdisplay [player] hides or shows the worth lore for one player. # "off" hides it. The choice is stored with the player's profile in whichever database # DATABASE.TYPE selects, so it survives restarts. # # A player's choice only ever affects that player's own items. # # PLAYERS-CAN-TOGGLE picks who the command belongs to: # false -> staff only. Console and operators (sellworth.worthdisplay.others) run # /worthdisplay ; a normal player gets NO-PERMISSION. # true -> players may also run /worthdisplay to flip their own lore, or # /worthdisplay on | /worthdisplay off to set it outright. # Console and operators keep the form either way. Players never see that form in # the client's command hints, because it is hidden behind the permission. WORTH-DISPLAY: PLAYERS-CAN-TOGGLE: true ENABLED-SELF: "%FF00Worth lore is now shown on your items." DISABLED-SELF: "&cWorth lore is now hidden on your items." ENABLED-OTHER: "%FF00Worth lore is now shown for &f{player}%FF00." DISABLED-OTHER: "&cWorth lore is now hidden for &f{player}&c." NO-PERMISSION: "&cOnly staff can change the worth display." GLOBALLY-DISABLED: "&cWorth lore is turned off server-wide, so there is nothing to toggle." PLAYER-NOT-FOUND: "&cPlayer &f{player} &cis not online." PROFILE-NOT-LOADED: "&cProfile for &f{player} &cis still loading, try again in a moment." CONSOLE-NEEDS-PLAYER: "&cFrom console, name a player: &f/worthdisplay " # Shown when the form is given something that is not on or off. USAGE: "&cUsage: &f/worthdisplay " # Lore added to items while WORTH-LORE is true. One line, or a list of lines for several # rows. {price} is the total worth of the stack (%price% still works). # # Colours: & codes, &#RRGGBB hex, and gradients with any number of stops: # text # text # Gradients work in every message too, not just here. WORTH-FORMAT: - "&7Worth: %FF00${price}" WORTH-DEFAULT: "�A2FF1 {item} &7is now %FF00${price}" # /worth . Placeholders: {amount}, {item}, {price} (per one), {total}. WORTH-AMOUNT: "�A2FF{amount} {item} &7is now %FF00${total} &7(%FF00${price} &7each)" WORTH-HAND-ITEM: "�A2FF{amount} {item} &7is now %FF00${total}" SELL-MESSAGE: "%FF00+$%price%" SELL-SOUND: "BLOCK_ANVIL_HIT" # Sent when a category's multiplier levels up. Placeholders: {category}, {multiplier}, {level}. # Route it to chat or the action bar with the lists below, using the key MULTIPLIER-UNLOCKED. MULTIPLIER-UNLOCKED: "%FF00{category} &7multiplier unlocked&7: %FF00x{multiplier}" # Bukkit sound name. Leave empty for silence. MULTIPLIER-SOUND: "ENTITY_FIREWORK_ROCKET_BLAST" MULTIPLIER-SOUND-VOLUME: 1.0 # Above 1.0 is higher pitched, up to 2.0. MULTIPLIER-SOUND-PITCH: 1.6 # Where each message is delivered. List a message by its key under SETTINGS, so # WORTH-DEFAULT or WORTH-DISPLAY.NO-PERMISSION. Naming a section covers everything inside # it: WORTH-DISPLAY routes all of its messages at once. # # A key in both lists is sent twice (chat and above the hotbar); a key in neither is # silenced. Console always reads in chat, since it has no action bar. # # To send nothing to one of them, write an empty list: ACTIONBAR-MESSAGES: [] # Note the [] is what makes it explicit. A key left blank with nothing after it is dropped # before the plugin sees it, which reads as "not configured": chat then falls back to on, # and the action bar to off. Deleting a whole section behaves the same way. CHAT-MESSAGES: - SELL-MESSAGE - WORTH-DEFAULT - WORTH-AMOUNT - WORTH-HAND-ITEM - NO-SELLABLE - WORTH-DISPLAY - MULTIPLIER-UNLOCKED ACTIONBAR-MESSAGES: - SELL-MESSAGE - MULTIPLIER-UNLOCKED NO-SELLABLE: "&cThis item is not sellable." PROGRESS-BAR: "■" LEVEL: [25000, 150000, 500000, 1000000, 5000000, 25000000, 250000000, 550000000, 850000000, 1000000000, 2000000000, 4000000000, 8000000000, 10000000000, 20000000000, 40000000000, 80000000000, 160000000000, 320000000000, 640000000000] BUTTONS: NEXT-PAGE: "%FF00ɴᴇxᴛ" BACK-PAGE: "%FF00ʙᴀᴄᴋ" LAST-PAGE: "%FF00ʟᴀѕᴛ ᴘᴀɢᴇ" FIRST-PAGE: "%FF00ꜰɪʀѕᴛ ᴘᴀɢᴇ" # The items in the list won't have the # worth lore added to them. WORTH-BLACKLIST: - NETHERITE_PICKAXE SELL-MENU: TITLE: "&8ᴘʟᴀᴄᴇ ɪᴛᴇᴍѕ ɪɴ ʜᴇʀᴇ ᴛᴏ ѕᴇʟʟ" MULTIPLIER-TITLE: "&8ѕᴇʟʟ ᴍᴜʟᴛɪᴘʟɪᴇʀѕ" # true -> a confirm button sits in the bottom right corner and nothing is sold until it is # clicked. The menu stays open, so you can keep selling and close it with E or ESC. # Items left in the menu when you close it are handed straight back. # false -> no button, and everything in the menu is sold when you close it. CONFIRM-SELL: true CONFIRM-BUTTON: MATERIAL: "LIME_STAINED_GLASS_PANE" TITLE: "%FF00ᴄᴏɴғɪʀᴍ" # {price} is what the items in this menu are worth right now, multipliers included. LORE: - "&7You are going to sell the items for %FF00${price}" CROPS-BUTTON: MATERIAL: "WHEAT" TITLE: "BF18Dᴄʀᴏᴘѕ" LORE: - "&7Sell crops and farming materials to" - "&7upgrade your sell multiplier!" - "" - "&7Progress to &f{next_multiplier}" - "{percentage_level} BF18D{percentage}%" ORES-BUTTON: MATERIAL: "DIAMOND" TITLE: "BF18Dᴏʀᴇѕ" LORE: - "&7Sell ores and mining materials to" - "&7upgrade your sell multiplier!" - "" - "&7Progress to &f{next_multiplier}" - "{percentage_level} BF18D{percentage}%" MOBS-BUTTON: MATERIAL: "BONE" TITLE: "BF18Dᴍᴏʙѕ" LORE: - "&7Sell mob drops and combat materials to" - "&7upgrade your sell multiplier!" - "" - "&7Progress to &f{next_multiplier}" - "{percentage_level} BF18D{percentage}%" NATURAL-BUTTON: MATERIAL: "OAK_LEAVES" TITLE: "BF18Dɴᴀᴛᴜʀᴀʟ ɪᴛᴇᴍѕ" LORE: - "&7Sell natural materials and trees to" - "&7upgrade your sell multiplier!" - "" - "&7Progress to &f{next_multiplier}" - "{percentage_level} BF18D{percentage}%" ARMOR-AND-TOOLS-BUTTON: MATERIAL: "NETHERITE_HELMET" TITLE: "BF18Dᴀʀᴍᴏʀ ᴀɴᴅ ᴛᴏᴏʟѕ" LORE: - "&7Sell armor and tools to" - "&7upgrade your sell multiplier!" - "" - "&7Progress to &f{next_multiplier}" - "{percentage_level} BF18D{percentage}%" FISH-BUTTON: MATERIAL: "TROPICAL_FISH" TITLE: "BF18Dꜰɪѕʜ" LORE: - "&7Sell fish and other fishing loot to" - "&7upgrade your sell multiplier!" - "" - "&7Progress to &f{next_multiplier}" - "{percentage_level} BF18D{percentage}%" BOOK-BUTTON: MATERIAL: "BOOK" TITLE: "BF18Dᴇɴᴄʜᴀɴᴛᴇᴅ ʙᴏᴏᴋ" LORE: - "&7Sell books and enchanted books to" - "&7upgrade your sell multiplier!" - "" - "&7Progress to &f{next_multiplier}" - "{percentage_level} BF18D{percentage}%" POTIONS-BUTTON: MATERIAL: "BREWING_STAND" TITLE: "BF18Dᴘᴏᴛɪᴏɴѕ" LORE: - "&7Sell potions and brewing materials to" - "&7upgrade your sell multiplier!" - "" - "&7Progress to &f{next_multiplier}" - "{percentage_level} BF18D{percentage}%" BLOCKS-BUTTON: MATERIAL: "BRICK" TITLE: "BF18Dʙʟᴏᴄᴋѕ" LORE: - "&7Sell blocks and placeable items to" - "&7upgrade your sell multiplier!" - "" - "&7Progress to &f{next_multiplier}" - "{percentage_level} BF18D{percentage}%" PROGRESS-MENU: TITLE: CROPS: "&8ᴄʀᴏᴘѕ ᴘʀᴏɢʀᴇѕѕ" ORES: "&8ᴏʀᴇ ᴘʀᴏɢʀᴇѕѕ" MOBS: "&8ᴍᴏʙ ᴅʀᴏᴘѕ ᴘʀᴏɢʀᴇѕѕ" NATURAL: "&8ɴᴀᴛᴜʀᴀʟ ɪᴛᴇᴍѕ ᴘʀᴏɢʀᴇѕѕ" ARMOR_AND_TOOLS: "&8ᴀʀᴍᴏʀ ᴀɴᴅ ᴛᴏᴏʟѕ ᴘʀᴏɢʀᴇѕѕ" FISH: "&8ꜰɪѕʜ ᴘʀᴏɢʀᴇѕѕ" BOOK: "&8ᴇɴᴄʜᴀɴᴛᴇᴅ ʙᴏᴏᴋ ᴘʀᴏɢʀᴇѕѕ" POTIONS: "&8ᴘᴏᴛɪᴏɴѕ ᴘʀᴏɢʀᴇѕѕ" BLOCKS: "&8ʙʟᴏᴄᴋѕ ᴘʀᴏɢʀᴇѕѕ" TYPE-BUTTON: TITLE: CROPS: "BF18Dᴄʀᴏᴘѕ" ORES: "BF18Dᴏʀᴇ" MOBS: "BF18Dᴍᴏʙ" NATURAL: "BF18Dɴᴀᴛᴜʀᴀʟ ɪᴛᴇᴍѕ" ARMOR_AND_TOOLS: "BF18Dᴀʀᴍᴏʀ ᴀɴᴅ ᴛᴏᴏʟѕ" FISH: "BF18Dꜰɪѕʜ" BOOK: "BF18Dᴇɴᴄʜᴀɴᴛᴇᴅ ʙᴏᴏᴋ" POTIONS: "BF18Dᴘᴏᴛɪᴏɴѕ" BLOCKS: "BF18Dʙʟᴏᴄᴋѕ" LORE: CROPS: - "&7Sell crops and farming materials to" - "&7upgrade your sell multiplier!" ORES: - "&7Sell ores and mining materials to" - "&7upgrade your sell multiplier!" MOBS: - "&7Sell mob drops and combat materials to" - "&7upgrade your sell multiplier!" NATURAL: - "&7Sell natural materials and trees to" - "&7upgrade your sell multiplier!" ARMOR_AND_TOOLS: - "&7Sell armor and tools to" - "&7upgrade your sell multiplier!" FISH: - "&7Sell fish and other fishing loot to" - "&7upgrade your sell multiplier!" BOOK: - "&7Sell books and enchanted books to" - "&7upgrade your sell multiplier!" POTIONS: - "&7Sell potions and brewing materials to" - "&7upgrade your sell multiplier!" BLOCKS: - "&7Sell blocks and placeable items to" - "&7upgrade your sell multiplier!" MATERIAL: CROPS: "WHEAT" ORES: "DIAMOND" MOBS: "BONE" NATURAL: "OAK_LEAVES" ARMOR_AND_TOOLS: "NETHERITE_HELMET" FISH: "TROPICAL_FISH" BOOK: "BOOK" POTIONS: "BREWING_STAND" BLOCKS: "BRICK" WORKING-BUTTON: TITLE: "&eᴡᴏʀᴋɪɴɢ" MATERIAL: "YELLOW_STAINED_GLASS_PANE" LORE: - "{percentage_level} &f{next_multiplier} {percentage}%" - "&7{current_earned}/{next_goal}" COMPLETED-BUTTON: TITLE: "%FF00ᴄᴏᴍᴘʟᴇᴛᴇᴅ" MATERIAL: "LIME_STAINED_GLASS_PANE" LORE: - "{percentage_level} &f{next_multiplier} {percentage}%" - "&7{current_earned}/{next_goal}" SELL-HISTORY-MENU: TITLE: "&8ѕᴇʟʟ ʜɪѕᴛᴏʀʏ" SORT-BUTTON: MATERIAL: "ANVIL" TITLE: "%FF00Sort" LORE: - "&fClick to sort" - "" - "&7(Current: {sort_state})" SOLD-ITEM-LORE: - "&fTotal price: %FF00${price}" - "&fTotal amount: %FF00{amount}" WORTH-MENU: TITLE: "&8ɪᴛᴇᴍ ᴘʀɪᴄᴇѕ" FORMAT: "&fPrice: %FF00${price}" SORT-BUTTON: NAME: "%FF00Sort Items" LORE: - "{status_HIGHEST_PRICE}" - "{status_LOWEST_PRICE}" - "{status_ALPHABETICALLY}" SORT-STATUS: HIGHEST_PRICE: "▪ Highest Price" LOWEST_PRICE: "▪ Lowest Price" ALPHABETICALLY: "▪ Alphabetically"