Advertisement
Guest User

Untitled

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