main/Server Admins Info
Server Admins Info
Dependencies
MCClans Land Protection has the following dependencies:
- UUIDCacher [required]: Is used to cache player UUIDs and names. This plugin is required for MCClans Land Protection to function.
- MCClans [required]: Is the core plugin. This plugin is required for MCClans Land Protection to function.
- Vault [optional]: Is used to charge players ingame currency for certain functions. This plugin is optional.
- WorldGuard [optional]: If WorldGuard is present, placed down protection fields will not overlap WorldGuard regions. This plugin is optional.
Config
-config.yml
Config option | Parameters | Description |
---|---|---|
GENERAL | ||
debugging | true/false | Display debug messages in console |
use-permissions | true/false | If set to false, admin command access defaults to players with OP access |
use-economy | true/false | Charge players configured costs. Requires Vault |
remove-inactive-fields-after-days | number | Delete protection fields with inactive owners after x amount of days. Set to 0 to disable |
safety-border-size | number | Minimum amount of blocks between protection fields. Does not apply if the other field is owned by a clan member |
field-refund-percentage | number | Refund percentage 0-100 of the purchase cost when removing a protection field |
blocked-worlds: | worldname1, worldname2, etc. | Protection field placement is disabled in these worlds |
create-backup-after-hours | number | Create a data backup every x hours in the MCClans/data/backup folder. Set to 0 to disable |
maximum-amount-of-backups-before-removing-oldest | number | Maximum amount of backups to create before removing the oldest |
DATABASE_SETTINGS | ||
use-database | true/false | Use a database. Data is otherwise stored in the MCClans/data/recent folder, as flatfile |
dbms-type | mysql/sqlite | Database type |
database-server-port | number | Database server port |
database-server | localhost/<ip>/<domain> | Database server location |
database-name | name | Database name |
database-server-user | username | Database username |
database-server-password | password | Database password |
FIELDS | ||
<material id>-<meta data> | <radius>, <max. per player>, <field name>, <price> | ex. 2-0: 10, 2, Example Grass Field, 5. |
COMMAND_ALIASES | ||
command alias | command | ex. /f: /field. Alias must be one word. Command must start with 'field' |
Commands
Command | Description | Bukkit perm. |
---|---|---|
USER COMMANDS | ||
/field help {page} | Lists all commands available | mcclp.user |
/field page <page> | Browse the pages of a table | mcclp.user |
/field on | Activate field place/remove mode | mcclp.user |
/field off | Deactivate field place/remove mode | mcclp.user |
/field list | Lists all available field types | mcclp.user |
/field me | Lists all your fields | mcclp.user |
/field info | Lists all information of a field | mcclp.user |
/field add <playerName> | Give a player or clan access to a field. When adding a clan, use 'c:<clanTag>' | mcclp.user |
/field remove <playerName> | Remove a player's or clan's access to a field. When removing a clan, use 'c:<clanTag>' | mcclp.user |
/field access | Lists all players and clans with access to a field | mcclp.user |
/field flag explosions toggle | Allow or prevent explosions in a field | mcclp.user |
/field changeowner <playerName> | Change the owner of a field | mcclp.user |
ADMIN COMMANDS | ||
/field admin list | Lists all placed fields | mcclp.admin |
/field admin create <playerName> | Create a new field for this player based on what block you are holding | mcclp.admin |
/field admin destroy | Destroy the field you are in | mcclp.admin |
/field admin reload | Reload the configuration | mcclp.admin |
/field admin backup | Backup the database | mcclp.admin |