Sinuce

AreaShop config.yml

Nov 1st, 2014
434
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.61 KB | None | 0 0
  1. ##############################################
  2. # config.yml of the AreaShop plugin          #
  3. # This plugin has been created by NLThijs48  #
  4. # Check the server minecraft.go-craft.com    #
  5. # and then the Survival server for a demo    #
  6. ##############################################
  7.  
  8. ########## GENERAL ##########
  9. ## Chatprefix used for all messages in the chat. Also check the 'greeting' lines in the 'flagProfiles' section,
  10. ## these also contain the prefix and you may want to change those to
  11. chatPrefix: '&3[Server]&r '
  12. ## The characters used for the prices of regions, will appear before the number, for the euro character use '%euro%'
  13. moneyCharacter: ''
  14. ## The characters used after a currency number, '%euro%' will become the euro character
  15. moneyCharacterAfter: ' Mønter'
  16. ## Enables / disables debug messages in the console, no need to change
  17. debug: false
  18. ## The .yml language file that should be used, provided by this plugin: EN, NL
  19. language: EN
  20. ## Enable Schematic saving and restoring in general
  21. enableSchematics: true
  22. ## Maximum number of blocks to save to or restore from a .schemetic
  23. maximumBlocks: 100000
  24. ## Maximum number of locations the teleport function should check to find a safe spot
  25. maximumTries: 5000
  26. ## Enable sending stats to http://mcstats.org/ (Metrics plugin)
  27. sendStats: false
  28. ## Use colors when sending messages to console and log files
  29. useColorsInConsole: false
  30. ## Post error messages in the console when a command run from the config fails (from the 'runCommands' section for example)
  31. postCommandErrors: true
  32. ## Version of the config, do not change!
  33. version: 2.0.0
  34. ## The different tags you can write on the sign to trigger the plugin
  35. signTags:
  36.  ## Tag for adding a rent region
  37.   rent: '[rent]'
  38.   ## Tag for adding a buy region
  39.   buy: '[buy]'
  40.   ## Tag for adding a sign to an existing region
  41.   add: '[as]'
  42. ## Configure the max total regions, max rent regions and max buy regions with different groups (-1 is unlimited)
  43. ## Assign a group to players by giving them the permission 'areashop.limits.<group>'
  44. ## Every player already has the group 'default' and ops have the unlimited group
  45. ## If a player has multiple groups the highest numbers are used
  46. limitGroups:
  47.   Admin:
  48.     total: 1
  49.     rents: 1
  50.     buys: 1
  51.   Moderator:
  52.     total: 1
  53.     rents: 1
  54.     buys: 1
  55.   Planner:
  56.     total: 1
  57.     rents: 1
  58.     buys: 1
  59.   Member:
  60.     total: 1
  61.     rents: 1
  62.     buys: 1
  63.   default:
  64.     total: 0
  65.     rents: 0
  66.     buys: 0
  67. ## Below are profiles for the signs, you can assign profiles to regions
  68. ## by setting 'general.signProfile' in default.yml, groups or individual regions
  69. signProfiles:
  70.   default:
  71.    ## Below is the format for each sign state, the following tags can be used for signs and commands:
  72.     ## %region%, %player%, %uuid%, %price%, %duration%, %world%, %type%, %until%, %untilshort%
  73.     ## The following sections can be added for performing certain commands when the sign is clicked:
  74.     ## rightClickPlayer, rightClickConsole, shiftRightClickPlayer, shiftRightClickConsole,
  75.     ## leftClickPlayer, leftClickConsole, shiftLeftClickPlayer, shiftLeftClickConsole
  76.     ## Sections with 'Player' at the end will be run by the clicking player and 'Console' ones from the console
  77.     forrent:
  78.       line1: '&a&l[Til leje]'
  79.       line2: '%region%'
  80.       line3: '%duration%'
  81.       line4: '%price%'
  82.       rightClickPlayer:
  83.        - 'as rent %region%'
  84.       leftClickPlayer:
  85.        - 'as info region %region%'
  86.     rented:
  87.       line1: '&4&l[Udlejet]'
  88.       line2: '%region%'
  89.       line3: '%player%'
  90.       line4: '%untilshort%'
  91.       rightClickPlayer:
  92.        - 'as rent %region%'
  93.       leftClickPlayer:
  94.        - 'as info region %region%'
  95.       shiftRightClickPlayer:
  96.        - 'as unrent %region%'
  97.     forsale:
  98.       line1: '&a&l[Til salg]'
  99.       line2: '%region%'
  100.       line3: '%price%'
  101.       line4:
  102.       rightClickPlayer:
  103.        - 'as buy %region%'
  104.       leftClickPlayer:
  105.        - 'as info region %region%'
  106.     sold:
  107.       line1: '&4&l[Solgt]'
  108.       line2: '%region%'
  109.       line3: '%player%'
  110.       line4:
  111.       rightClickPlayer:
  112.        - 'as buy %region%'
  113.       leftClickPlayer:
  114.        - 'as info region %region%'
  115.       shiftRightClickPlayer:
  116.        - 'as sell %region%'
  117. ## Option to run certain commands when one of these events happen
  118. ## Commands at a 'before' section will execute before the region details are changed in the AreaShop system
  119. ## and before any other actions occurred (changing signs, saving/loading schematics, etc.),
  120. ## the 'after' commands will be run when all changes are done.
  121. ## After 'before' or 'after' you can create a list of commands (see example at the created event)
  122. eventCommandProfiles:
  123.   default:
  124.     created:
  125.       before:
  126.       after:
  127.  ##    - "say An AreaShop region has been created: %region%"
  128.     deleted:
  129.       before:
  130.       after:
  131.     rented:
  132.       before:
  133.       after:
  134.      - "tell Sinuce AreaShop %region% rented by %player%"
  135.     extended:
  136.       before:
  137.       after:
  138.     unrented:
  139.       before:
  140.       after:
  141.      - "tell Sinuce %player% unrented %region%"
  142.     bought:
  143.       before:
  144.       after:
  145.     sold:
  146.       before:
  147.       after:
  148. ## For the following events you can specify if you want to restore or save the region to a schematic
  149. ## After 'save:' or 'restore:' you enter the name of the file, %region% will be replaced by the region name (.schematic will be added automatically)
  150. ## %type% represents the type of the region, could be 'rent' or 'buy'
  151. ## If your regions are all the same size you could use just 1 file as the restore file, just enter a name without %region%
  152. ## Be carefull with these options, it could crash your server or destroy (parts of) your world if used wrong!
  153. schematicProfiles:
  154.   default:
  155.     created:
  156.       save: '%type%-%region%'
  157.       restore: ''
  158.     deleted:
  159.       save: ''
  160.       restore: '%type%-%region%'
  161.     rented:
  162.       save: ''
  163.       restore: ''
  164.     unrented:
  165.       save: ''
  166.       restore: '%type%-%region%'
  167.     bought:
  168.       save: ''
  169.       restore: ''
  170.     sold:
  171.       save: ''
  172.       restore: '%type%-%region%'
  173. ## Flag profiles to specify what flags should be set on the WorldGuard regions
  174. ## All region flags can be used + members, owners, priority and parent.
  175. # flagProfiles:
  176.   # default:
  177.     # forrent:
  178.       # members: -%player%
  179.       # greeting: '&3[Server]&f %region% kan lejes for %price% / %duration%'
  180.     # rented:
  181.       # members: +%player%
  182.       # greeting: '&3[Server]&f %region% lejes af %player% indtil %until%'
  183.     # forsale:
  184.       # members: -%player%
  185.       # greeting: '&3[Server]&f %region% kan købes for %price%'
  186.     # sold:
  187.       # members: +%player%
  188.       # greeting: '&3[Server]&f %region% er købt af %player%'
  189.      
  190.      
  191. ########## RENTING ##########
  192. ## How much seconds between checking if renting has expired (don't put this to low)
  193. checkDelay: 60
  194. ## Timeformat to use on the signs, default is like '30-06 14:52', US format: 'MM-dd KK:mm a'
  195. ## Search for 'java SimpleDateFormat' for more options and documentation
  196. timeFormatSign: 'dd-MM HH:mm'
  197. ## Timeformat used in the chat, default is like '30 june 2014 14:52', US format: 'MMMMMMMMMMMMMMMMM dd yyyy KK:mm a'
  198. ## Search for 'java SimpleDateFormat' for more options and documentation
  199. timeFormatChat: 'dd MMMMMMMMMMMMMMMMM yyyy HH:mm'
  200. ## Time indicators, used for specifing rent duration on the signs
  201. ## Be careful with deleting words, will break signs using those, adding is no problem
  202. minutes: [m, min, mins, minute, minutes, minuten, minuut]
  203. hours: [h, hour, hours, uur, uren]
  204. days: [d, day, days, dag, dagen]
  205. months: [M,  month,  months, maanden, maand]
  206. years: [y, year, years, jaar, jaren]
Advertisement
Add Comment
Please, Sign In to add comment