Installation & Configuration

Installation & Configuration

Installation:

  1. Make sure you have Vault installed. Get it here.
  2. Drop BlockProtection.jar into your /plugins folder.
  3. On first load, config.yml, friendslist.yml, and the Database.db will be created.
  4. Open config.yml and edit it to your liking, then use the /bpreload command.

Permissions:

bp.admin (Defaults to op)
Allows players bypass BlockProtection, add blocks manually, and get the utility tool
bp.friend (Defaults to true)
Allows access to all of the Friends List features
bp.reload (Defaults to op)
Allows admins to reload all settings from the configuration file
bp.user (Defaults to true)
Allow players to use BlockProtection, and view the owner of blocks

Configuration:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Set to true to enable block protection by default. 
# If you set to false, when a player joins the server, they will have
# to type: /bp to start having their blocks protected. "true" is recommended.
# Default: true
enable-by-default: true
# Players with the bp.admin permission will bypass block protection
# automatically when they join the server. Set to false to make them type /bpadmin
# when they need to remove a players block.
# Default: false
enable-bypass-by-default: false
# The items listed below will not be protected.
# You MUST use item ids.
# Ex: By excluding 6, you will block sapling, redwood sapling, 
# and birch sapling from being protected.
exclude:
    - 6
    - 104
    - 105
# Tool to use to view block owner or add blocks to the database. Default: wooden spade (ID:269)
# The utility tool is used to view the owner of a block, or add blocks
# to the database manually. Left-clicking adds block to the database.
# Right-clicking will view who owns that block.
# Default utility tool is: WOOD_SPADE (ID: 269)
# You must use the item id.
utilitytool: 269 
# Time in MINUTES between each database save.
# Players on the server will be informed when the database is saving.
# Default: 60  *Time must be a number*
save-interval: 60
# Advanced logging. Shows when your admins/mods are bypassing block protection, and
# also shows if players without the correct permissions are trying to use the admin
# commands. Set to true to display in console/save to log. Default: true
advlog: true

Comments

Posts Quoted:
Reply
Clear All Quotes