Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.
JimiIT92 edited this page Jun 17, 2018 · 8 revisions

Configuration file is used to set some values used by UniverseGuard to work. The first time you run a server with UniverseGuard, this file will be created in the config folder and will be called universeguard.conf. It will be automatically filled with some default values that you can change whenever you want. Rember to restart your server if you do this, otherwise you won't see changes in-game.


CONFIGURATION NODES

There are several configuration nodes in the config file, used to set the UniverseGuard default values. These config nodes are:

  • flags

Sets the default values for all simple flags. These values will be used when you create a Region but you don't specify a value for a flag, or the first time a Global Region is created.

  • interacts

Sets the default values for all interact flags. These values will be used when you create a Region but you don't specify a value for a flag, or the first time a Global Region is created.

  • explosiondamage

Sets the default values for all explosion damage flags. These values will be used when you create a Region but you don't specify a value for a flag, or the first time a Global Region is created.

  • explosiondestroy

Sets the default values for all explosion destroy flags. These values will be used when you create a Region but you don't specify a value for a flag, or the first time a Global Region is created.

  • vehicledestroy

Sets the default values for all vehicle destroy flags. These values will be used when you create a Region but you don't specify a value for a flag, or the first time a Global Region is created.

  • vehicleplace

Sets the default values for all vehicle place flags. These values will be used when you create a Region but you don't specify a value for a flag, or the first time a Global Region is created.

  • texts

Sets the UniverseGuard messages sent to the game. It contains all the texts the plugin sends to the player when he does an action. You can change these to whatever you want or translate them in your language if you prefer

  • permissions

Sets the default permissions used by UniverseGuard. These permissions are:

  1. all: every player with this permission will have unlimited access to the UniverseGuard's functionalities
  2. region: every player with this permission will be able to bypass Region restrictions, but some commands and features are restricted to him.
  • players

Sets the default values used to handle some player properties. These values are:

  1. unique_regions: if this is set to true a player can be a member of only one Region. If it's set to false a player can be a member of many Regions
  2. limit_player_regions: if this is set to true a player can be a member of a maximum number of Regions. If it's set to false a player ca be a member of any Region. This only works if unique_regions is set to false. THIS OPTION IS AVAILABLE ONLY IN 1.12.2 VERSION!
  3. max_regions: The maximum number of Regions a player can be member if limit_player_regions is set to true. THIS OPTION IS AVAILABLE ONLY IN 1.12.2 VERSION!

max_regions

THIS SECTION AND THESE OPTIONS ARE AVAILABLE ONLY IN 1.12.2 VERSION!

  1. "*": specify the maximum number of Regions for players with the "*" permission
  2. region: specify the maximum number of Regions for players with the UniverseGuard's Region permission
  3. all: specify the maximum number of Regions for players with the UniverseGuard's ALL permission
  • regions

  1. use_effects: if this is set to true, Regions can apply potion effects to players. THIS OPTION IS AVAILABLE ONLY IN 1.12.2 VERSION!
  2. limit_region_size: if this is set to true, Regions can have a maximum size from one point to another. THIS OPTION IS AVAILABLE ONLY IN 1.12.2 VERSION!
  3. max_region_size: sets the maximum size of a Region if limit_region_size is set to true. THIS OPTION IS AVAILABLE ONLY IN 1.12.2 VERSION!
  • selector

Sets values used to create the Region Selector

  1. item: set the item used as the Region Selector
  • timers

Sets the default values to handle timer flags like hunger. These values are:

  1. gamemode: sets after how many seconds the game will check for the current gamemode of a player and decide if it must be changed or not
  2. hunger: set after ho many seconds the game will check for the current hunger value of a player and decide if it must be restored or not
  3. enter_flag: set after how many milliseconds the game will check if a player can enter a Region and decide to allow him or not
  4. effect: set after how many milliseconds the game will check if a Region effect must be applied to a player. This only works if use_effects is set to true. THIS OPTION IS AVAILABLE ONLY IN 1.12.2 VERSION!
Clone this wiki locally