Wiki赞助.jpg
  • 欢迎来到Minecraft插件百科!请在注册后加入百科编辑
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 插件百科企鹅群:223812289

TownyEntityLimits

From Minecraft插件百科
Jump to: navigation, search


介绍

这个插件可以限制你的服务器的城镇的一些东西的数量


Tel.png

特点

  • 限制不同实体 - 限制取决于城镇规模
  • 限制菜单 - 可配置菜单名、物品格子顺序和菜单大小
  • 可重载 - 用/tl reload 来重载
  • 支持Towny和Feudal

权限节点

  • townyentitylimits.gui : 打开城镇限制菜单.
  • townyentitylimits.bypass : 忽略限制
  • townyentitylimits.others : 查看其他城镇的限制.
  • townyentitylimits.reload : 使用/tl reload

配置

汉化配置示例:


#权限节点:
#  townyentitylimits.reload: 
#    描述: 使用/tl reload的权限
#  townyentitylimits.gui:
#    描述: 使用 /tl打开GUI的权限
#  townyentitylimits.bypass:
#    描述: 忽略限制的权限
#  townyentitylimits.others
#    描述: 可以查看其他城镇限制的权限.
default_permissions:
 - townyentitylimits.gui

#信息:
limit_message: "你不能放置/生成多余的物品/生物 %amount% / %entity%s." 
reload_message: "&b城镇限制已重载"
no_permission_message: "你没有权限"
msg_err_dont_belong_area: "&c你不属于这片区域"
GUI_name: "&2城镇实体限制"
msg_err_town_kingdom_does_not_exists: "城镇 %town% 不存在"
#'plugin_soft_dependency' 可以是 "towny" 或 "feudal"
plugin_soft_dependency: "towny"
msg_err_cmd_wrong_dependency: "这个指令不能用在 %dependency%"
limit_GUI:
  #大小必须是9的倍数
  GUIsize: 27
  #用格子序号 -1 来从GUI中移除, 但限制仍然存在
  hostileMonsters:
    slot: 0
    name: "&6敌对怪物限制"
    lore: "敌对怪物限制为\n %limit%"
  neutralMonsters:
    slot: 1
    name: "&6中立动物限制"
    lore: "动物限制为 %limit%"    
  BANNER:
    slot: 2
    name: "&6旗帜限制"
    lore: "旗帜限制为 %limit%"    
  ITEM_FRAME:
    slot: 3
    name: "&6物品展示框限制"
    lore: "物品展示框限制为 %limit%"    
  FURNACE:
    slot: 4
    name: "&6熔炉限制"
    lore: "熔炉限制为 %limit%"    
  CHEST:
    slot: 5
    name: "&6箱子限制"
    lore: "箱子限制为 %limit%"    
  TRAPPED_CHEST:
    slot: 6
    name: "&6陷阱箱限制"
    lore: "陷阱箱限制 %limit%"    
  ENDER_CHEST:
    slot: 7
    name: "&6末影箱限制"
    lore: "末影箱限制为 %limit%"    
  JUKEBOX:
    slot: 8
    name: "&6唱片机限制"
    lore: "唱片机限制为 %limit%"    
  DISPENSER:
    slot: 9
    name: "&6发射器限制"
    lore: "发射器限制为 %limit%"    
  DROPPER:
    slot: 10
    name: "&6投掷器限制"
    lore: "投掷器限制为 %limit%"    
  SIGN:
    slot: 11
    name: "&6牌子限制"
    lore: "牌子限制为 %limit%"    
  MOB_SPAWNER:
    slot: 12
    name: "&6刷怪笼限制"
    lore: "刷怪笼限制为 %limit%"    
  NOTE_BLOCK:
    slot: 13
    name: "&6音符盒限制"
    lore: "音符盒限制s为 %limit%"    
  ENCHANTMENT_TABLE:
    slot: 14
    name: "&6附魔台限制"
    lore: "附魔台限制为 %limit%"    
  BEACON:
    slot: 15
    name: "&6信标限制"
    lore: "信标限制为 %limit%"    
  SKULL:
    slot: 16
    name: "&6头颅限制"
    lore: "头颅限制为 %limit%"    
  DAYLIGHT_DETECTOR:
    slot: 17
    name: "&6阳光传感器限制"
    lore: "阳光传感器限制为 %limit%"    
  HOPPER:
    slot: 18
    name: "&6漏斗限制"
    lore: "漏斗限制为 %limit%"    
  REDSTONE_COMPARATOR:
    slot: 19
    name: "&6红石比较器限制"
    lore: "红石比较器限制为 %limit%"    
  FLOWER_POT:
    slot: 20
    name: "&6花盆限制"
    lore: "花盆限制为 %limit%"    
  PAINTING:
    slot: 21
    name: "&6画限制"
    lore: "T画限制为 %limit%"    
  ARMOR_STAND:
    slot: 22
    name: "&6盔甲架限制"
    lore: "盔甲架限制为 %limit%"    
    
#这些是特定城镇限制. 
#在前面输入 "#"来取消该项限制. - 在GUI内会显示为空白.
#限制将根据城镇规模分成不同的组.
town_limits:

  - numResidents: 0
    hostileMonsters: 32
    neutralMonsters: 128
    BANNER: 128
    ITEM_FRAME: 64
    FURNACE: 666
    CHEST: 2018
    TRAPPED_CHEST: 50
   #ENDER_CHEST: 1
    JUKEBOX: 2018
    DISPENSER: 2018
    DROPPER: 2018
    SIGN: 666
    MOB_SPAWNER: 16
   # NOTE_BLOCK: 5
    ENCHANTMENT_TABLE: 5
    BEACON: 12
    #SKULL: 50
    #DAYLIGHT_DETECTOR: 64
    #HOPPER: 30
    #REDSTONE_COMPARATOR: 30
    FLOWER_POT: 20
    #PAINTING: 5
    ARMOR_STAND: 16
    
  - numResidents: 2
    hostileMonsters: 32
    neutralMonsters: 128
    BANNER: 128
    ITEM_FRAME: 64
    FURNACE: 666
    CHEST: 2018
    TRAPPED_CHEST: 50
    #ENDER_CHEST: 1
    JUKEBOX: 2018
    DISPENSER: 2018
    DROPPER: 2018
    SIGN: 666
    MOB_SPAWNER: 16
   # NOTE_BLOCK: 5
   # ENCHANTMENT_TABLE: 5
    BEACON: 12
    SKULL: 50
    #DAYLIGHT_DETECTOR: 64
    HOPPER: 30
   # REDSTONE_COMPARATOR: 30
   # FLOWER_POT: 20
    #PAINTING: 5
    ARMOR_STAND: 32
    
  - numResidents: 6
    hostileMonsters: 32
    neutralMonsters: 128
    BANNER: 128
    ITEM_FRAME: 64
    FURNACE: 666
    CHEST: 2018
    TRAPPED_CHEST: 50
    #ENDER_CHEST: 1
    JUKEBOX: 2018
    DISPENSER: 2018
    DROPPER: 2018
    SIGN: 666
    MOB_SPAWNER: 16
   # NOTE_BLOCK: 5
    #ENCHANTMENT_TABLE: 5
    BEACON: 12
    SKULL: 50
   #DAYLIGHT_DETECTOR: 10
    HOPPER: 30
    #REDSTONE_COMPARATOR: 30
   # FLOWER_POT: 20
    #PAINTING: 5
    ARMOR_STAND: 64