Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Plugin: ServerMarket
- #Author: Qifi (elving21)
- lang:
- prefix: "&f[&aServerMarket&f] "
- currency: "Coins"
- noperm: "You dont have required permission! &c(%perm%)"
- gui: "&cServer Market"
- gui_returned: "&cReturned Items"
- gui_dropbox: "&cDropbox"
- buynot: "&a%buyer% &fhas bought an item from you for &a%amount% %currency%&f. &a(%item_name%)"
- nomoney: "You dont have required amount of money (&a%money% %currency%&f) to buy a &a%item_name% &ffrom &a%seller%"
- remove: "You have removed an item from makret! You can get it inside your returned items!"
- gift: "An item has been added to your email box."
- player_doesnt_exist: "Player &a%player% &fdoesnt exist."
- gift_give: "You ve given an item to player &a%player%"
- doesnotexist: "This item has been already bought by someone or removed."
- nospace: "You dont have a free space in your inventory! :("
- get: "You have recieved an item from Returned Inventory!"
- next: "&cNext Page"
- previous: "&cPrevious Page"
- priceminmax: "The price has to be in between &a%min% &fand &a%max%"
- noitem: "You dont hold anyhting!"
- world: "ServerMarket is disabled in this world!"
- forbidenitem: "You cannot list this item!"
- opremove: "You have force removed an item from market, it has been sent back to owner!"
- reload: "Config has been reloaded."
- max_listing_limit: "You are allowed to have only &c%max% Listings &flisted at once!"
- search_by_player: "Player &a%player% &fhas no listings or does not exist."
- listing_put_not: "You have added item &a%item_name% &fto the market for &a%money% %currency%"
- drop_box: "Credited %money% %currency% of money."
- item_get_message: "You have recieved new item!"
- bed: "You cannot open ServerMarket while in bed."
- broadcast_listing: "&fItem &f[&a&l%item_name% x%amount%&f] has been listed for &a&l%price% %currency%&f."
- search_wrong_type: "Type '%err%' doesn exist. Avaliable search types &a%types%"
- expiration_stages:
- very_short: '&4Very short'
- short: '&cShort'
- medium: '&c6Medium'
- long: '&aLong'
- very_long: '&2Very long'
- returned:
- name: "&6Returned/Expired Items"
- lore: "&fYou can get your expired%nl%&for returned items here"
- marketback:
- name: "&6Go back to the market"
- lore: "&fClick here to go back to the market."
- info:
- name: "&cHow to create a Listing?"
- lore: "&fYou can create a listing%nl%&fby writing a &a/market add <cost> &fwhile%nl%&fholding a desired item."
- dropbox:
- name: "&8DropBox"
- lore: "&f"
- market:
- - ''
- - '&fPrice: &a%price% %currency%'
- - '&fSeller: &a%seller%'
- - '&fExpires in &a%h%&fh &a%min%&fm'
- book:
- name: 'Market Receipt'
- author: 'Server'
- inside:
- - '&0&lMarket Receipt:'
- - ''
- - '&0Item: &2%item_name%'
- - '&0Price: &c%price%'
- - '&0Return: &c%return%'
- - '&0Buyer: &c%buyer%'
- - '&0Date: &c%date%'
- confirmitem:
- name: "&aConfirmation"
- lore:
- - "&fClick here to confirm a purchase."
- sort:
- price_highest: '&fprice &chighest'
- price_lowest: '&fprice &clowest'
- time_oldest: '&ftime &coldest'
- time_newest: '&ftime &cnewest'
- sort_button_name: '&f&lSorting by'
- sort_button_lore: "%type%%nl%&7<Click to change sorting>"
- menu:
- - ' &a&l[&fServer Market &a&l]'
- - '/market &9- Opens up market.'
- - '/market add <price> &9- Adds an item to the market.'
- - '/market search <name/lore/player> <text> &9- Searches market.'
- - '/market gift <player> &9- Sends an item to players mail box.'
- - '/market returned &9- Opens up returned inventory/mailbox.'
- - '/market dropbox &9- Opens up dropbox inventory (if enabled)'
- - '/market tax [amount] &9- Shows/Withdraws collected tax money.'
- - '/market npc add <npcId> &9- Makes NPC to open market (right-click).'
- - '/market npc remove <npcId> &9- Removes NPC from list.'
- - '/market reload &9- Reloads config.'
- database:
- #Type can be: sql/mysql
- #if you choose mysql dont forget to fill all required information
- Type: sql
- Port: 3306
- Host: localhost
- Database: Your_Database
- Username: Your_Username
- Pass: Your_Password
- settings:
- #Version of the config, dont change this value
- config_version: 1
- #To change main command, please go to plugin.yml (inside plugin's .jar and add an alias)
- #Here you can change all subcommands, if you change them dont forget to change menu as well.
- #If you change something here, you will have to restart the server.
- command_subaliases:
- add: 'add'
- returned: 'returned'
- tax: 'tax'
- reload: 'reload'
- search: 'search'
- help: 'help'
- gift: 'gift'
- dropbox: 'dropbox'
- npc: 'npc'
- #If you enable a dropbox players will have to manually take
- #their money from a "box" after they sell items.
- enable_dropbox: false
- #Do you want new listings to be broadcasted?
- broadcast_new_listings:
- enabled: true
- #if true, only listings of players with servermarket.broadcast permissions will be broadcasted
- use_permission: false
- limits:
- #Minimum and maximum price users are allowed to list their items for
- #Would suggest to set to anything above zero.
- min: 1.0
- #set to 0.0 if you dont want to have any limit
- max: 5000000.0
- #Permission servermarket.maxlistings.<group>
- maxlistings:
- #permissions
- Admins: #requires player to have servermarket.maxlistings.Admin
- #Maximum number of listings to be allowed
- max: 100
- Mod: #requires player to have servermarket.maxlistings.Mod
- max: 20
- #If group is not found this setting will be used, dont delete this1
- default:
- max: 10
- #Income Tax value = how much a seller will get when someone buys his listing? 0.15 means he will get only 85% out of the sell price.
- #set to 0.0 to disable tax (default: 15%)
- #You can set different tax for different permissions
- #Permission servermarket.tax.<group>
- tax:
- Admins: 0.0 #requires player to have servermarket.tax.Admin
- Mod: 0.05 #requires player to have servermarket.tax.Mod
- #if player doesnt have any of those permissions
- #this setting will be used
- #set to 0.0 if you want to disable tax
- default: 0.15
- #Do you want to collect tax money? You can withdraw them with /market tax <amount> (as admin) and view with /market tax
- collect_taxmoney: true
- #When listing should expire? (in seconds) Default: 2 days
- expire: 172800
- expiration_format:
- # Do you want numbers with exact time or general words to appear for expiration format?
- exact: true
- # If expiration format is not EXACT, words instead of time are going to be used for expiration
- # here you can define boundaries for each stage
- # the numbers are in seconds e.g. short will be displayed on an item that has between 601 and 1800 seconds left
- # placeholder to use in lore %expiration_stage%
- #
- # Actually you are able to add custom stages or remove some default ones,
- # just for new stages add a translation at lang.expiration_stages for the same key as here
- boundaries:
- very_short: '0-600'
- short: '601-1800'
- medium: '1801-7200'
- long: '7201-43200'
- very_long: '43201-172800'
- #Do you want to give seller a book which contains all information about the sale, when they sell an item/s
- #This setting works for dropbox as well (if true, players will get a book on their withrawal or vice versa)
- give_book_on_sell: true
- #Sign to open a market
- sign:
- #First line specifies what u will have to write in order to generate the rest of the sign
- #If you dont need all lines just leave them blank
- line1: '&a[ServerMarket]'
- line2: '&f&lOpen'
- line3: ''
- line4: ''
- #In which worlds Server Market should be disabled?
- disabledworlds:
- - "test"
- - "another_world"
- restricteditems:
- #You can restrict players to sell damaged items (like damaged swords etc.)
- restrict_damaged_items: false
- #If item material will be equal to something from that list it wont be allowed to be sold on the market
- materials:
- - 'DIAMOND_SWORD'
- - 'WRITTEN_BOOK'
- #If a name of an item will contain something from that list it wont be allowed to be sold on the market
- names:
- - "Custom Sword"
- - "&aColored Sword"
- #If a lore of an item will contain something from that list it wont be allowed to be sold on the market
- lore:
- - "Item cannot be sold on market"
- - "Special item"
Add Comment
Please, Sign In to add comment