mass0070

AreaShop default.yml

Sep 9th, 2019 (edited)
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.47 KB | None | 0 0
  1. # ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗
  2. # ║ default.yml file of the AreaShop plugin created by NLThijs48, Github can be found at https://github.com/NLthijs48/AreaShop.║
  3. # ║ All settings below are default settings and can be overridden by group settings or individual region settings. ║
  4. # ║ More information and tutorials can be found on the wiki: https://github.com/NLthijs48/AreaShop/wiki ║
  5. # ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
  6. # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
  7. # │ GENERAL: Settings that apply to all regions. │
  8. # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  9. general:
  10. # The y location within the region to start searching for safe teleport locations (x and z are in the middle of the region).
  11. # Possible values: 'bottom', 'middle', 'top' or a number indicating an exact y coordinate.
  12. teleportLocationY: bottom
  13. # If true the teleportation algorithm only allows teleportation to inside the region, otherwise it will expand
  14. # a cube from the starting point to check for safe spots (then it could end outside of the region).
  15. teleportIntoRegion: false
  16. # Same as above, but then for when you teleport to the sign of a region instead of the region itself.
  17. teleportToSignIntoRegion: false
  18. # Allow teleporting to the region from another world with `/as tp`
  19. teleportCrossWorld: false
  20. # When teleporting to a sign, the number of blocks the player should get teleported away from the sign
  21. teleportSignDistance: 1
  22. # Should '/as find' find this region while the player is in another world? (prevents cross-world teleport if turned off)
  23. findCrossWorld: false
  24. # Set where the '/as find' command should teleport the player to, set to true for the first sign of the region and set to
  25. # false to teleport to the location set by '/as settp' or the default location (if not set).
  26. findTeleportToSign: false
  27. # Restricts buying and renting of regions to the world of the region.
  28. restrictedToWorld: false
  29. # Restricts buying and renting of regions to the region itself (player needs to be inside the region).
  30. restrictedToRegion: false
  31. # The UUID of the landlord, this player will receive all money from rents/buys (but not reselling with '/as resell').
  32. landlord: ''
  33. # Name of the landlord, if the landlord UUID setting is not provided then the name will be used instead.
  34. landlordName: ''
  35. # Disable to prevent counting this region towards limits set by 'limitGroups' in config.yml.
  36. countForLimits: true
  37.  
  38. ##### Set the layout and functions of the signs.
  39. # The following sections can be added for performing certain commands when the sign is clicked:
  40. # rightClickPlayer, rightClickConsole, shiftRightClickPlayer, shiftRightClickConsole,
  41. # leftClickPlayer, leftClickConsole, shiftLeftClickPlayer, shiftLeftClickConsole.
  42. # Sections with 'Player' at the end will be run by the player that clicks the sign and 'Console' ones from the console.
  43. signProfile:
  44. forrent:
  45. line1: '&7&l[&2&lTil Salg&7&l]'
  46. line2: '%region%'
  47. line3: '%duration%'
  48. line4: '%price%'
  49. rightClickPlayer:
  50. - 'areashop rent %region%'
  51. rightClickConsole:
  52. # - 'areashop message %clicker% %lang:confirm-rent|%region%|%' # Alternative to first ask for confirmation (remove rightClickPlayer section)
  53. leftClickPlayer:
  54. - 'areashop info region %region%'
  55. rented:
  56. line1: '&7&l[&4&lLejet&7&l]'
  57. line2: '%region%'
  58. line3: '%player%'
  59. line4: '%untilshort%'
  60. rightClickPlayer:
  61. - 'areashop rent %region%'
  62. rightClickConsole:
  63. # - 'areashop message %clicker% %lang:confirm-extend|%region%|%' # Alternative to first ask for confirmation (remove rightClickPlayer section)
  64. leftClickPlayer:
  65. - 'areashop info region %region%'
  66. shiftRightClickConsole:
  67. - 'areashop message %clicker% %lang:confirm-unrent|%region%|%'
  68. forsale:
  69. line1: '&7&l[&2&lTil Salg&7&l]'
  70. line2: '%region%'
  71. line3: '%price%'
  72. line4:
  73. rightClickPlayer:
  74. - 'areashop buy %region%'
  75. rightClickConsole:
  76. # - 'areashop message %clicker% %lang:confirm-buy|%region%|%' # Alternative to first ask for confirmation (remove rightClickPlayer section)
  77. leftClickPlayer:
  78. - 'areashop info region %region%'
  79. resell:
  80. line1: '&7&l[&9&lResale&7&l]'
  81. line2: '%region%'
  82. line3: '%resellprice%'
  83. line4: '&8%player%'
  84. rightClickPlayer:
  85. - 'areashop buy %region%'
  86. rightClickConsole:
  87. # - 'areashop message %clicker% %lang:confirm-buy|%region%|%' # Alternative to first ask for confirmation (remove rightClickPlayer section)
  88. leftClickPlayer:
  89. - 'areashop info region %region%'
  90. shiftRightClickPlayer:
  91. - 'areashop stopresell %region%'
  92. sold:
  93. line1: '&7&l[&4&lSolgt&7&l]'
  94. line2: '%region%'
  95. line3: '%player%'
  96. line4:
  97. rightClickPlayer:
  98. - 'areashop buy %region%'
  99. leftClickPlayer:
  100. - 'areashop info region %region%'
  101. shiftRightClickConsole:
  102. - 'areashop message %clicker% %lang:confirm-sell|%region%|%'
  103.  
  104. ##### Set WorldGuard regions flags depending on the region state.
  105. # All normal region flags as present in WorldGuard can be used, in addition to 'members', 'owners', 'priority' and 'parent'.
  106. # The members and owners flag normally take a list of UUID's separated by a comma, adding by name is possible with 'n:<name>'.
  107. # You can add groups by using 'g:<groupname>', so an example woul be: '%uuid%, %friendsuuid%, g:vip, n:coolGuy'.
  108. # For allow/deny flags like 'entry' and 'exit' you can set the group setting by using 'g:<scope>', <scope> is one of the following:
  109. # members, non_members, owners, non_owners, all. Example, only members can enter the region:
  110. # entry: 'deny g:non_members'
  111. # '' will remove the flag from the region.
  112. flagProfile:
  113. ALL: # Flags that should always be applied
  114. priority: 10
  115. owners: ''
  116. members: 'g:Officer, %uuid%, %friendsuuid%'
  117. interact: 'deny g:non_members' # Only allow region members/owners to use things in the region (chests, furnace, animals, etc.)
  118. use: 'deny g:non_members'
  119. build: 'deny g:non_members'
  120. block-break: 'deny g:non_members'
  121. block-place: 'deny g:non_members'
  122. creeper-explosion: 'deny'
  123. forrent:
  124. greeting: '%lang:prefix%%lang:greeting-forrent%'
  125. rented:
  126. members: '%uuid%, %friendsuuid%'
  127. greeting: '%lang:prefix%%lang:greeting-rented%'
  128. forsale:
  129. greeting: '%lang:prefix%%lang:greeting-forsale%'
  130. sold:
  131. members: '%uuid%, %friendsuuid%'
  132. greeting: '%lang:prefix%%lang:greeting-bought%'
  133. resell:
  134. members: '%uuid%, %friendsuuid%'
  135. greeting: '%lang:prefix%%lang:greeting-resale%'
  136.  
  137. ##### Save and restore schematics to clean up regions.
  138. # After 'save:' or 'restore:' you enter the name of the file to restore from/to (.schematic is added automatically).
  139. # Set to true to enable saving/restoring for regions as specified in the profile below, which is specified in the config.
  140. enableRestore: false
  141. schematicProfile:
  142. created:
  143. save: '%type%-%region%'
  144. restore: ''
  145. deleted:
  146. save: ''
  147. restore: '%type%-%region%'
  148. rented:
  149. save: '%type%-%region%'
  150. restore: ''
  151. unrented:
  152. save: ''
  153. restore: '%type%-%region%'
  154. bought:
  155. save: '%type%-%region%'
  156. restore: ''
  157. sold:
  158. save: ''
  159. restore: '%type%-%region%'
  160. resell:
  161. save: ''
  162. restore: ''
  163.  
  164. ##### Run commands when an event happens.
  165. # Commands at a 'before' section will execute before the region details are changed in the AreaShop system
  166. # and before any other actions occurred (setting the owner, saving/loading schematics, etc.),
  167. # the 'after' commands will be run when all changes are done.
  168. # You can add a list of commands to 'before' and 'after'.
  169. eventCommandProfile:
  170. created:
  171. before:
  172. after:
  173. # - "say An AreaShop region has been created: %region%"
  174. deleted:
  175. before:
  176. after:
  177. rented:
  178. before:
  179. after:
  180. extended:
  181. before:
  182. after:
  183. unrented:
  184. before:
  185. after:
  186. bought:
  187. before:
  188. after:
  189. sold:
  190. before:
  191. after:
  192. resell:
  193. before:
  194. after:
  195.  
  196.  
  197. # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
  198. # │ RENT: Settings that apply to rent regions. │
  199. # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  200. rent:
  201. # The default price of a rental region (variables, mathematical expressions and JavaScript can be used).
  202. price: 500
  203. # The default duration of a rental region, you can find all time indicators in config.yml below the RENTING header.
  204. duration: '1 day'
  205. # Automatically extend the rental when it is running out (if the player meets the criteria)
  206. autoExtend: false
  207. # The percentage of the rent price you get back if you unrent the region (only the time that is unused is given back).
  208. # (variables, mathematical expressions and JavaScript can be used)
  209. moneyBack: 25
  210. # Maximum number of extends a player can do (-1 for infinite, 0 for no extending), if they are at this number then
  211. # they are force to let their rent run out (and can rent it again at that point).
  212. maxExtends: -1
  213. # The Maximum time they can have the region rented in advance (use times like '1 day' etc, or 'unlimited' for no limit).
  214. # This can prevent players from renting their region for a year, and to ensure they periodically have to extend their rent.
  215. maxRentTime: '10 day'
  216. # Automatically unrent the region after the specified time between the last login time of the renter and the current time.
  217. # Use times like '1 day' etc, or 'disabled' for never.
  218. inactiveTimeUntilUnrent: 'disabled'
  219. # If a region of a player has less then this time left when he joins the server he will get a notice about his region.
  220. # Use '' to disable.
  221. warningOnLoginTime: ''
  222. # If renting the region would go above 'maxRentTIme', then extend to the maximum instead of cancelling the rent.
  223. extendToFullWhenAboveMaxRentTime: true
  224. ##### Run commands a certain time before expiration of a region.
  225. # Time identifiers specify how much time before the rent is over the commands should be executed.
  226. # These commands are executed in a 'best effort' manner, if your server is offline when it should trigger then it won't run.
  227. expirationWarningProfile:
  228. '1 day':
  229. - "areashop message %player% %lang:prefix%%lang:rent-expiringSoon|%region%|%timeleft%|%"
  230. '1 hour':
  231. - "areashop message %player% %lang:prefix%%lang:rent-expiringSoon|%region%|%timeleft%|%"
  232. '5 minutes':
  233. - "areashop message %player% %lang:prefix%%lang:rent-expiringSoon|%region%|%timeleft%|%"
  234.  
  235.  
  236. # ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
  237. # │ BUY: Settings that apply to buy regions. │
  238. # └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
  239. buy:
  240. # The default price of a buy region (variables, mathematical expressions and JavaScript can be used).
  241. price: 500
  242. # The percentage of the price you get back if you sell the region (variables, mathematical expressions and JavaScript can be used)
  243. moneyBack: 25
  244. # Automatically sell the region after the specified number of minutes between the last login time of the buyer and the current time
  245. # Use times like '1 day' etc, or 'disabled' for never.
  246. inactiveTimeUntilSell: 'disabled'
  247. # Selling is disabled for the region owner (players with areashop.sellown without areashop.sell)
  248. sellDisabled: false
  249. # Reselling is disabled for the region owner (players with areashop.resell without areashop.resellall)
  250. resellDisabled: false
Add Comment
Please, Sign In to add comment