2014-03-21 18:13:24 +01:00
|
|
|
##############################################
|
|
|
|
# config.yml of the AreaShop plugin #
|
|
|
|
# This plugin has been created by NLThijs48 #
|
|
|
|
# Check the server minecraft.go-craft.com #
|
2014-06-29 16:35:49 +02:00
|
|
|
# and then the Survival server for a demo #
|
2014-03-21 18:13:24 +01:00
|
|
|
##############################################
|
|
|
|
|
2014-11-13 23:06:00 +01:00
|
|
|
# ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
|
|
# │ GENERAL: Options that influence the global state of the plugin │
|
|
|
|
# └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
2014-09-24 21:40:23 +02:00
|
|
|
## Chatprefix used for all messages in the chat. Also check the 'greeting' lines in the 'flagProfiles' section,
|
|
|
|
## these also contain the prefix and you may want to change those to
|
2014-03-21 18:13:24 +01:00
|
|
|
chatPrefix: '&2[AreaShop]&r '
|
2014-04-14 21:35:12 +02:00
|
|
|
## The characters used for the prices of regions, will appear before the number, for the euro character use '%euro%'
|
2014-03-21 18:13:24 +01:00
|
|
|
moneyCharacter: '$'
|
2014-04-14 21:35:12 +02:00
|
|
|
## The characters used after a currency number, '%euro%' will become the euro character
|
|
|
|
moneyCharacterAfter: ''
|
2014-11-13 23:06:00 +01:00
|
|
|
## How many numbers behind the dot should be shown (2 will make numbers like '8.55', '9.01')
|
|
|
|
fractionalNumbers: 2
|
|
|
|
## Set this to true if you want to hide '.0' for a number like '15.0' ('4.50' will still stay '4.50')
|
|
|
|
hideEmptyFractionalPart: true
|
2014-03-21 18:13:24 +01:00
|
|
|
## The .yml language file that should be used, provided by this plugin: EN, NL
|
|
|
|
language: EN
|
2014-04-10 22:34:51 +02:00
|
|
|
## Enable Schematic saving and restoring in general
|
|
|
|
enableSchematics: true
|
2014-11-13 23:06:00 +01:00
|
|
|
## The tags you need to write on the sign to trigger the plugin
|
2014-08-28 11:45:36 +02:00
|
|
|
signTags:
|
|
|
|
## Tag for adding a rent region
|
|
|
|
rent: '[rent]'
|
|
|
|
## Tag for adding a buy region
|
|
|
|
buy: '[buy]'
|
|
|
|
## Tag for adding a sign to an existing region
|
|
|
|
add: '[as]'
|
2014-11-13 23:06:00 +01:00
|
|
|
## Enable sending stats to http://mcstats.org/ (Metrics plugin)
|
|
|
|
sendStats: true
|
|
|
|
## Use colors when sending messages to console and log files
|
|
|
|
useColorsInConsole: false
|
|
|
|
## Post error messages in the console when a command run from the config fails (from the 'runCommands' section for example)
|
|
|
|
postCommandErrors: true
|
2014-11-16 22:41:41 +01:00
|
|
|
## Enables / disables debug messages in the console, could be useful to figure out where errors come from
|
2014-11-13 23:06:00 +01:00
|
|
|
debug: false
|
|
|
|
## Version of the config, do not change!
|
2014-11-16 22:41:41 +01:00
|
|
|
version: 2.1.0
|
2014-11-13 23:06:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
# ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
|
|
# │ RENTING: Options that apply to all rent regions │
|
|
|
|
# └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
|
|
## Timeformat to use on the signs, default is like '30-06 14:52', US format: 'MM-dd KK:mm a'
|
|
|
|
## Search for 'java SimpleDateFormat' for more options and documentation
|
|
|
|
timeFormatSign: 'dd-MM HH:mm'
|
|
|
|
## Timeformat used in the chat, default is like '30 june 2014 14:52', US format: 'MMMMMMMMMMMMMMMMM dd yyyy KK:mm a'
|
|
|
|
## Search for 'java SimpleDateFormat' for more options and documentation
|
|
|
|
timeFormatChat: 'dd MMMMMMMMMMMMMMMMM yyyy HH:mm'
|
|
|
|
## Time indicators, used for specifing rent duration on the signs
|
|
|
|
## Be careful with deleting words, will break signs using those, adding is no problem
|
|
|
|
minutes: [m, min, mins, minute, minutes, minuten, minuut]
|
|
|
|
hours: [h, hour, hours, uur, uren]
|
|
|
|
days: [d, day, days, dag, dagen]
|
|
|
|
months: [M, month, months, maanden, maand]
|
|
|
|
years: [y, year, years, jaar, jaren]
|
|
|
|
|
|
|
|
|
|
|
|
# ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
|
|
# │ PERMISSION GROUPS: Assigned by giving players certain permissions │
|
|
|
|
# └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
2014-08-28 11:45:36 +02:00
|
|
|
## Configure the max total regions, max rent regions and max buy regions with different groups (-1 is unlimited)
|
|
|
|
## Assign a group to players by giving them the permission 'areashop.limits.<group>'
|
|
|
|
## Every player already has the group 'default' and ops have the unlimited group
|
2014-11-13 23:06:00 +01:00
|
|
|
## All the groups applied to the player will be checked and only if they all allow an extra region it will be permitted
|
|
|
|
## Add a 'worlds' or 'groups' list to a group to only count regions from those worlds and/or groups .
|
|
|
|
## This can be used to get different limits for other worlds or area's.
|
|
|
|
## Give players permissions globally and not per world! That would break limits when then try renting/buying from within another world
|
2014-08-28 11:45:36 +02:00
|
|
|
limitGroups:
|
|
|
|
default:
|
|
|
|
total: 1
|
|
|
|
rents: 1
|
|
|
|
buys: 1
|
2014-11-13 23:06:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
# ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
|
|
# │ PROFILES: Assigned in general (default.yml), for a group (groups.yml) or individually (<region>.yml) │
|
|
|
|
# └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
|
|
## Below is a list of default tags that can be used with all the profiles below.
|
|
|
|
## 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
|
|
|
|
## %region% The region name (with correct capitalization)
|
|
|
|
## %player% The name of the player that rents/buys the region (with correct capitalization), will not get replaced if no renter/buyer
|
|
|
|
## %uuid% The uuid of the player that rents/buys the region, will not get replaced if no renter/buyer
|
|
|
|
## %price% The price of the region formatted with the configured characters before and after the number
|
|
|
|
## %duration% The duration of a rent region, for example '1 d', '4 minutes' or '2 years'
|
|
|
|
## %world% The name of the world that the region is in
|
|
|
|
## %type% The type of the region, 'rent' or 'buy'
|
|
|
|
## %until% The end time of a rent formatted as configured with 'timeFormatChat'
|
|
|
|
## %untilshort% The end time of a rent formatted as configured with 'timeFormatSign'
|
|
|
|
## %width% The width of the region (amount of blocks on the x-axis)
|
|
|
|
## %depth% The depth of the region (amount of blocks on the z-axis)
|
|
|
|
## %height% The height of the region (amount of blocks on the y-axis)
|
|
|
|
## %timeleft% The time left on the rent (uses the unit of time that fits best, minutes used from 121 seconds till 120 minutes)
|
2014-11-24 12:58:31 +01:00
|
|
|
## %clicker% The name of the player that clicked the sign (only to be used in the signProfiles section)
|
2014-11-13 23:06:00 +01:00
|
|
|
|
2014-08-28 11:45:36 +02:00
|
|
|
## Below are profiles for the signs, you can assign profiles to regions
|
|
|
|
## by setting 'general.signProfile' in default.yml, groups or individual regions
|
|
|
|
signProfiles:
|
|
|
|
default:
|
|
|
|
## The following sections can be added for performing certain commands when the sign is clicked:
|
|
|
|
## rightClickPlayer, rightClickConsole, shiftRightClickPlayer, shiftRightClickConsole,
|
|
|
|
## leftClickPlayer, leftClickConsole, shiftLeftClickPlayer, shiftLeftClickConsole
|
|
|
|
## Sections with 'Player' at the end will be run by the clicking player and 'Console' ones from the console
|
|
|
|
forrent:
|
|
|
|
line1: '&2&l[For Rent]'
|
|
|
|
line2: '%region%'
|
|
|
|
line3: '%duration%'
|
|
|
|
line4: '%price%'
|
|
|
|
rightClickPlayer:
|
2014-11-13 23:06:00 +01:00
|
|
|
- 'areashop rent %region%'
|
2014-08-28 11:45:36 +02:00
|
|
|
leftClickPlayer:
|
2014-11-13 23:06:00 +01:00
|
|
|
- 'areashop info region %region%'
|
2014-08-28 11:45:36 +02:00
|
|
|
rented:
|
|
|
|
line1: '&4&l[Rented]'
|
|
|
|
line2: '%region%'
|
|
|
|
line3: '%player%'
|
|
|
|
line4: '%untilshort%'
|
|
|
|
rightClickPlayer:
|
2014-11-13 23:06:00 +01:00
|
|
|
- 'areashop rent %region%'
|
2014-08-28 11:45:36 +02:00
|
|
|
leftClickPlayer:
|
2014-11-13 23:06:00 +01:00
|
|
|
- 'areashop info region %region%'
|
2014-08-28 11:45:36 +02:00
|
|
|
shiftRightClickPlayer:
|
2014-11-13 23:06:00 +01:00
|
|
|
- 'areashop unrent %region%'
|
2014-08-28 11:45:36 +02:00
|
|
|
forsale:
|
|
|
|
line1: '&2&l[For Sale]'
|
|
|
|
line2: '%region%'
|
|
|
|
line3: '%price%'
|
|
|
|
line4:
|
|
|
|
rightClickPlayer:
|
2014-11-13 23:06:00 +01:00
|
|
|
- 'areashop buy %region%'
|
2014-08-28 11:45:36 +02:00
|
|
|
leftClickPlayer:
|
2014-11-13 23:06:00 +01:00
|
|
|
- 'areashop info region %region%'
|
2014-08-28 11:45:36 +02:00
|
|
|
sold:
|
|
|
|
line1: '&4&l[Sold]'
|
|
|
|
line2: '%region%'
|
|
|
|
line3: '%player%'
|
|
|
|
line4:
|
|
|
|
rightClickPlayer:
|
2014-11-13 23:06:00 +01:00
|
|
|
- 'areashop buy %region%'
|
2014-08-28 11:45:36 +02:00
|
|
|
leftClickPlayer:
|
2014-11-13 23:06:00 +01:00
|
|
|
- 'areashop info region %region%'
|
2014-08-28 11:45:36 +02:00
|
|
|
shiftRightClickPlayer:
|
2014-11-13 23:06:00 +01:00
|
|
|
- 'areashop sell %region%'
|
2014-08-28 11:45:36 +02:00
|
|
|
## Option to run certain commands when one of these events happen
|
|
|
|
## Commands at a 'before' section will execute before the region details are changed in the AreaShop system
|
|
|
|
## and before any other actions occurred (changing signs, saving/loading schematics, etc.),
|
|
|
|
## the 'after' commands will be run when all changes are done.
|
|
|
|
## After 'before' or 'after' you can create a list of commands (see example at the created event)
|
|
|
|
eventCommandProfiles:
|
2014-04-10 22:34:51 +02:00
|
|
|
default:
|
|
|
|
created:
|
2014-08-28 11:45:36 +02:00
|
|
|
before:
|
|
|
|
after:
|
2014-11-13 23:06:00 +01:00
|
|
|
## - "say An AreaShop region has been created: %region%"
|
2014-04-10 22:34:51 +02:00
|
|
|
deleted:
|
2014-08-28 11:45:36 +02:00
|
|
|
before:
|
|
|
|
after:
|
2014-04-10 22:34:51 +02:00
|
|
|
rented:
|
2014-08-28 11:45:36 +02:00
|
|
|
before:
|
|
|
|
after:
|
|
|
|
extended:
|
|
|
|
before:
|
|
|
|
after:
|
2014-04-10 22:34:51 +02:00
|
|
|
unrented:
|
2014-08-28 11:45:36 +02:00
|
|
|
before:
|
|
|
|
after:
|
|
|
|
bought:
|
|
|
|
before:
|
|
|
|
after:
|
|
|
|
sold:
|
|
|
|
before:
|
|
|
|
after:
|
2014-04-10 22:34:51 +02:00
|
|
|
## For the following events you can specify if you want to restore or save the region to a schematic
|
2014-11-13 23:06:00 +01:00
|
|
|
## After 'save:' or 'restore:' you enter the name of the file to restore from/to
|
|
|
|
## If you want your regions all looking the same then you can leave out the %region% part to use the same schematic for all
|
2014-04-10 22:34:51 +02:00
|
|
|
## Be carefull with these options, it could crash your server or destroy (parts of) your world if used wrong!
|
2014-11-13 23:06:00 +01:00
|
|
|
## The limit 'maximumBlocks' applies to restoring/saving schematics, be sure your regions are below the limit
|
2014-08-28 11:45:36 +02:00
|
|
|
schematicProfiles:
|
2014-04-10 22:34:51 +02:00
|
|
|
default:
|
|
|
|
created:
|
2014-08-28 11:45:36 +02:00
|
|
|
save: '%type%-%region%'
|
2014-04-10 22:34:51 +02:00
|
|
|
restore: ''
|
|
|
|
deleted:
|
|
|
|
save: ''
|
2014-08-28 11:45:36 +02:00
|
|
|
restore: '%type%-%region%'
|
|
|
|
rented:
|
|
|
|
save: ''
|
|
|
|
restore: ''
|
|
|
|
unrented:
|
|
|
|
save: ''
|
|
|
|
restore: '%type%-%region%'
|
2014-04-10 22:34:51 +02:00
|
|
|
bought:
|
|
|
|
save: ''
|
|
|
|
restore: ''
|
|
|
|
sold:
|
|
|
|
save: ''
|
2014-08-28 11:45:36 +02:00
|
|
|
restore: '%type%-%region%'
|
|
|
|
## Flag profiles to specify what flags should be set on the WorldGuard regions
|
2014-11-13 23:06:00 +01:00
|
|
|
## All normal region flags as present in WorldGuard can be used, and also members, owners, priority and parent
|
|
|
|
## Use 'clear' for members or owners to remove all players. Use '' for a normal flag to reset it.
|
2014-08-28 11:45:36 +02:00
|
|
|
flagProfiles:
|
|
|
|
default:
|
|
|
|
forrent:
|
|
|
|
members: -%player%
|
2014-11-13 23:06:00 +01:00
|
|
|
greeting: '%lang:prefix%%lang:greeting-forrent%'
|
2014-08-28 11:45:36 +02:00
|
|
|
rented:
|
|
|
|
members: +%player%
|
2014-11-14 20:13:47 +01:00
|
|
|
greeting: '%lang:prefix%%lang:greeting-rented%'
|
2014-08-28 11:45:36 +02:00
|
|
|
forsale:
|
|
|
|
members: -%player%
|
2014-11-14 20:13:47 +01:00
|
|
|
greeting: '%lang:prefix%%lang:greeting-forsale%'
|
2014-08-28 11:45:36 +02:00
|
|
|
sold:
|
|
|
|
members: +%player%
|
2014-11-14 20:13:47 +01:00
|
|
|
greeting: '%lang:prefix%%lang:greeting-bought%'
|
2014-11-16 22:41:41 +01:00
|
|
|
## Profiles that specify when players should get messages about rent that almost run out
|
|
|
|
## The numbers that start sections in the profile specify how time before it actually runs out it should be executed
|
|
|
|
## When warnPlayer is set to true a message will be send that is specified in the language file
|
|
|
|
## All commands in the list below 'commands:' will execute together with the warning, all normal variables can be used
|
|
|
|
expirationWarningProfiles:
|
|
|
|
default:
|
|
|
|
"1 day":
|
|
|
|
warnPlayer: true
|
|
|
|
commands:
|
|
|
|
## - "say %region% is about to expire for %player%: %timeleft% left"
|
|
|
|
"1 hour":
|
|
|
|
warnPlayer: true
|
|
|
|
commands:
|
|
|
|
"5 minutes":
|
|
|
|
warnPlayer: true
|
|
|
|
commands:
|
|
|
|
|
2014-11-13 23:06:00 +01:00
|
|
|
|
|
|
|
# ┌────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
|
|
# │ LIMITS AND TIMINGS: Options for limits and the frequencies for certain functions (be very carefull with these!) │
|
|
|
|
# └────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
|
|
## Setting the 'delay' setting to 0 or lower will prevent the taks from runnning, if you don't use a certain feature you
|
|
|
|
## could switch the task off this way.
|
|
|
|
|
|
|
|
## Maximum number of blocks to save to or restore from a .schemetic
|
|
|
|
maximumBlocks: 1000000
|
|
|
|
## Maximum number of locations the teleport function should check to find a safe spot
|
|
|
|
maximumTries: 50000
|
|
|
|
## Timings for saving files that need saving
|
|
|
|
saving:
|
|
|
|
## Time between saving files that need to be saved (not all files will be saved by default)
|
|
|
|
delay: 10
|
|
|
|
## How many regions per tick will be saved
|
|
|
|
regionsPerTick: 1
|
|
|
|
## Timings for rent expiration checking
|
|
|
|
expiration:
|
|
|
|
## Time between checking if rent regions have been expired (seconds)
|
2014-11-16 22:41:41 +01:00
|
|
|
delay: 59
|
2014-11-13 23:06:00 +01:00
|
|
|
## Number of rent regions to check per tick (there are 20 ticks in a second)
|
|
|
|
regionsPerTick: 5
|
2014-11-16 22:41:41 +01:00
|
|
|
## Timings for expiration warning to online players
|
|
|
|
expireWarning:
|
|
|
|
## The time between checking if expiration warning need to be sent
|
|
|
|
delay: 5
|
|
|
|
## Number of regions to update per tick (there are 20 ticks in a second)
|
|
|
|
regionsPerTick: 1
|
2014-11-13 23:06:00 +01:00
|
|
|
## Timings for updating signs and region flags (/as updaterents or /as updatebuys)
|
|
|
|
update:
|
|
|
|
## Number of regions to update per tick (there are 20 ticks in a second)
|
|
|
|
regionsPerTick: 2
|
|
|
|
## Time between checking if any regions need to be unrented because the player was not online for the specified time period (minutes)
|
|
|
|
## -1 means never, 1440 is one day, 43200 is one month, 525600 is one year
|
|
|
|
inactive:
|
|
|
|
## Time between checking if a regions needs to be unrented/sold because of inactivity by the player (minutes)
|
|
|
|
delay: 15
|
|
|
|
## Number of rent regions to check per tick (there are 20 ticks in a second)
|
|
|
|
regionsPerTick: 5
|
|
|
|
## Timings for the periodic updating of signs (for timeleft tags etc)
|
|
|
|
signs:
|
|
|
|
## Time between updates of all signs (seconds)
|
|
|
|
delay: 60
|
|
|
|
## Number of regions to update signs for per tick (there are 20 ticks in a second)
|
|
|
|
regionsPerTick: 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-08-28 11:45:36 +02:00
|
|
|
|
|
|
|
|