Guest User

Untitled

a guest
Apr 14th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.29 KB | None | 0 0
  1. # ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
  2. # ║ config.yml file of the AreaShop plugin created by NLThijs48, Github can be found at https://github.com/NLthijs48/AreaShop ║
  3. # ║ This file contains options to change the working of the plugin, the profiles defined here can be used in default.yml ║
  4. # ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
  5. # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
  6. # │ GENERAL: Options that influence the global state of the plugin │
  7. # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  8. ## Chatprefix used for all messages in the chat, also changes the greeting messages.
  9. chatPrefix: '&2[AreaShop]&r '
  10. ## The characters used for the prices of regions, will appear before the number, for the euro character use '%euro%'
  11. moneyCharacter: '$'
  12. ## The characters used after a currency number, '%euro%' will become the euro character
  13. moneyCharacterAfter: ''
  14. ## How many numbers behind the dot should be shown (2 will make numbers like '8.55', '9.01')
  15. fractionalNumbers: 2
  16. ## Set this to true if you want to hide '.0' for a number like '15.0' ('4.50' will still stay '4.50')
  17. hideEmptyFractionalPart: true
  18. ## The language file that should be used, check the 'lang' folder for build-in languages (use the filename without .yml here)
  19. language: EN
  20. ## Enable Schematic saving and restoring in general
  21. enableSchematics: true
  22. ## The tags you need to write on the sign to trigger the plugin
  23. signTags:
  24. ## Tag for adding a rent region
  25. rent: '[rent]'
  26. ## Tag for adding a buy region
  27. buy: '[buy]'
  28. ## Tag for adding a sign to an existing region
  29. add: '[as]'
  30. ## Blacklist of region names that cannot be added to AreaShop for renting or buying. Regular expressions can be used, search
  31. ## for 'java regex pattern' to find documentation about how to use it. The case-insensitive option is enabled because
  32. ## WorldGuard will return the correct region no matter what the casing is.
  33. blacklist:
  34. - '__global__'
  35. ## Enable sending stats to http://mcstats.org/ (Metrics plugin)
  36. sendStats: true
  37. ## If enabled it will check for updates when loading the plugin, it will never download files, it will only notify about it
  38. ## A message will be printed in the console when an update is available and OPs will be notified when joining the server
  39. checkForUpdates: true
  40. ## Use colors when sending messages to console and log files
  41. useColorsInConsole: false
  42. ## Post error messages in the console when a command run from the config fails (from the 'runCommands' section for example)
  43. postCommandErrors: true
  44. ## Update all region flags and signs after starting the plugin (uses the 'regionsPerTick' setting from the 'update' section)
  45. ## This ensures that changes to the config are directly visible after restarting the server
  46. updateRegionsOnStartup: true
  47. ## Enables / disables debug messages in the console, could be useful to figure out where errors come from
  48. debug: false
  49. ## Version of the config, do not change!
  50. version: 2.1.5
  51.  
  52.  
  53. # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
  54. # │ RENTING: Options that apply to all rent regions │
  55. # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  56. ## Timeformat to use on the signs, default is like '30-06 14:52', US format: 'MM-dd KK:mm a'
  57. ## Search for 'java SimpleDateFormat' for more options and documentation
  58. timeFormatSign: 'dd-MM HH:mm'
  59. ## Timeformat used in the chat, default is like '30 june 2014 14:52', US format: 'MMMMMMMMMMMMMMMMM dd yyyy KK:mm a'
  60. ## Search for 'java SimpleDateFormat' for more options and documentation
  61. timeFormatChat: 'dd MMMMMMMMMMMMMMMMM yyyy HH:mm'
  62. ## Time indicators, used for specifing rent duration on the signs
  63. ## Be careful with deleting words, will break signs using those, adding is no problem
  64. minutes: [m, min, mins, minute, minutes, minuten, minuut]
  65. hours: [h, hour, hours, uur, uren]
  66. days: [d, day, days, dag, dagen]
  67. months: [M, month, months, maanden, maand]
  68. years: [y, year, years, jaar, jaren]
  69.  
  70.  
  71. # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
  72. # │ PERMISSION GROUPS: Assigned by giving players certain permissions │
  73. # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  74. ## Configure the max total regions, max rent regions and max buy regions with different groups (-1 is unlimited)
  75. ## Assign a group to players by giving them the permission 'areashop.limits.<group>'
  76. ## Every player already has the group 'default' and ops have the unlimited group
  77. ## All the groups applied to the player will be checked and only if they all allow an extra region it will be permitted
  78. ## Add a 'worlds' or 'groups' list to a group to only count regions from those worlds and/or groups .
  79. ## This can be used to get different limits for other worlds or area's.
  80. ## Give players permissions globally and not per world! That would break limits when then try renting/buying from within another world
  81. limitGroups:
  82. default:
  83. total: 1
  84. rents: 1
  85. buys: 1
  86.  
  87.  
  88. # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
  89. # │ PROFILES: Assigned in general (default.yml), for a group (groups.yml) or individually (<region>.yml) │
  90. # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  91. ## Below is a list of tags that can be used with all the profiles below.
  92. ## If a tag has no value (for example when you use %player% when the region is not rented/bought) then the tag will not get replaced
  93. ## %region% The region name (with correct capitalization)
  94. ## %player% The name of the player that rents/buys the region (with correct capitalization), will not get replaced if no renter/buyer
  95. ## %uuid% The uuid of the player that rents/buys the region, will not get replaced if no renter/buyer
  96. ## %friends% The names of friends added to this region separated by ', '
  97. ## %friendsuuid% The UUID's of friends added to this region separated by ', '
  98. ## %price% The price of the region formatted with the configured characters before and after the number
  99. ## %duration% The duration of a rent region, for example '1 d', '4 minutes' or '2 years'
  100. ## %world% The name of the world that the region is in
  101. ## %type% The type of the region, 'rent' or 'buy'
  102. ## %until% The end time of a rent formatted as configured with 'timeFormatChat'
  103. ## %untilshort% The end time of a rent formatted as configured with 'timeFormatSign'
  104. ## %width% The width of the region (amount of blocks on the x-axis)
  105. ## %depth% The depth of the region (amount of blocks on the z-axis)
  106. ## %height% The height of the region (amount of blocks on the y-axis)
  107. ## %timeleft% The time left on the rent (uses the unit of time that fits best, minutes used from 121 seconds till 120 minutes)
  108. ## %clicker% The name of the player that clicked the sign (only to be used in the signProfiles section)
  109. ## %resellprice% The price of a region when it is in resell mode
  110. ## %moneyback% The amount of money the player will get back when unrenting/selling the region (formatted with currency characters)
  111. ## %moneybackpercent% The percentage of the price the player will get back when unrenting (only the number between 0-100)
  112. ## %maxextends% The maximum number of extends a player can do on the region
  113. ## %extendsleft% The number of extends that are left (maxextends - timesextended)
  114. ## %maxrenttime% The maximum time you can rent a region in advance (human readble)
  115. ## %inactivetime% The maximum time a player may be inactive before unrent/sell (human readble)
  116.  
  117. ## Below are profiles for the signs, you can assign profiles to regions
  118. ## by setting 'general.signProfile' in default.yml, groups or individual regions
  119. signProfiles:
  120. default:
  121. ## The following sections can be added for performing certain commands when the sign is clicked:
  122. ## rightClickPlayer, rightClickConsole, shiftRightClickPlayer, shiftRightClickConsole,
  123. ## leftClickPlayer, leftClickConsole, shiftLeftClickPlayer, shiftLeftClickConsole
  124. ## Sections with 'Player' at the end will be run by the clicking player and 'Console' ones from the console
  125. forrent:
  126. line1: '&2&l[For Rent]'
  127. line2: '%region%'
  128. line3: '%duration%'
  129. line4: '%price%'
  130. rightClickPlayer:
  131. - 'areashop rent %region%'
  132. leftClickPlayer:
  133. - 'areashop info region %region%'
  134. rented:
  135. line1: '&4&l[Rented]'
  136. line2: '%region%'
  137. line3: '%player%'
  138. line4: '%untilshort%'
  139. rightClickPlayer:
  140. - 'areashop rent %region%'
  141. leftClickPlayer:
  142. - 'areashop info region %region%'
  143. shiftRightClickPlayer:
  144. - 'areashop unrent %region%'
  145. forsale:
  146. line1: '&2&l[For Sale]'
  147. line2: '%region%'
  148. line3: '%price%'
  149. line4:
  150. rightClickPlayer:
  151. - 'areashop buy %region%'
  152. leftClickPlayer:
  153. - 'areashop info region %region%'
  154. resell:
  155. line1: '&9&l[Resale]'
  156. line2: '%region%'
  157. line3: '%resellprice%'
  158. line4: '&8%player%'
  159. rightClickPlayer:
  160. - 'areashop buy %region%'
  161. leftClickPlayer:
  162. - 'areashop info region %region%'
  163. shiftRightClickPlayer:
  164. - 'areashop stopresell %region%'
  165. sold:
  166. line1: '&4&l[Sold]'
  167. line2: '%region%'
  168. line3: '%player%'
  169. line4:
  170. rightClickPlayer:
  171. - 'areashop buy %region%'
  172. leftClickPlayer:
  173. - 'areashop info region %region%'
  174. shiftRightClickPlayer:
  175. - 'areashop sell %region%'
  176. ## Option to run certain commands when one of these events happen
  177. ## Commands at a 'before' section will execute before the region details are changed in the AreaShop system
  178. ## and before any other actions occurred (changing signs, saving/loading schematics, etc.),
  179. ## the 'after' commands will be run when all changes are done.
  180. ## After 'before' or 'after' you can create a list of commands (see example at the created event)
  181. eventCommandProfiles:
  182. default:
  183. created:
  184. before:
  185. after:
  186. ## - "say An AreaShop region has been created: %region%"
  187. deleted:
  188. before:
  189. after:
  190. rented:
  191. before:
  192. after:
  193. extended:
  194. before:
  195. after:
  196. unrented:
  197. before:
  198. after:
  199. bought:
  200. before:
  201. after:
  202. sold:
  203. before:
  204. after:
  205. resell:
  206. before:
  207. after:
  208. ## For the following events you can specify if you want to restore or save the region to a schematic
  209. ## After 'save:' or 'restore:' you enter the name of the file to restore from/to
  210. ## If you want your regions all looking the same then you can leave out the %region% part to use the same schematic for all
  211. ## Be carefull with these options, it could crash your server or destroy (parts of) your world if used wrong!
  212. ## The limit 'maximumBlocks' applies to restoring/saving schematics, be sure your regions are below the limit
  213. schematicProfiles:
  214. default:
  215. created:
  216. save: '%type%-%region%'
  217. restore: ''
  218. deleted:
  219. save: ''
  220. restore: '%type%-%region%'
  221. rented:
  222. save: ''
  223. restore: ''
  224. unrented:
  225. save: ''
  226. restore: '%type%-%region%'
  227. bought:
  228. save: ''
  229. restore: ''
  230. sold:
  231. save: ''
  232. restore: '%type%-%region%'
  233. resell:
  234. save: ''
  235. restore: '' default:
  236. red:
  237. created:
  238. save: '%type%-%region%'
  239. restore: ''
  240. deleted:
  241. save: ''
  242. restore: '%type%-%region%'
  243. rented:
  244. save: ''
  245. restore: ''
  246. unrented:
  247. save: ''
  248. restore: '%type%-%region%'
  249. bought:
  250. save: ''
  251. restore: ''
  252. sold:
  253. save: ''
  254. restore: '%type%-%region%'
  255. resell:
  256. save: ''
  257. restore: '' red:
  258. yellow:
  259. created:
  260. save: '%type%-%region%'
  261. restore: ''
  262. deleted:
  263. save: ''
  264. restore: '%type%-%region%'
  265. rented:
  266. save: ''
  267. restore: ''
  268. unrented:
  269. save: ''
  270. restore: '%type%-%region%'
  271. bought:
  272. save: ''
  273. restore: ''
  274. sold:
  275. save: ''
  276. restore: '%type%-%region%'
  277. resell:
  278. save: ''
  279. restore: '' yellow:
  280. pink:
  281. created:
  282. save: '%type%-%region%'
  283. restore: ''
  284. deleted:
  285. save: ''
  286. restore: '%type%-%region%'
  287. rented:
  288. save: ''
  289. restore: ''
  290. unrented:
  291. save: ''
  292. restore: '%type%-%region%'
  293. bought:
  294. save: ''
  295. restore: ''
  296. sold:
  297. save: ''
  298. restore: '%type%-%region%'
  299. resell:
  300. save: ''
  301. restore: '' pink:
  302. green:
  303. created:
  304. save: '%type%-%region%'
  305. restore: ''
  306. deleted:
  307. save: ''
  308. restore: '%type%-%region%'
  309. rented:
  310. save: ''
  311. restore: ''
  312. unrented:
  313. save: ''
  314. restore: '%type%-%region%'
  315. bought:
  316. save: ''
  317. restore: ''
  318. sold:
  319. save: ''
  320. restore: '%type%-%region%'
  321. resell:
  322. save: ''
  323. restore: '' green:
  324. ## Flag profiles to specify what flags should be set on the WorldGuard regions
  325. ## All normal region flags as present in WorldGuard can be used, and also members, owners, priority and parent
  326. ## Each line represents a WorldGuard setting that should be set to a certain value when the region is in the specified state
  327. ## The members and owners flag normally take a list of UUID's separated by 'comma space', adding by name is possible with 'n:<name>'
  328. ## You can add groups by using 'g:<groupname>', so in total you could use: '%uuid%, %friendsuuid%, g:vip, n:cool-guy'
  329. ## For flags like 'entry' and 'exit' you can add group setting by using 'g:<scope>' behind it, <scope> is one of the following:
  330. ## members, non_members, owners, non_owners, all. Example, only owners can enter the region:
  331. ## entry: 'deny g:non_owners'
  332. ## Use '' for a flag to reset it.
  333. flagProfiles:
  334. default:
  335. forrent:
  336. members: ''
  337. greeting: '%lang:prefix%%lang:greeting-forrent%'
  338. rented:
  339. members: '%uuid%, %friendsuuid%'
  340. greeting: '%lang:prefix%%lang:greeting-rented%'
  341. forsale:
  342. members: ''
  343. greeting: '%lang:prefix%%lang:greeting-forsale%'
  344. sold:
  345. members: '%uuid%, %friendsuuid%'
  346. greeting: '%lang:prefix%%lang:greeting-bought%'
  347. resale:
  348. members: '%uuid%, %friendsuuid%'
  349. greeting: '%lang:prefix%%lang:greeting-resale%'
  350. ## Profiles that specify when players should get messages about rent that almost run out
  351. ## The numbers that start sections in the profile specify how time before it actually runs out it should be executed
  352. ## When warnPlayer is set to true a message will be send that is specified in the language file
  353. ## All commands in the list below 'commands:' will execute together with the warning, all normal variables can be used
  354. expirationWarningProfiles:
  355. default:
  356. "1 day":
  357. warnPlayer: true
  358. commands:
  359. ## - "say %region% is about to expire for %player%: %timeleft% left"
  360. "1 hour":
  361. warnPlayer: true
  362. commands:
  363. "5 minutes":
  364. warnPlayer: true
  365. commands:
  366.  
  367.  
  368. # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
  369. # │ LIMITS AND TIMINGS: Options for limits and the frequencies for certain functions (be very carefull with these!) │
  370. # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  371. ## Setting the 'delay' setting to 0 or lower will prevent the taks from runnning, if you don't use a certain feature you
  372. ## could switch the task off this way.
  373.  
  374. ## Maximum number of blocks to save to or restore from a .schemetic
  375. maximumBlocks: 1000000
  376. ## Maximum number of locations the teleport function should check to find a safe spot
  377. maximumTries: 50000
  378. ## Timings for saving files that need saving
  379. saving:
  380. ## Time between saving files that need to be saved (not all files will be saved by default)
  381. delay: 10
  382. ## How many regions per tick will be saved
  383. regionsPerTick: 1
  384. ## Timings for rent expiration checking
  385. expiration:
  386. ## Time between checking if rent regions have been expired (seconds)
  387. delay: 59
  388. ## Number of rent regions to check per tick (there are 20 ticks in a second)
  389. regionsPerTick: 5
  390. ## Timings for expiration warning to online players
  391. expireWarning:
  392. ## The time between checking if expiration warning need to be sent
  393. delay: 5
  394. ## Number of regions to update per tick (there are 20 ticks in a second)
  395. regionsPerTick: 1
  396. ## Timings for updating signs and region flags (/as updaterents or /as updatebuys)
  397. update:
  398. ## Number of regions to update per tick (there are 20 ticks in a second)
  399. regionsPerTick: 2
  400. ## Time between checking if any regions need to be unrented because the player was not online for the specified time period (minutes)
  401. ## -1 means never, 1440 is one day, 43200 is one month, 525600 is one year
  402. inactive:
  403. ## Time between checking if a regions needs to be unrented/sold because of inactivity by the player (minutes)
  404. delay: 15
  405. ## Number of rent regions to check per tick (there are 20 ticks in a second)
  406. regionsPerTick: 5
  407. ## Timings for the periodic updating of signs (for timeleft tags etc)
  408. signs:
  409. ## Time between updates of all signs (seconds)
  410. delay: 60
  411. ## Number of regions to update signs for per tick (there are 20 ticks in a second)
  412. regionsPerTick: 1
  413. ## Number of regions per tick to check when a player joins to see if his name changed for regions he owned (updates the regions when changed)
  414. nameupdate:
  415. ## Number of regions to update signs for per tick (there are 20 ticks in a second)
  416. regionsPerTick: 5
Advertisement
Add Comment
Please, Sign In to add comment