ProtectionAreas (built-in)
#1
This plugin lets VIP users define areas of the world where only specified users are allowed to build and dig.

An area is defined by the VIP by using a Wand item (by default, a stick with a meta 1) by left-clicking and right-clicking in two opposite corners of the area, then issuing a /protection add command. Multiple users can be allowed in a single area. There is no hardcoded limit on the number of areas or the number of players allowed in a single area. Areas can overlap; in such a case, if a user is allowed in any one of the overlapping areas, they are allowed to build / dig.

The protected areas are stored in an SQLite database in a file "ProtectionAreas.sqlite" that is created next to the Cuberite executable. The plugin has its configuration options stored in a "ProtectionAreas.ini" file.

Configuration
The configuration is stored in the ProtectionAreas.ini file next to the Cuberite executable in a regular manner.

The wand item can be specified in the configuration. By default, a stick with meta 1 is used, but any valid item can be used. Stored in the [ProtectionAreas].WandItem value.

If there is no area, players can be either allowed to interact freely or not at all, based on the setting in the [ProtectionAreas].AllowInteractNoArea value. Accepted values are 0 and 1.

Commands

General
  • /protection add - adds a new protected area using wand
    Permission required: protection.add
    The following parameter combinations are recognized:
    /protection add UserName1 [UserName2 ...]

    /protection addc - adds a new protected area with explicitly specified coordinates
    Permission required: protection.add
    The following parameter combinations are recognized:
    /protection addc x1 z1 x2 z2 UserName1 [UserName2 ...]

    /protection del - deletes the specified area.
    Permission required: protection.del
    The following parameter combinations are recognized:
    /protection del AreaID

    /protection list - lists all areas in the specified place
    Permission required: protection.list
    The following parameter combinations are recognized:
    /protection list - lists all areas that contain the block last clicked with a Wand
    /protection list x z - lists all areas that contain the specified block coords

    /protection user add - adds the specified users to the allowed users in the specified area
    Permission required: protection.user.add
    The following parameter combinations are recognized:
    /protection user add AreaID UserName1 [UserName2 ...]

    /protection user list - lists all the allowed users for the specified area
    Permission required: protection.user.list
    The following parameter combinations are recognized:
    /protection user list AreaID

    /protection user remove - removes the specified users from the allowed users in the specified area
    Permission required: protection.user.remove
    The following parameter combinations are recognized:
    /protection user remove AreaID UserName1 [UserName2 ...]

    /protection user strip - removes the user from all areas in this world
    Permission required: protection.user.strip
    The following parameter combinations are recognized:
    /protection user strip UserName

    /protection wand - gives the Wand item
    Permission required: protection.wand

Download
The plugin is included in the base Cuberite installation. It can also be downloaded from the GitHub repository at https://github.com/mc-server/ProtectionAreas
Reply
Thanks given by:


