Configuration
Configuration
config.yml
Default configuration
# Please change these options via the in-game command /rm config. # If you edit this file directly, your changes might be lost. # # For a description of the single configuration options, please refer to the following website: # http://dev.bukkit.org/bukkit-plugins/regionmanager/pages/configuration/ version: 1.4.1 debug: false notify for new versions: false buying: base price: 160.0 rising: price is rising: false percentage: 0.1 marking: mark: true block ID: 50 selling: percentage: 1.0 marking: mark: true block ID: 76 creation: create regions automatically: false default flags: - chest-access:allow - use:deny blacklist: use: false use as whitelist: false world blacklist: - world auto-dispossessing: enabled: false offline-time needed to be dispossessed: 1m check frequency: 1min ask players for permission to save their last online time: true use world blacklist: false world blacklist: - world misc: flags for /rm lock: - entry:deny
Description
Configuration option | Description |
---|---|
version | The plugin's current version. DO NOT CHANGE! |
debug | Whether or not the extended output is enabled. |
notify for new versions | Set this to true if you want to get notifications for updates. |
buying | |
buying.base price | The price for a newly defined region. |
buying.rising | |
buying.rising.price is rising | Set this to true if you want players to pay more for a region if they own more. |
buying.rising.percentage | The percentage of the price that will be added to a region's price. Only enabled if buying.rising.price is rising is set to true. (1 = 100%, 0.1 = 10%) The formula for a region's price with buying.rising.price is rising enabled is spaces <region's price>*((1+<percentage>)^<number of regions owned>) |
buying.marking | |
buying.marking.mark | Enables/disables marking of bought regions. |
buying.marking.block ID | The ID of the block that will be placed to show a region was bought. |
selling | |
selling.percentage | The percentage of a region's price the former owner will get. (1 = 100%, 0.1 = 10%) |
selling.marking | |
selling.marking.mark | Enables/disables marking of sold regions. |
selling.marking.block ID | The ID of the block that will be placed to show a region is for sale. |
creation | |
creation.create regions automatically | Enables/Disables automatic region creation. A new region is created when an user accesses a chunk without a region. |
creation.default flags | The flags to set on each region that is created. |
creation.blacklist | |
creation.blacklist.use | Enables/Disables the world blacklist. |
creation.blacklist.use as whitelist | Determines whether the blacklist should be used as a whitelist or not. |
creation.blacklist.world blacklist | If this list is used as a blacklist, you can't create new regions on worlds contained in this list. If it's used as a whitelist, you can ONLY create new regions on these worlds. |
auto-dispossessing | |
auto-dispossessing.enabled | Enables/Disables automatic dispossessing. |
auto-dispossessing.offline-time needed to be dispossessed | The offline-time which is needed to be dispossessed. The time can be specified by using a number and appending the time unit. The allowed time units are "y" (years), "m" (months), "d" (days), "h" (hours), "min" (minutes) and "sec" (seconds). You may also use more than one time specification so that you can determine time durations of for example 1 year, 2 months and 14 days. That should be put into the config as "1y 2m 14d". |
auto-dispossessing.check frequency | Determines how long to wait for the next check. The time specifications have the same syntax as auto-dispossessing.offline-time needed to be dispossessed. |
auto-dispossessing.ask players for permission to save their last online time | If this is set to true and auto-dispossessing is enabled, RegionManager will ask players for permission before saving personal data (currently last logout). Please note that players who don't agree with saving their personal data will be kicked from the server. If this option is set to false, RegionManager will save every player's data without asking for permission. |
auto-dispossessing.use world blacklist | Enables/Disables blacklisted worlds. If this is set to true, every world specified at the option auto-dispossessing.world blacklist will be ignored in checks for dispossessing purposes. |
auto-dispossessing.world blacklist | If blacklisted worlds are enabled, all worlds here will be ignored in checks for dispossessing purposes. |
misc | |
misc.flags for /rm lock | The flags to set on a region which is locked by /rm lock. |
messages.yml
Default configuration
# Please refer to the plugin's wiki page on messages. # http://dev.bukkit.org/bukkit-plugins/regionmanager/configuration/ colors: broadcast: '3' player: e command: f parameter: '6' description: '7' error: c message prefix: §7[§3RegionManager§7]§r errors: too many arguments: '&error&Too many arguments. %command%' too few arguments: '&error&Too few arguments %command%' regions: region name format: '&error&Wrong region format. Expected format: %regionformat%' can't afford region: '&error&You can''t afford ¶meter&%region%&error&. You need ¶meter&%price%&error& to buy it.' region not found: '&error&The region ''%region%'' was not found.' region not owned: '&error&You don''t own %region%.' region already excluded: '&error&The region ''%region%'' is already excluded.' region not excluded: '&error&The region ''%region%'' is not excluded.' region already locked: '&error&The region ''%region%'' is already locked.' region not locked: '&error&The region ''%region%'' is not locked.' region not for sale: '&error&The region ''%region% is not for sale.' invalid member type: '&error&The member type ''%membertype%'' is not allowed. Allowed types: %membertypes%' negative sell price specified: '&error&You can''t sell a region for %price%.' worlds: world is on blacklist: '&error&You can''t define regions on the world ''%world%''' world not found: '&error&The world ''%world%'' could not be found.' permissions: insufficient permissions: '&error&You don''t have the permission ¶meter&%permission%&error& set. If you believe this is an error, please contact an administrator.' insufficient permissions (without needed permission): '&error&You don''t have sufficient permissions to perform this command. If you believe this is an error, please contact an administrator.' configuration: invalid configuration option: "&error&The configuration option '%option%' was\ \ not recognized. Allowed configuration options: \n%options%" could not set configuration option: '&error&The configuration option ''%option%'' could not be set to ''%value%''. Reason: %reason%' server: no economy plugin: '&error&No economy plugin was found. If you believe this is an error, please contact an administrator.' could not convert to number: '&error&The value you entered could not be converted into a number. Reason: %reason%' version check not possible: '&error&Could not check for the remote RegionManager version.' command descriptions: /rm: '&description&shows information about RegionManager' /rm info: '&description&shows information about a region' /rm help: '&description&shows descriptions of all RegionManager commands' /rm buy: '&description&buys a region' /rm sell: '&description&sells a region' /rm add: '&description&adds a member or owner to a region' /rm remove: '&description&removes a member or owner from a region' /rm flag: '&description&sets a flag' /rm list: '&description&lists the regions a player owns' /rm lock: '&description&locks a region' /rm unlock: '&description&unlocks a region' /rm generate: '&description&defines new regions' /rm exclude: '&description&prohibits buying a region' /rm include: '&description&allows buying a region' /rm clear: '&description&removes all %membertypes% and flags from a region and sets the price to the default value' /rm save: '&description&saves all files used by RegionManager' /rm reload: '&description&reloads all files used by RegionManager' /rm config: '&description&displays or edits RegionManager''s configuration' notifications: up to date: '%prefix% &player&RegionManager is up to date.' other version found: '%prefix% &player&Another version of RegionManager has been released. Current version: %currentversion%; Remote version: %remoteversion%' version update successful: '&player&The update was successful. Please reload/restart the server to apply the update.' regions: member added: '%prefix% &player&The player ''%player%'' has been added to the region ''%region%'' as a %membertype%.' member added (for target): '%prefix% &player&You have been added to the region ''%region%'' as a %membertype%.' member removed: '%prefix% &player&The player ''%player%'' has been removed from the region ''%region%''.' member removed (for target): '%prefix% &player&You have been removed from the region ''%region%''.' excluded: '%prefix% &player&The region ''%region%'' has been excluded.' included: '%prefix% &player&The region ''%region%'' has been included.' cleared: '%prefix% &player&The region ''%region%'' has been cleared.' cleared (for target region's owners): '%prefix% &player&Your region ''%region%'' was cleared by %player%' flag set: '%prefix% &player&Flag was set.' flag reset: '%prefix% &player&Flag was reset.' locked: '%prefix% &player&The region ''%region%'' has been locked.' unlocked: '%prefix% &player&The region ''%region%'' has been unlocked.' bought: '%prefix% &player&You bought the region ''%region%'' for %price% from %player%. You now have %money% left.' bought (for seller): '%prefix% &player&Your region ''%region%'' was bought by %player% for %price%.' rebought: '%prefix% &player&Your region ''%region%'' is not for sale anymore.' sold: '%prefix% &player&Your region ''%region%'' is now for sale.' configuration: option's value: '%prefix% &player&The configuration option ''%option%'' has the value ''%value%''.' option set: '%prefix% &player&The configuration option ''%option%'' was set to ''%value%''' dispossessing: asking for permission to save personal data on log-in: '%prefix% &player&Do you allow RegionManager to save personal data (such as last login time and playername)? Write ''%agree%'' to allow, ''%disagree%'' to not allow saving personal data. NOTE: You will be kicked from the server if you don''t allow saving data.' permission was given by player: '%prefix% &player&Thank you.' broadcasts: region excluded: '%prefix% &broadcast&The region ''%region%'' was excluded from sale by %player%.' region for sale: '%prefix% &broadcast&The region ''%region%'' is now for sale.' region bought: '%prefix% &broadcast&The region ''%region%'' was bought by %player%.' region rebought: '%prefix% &broadcast&The region ''%region%'' is not for sale anymore.' parameters: region member: member region owner: owner server: the server agree: 'yes' disagree: 'no'
Description
WIP
Configuration option | Description |
---|---|
colors | See also: Color Guide. All values specified here (e.g. 'a') will be cast to a color code (here: &a) |
colors.broadcast | The color code which should be used for the parameter &broadcast&. |
colors.player | The color code which is used by &player&. |
colors.command | The color code which will be used instead of &command& |
Comments