1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-09-25 13:49:12 +02:00
Files
Essentials/EssentialsProtect/src
snowleo 8adc7f8d3c Craftbukkit 689 / MC 1.5
Testing only, do not release until 689 or higher is recommended

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1247 e251c2fe-e539-e718-e476-b85c1f46cddb
2011-04-21 09:33:25 +00:00
..
2011-03-30 04:03:21 +00:00
2011-03-30 04:03:21 +00:00

EssentialsProtect:

REQUIRED : Essentials.jar. Also sqlite.jar, mysql.jar in the bukkit lib folder.

Config Settings in plugins/Essentials/config.yml

protect:
  datatype: 'sqlite' type of db, options sqlite or mysql
  username: 'root'  mysql username
  pasword: 'root' mysql password
  mysqlDb: 'jdbc:mysql://localhost:3306/minecraft'  mysql database location
  protectSigns: true
  protectRails: true
  protectBlockBelow: true
  preventBlockOnRail: false prevents block placement on protected rails

On startup creates a sqlite database under /plugins/essentials called EssentialsProtect.db

Permissions:

"essentials.protect" - allows protection
"essentials.protect.admin" can delete protected blocks / query protection by right clicking a protected item.

Usage:

Place a sign or rail and they (plus optionally the block below) will be protected. Only the owners and those with admin permissions can destroy.