Lock
Depend: EasyLib
Features
- Have VIP system and tax system
- Easy to use
Screeshot
Commands
- /Lock reload - reload the plugin
- /Lock info - look the plugin information
- /Lock help - see the usage of this plugin
- /Lock addtype door - add type
Permissions
- Lock.vip - Tax exempt
Config File
#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
#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"Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta