Advertisement
Guest User

Untitled

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