Messages In This Thread
ProtectionAreas (built-in) - by xoft - 06-11-2013, 08:30 PM
RE: ProtectionAreas (built-in) - by xoft - 01-07-2014, 07:02 AM
RE: ProtectionAreas (built-in) - by Antonio - 01-29-2014, 08:09 AM
RE: ProtectionAreas (built-in) - by xoft - 01-29-2014, 08:58 AM
RE: ProtectionAreas (built-in) - by Antonio - 01-29-2014, 09:28 AM
RE: ProtectionAreas (built-in) - by xoft - 01-29-2014, 06:10 PM
RE: ProtectionAreas (built-in) - by Antonio - 01-29-2014, 09:21 PM
RE: ProtectionAreas (built-in) - by xoft - 01-29-2014, 11:39 PM
RE: ProtectionAreas (built-in) - by Antonio - 01-29-2014, 11:41 PM
RE: ProtectionAreas (built-in) - by Taugeshtu - 01-30-2014, 03:33 AM
RE: ProtectionAreas (built-in) - by xoft - 01-30-2014, 03:46 AM
RE: ProtectionAreas (built-in) - by Antonio - 02-04-2014, 12:22 AM
RE: ProtectionAreas (built-in) - by tonibm19 - 02-13-2014, 12:12 AM
RE: ProtectionAreas (built-in) - by xoft - 02-13-2014, 01:45 AM
RE: ProtectionAreas (built-in) - by tonibm19 - 02-13-2014, 01:59 AM
RE: ProtectionAreas (built-in) - by xoft - 02-13-2014, 04:51 AM
RE: ProtectionAreas (built-in) - by tonibm19 - 02-13-2014, 06:29 AM
RE: ProtectionAreas (built-in) - by xoft - 02-13-2014, 06:35 AM
RE: ProtectionAreas (built-in) - by tonibm19 - 02-13-2014, 06:37 AM
RE: ProtectionAreas (built-in) - by Boo - 12-18-2014, 07:32 PM
RE: ProtectionAreas (built-in) - by xoft - 12-18-2014, 08:39 PM
RE: ProtectionAreas (built-in) - by Howaner - 12-18-2014, 08:57 PM
RE: ProtectionAreas (built-in) - by Boo - 12-18-2014, 09:16 PM
RE: ProtectionAreas (built-in) - by Boo - 12-19-2014, 12:47 AM
RE: ProtectionAreas (built-in) - by xoft - 12-19-2014, 03:52 AM
RE: ProtectionAreas (built-in) - by Boo - 12-19-2014, 06:03 PM
RE: ProtectionAreas (built-in) - by Mathias - 12-25-2014, 06:26 AM
RE: ProtectionAreas (built-in) - by xoft - 12-25-2014, 09:23 AM
RE: ProtectionAreas (built-in) - by Boo - 01-21-2015, 05:06 PM
RE: ProtectionAreas (built-in) - by Boo - 01-22-2015, 08:11 PM
RE: ProtectionAreas (built-in) - by Boo - 02-11-2015, 09:44 PM
RE: ProtectionAreas (built-in) - by DarthCalvin - 04-06-2015, 11:56 PM
RE: ProtectionAreas (built-in) - by xoft - 04-07-2015, 12:56 AM
RE: ProtectionAreas (built-in) - by xoft - 04-07-2015, 03:31 AM
RE: ProtectionAreas (built-in) - by xoft - 04-07-2015, 04:02 AM
RE: ProtectionAreas (built-in) - by xoft - 04-07-2015, 07:54 AM
RE: ProtectionAreas (built-in) - by DarthCalvin - 04-10-2015, 09:56 PM
RE: ProtectionAreas (built-in) - by skywindz - 04-14-2015, 12:03 PM
RE: ProtectionAreas (built-in) - by xoft - 04-14-2015, 06:06 PM
RE: ProtectionAreas (built-in) - by skywindz - 04-14-2015, 08:11 PM
RE: ProtectionAreas (built-in) - by Jammet - 04-18-2015, 06:53 PM
RE: ProtectionAreas (built-in) - by DrMasik - 08-20-2015, 04:41 AM
RE: ProtectionAreas (built-in) - by Seadragon91 - 10-27-2015, 08:47 PM
RE: ProtectionAreas (built-in) - by opiums - 12-16-2016, 06:44 PM
RE: ProtectionAreas (built-in) - by NiLSPACE - 12-16-2016, 08:22 PM
RE: ProtectionAreas (built-in) - by xoft - 12-16-2016, 08:50 PM
RE: ProtectionAreas (built-in) - by opiums - 12-16-2016, 09:14 PM
RE: ProtectionAreas (built-in) - by opiums - 12-16-2016, 09:19 PM
RE: ProtectionAreas (built-in) - by xoft - 12-17-2016, 12:51 AM
RE: ProtectionAreas (built-in) - by opiums - 12-17-2016, 01:31 PM
RE: ProtectionAreas (built-in) - by opiums - 12-17-2016, 03:10 PM
RE: ProtectionAreas (built-in) - by xoft - 12-17-2016, 03:44 PM
RE: ProtectionAreas (built-in) - by yoboykai - 02-08-2017, 12:05 PM
RE: ProtectionAreas (built-in) - by xoft - 02-08-2017, 06:48 PM
RE: ProtectionAreas (built-in) - by yoboykai - 02-22-2017, 02:15 PM
RE: ProtectionAreas (built-in) - by psyFi - 08-07-2017, 01:29 PM
RE: ProtectionAreas (built-in) - by patrick_sozi - 09-01-2018, 03:11 PM



Users browsing this thread: 1 Guest(s)