KarenProtect icon

KarenProtect -----

A grief prevent block!



Price: $9.99 [NO!! It's FREE!]
I will try to make kp2 for now (if have free times) you can request new futures at my dm!
Requirements:
WorldGuard 6+
WorldEdit

Futures:
- 95% Configurable
- Water/Lava protection
- Block place cooldown (No lag)
- Custom blocks name and lores
- Place protection block first system
- Piston protect
- And more!

If you use worldguard 6.0 - 6.1 please use: 1.1.6 | WG 6 version
if you use worldguard 6.2+ please use:
1.1.6 | WG 6.2+ version

Now support WG 6 - 7 version
WG 6 (beta 5) - 6.1

[​IMG]

WG 6.2
[​IMG]

WG 7
[​IMG]
You can request more features here.
TH: เจอบัค สงสัยวิธีการใช้งาน หรือ error ตรงไหน สามารถแจ้งได้มาโดยการ inbox ครับผม จะพยามมาอ่านเรื่อยๆครับ ค่อนข้างติตเรียน
*** PLEASE DO NOT PASTE CONSOLE ERROR IN REVIEW **
If you found "any" error please post to threads.


Code (Text):

/kp,/karenprotect,/ps (help) - show help page
/kp give <block_id> (player) - Give a protect block to player
/kp flag <flagname> <flagvalue> - Set a flag for protection
/kp add <player> - Add member to protection
/kp remove <player> - Remove member form protection
/kp addowner <player> - Add owner to protection
/kp removeowner <player> - Remove owner form protection
/kp priority <value> - Set priority to protection
/kp take - take their own protect

 

Code (Text):

Basic permission for players:
karenprotect.flags
karenprotect.members
__________________________________

karenprotect.priority - Allow players to use /kp priority commands.
karenprotect.owners - Allow players to use /kp addowner|removeowner commands
karenprotect.members Allow players to use /kp add|remove commands
karenprotect.flags - Allow players to set their region flags.
karenprotect.flag.<flag_name> - Allow players to set that flag in their region (Can use karenprotect.flag.* to allow all enabled flags)
karenprotect.protect.limit.<number> - Replace <number> with a limit for players' protected regions.
karenprotect.give - Allow players to use /kp give commands.
karenprotect.bypass - Player can bypass lava/water protect, full protect world
karenprotect.overlaps - This permission allows users to override all regions.
karenprotect.destroy - Allow players to remove "any" protected regions.
karenprotect.take - Allow player to take their own protect
karenprotect.takeany - Allow player to take "any" protect
 

How to setup:
Config:

## PLEASE DON"T COPY THIS EXAMPLE TO CONFIG ##
//It can make plugin error!
Code (YAML):

karen
: 7
# ^ Don't touch this!

manual_wg_change
: 0
#WorldGuard API change in a different version.
#If KarenProtect can't detect worldguard or error (like adapter error or flag error),
#try to change the number to your worldguard version.
# 0 Disable (AutoDetect) (Default)
# 1 Worldguard 6.0 - 6.1
# 2 Worldguard 6.2
# 3 Worldguard 7

############################
# KarenProtect Config file #
#       Version : 7        #
#    By _StarChaser <3     #
#    Translate by Yusaki   #    
############################

#----====[ Plugin Message ]====----#
messages
:
  plugin_prefix
: '&7KarenProtect : '
  reload
: '&aKarenProtect reloaded!'
  block_limit
: '&cYou cannot place more protect, You have reached the limit!'
  overlaps
: '&cYou cannot place a protection here as it overlaps another owned region!'
  place_first
: '&cPlace a protection first before placing/breaking any blocks!'
  created
: '&aProtection created!'
  target_not_online
: '&cPlayer <player> is not online!'
  deny_protect
: '&cYou cannot place a protection in this area!'
  block_not_found
: '&cCannot found block id (<id> ) in the config file!'
  world_disable
: '&cSorry! Karen Protect is disabled in this world!'
  block_give
: '&aAdded block id (<id> ) to <player>!'
  remove
: '&aProtection removed!'
  remove_nodrop
: '&aProtection removed! &c (Protection is gone because of nodrop settings )'
  require_player
: '&cThis command required player name!'
  flag_set
: '&bSet flag &e<flag> &bto &a<value>&b '
  flag_error
: '&cError! cannot set &e<flag> &cto &e<value>. &cPlease check your command and try again!'
  flag_no_perm
: '&cYou do not have permission to use flag command. &7 (&akarenprotect&7.&cflags&7 )'
  flag_flags_no_perm
: '&cYou do not have permission to use this flag. &7 (&akarenprotect&7.&cflag&7.&a<flag_name>&7 )'
  flag_deny
: '&cYou cannot use flag command in this area!'
  flag_help
: '&cUsage : &f/kp flag <flagname> <flagvalue>'
  flag_not_found
: '&cCannot found flag id "<flag>" this flag may be disabled! &7&o (Default enabled flag : use, pvp, greeting, farewell and mob-spawning )'
  no_perm
: '&cYou do not have permission to use this command'
  priority_set
: '&aPriority has been set to &7<value>&a!'
  priority_view
: '&ePriority : &f<value>'
  priority_deny
: '&cYou cannot use priority command in this area!'
  priority_no_perm
: '&cYou do not have permission to use priority comand. &7 (&akarenprotect&7.&cpriority&7 )'
  owner_deny
: '&cYou cannot use owner command in this area!'
  owner_added
: '&e<player> &aadded for being an owner!'
  owner_removed
: '&e<player> &aremove from being an owner!'
  owner_no_perm
: '&cYou do not have permission to use owner command. &7 (&akarenprotect&7.&cowners&7 )'
  member_deny
: '&cYou cannot use member command in this area!'
  member_added
: '&e<player> &aadded!'
  member_removed
: '&e<player> &aremoved!'
  member_no_perm
: '&cYou do not have permission to use member command. &7 (&akarenprotect&7.&cmembers&7 )'
  protection_take
: '&aYou take the protection from x : <x> y : <y> z : <z> !'
  protection_take_deny
: '&cYou cannot use take command here!'
  protection_take_not_found
: '&cProtection not found at x : <x> y : <y> z : <z>, But it got removed!'
  protection_take_no_perm
: '&cYou do not have permission to use take command. &7 (&akarenprotect&7.&ctake&7 )'
  protection_take_nodrop
: '&aYou take the protection from x : <x> y : <y> z : <z> &c (Protection is gone because of nodrop settings )'
  give_help
: '&cUsage : &7/kp give <block_id or block_name> (player )'
  remove_deny
: '&cYou are not the protection owner. You cannot remove the protection!'
  place_noperm
: '&cYou not have permission to place that block!'
  cleanup
: '&aCleanup complete! &7&o (<value> )'
  banded
: '&cBanned'
  not_banded
: '&aNot banned'
  hide
: '&aThis protection is now disappear!'
  hide_already
: '&cThis protection is already hide'
  unhide
: '&aThis protection is now reappear'
  unhide_already
: '&cThis protection is already unhide'
  hide_no_perm
: '&cYou do not have permission to use hide command. &7 (&akarenprotect&7.&chide&7 )'
  hide_deny
: '&cYou cannot use hide command in this area!'
  unhide_no_perm
: '&cYou do not have permission to use hide command. &7 (&akarenprotect&7.&cunhide&7 )'
  unhide_deny
: '&cYou cannot use unhide command in this area!'
  empty_data
: '&f- &aEmpty &f-'
  #----====[ Help Message ]====----#
  help
:
 - '&8&l=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-='
  - '    &e&lKaren &b&lProtect &f&l<version> &7&lHelp commands'
  - '&r'
  - '  &7Developer
: &e_StarChaser,kana2011th'
  - '  &7Worldedit
: &e<ver_worldedit>'
  - '  &7WorldGuard
: &e<ver_worldguard>'
  - '&r'
  - '  &7Now you are standing on protect id
: &a<id>'
  - '  &7Owners:&d <owners>'
  - '  &7Members:&d <members>'
  - '  &7Priority:&e <priority>'
  - '  &7Flags data:&d <flags>'
  - '&8&l*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*'
  - ' &7/kp,/karenprotect,/ps (help ) &f- &aShow this page'
  - ' &7/kp give <block_id> (player ) &f- &aGive a protect block to player'
  - ' &7/kp flag <flagname> <flagvalue> &f- &aSet a flag for your region'
  - ' &7/kp add <player> &f- &aAdd member to your region'
  - ' &7/kp remove <player> &f- &aRemove member form your region'
  - ' &7/kp addowner <player> &f- &aAdd owner to your region'
  - ' &7/kp removeowner <player> &f- &aRemove owner form your region'
  - ' &7/kp priority <value> &f- &aSet priority for your region'
  - '&8&l=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-='
  #----====[ Stats Message Page ]====----#
  stats
:
 - '&9&l=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-='
  - '    &e&lKaren &b&lProtect &7&lStats Page'
  - '&r'
  - '  &bInfo:'
  - '   &dPlayer
: &b<player>'
  - '   &bBan
: <ban>'
  - '   &aLastPlayed
: &e<last_played> day (s ) ago.'
  - '   &aFirstPlayed
: &e<first_played> day (s ) ago.'
  - '  &bRegions list &f (&a<regions_count>&f )'
  - '<region_data>'
  - '&r'
  - '&9&l=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-='
  stats_format_world
: '   &bWorlds:'
  stats_format_world_display
: '    &e<world_name>:'
  stats_format_data
: '     &7ID : &b<id> &8x&b<x> &8y&b<y> &8z&b<z> &7Status : <status>'
  stats_format_member
: '&aMember'
  stats_format_owner
: '&bOwner'
  stats_player_notfound
: '&cThat player (<player> ) not found!'
#----====[ Default Flags ]====----#
# Flag list form worldguard : http://wiki.sk89q.com/wiki/WorldGuard/Regions/Flags
flags
:
- 'greeting &7KarenProtect
: &aEntering <player> protect &f "<name>&f" &f (&7<x>&9x&7<y>&9x&7<z>&f )'
- 'farewell &7KarenProtect
: &cLeavening <player> protect &f "<name>&f" &f (&7<x>&9x&7<y>&9x&7<z>&f )'
- 'pvp deny'

#Auto remove(Beta):
#Automatic renmove protection form innactive players (days)
#Default -1 (disable)
auto_remove
: -1

#List all the flags that can be set by region owners.
enable_flags
:
- 'use'
- 'pvp'
- 'greeting'
- 'farewell'
- 'mob-spawning'

#Preventing protect block from getting move by pistion
piston_protect
: true

#Automatic add name and lore when the player gets protection block in their inventory.
#If you enable this, You can use default Minecraft give command to get a protection block. (Example:/give <playername> 16 1)
#If you enable this, silk_touch_drop_editor should be enabled to preventing player getting protection from silk touch.
auto_change_on_empty_data
: false


#Preventing players from placing liquid outside of protection.
liquid_protect
:
  enable
: false
  message
: '&cPlace a protection first before placing liquid blocks!'

#Disable KarenProtect in a specific world by adding your world name.
disable_worlds
:
- no_protection_place_world

#List your specific world in this list for preventing players from placing/breaking blocks without protection.
worlds_protect_place_frist
:
- world_need_to_protect

#KarenProtect and ProtectionStone using server performance on placing protection block event.
#If the player using hack-client and spam place protection block.
#It can make your server laggy.
#You can make protection block place delay here.
blockplacecooldown
:
  enable
: false
  time
: 30
  message
: '&aPlease wait <time> seconds to place a protection block again!'


#Silk Touch Drop Editor
#You can use this option for preventing players from using silktouch.
#(Example: If player mine COAL_ORE with silktouch. They will get Coal instead)
#You can use any item you want.
silk_touch_drop_editor
:
  COAL_ORE
:
    enable
: false
    to
:
      item
: COAL
      amount
: 1
  LAPIS_ORE
:
    enable
: true
    to
:
      #1.13.1 Item: LAPIS_LAZULI data: 0
      #1.8 Item: DYE data: 1
      item
: DYE
      amount
: 1
      data
: 1
  DIAMOND_ORE
:
    enable
: false
    to
:
      item
: IRON_INGOT
      amount
: 3
      data
: 0
      name
: '&7&lSuper Iron Ingot'
      lore
:
     - 'This is Super Iron Ingot'
      - 'Form &b&lKarenProtect'
      enchant
:
        DAMAGE_ALL
: 5
        SILK_TOUCH
: 1
#----====[ Protection block settings ]====----#

# protection block format
# <name> for block name
# <x> for x value
# <y> for y value
# <z> for z value
# <player> for playername

########################################################################
#blocks:
#  <Minecraft block id>:
#    name: '<Block name>'
#    size:  //if you want to have bedrock to sky size please use y = 256
#      x: <x value>
#      y: <y value>
#      z: <z value>
#    block_infomation:
#      displayname: "<Display name when hold>"
#      lore:
#      - '<lore line 1>'
#      - '<lore line 2>'
#    events:
#      <event type>: //(on_place, on_distory, on_entry, on_leave)
#      - '<event1>' //event can be commands from console and player
#      - '<event2>' //special event (nodrop and cancel)
########################################################################

#Example
blocks
:
  COAL_ORE
:
    name
: '&a&lMember &b&lBlock'
    size
:
      x
: 10
      y
: 256
      z
: 10
    block_infomation
:
      displayname
: '&f&lKarenProtect <name> &9<x>&7x&9<y>&7x&9<z>'
      lore
:
     - '&f&lThis is Coal block'
      - '&7Size:&a <x>x<y>x<z>'
      - '&r'
      - '&lWarning
: &7Only specific block name can activate protection'
    events
:
      on_place
:
      #Run console command to player /say and /money take
      - 'console; say &aPlayer &b<player> &aplacing <name> &aprotection &ablock!'
      - 'console; money take <player> 10'
      on_distory
:
      #Run console command to player /say and /money take and player command /me
      - 'console; say &cPlayer &b<player> &cbreaking <name> &cprotection &cblock!'
      - 'console; money give <player> 10'
      - 'player; me destroying protection ...'
      #NODROP: When player breaking protection block protection block is 'gone' (One time use)
      - 'nodrop; true'
  DIAMOND_ORE
:
    name
: '&6&lJail &b&lBlock'
    size
:
      x
: 13
      y
: 14
      z
: 15
    block_infomation
:
      displayname
: '&f&lKarenProtect <name> &9<x>&7x&9<y>&7x&9<z>'
      lore
:
     - '&f&lThis is Diamond block'
      - '&cWhen player entry that player can''t exit that zone forever~'
      - '&7Size:&a <x>x<y>x<z>'
    #Permission node: karenprotect.block.<id>
    #(karenprotect.block.DIAMOND_ORE)
    permission-required
: true
    events
:
      on_entry
:
     - 'text; &cYou got trapped!'
      - 'text; &cThis protection place by <owner>'
      - 'text; &cOwners
: <owners>'
      on_leave
:
     - 'text; &cYou can''t leave this zone lol'
      #set cancel for leaving this protection zone
      - 'cancel; true'
  QUARTZ_BLOCK
:
    name
: '&7&lHome &b&lBlock'
    size
:
      x
: 13
      y
: 14
      z
: 15
    block_infomation
:
      displayname
: '&f&lKarenProtect <name> &9<x>&7x&9<y>&7x&9<z>'
      lore
:
       - '&f&lThis is Home block'
        - '&7Size:&a <x>x<y>x<z>'
    permission-required
: true
    events
:
      on_entry
:
       - 'text; &aWelcome to my home! <player> ^ ^!'
        - 'text; &bOwner Master
: &f<owner>'
        - 'text; &bOwners
: &f<owners>'
        - 'text; &aMember Master
: &f<member>'
        - 'text; &bMembers
: &f<members>'
      on_leave
:
        #set cancel for leaving this protection zone
        - 'text; &aGoobye! T^T'
  EMERALD_ORE
:
    name
: '&6&lNormal &b&lBlock'
    size
:
      x
: 13
      y
: 14
      z
: 15
    block_infomation
:
      displayname
: '&f&lKarenProtect <name> &9<x>&7x&9<y>&7x&9<z>'
      lore
:
     - '&f&lThis is Emeraid block'
      - '&aStill a normal block with no events'
      - '&7Size:&a <x>x<y>x<z>'
 
Code (YAML):
karen : 6
# ^ อย่าไปแตะมัน

manual_wg_change
: 0
#WorldGuard API มีการเปลี่ยนอยู่หลายๆเวอร์ชั่น
#หาก KarenProtect ไม่สามารถตวรจหา worldguard ได้
#ให้ลอง ปรับเลขให้ตรงกับเวอร์ชั่น worldguard กับที่ใช้อยู่ครับ
# 0 Disable (ค้นหาอันโนมัติ) (Default)
# 1 Worldguard 6.0 - 6.1
# 2 Worldguard 6.2
# 3 Worldguard 7

############################
# KarenProtect Config file #
#    โดย _StarChaser <3     #
#    แปล <ใส่ชื่อคนแปลด้วยจ้า>       #
#    การแปลอาจจะไม่ถูกต้อง 100%     #
#    แปลพลาดตรงไหนสามารถแจ้งได้นะครับ  #
############################

#Translation messages
messages
:
  plugin_prefix
: '&7KarenProtect : '
  reload
: '&aรีโหลด KarenProtect เรียบร้อยแล้ว!'
  block_limit
: '&cคุณไม่สามารถวางโพรเทคเพิ่มได้อีกแล้ว!'
  overlaps
: '&cคุณไม่สามารถโพรเทคบริเวณนี้ได้เนื่องจากจะไปทับกับพื้นที่ที่คุณไม่ได้เป็นเจ้าของ'
  place_first
: '&cโปรดวางโพรเทคก่อนจึงจะสามารถ ทุบ/วาง ในโลกนี้ได้'
  created
: '&aสร้างโพรเทคแล้ว!'
  target_not_online
: '&cไม่พบผู้เล่น <player> ออนไลน์อยู่!'
  deny_protect
: '&cคุณไม่สามารถโพรเทคบริเวรนี้ได้!'
  block_not_found
: '&cไม่พบบล๊อครหัส <id> ในฐานข้อมูล'
  world_disable
: '&cSorry! &7KarenProtect ถูกปิดใช้งานในโลกนี้!'
  block_give
: '&aโพรเทค <id> ถูกส่งไปยัง <player>'
  remove
: '&aนำโพรเทคออกเรียบร้อยแล้ว!'
  remove_nodrop
: '&aนำโพรเทคออกเรียบร้อยแล้ว แต่ว่ามีการตั้งค่า nodeop ไว้มันจึงหายไปแล้ว~'
  require_player
: '&cคำสั่งนี้ต้องการชื่อผู้เล่นด้วย'
  flag_set
: '&bตั้งค่า &e<flag> &bเป็น &a<value>&b เรียบร้อยแล้ว'
  flag_error
: '&cเกิดข้อผิดพลาดในการตั่งค่า &e<flag> <value> &cโปรดตรวจสอบคำสั่งและใช้งานใหม่อีกครั้ง!'
  flag_no_perm
: '&cคุณได้ไม่ได้รับอนุญาติให้ใช้คำสั่ง flag &7 (&akarenprotect&7.&cflags&7 )'
  flag_flags_no_perm
: '&cคุณได้ไม่ได้รับอนุญาติให้ใช้ flag นี้ &7 (&akarenprotect&7.&cflag&7.&a<flag_name>&7 )'
  flag_deny
: '&cคุณไม่ใช้สามารถใช้คำสั่ง flag ในบริเวณนี้ได้!'
  flag_help
: '&cวิธีการใช้ : &f/kp flag <flagname> <flagvalue>'
  flag_not_found
: '&cรหัา Flag "<flag>" ไม่เจอหรือไม่ก็ไม่ถูกเปิดให้ใช้อยู่ &7&o (flag ที่เปิดใช้งาน are use, pvp, greeting, farewell and mob-spawning )'
  no_perm
: '&cคุณไม่มีสิทธ์ที่จะใช้คำสั่งนี้!'
  priority_set
: '&aความสำคัญได้ถูกตั้งเป็น &7<value>&a!'
  priority_view
: '&eความสำคัญ : &f<value>'
  priority_deny
: '&cคุณไม่ใช้สามารถใช้คำสั่ง ความสำคัญ ในบริเวณนี้ได้!'
  priority_no_perm
: '&cคุณได้ไม่ได้รับอนุญาติให้ใช้คำสั่ง ความสำคัญ &7 (&akarenprotect&7.&cpriority&7 )'
  owner_deny
: '&cคุณไม่ใช้สามารถใช้คำสั่ง เจ้าของ ในบริเวณนี้ได้!'
  owner_added
: '&e<player> &aถูกเพิ่มเข้ามาให้เป็นเจ้าของโพรเทคนี้แล้ว'
  owner_removed
: '&e<player> &aได้ถูกลบจากการเป็นเจ้าของโพรเทคนี้แล้ว'
  owner_no_perm
: '&cคุณได้ไม่ได้รับอนุญาติให้ใช้คำสั่ง เจ้าของ &7 (&akarenprotect&7.&cowners&7 )'
  member_deny
: '&cคุณไม่ใช้สามารถใช้คำสั่ง สมาชิก ในบริเวณนี้ได้!'
  member_added
: '&e<player> &aได้ถูกลบจากการเป็นสมาชิกโพรเทคนี้แล้ว'
  member_removed
: '&e<player> &aได้ถูกลบจากการเป็นสมาชิกโพรเทคนี้แล้ว'
  member_no_perm
: '&cคุณได้ไม่ได้รับอนุญาติให้ใช้คำสั่ง สมาชิก &7 (&akarenprotect&7.&cmembers&7 )'
  protection_take
: '&aคุณได้เอาโพรเทคมาจากพิกัศ x : <x> y : <y> z : <z>'
  protection_take_deny
: '&cคุณไม่สามารถใช้คำสั่ง take ในบริเวณนี้ได้!'
  protection_take_not_found
: '&cไม่พบโพรเทคในพิกัศ at x : <x> y : <y> z : <z>, แต่มันได้ถูกนำออกไปแล้ว!'
  protection_take_no_perm
: '&ccคุณได้ไม่ได้รับอนุญาติให้ใช้คำสั่ง take &7 (&akarenprotect&7.&ctake&7 )'
  protection_take_nodrop
: '&aคุณได้เอาโพรเคทมาจากพิกัศ x : <x> y : <y> z : <z> &cแต่ว่ามีการตั้งค่า nodeop ไว้มันจึงหายไปแล้ว~'
  give_help
: '&cวิธีการใช้ : &7/kp give <block_id or block_name> (player )'
  remove_deny
: '&cคุณไม่ใช้เจ้าของโพรเทคนี้ คุณไม่สามารถนำออกไปได้'
  empty_data
: '&f- &aว่างเปล่า &f-'
  #
  help
:
 - '&8&l=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-='
  - '    &e&lKaren &b&lProtect &f&l<version> &7&lคำสั่งช่วยเหลือ'
  - '&r'
  - '  &7Developer
: &e_StarChaser,kana2011th'
  - '  &7Worldedit
: &e<ver_worldedit>'
  - '  &7WorldGuard
: &e<ver_worldguard>'
  - '&r'
  - '  &7ตอนนี้คุณกำลังยืนอยู่ที่โพรเทค รหัส
: &a<id>'
  - '  &7เจ้าของ:&d <owners>'
  - '  &7สมาชิก:&d <members>'
  - '  &7ความสำคัญ:&e <priority>'
  - '  &7ข้อมูล Flag:&d <flags>'
  - '&8&l*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*'
  - ' &7/kp,/karenprotect,/ps (help ) &f- &aแสดงหน้านี้'
  - ' &7/kp give <block_id> (player ) &f- &aเสกโพรเทค ให้กับตนเองหรือผู้เล่นอื่น'
  - ' &7/kp flag <flagname> <flagvalue> &f- &aตั้งค่า flag สำหรับ protection'
  - ' &7/kp add <player> &f- &aเพิ่มสมาชิกเข้าไปในโพรเทค'
  - ' &7/kp remove <player> &f- &aลบสมาชิกออกจากโพรเทค'
  - ' &7/kp addowner <player> &f- &aเพิ่มเจ้าของเข้าไปในโพรเทค'
  - ' &7/kp removeowner <player> &f- &aลบเข้าของออกจากโพรเทค'
  - ' &7/kp priority <value> &f- &aตั้งค่าความสำคัญ'
  - '&8&l=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-='

#Flag นี้จะถูกตั้งค่าให้เมื่อวางโพรเทค
#ราชื่อ Flag : http://wiki.sk89q.com/wiki/WorldGuard/Regions/Flags
flags
:
- 'greeting &7KarenProtect
: &aEntering <player> protect &f "<name>&f" &f (&7<x>&9x&7<y>&9x&7<z>&f )'
- 'farewell &7KarenProtect
: &cLeavening <player> protect &f "<name>&f" &f (&7<x>&9x&7<y>&9x&7<z>&f )'
- 'pvp deny'

#ลบอัตโนมัติ (เบต้า):
#ลบโพรเทคออกอัตโนมัติเมื่อผู้เล่นไม่ได้เข้าเป็นเวลานาน (หน่วยเป็น วัน)
#Default -1 (ปิดใช้งาน)
auto_remove
: -1

#รายชื่อ flag ที่สามารถตั้งค่าได้แบบอิสระโดยเจ้าของโพรเทค
enable_flags
:
- 'use'
- 'pvp'
- 'greeting'
- 'farewell'
- 'mob-spawning'

#ป้องการใช้ลูกสูบดันโพรเทค
piston_protect
: true

#เพิ่มชื่อและ lore ให้อัตโนมัติเมื่อมีบล๊อคธรรมดาที่สามารถเป็นโพรเทคได้เข้ามาในกระเป๋าผู้เล่น
#ถ้าเปิดใช้งาน คุณจะสามารถใช้คำสั่ง /give <ชื่อผู้เล่น> 16 1 เพื่อที่จะเสกโพรเทคให้ได้เหมือนกัน
#ถ้าเปิดการตั้งค่านี้แล้ว silk_touch_drop_editor แนะนำให้ตั้งค่าด้วย เพื่อป้องกันการปั้มการขุดด้วย silktouch
auto_change_on_empty_data
: false


#ป้องกันการวาง น้ำและลาวา นอกโพรเทค
liquid_protect
:
  enable
: false
  message
: '&cโปรดวางโพรเทคก่อน คุณถึงจะสามารถวางน้ำและลาวาได้!'

#ปิดการใช้งาน KarenProtect ในชื่อโลกที่ใส่ไว้
disable_worlds
:
- no_protection_place_world

#ถ้าคุณยังไม่วางโพรเทคแล้วมีชื่อโลกอยู่ในรายการนี้ คุณจะไม่สามารถวาง/ทุบ บล๊อคอะไรได้เลยทั้งสิ้น
#คุณจำเป็นต้องวางโพรเทคก่อนจึงจะสามารถ ทุบ/วาง บล๊อคต่างๆได้
worlds_protect_place_frist
:
- world_need_to_protect

#KarenProtect ใช้ server performance สักระยะเมื่อวางโพเทค
#ถ้ามีผู้เล่นใช้ hack-client และทำการวางรัว
#มันสามารถทำให้เซิร์ฟเวอร์ของคุณค้างได้
#คุณสามารถตั้งค่า delay เมื่อผู้เล่นวางโพรเทคได้
blockplacecooldown
:
  enable
: false
  time
: 30
  message
: '&aโปรดรออีก <time> วินาที แล้วจึงค่อยวางโพรเทคใหม่อีกครั้ง'


#Silk Touch Drop Editor
#คุณสามารถตั้งเมื่อผู้เล่นเมื่อใช้ enchant silk touch ขุดคุณสามารถเปลี่ยนให้เป็นอย่างอื่นได้
#(อย่างเช่นเปลี่ยนจาก Coal_ore เป็น Coal)
silk_touch_drop_editor
:
  COAL_ORE
:
    enable
: false
    to
:
      item
: COAL
      amount
: 1
  LAPIS_ORE
:
    enable
: true
    to
:
      #1.13.1 Item: LAPIS_LAZULI data: 0
      #1.8 Item: DYE data: 1
      item
: DYE
      amount
: 1
      data
: 1
  DIAMOND_ORE
:
    enable
: false
    to
:
      item
: IRON_INGOT
      amount
: 3
      data
: 0
      name
: "&7&lSuper Iron Ingot"
      lore
:
     - "This is Super Iron Ingot"
      - "Form &b&lKarenProtect"
      enchant
:
        DAMAGE_ALL
: 5
        SILK_TOUCH
: 1


#ตั้งค่าโพรเทค
# รหัสบล๊อค > COAL_ORE:
# x y z < ขนาด // ถ้าต้องการแบบสุง bedrock จนถึงท้องฟ้าให้ใส่ 256
blocks
:
  COAL_ORE
:
    #ชื่อโพรเทค
    name
: '&a&lMember &b&lBlock'
    #ขนาดโพรเทค
    size
:
      x
: 10
      y
: 11
      z
: 12
    block_infomation
:
      #ชื่อเมื่อถือโพรเทค
      displayname
: "&f&lKarenProtect <name> &9<x>&7x&9<y>&7x&9<z>"
      lore
:
      #ข้อมูลโพรเทค
      - '&7ขนาด:&a <x>x<y>x<z>'
      - '&r'
      - '&lคำเตือน
: &7โพรเทคต้องมีชื่อเท่านั้นจึงจะสามารถใช้งานได้'
    #กิจกรรม เมื่อผู้เล่นทำอย่างไรอย่างนึงกับโพรเทคเช่นวาง หรือ ทุบ หรือ เข้ามาในโซนโพรเทค
    #ก็จะทำตามที่วางสริปไว้
    events
:
      #เมื่อผู้เล่นวางโพรเทคนี้
      on_place
:
      #รันคำสั่งแบบ console โดนใช้คำสั่ง /say และ /money take
      - 'console; say &aPlayer &b<player> &abreaking <name> &aprotection &ablock!'
      - 'console; money take <player> 10'
      #เมื่แผู้เล่นทุบโพรเทคนี้
      on_distory
:
      #รันคำสั่งแบบ console โดนใช้คำสั่ง /say และ /money take และใช้คำสั่งแบบ player ให้ /me
      - 'console; say &cPlayer &b<player> &cbreaking <name> &cprotection &cblock!'
      - 'console; money give <player> 10'
      - 'player; me destroying protection ...'
      #NODROP: เมื่อผู้เล่นทุบโพรเทคจะไม่ได้รับคืน (ใช้ครั้งเดียว)
      - 'nodrop; true'
  DIAMOND_ORE
:
    name
: '&6&lJail &b&lBlock'
    size
:
      x
: 13
      y
: 14
      z
: 15
    block_infomation
:
      displayname
: "&f&lKarenProtect <name> &9<x>&7x&9<y>&7x&9<z>"
      lore
:
     - '&cเมื่อวางแล้วผู้เล่นจะไม่สามารถออกจากโซนนี้ได้อีก เย้ๆ~'
      - '&7Size:&a <x>x<y>x<z>'
    events
:
      on_entry
:
     - 'text; &cคุณติตกับดักแล้ว ฮ่าๆ!'
      on_leave
:
     - 'text; &cคุณไม่สามารถรถออกไปจากที่นี้ได้ จำเป็นต้องทุบโพรเทคก่อน'
      #ยกเลิก on leave event (ผู้เล่นจะเด้งกลับมาในโพ)
      - 'cancel; true'
  EMERAID_ORE
:
    name
: '&6&lNormal &b&lBlock'
    size
:
      x
: 13
      y
: 14
      z
: 15
    block_infomation
:
      displayname
: "&f&lKarenProtect <name> &9<x>&7x&9<y>&7x&9<z>"
      lore
:
     - '&f&lThis is Emeraid block'
      - '&aโพรเทคปกติที่ไม่ได้ใส่กิจกรรมอะไรเลย'
      - '&7Size:&a <x>x<y>x<z>'
Donators Wall <3
1. 6.07$ Ymies
2. 3$ _ShiroKo
3. 2$ Skrimor - mc-blueblood.com
[​IMG]

Donate my coffee here
PM to me if you already donated.
thanks! <3
หากต้องการโดเนททางอื่นจาก tw หรือ paypal private message มาได้ครับผม <3

Build Server (Dev Builds): Jenkins
bStats: https://bstats.org/plugin/bukkit/KarenProtect
Special Thanks: kana2011th
Logo design by: Hiren Chuan Chuen
Meterials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
Resource Information
Author:
----------
Total Downloads: 141,506
First Release: Apr 2, 2018
Last Update: Aug 5, 2021
Category: ---------------
All-Time Rating:
62 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings