HomeJavaModsLock
Lock
Lock
Depend: EasyLib
[​IMG] [​IMG]
Features
Screeshot [​IMG]
Commands

Permissions

Config File
Code (Text):
#Configuration
Setting:
  #can non-player open the door(true is ban)
  IsOtherAllowedOpen: true
  #can non-player break the door(true is ban)
  IsOtherAllowedBreak: true
  #worlds in which players can use the door
  Worlds:
    - world
    - world_the_end
  #door type of which players can use the door
  DoorType:
    - IRON_DOOR
  #whether to start paying taxes
  TaxAllowed: true
  #entrance interval(unit:millisecond)
  EnterDelay: 1000
  #tax rate(0.05 for 5%)
  TaxPercent: 0.05
  #whether to use VIP group(empty content("") as disabled)
  VipAllowed: "lock.vip"
  #if use VIP group,whether to allow tax exemption
  TaxCancelable: true
  #whether to disable redstone active
  BanRedstoneActive: true
  #lock symbol(Case-insensitive)
  LockSymbol: "lock"
  #text replace lock symbol
  SymbolReplace: "&c[自动收费门]"
  #text replace for charge amount
  Charge: "&b&l花费: &e&l"
  #enter symbol(Case-insensitive)
  FlagEnter: "进"
  #leave symbol(Case-insensitive)
  FlagLeave: "出"
  #empty inventory symbol(Case-insensitive)
  FlagEmpty: "空"
  #money symbol(Case-insensitive)
  FlagMoney: "钱"
  #effect symbol大(Case-insensitive)
  FlagEffect: "效"
  #condition text replace for third line
  EnterReplace: "&a[进]"
  LeaveReplace: "&c[出]"
  EmptyReplace: "&b[空]"
  MoneyReplace: "&6[钱%needmoney]"
  EffectReplace: "&2[效]"
Language File
Code (Text):
#Language configuration
# laungage settings
Language:
  #command help
  CommandHelp:
    - "&e=============== &6[Lock] &e==============="
    - "&61. &bkey in &a&llock at the first line"
    - "&62. &bset the price in the second line"
    - "&63. &bset &7(&a&lin&f/&c&lout&7) at the third line(default as two-way)"
    - "&64. &bno need to fill anything at the fouth line"
  # no permission
  NoPermission: "&7[&eLock&7]&cyou don't have permission to do this"
  # not a player notice
  NotAPlayer: "&7[&eLock&7]&cyou are not a player"
  # command args error
  CommandError: "&7[&eLock&7]&ther is something wrong with your command"
  # reload plugin
  Reload: "&7[&eLock&7]&2config reload success"
  # set the lock door successfully
  Create: "&7[&eLock&7]&2you created a locked door"
  # enter the locked door
  Enter: "&7[&eLock&7]&2you purchased &b%charge &2dollar to access to the locked door"
  # leave the locked door
  Leave: "&7[&eLock&7]&2you opened the locked door and left."
  # when player don't have enough money
  NotEnoughMoney: "&7[&eLock&7]&csry, you don't have enough money"
  # banned direction
  DenyDirection: "&7[&eLock&7]&cyou can not entry by this direction"
  # can't enter unless inv is empty
  DenyNotEmptyInv: "&7[&eLock&7]&cyou need to clear you inventory in order to access"
  # can't enter when player's money is not enough
  DenyMoney: "&7[&eLock&7]&cyour balance is not over %needmoney, so you can't enter"
  # can't enter when player has point effect
  DenyHaveEffect: "&7[&eLock&7]&cyou can't enter with point effect"
  # can't destory blocks
  DenyBreak: "&7[&eLock&7]&cyou can't break the locked door"
  # add types
  addType: "&7[&eLock&7]&b你正在添加%type,请右键对应方块"
  # unknown type
  InvalidType: "&7[&eLock&7]&c%type is unknown type"
  # add type successfully
  AddTypeSuccess: "&7[&eLock&7]&2you add %type type"

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Lock is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11, 1.12 and newer. Downloaded 813 times (via Spigot). Download it and open it directly in the game.

Explore more