Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Set to false to disable auto-save. Only applies to flat file, MySQL saves instantly
- auto-save: true
- #How often to save in seconds, 900 = 15 minutes
- auto-save-interval: 900
- #Set this to true if you have a MySQL Database you'd like to use for saving players
- #WARNING: Do not switch from a database to a flat file back to a database or your player saves (in the database) may be outdated
- #NOTICE: If you use a database, your player saves will be overwritten with values from the database as the most recent player saves should be there
- use-mysql: false
- mysql-info:
- #Don't confuse this with you Minecraft server ip
- host: 127.0.0.1
- #This is the default port for MySQL, if your port is different change it here
- port: 3306
- #This is the name of your database
- database: db1
- #This is the database account username
- user: user1
- #This is the database account password
- pass: password123
- #These stocks will displayed when players type /stocks popular
- #You can add and remove stocks as you please
- #WARNING: Do not make the slot bigger than 54 or it won't be added, also don't use slot 50 this is where the close button is
- popular-stocks:
- aapl:
- slot: 11
- tsla:
- slot: 13
- goog:
- slot: 15
- nflx:
- slot: 17
- dis:
- slot: 21
- msg:
- slot: 23
- ko:
- slot: 25
- amzn:
- slot: 29
- ups:
- slot: 31
- jnj:
- slot: 33
- nvda:
- slot: 35
- twtr:
- slot: 39
- ea:
- slot: 41
- sbux:
- slot: 43
- #Trading settings
- trading-settings:
- #Set to true if you don't want players to be able to trade when the stock market is closed in real life
- disable-trading-when-closed: false
- #Set to true if you don't want players to be able to trade on the weekend
- #To disable weekend trading this must be true along with disable-trading-when-closed
- disable-trading-on-weekends: false
- #Cooldown is how long players have to wait to sell shares after they bought them
- cooldown-enabled: true
- #Cooldown in minutes, stock prices refresh every 15 minutes
- cooldown: 15
- #Set to true to enabled taxes, only taxes players when they sell shares
- tax-enabled: true
- #Percentage, 0.05 = 5%, 0.1 = 10%
- tax: 0.02
- #This is to adjust stock prices to fit your server's economy
- #1.0 = original price, 0.5 = half priced, 2.0 = double the original
- stock-price-multiplier: 1
- #Messages
- messages:
- #Some symbols won't display correctly. You can leave this blank ('$' to '') if need be.
- money-symbol: '$'
- #Prefixes apply to all messages unless stated otherwise
- #Change to false if you don't want to use red/yellow/green prefixes
- #you can include your own prefixes in each message, just be sure to set this to false or it will have two prefixes
- enable-prefixes: true
- #Prefix in response to command, negative result
- red-prefix: "&c&l(!)&7"
- #Prefix in response to command, notice
- yellow-prefix: "&e&l(!)&7"
- #Prefix in response to command, positive result
- green-prefix: "&a&l(!)&7"
- must-be-player: "You must be in-game to do that!"
- player-not-found: "Player not found!"
- stock-market-closed: "Stock market is closed!"
- #If days was set to T cooldown would be like so: 0T0h0m0s instead of 0d0h0m0s
- #Only one character allowed
- cooldown-format:
- days: 'd'
- hours: 'h'
- minutes: 'm'
- seconds: 's'
- #Available variables: %cooldown%, %stock%
- cooldown: "15"
- #Available variables: %usage%
- stockbroker-usage: "Usage: %usage%"
- stockbroker-spawned: "Successfully spawned stockbroker!"
- stockbroker-removal-instructions: "Punch a stockbroker to remove it!"
- stockbroker-removed: "Stockbroker removed!"
- stockbroker-removal-expired: "Stockbroker removal expired!"
- fetching-portfolio: "Fetching Portfolio . . ."
- #Available variables: %shares%, %stock%
- buy-attempt: "Attempting to buy %shares% share(s) of %stock% . . ."
- #Available variables: %shares%, %stock%
- sell-attempt: "Attempting to sell %shares% share(s) of %stock% . . ."
- sell-all-attempt: "Attempting to sell all stocks . . ."
- sell-all-partial-fail: "Failed to retrieve 1 or more of your stock's info and will remain in your portfolio!"
- sell-all-canceled: "Sell all canceled!"
- #Available variables: %shares%, %stock%, %price%
- bought-shares: "Successfully bought %shares% share(s) of %stock% for %price%"
- #Available variables: %player%, %shares%, %stock%
- gave-shares: "Successfully gave %player% %shares% share(s) of %stock%"
- #Available variables: %shares%, %stock%
- #Prefixes don't apply
- received-shares: "&a&l[&7Stocks&a&l]&7%shares% share(s) of %stock% have been added to your account!"
- #Available variables: %shares%, %stock%, %player%
- took-shares: "Successfully took %shares% share(s) of %stock% from %player%"
- #Available variables: %shares%, %stock%
- #Prefixes don't apply
- shares-taken: "&c&l[&7Stocks&c&l]&7%shares% share(s) of %stock% have been taken from your account!"
- #Available variables: %shares%, %stock%, %price%
- sold-shares: "Successfully sold %shares% share(s) of %stock% for %price%"
- #Available variables: %price%
- sold-all-shares: "Successfully sold all shares for %price%"
- config-reloaded: "config.yml successfully reloaded!"
- #Available variables: %price%
- check-stock-price: "%stock% is worth %price%"
- invalid-stock: "Invalid stock symbol!"
- retrieval-error: "There was an error retrieving the stock price!"
- #When trying to sell a stock they don't have
- stocks-not-owned: "You don't own any shares of that stock!"
- #When trying to sell all
- #Can also be used if player's stocks have a cooldown
- no-stocks-owned: "You don't own any stocks or your stock(s) have a cooldown!"
- #When trying to take another player's stock
- #Available variables: %player%
- stock-not-owned: "%player% doesn't own that stock!"
- #When trying to take another player's stock
- #Available variables: %player%
- take-not-enough-shares: "%player% only has %shares% share(s)!"
- #When trying to sell stock/shares
- sell-not-enough-shares: "You can't sell more shares than you own!"
- not-enough-money: "You don't have enough money!"
- permission-denied: "Permission Denied!"
- invalid-number: "Invalid number!"
- #Available variables: %usage%
- #%usage% includes the / before the command
- command-usage: "Usage: %usage%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement