|
| 1 | + |
| 2 | +-- This is an example configuration file. It uses Lua syntax to describe individual galleries and other settings |
| 3 | +-- This file will be copied over to $/Server/Galleries.example.cfg to give the server admins a skeleton to work on |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | +Galleries = |
| 10 | +{ |
| 11 | + { |
| 12 | + -- Name of the gallery, as used in the commands |
| 13 | + Name = "first"; |
| 14 | + |
| 15 | + -- Name of the world for which the gallery is defined. |
| 16 | + WorldName = "world"; |
| 17 | + |
| 18 | + -- Dimensions of the gallery |
| 19 | + MinX = 100; |
| 20 | + MinZ = 100; |
| 21 | + MaxX = 200; |
| 22 | + MaxZ = 10000; |
| 23 | + |
| 24 | + -- The areas don't have a template, use the current world's contents instead: |
| 25 | + AreaSizeX = 16, |
| 26 | + AreaSizeZ = 16, |
| 27 | + |
| 28 | + -- Edge of each area that is "public", i. e. non-buildable even by area's owner. |
| 29 | + -- This is so that the AreaTemplate may include e. g. sidewalks that will be preserved |
| 30 | + -- Setting this to N means that N blocks from each area's edge are protected, i. e. sidewalk of width 2 * N |
| 31 | + AreaEdge = 2; |
| 32 | + |
| 33 | + -- Strategy used for allocating the areas in the gallery. |
| 34 | + -- Represents the direction and the order in which areas are allocated out of the gallery |
| 35 | + -- "x+z+" means first increment X, then (when MaxX is reached) increment z and start over with x from MinX. |
| 36 | + -- Other possible values: "x-z+", "x+z-", "x-z-", "z+x+", "z+x-", "z-x+", "z-x-". |
| 37 | + FillStrategy = "x+z+"; |
| 38 | + |
| 39 | + -- The biome to use for the gallery areas |
| 40 | + -- Only used when AreaTemplate is valid. |
| 41 | + -- If not set, no biome is forced (the world generator provides the default biome) |
| 42 | + Biome = "Jungle"; |
| 43 | + }; |
| 44 | +}; |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | +Config = |
| 51 | +{ |
| 52 | + -- The prefix, under which all the plugin's commands are registered. |
| 53 | + -- All commands use this prefix, space, and an additional verb, like "list" or "claim" |
| 54 | + -- CommandPrefix = "/gal"; |
| 55 | +
|
| 56 | + -- Allow building outside galleries for regular users |
| 57 | + -- When set to false, only users with the "gallery.admin.buildoutside" permission can build outside the galleries |
| 58 | + AllowBuildOutsideGalleries = false; |
| 59 | +
|
| 60 | + -- WorldEdit usage outside the galleries |
| 61 | + -- When set to false, only players with the "gallery.admin.worldeditoutside" permission can use WE outside the galleries |
| 62 | + AllowWEOutsideGalleries = false; |
| 63 | +}; |
| 64 | +
|
| 65 | +
|
| 66 | +
|
| 67 | +
|
0 commit comments