-
Notifications
You must be signed in to change notification settings - Fork 46
Presets
ARM allows you to create, load and save presets, which allow you to preset all settings a region can have. If someone has a preset loaded and creates a region all settings from the preset will be applied to the region.
You can create presets for sellregions, rentregions and contractregions. Depending on which preset-type you've created you can change the following options:
- price
- extendTime
- maxExtendTime
- regionkind
- autoReset
- hotel
- doBlockReset
https://youtu.be/170OeKMEMYk https://youtu.be/Ei_R_Iy3Cng
Replace [PRESET] with sellpreset (for sellregions), rentpreset (for rentregions), contractpreset (for contractregions)
/arm [PRESET] list
Lists all saved presets that can be loaded
Permission(s):
arm.admin.preset.list
/arm [PRESET] save [NAME]
Saves your current preset to a config file in order to be able to load it later.
Permission(s):
arm.admin.preset.save
/arm [PRESET] update[NAME]
Saves the current preset and overwrites the preset under the given name.
Permission(s):
arm.admin.preset.update
/arm [PRESET] load [NAME]
Loads a specific preset
Permission(s):
arm.admin.preset.load
/arm [PRESET] flaggroup [FLAGGROUP]
Sets a flaggroup
Permission(s):
arm.admin.preset.flaggroup
/arm [PRESET] delete [NAME]
Deletes a specific preset
Permission(s):
arm.admin.preset.delete
/arm [PRESET] info
Shows all settings of your current preset
Permission(s):
arm.admin.preset.info
/arm [PRESET] reset
Unloads you current preset
Permission(s):
arm.admin.preset.reset
/arm [PRESET] help
Shows you a list with all commands from you preset type
Permission(s):
arm.admin.preset.help
/arm [PRESET] autorestore [true/false]
Enables or disables the region restore that is made if a region expires or gets released automatically
Permission(s):
arm.admin.preset.setautorestore
/arm [PRESET] autoprice
Sets an autoprice
Permission(s):
arm.admin.preset.setautoprice
/arm [PRESET] userrestorable [true/false]
Sets if the user is allowed to restore built blocks on his region
Permission(s):
arm.admin.preset.userrestorable
/arm [PRESET] allowedsubregions [AMOUNT]
Sets the amount of allowed subregions
Permission(s):
arm.admin.preset.allowedsubregions
/arm [PRESET] hotel [true/false]
Enables or disables the hotel function so only blocks placed by a player can be destroyed
Permission(s):
arm.admin.preset.sethotel
/arm [PRESET] autoreset [true/false]
Enables or disables autorestore
Permission(s):
arm.admin.preset.setautoreset
/arm [PRESET] regionkind
Will assign a regionkind to a preset
Permission(s):
arm.admin.preset.setregionkind
/arm [PRESET] maxextendtime [TIME] (only applicable on rentpresets)
Sets the maximum rent time (or rater maximum extend time) to a specific time.
[TIME] needs to be in the following syntax: A number followed by "d" for days, "h" for hours, "m" for minutes or "s" for seconds (Example 60d or 35h)
Permission(s):
arm.admin.preset.setmaxextendtime
/arm [PRESET] extendtime [TIME] (only applicable on rentpresets and contractpresets)
Sets the amount of time a region gets extended if it gets extended.
[TIME] needs to be in the following syntax: A number followed by "d" for days, "h" for hours, "m" for minutes or "s" for seconds (Example 60d or 35h)
Permission(s):
arm.admin.preset.setextendtime
arm [PRESET] price [PRICE]
Sets the price for a region/preset.
Permission(s):
arm.admin.preset.setprice
/arm [PRESET] addcommand [COMMAND]
Adds a command to the preset, that will be executed when you create a region You can also add variables to the command, that will be replaced when the command gets executed
Variables
- %regionid% -- The name of the WorldGuard region
- %dimensions% -- The dimensions of the region
- %regionkind% -- The internal regionkind name
- %regionkinddisplay% -- The displayname of the regionkind
- %world% -- The world of the region
- %price% -- The price of the region
- %extendtime% -- The extendtime of the region (rentregion)
- %maxextendtime% -- The maximum extendtime of the region
Example: /arm sellpreset addcommand say %regionid% has been created
Permission(s):
arm.admin.preset.addcommand
/arm [PRESET] removecommand [ID]
Removes a command from a preset
[ID] The ID of the command. You can find the ID with /arm [PRESET] info
Permission(s):
arm.admin.preset.removecommand
- Home
- AdvancedRegionMarket API - Guide for plugin developers.
- Video tutorials - Watch and learn with Major Graft.
- Create a region
- Region settings
- Presets - Define region settings before creating a region.
- Autoprices - Calculate the price of a region automatically.
- Regionkinds - Regionkinds and RegionkindGroups can be assigned to your regions to group them together and bring them into a context.
- Limits - Limit the number of regions a player can buy.
- Inactivity reset & Takeover - Automatically reset a region because of inactivity or let members of regions with inactive owners become the new owner.
- FlagGroups - Assign certain flags to a region depending on its state.
- Entitylimits - Limit the type and number of entities a player is allowed to have on a region.
- Commands and permissions - Look up syntax, descriptions and permissions.
- Placeholders & messages
- Discord - Get involved with other AdvancedRegionMarket Admins, Plugin Developers, Testers. Support, General Discussion welcome.
- Sponsor - Sponsor the development of AdvancedRegionMarket