Guest User

Untitled

a guest
Mar 11th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 3.24 KB | None | 0 0
  1. database:
  2.  #Database backend type, can be set to mysql or sqlite
  3.   type: sqlite
  4.   #MySQL database host
  5.   mySQLHost: localhost
  6.   #MySQL connection port number
  7.   mySQLPort: 3306
  8.   #MySQL database name
  9.   mySQLDatabase: db
  10.   #MySQL database user
  11.   mySQLUser: root
  12.   #MySQL user's password
  13.   mySQLPassword: ""
  14.   #MySQL table names
  15.   tableNames:
  16.     players: players
  17.     shops: shops
  18.  
  19. #Logging settings
  20. log:
  21.  #Define whether transactions will be logged to the console/main server log
  22.   toConsole: true
  23.   #Define whether transactions will be logged to a separate log
  24.   toFile: false
  25.   #Date format of transactions (http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html)
  26.   formatDate: "yyyy/MM/dd HH:mm:ss"
  27.   #Log message formats
  28.   messageFormats:
  29.     sell: "%owner% put up %quantity% x %item% for sale! Price: $%price%, duration: %duration%"
  30.     bought: "%buyer% bought %quantity% x %item% from %owner% for $%price%."
  31.     expired: "%owner%'s %quantity% x %item% expired."
  32.     cancelled: "%player% cancelled %owner%'s %quantity% x %item% for $%price% sell lot."
  33.  
  34.  
  35. #Default settings for sold items when not specified
  36. defaultSettings:
  37.   quantity: 1
  38.   price: 100.0
  39.  
  40. #Minimum settings values for sold items (set to -1 for no limit)
  41. minSettings:
  42.   quantity: -1
  43.   price: -1
  44.  
  45. #Maximum settings values for sold items (set to -1 for no limit), 64 is the maximal supported quantity
  46. maxSettings:
  47.   quantity: 64
  48.   price: -1
  49.  
  50. #Choose how many items player will be able to sell at the same time, permission format is playershopguiplus.limit.NAME eg. playershopguiplus.limit.default
  51. limits:
  52.  #"default" is required
  53.   default: 10
  54.   donator: 50
  55.  
  56. #List of items players won't be to put up for sale. Explained in FAQ #1 here: TODO INSERT LINK
  57. bannedItems:
  58.   1:
  59.     material: BEACON
  60.     compareQuantity: false
  61.     compareItemMeta: false
  62.  
  63. #Date format; more info: https://docs.oracle.com/javase/tutorial/i18n/format/simpleDateFormat.html
  64. dateFormat: "dd.MM.yyyy, HH:mm"
  65.  
  66. #Choose what gamemodes will prevent players from accessing player shops. Valid values: ADVENTURE, CREATIVE, SPECTATOR, SURVIVAL
  67. disableInGamemodes:
  68.  - ADVENTURE
  69.   - CREATIVE
  70.   - SPECTATOR
  71.  
  72. #Choose in which worlds player shops will be completely disabled
  73. disableInWorlds: []
  74.  
  75. #Choose if players shall be able to select the amount of purchased item (eg. someone sells 16 stone so you will be able to buy 1-15)
  76. allowQuantitySelection: true
  77. #Choose for how long items will be buyable before they expire (in minutes, set to -1 to disable)
  78. shopItemDuration: 4320
  79. #Choose if shop view will be refresh automatically every X ticks (set below in autoRefreshInterval)
  80. autoRefresh: false
  81. #Interval (in ticks, 20 ticks = 1 second) between refreshing shops view
  82. #Warning: This can cause log when set to low interval with many players online/shops
  83. autoRefreshInterval: 20
  84. #Choose if empty shops (with no item lots) shall be displayed in the "All shops" menu
  85. displayEmptyShops: false
  86. #Default player shop name
  87. defaultShopName: "%player%'s shop"
  88. #Choose if GUI notifications will be displayed (or message ones instead)
  89. enableGuiNotifications: true
  90. #Choose if short dates formats will be used, eg. h instead of hours, m instead of minutes etc.
  91. useShortDateFormats: true
Add Comment
Please, Sign In to add comment