1. 管理员名字颜色(颜色码能在本文附件中):
复制程式
# A color code between 0-9 or a-f. Set to 'none' to disable.
ops-name-color: 'c'
2. 伺服器内的昵名前的字符:
复制程式
# The character(s) to prefix all nicknames, so that you know they are not true usernames.
nickname-prefix: '~'
3. 新手包:
复制程式
# Note: All items MUST be followed by a quantity!
# All kit names should be lower case, and will be treated as lower in permissions/costs.
# Syntax: - itemID[:DataValue] Amount [Enchantment:Level]..
# 'delay' refers to the cooldown between how often you can use each kit, measured in seconds.
kits:
dtools:
delay: 10
items:
- 277 1 efficiency:1
- 278 1
- 279:780 1
tools:
delay: 10
items:
- 272 1
- 273 1
- 274 1
- 275 1
示范:
复制程式
# Note: All items MUST be followed by a quantity!
# All kit names should be lower case, and will be treated as lower in permissions/costs.
# Syntax: - itemID[:DataValue] Amount [Enchantment:Level]..
# 'delay' refers to the cooldown between how often you can use each kit, measured in seconds.
kits:
dtools:
delay: 10
items:
- 277 1 efficiency:1
- 278 1
- 279:780 1
tools:
delay: 10
items:
- 272 1
- 274 1
- 273 1
- 258 1
- 260 128
- 295 10
- 263 10
4. 玩家离线设定(多少秒才视为离线):
复制程式
# Auto-AFK
# After this timeout in seconds, the user will be set as afk.
# Set to -1 for no timeout.
auto-afk: 300
5. 玩家能否放置、使用物品的设定:
复制程式
# For which block types would you like to be alerted?
# You can find a list of IDs in plugins/Essentials/items.csv after loading Essentials for the first time.
# 10 = lava :: 11 = still lava :: 46 = TNT :: 327 = lava bucket
alert:
on-placement: 10,11,46,327 \\玩家不能放置的物品
on-use: 327 \\玩家不能使用的物品
on-break: \\玩家不能破坏的物品
blacklist:
# Which blocks should people be prevented from placing
placement: 10,11,46,327 \\玩家不能放置的物品
# Which items should people be prevented from using
usage: 327 \\玩家不能使用的物品
# Which blocks should people be prevented from breaking
break: \\玩家不能破坏的物品
# Which blocks should not be pushed by pistons
piston:
6. 防止某物品、生物的爆炸以及是否防止生出某怪物(将该项的设定转为true或false):
复制程式
prevent:
lava-flow: false
water-flow: false
water-bucket-flow: false
fire-spread: true
lava-fire-spread: true
flint-fire: false
lightning-fire-spread: true
portal-creation: false \\能否创造地狱传送门
tnt-explosion: false \\是否防止TNT爆炸
tnt-playerdamage: false \\是否防止TNT爆炸的威力
fireball-explosion: false
fireball-fire: false
fireball-playerdamage: false
creeper-explosion: false \\是否防止Creeper爆炸
creeper-playerdamage: false \\是否防止Creeper爆炸的威力
creeper-blockdamage: false
enderdragon-blockdamage: true
enderman-pickup: false
villager-death: false
# Monsters won't follow players
# permission essentials.protect.entitytarget.bypass disables this
entitytarget: false
# Prevent the spawning of creatures \\是否防止生出某怪物(true为防止、false为不防止)
spawn:
creeper: false
skeleton: false
spider: false
giant: false
zombie: false
slime: false
ghast: false
pig_zombie: false
enderman: false
cave_spider: false
silverfish: false
blaze: false
magma_cube: false
ender_dragon: false
pig: false
sheep: false
cow: false
chicken: false
squid: false
wolf: false
mushroom_cow: false
snowman: false
ocelot: false
iron_golem: false
villager: false
CraftBukkit\plugins\Essentials\rules.txt设定:
# Group inheritance
#
# Any inherited groups prefixed with a g: are global groups
# and are inherited from the GlobalGroups.yml.
#
# Groups without the g: prefix are groups local to this world
# and are defined in the this groups.yml file.
#
# Local group inheritances define your promotion tree when using 'manpromote/mandemote'
groups:
Default:
default: true
permissions:
- -bukkit.command.kill
inheritance:
- g:groupmanager_default
- g:bukkit_default
- g:essentials_default
- g:towny_default
info:
prefix: '&e'
build: false
suffix: ''
Builder:
default: false
permissions: []
inheritance:
- default
- g:essentials_builder
- g:towny_builder
info:
prefix: '&2'
build: true
suffix: ''
Moderator:
default: false
permissions: []
inheritance:
- builder
- g:groupmanager_moderator
- g:bukkit_moderator
- g:essentials_moderator
- g:towny_moderator
- g:vanish_moderator
info:
prefix: '&5'
build: true
suffix: ''
Admin:
default: false
permissions: []
inheritance:
- moderator
- g:groupmanager_admin
- g:bukkit_admin
- g:essentials_admin
- g:towny_admin
- g:vanish_admin
info:
prefix: '&c'
build: true
suffix: ''
Owner:
default: false
permissions:
- '*'
- -vanish.*
inheritance:
- admin
info:
prefix: '&4'
build: true
suffix: ''
找到了你想给玩家能用的指令后,就复制"essentials.<permissions>",<permissions>为自选项目。
# Group inheritance
#
# Any inherited groups prefixed with a g: are global groups
# and are inherited from the GlobalGroups.yml.
#
# Groups without the g: prefix are groups local to this world
# and are defined in the this groups.yml file.
#
# Local group inheritances define your promotion tree when using 'manpromote/mandemote'
groups:
Default:
default: true
permissions: \\复制后,在这行开新一开,之后贴上该文字(注:若该行的文字为红色时,请确认该文字前有4个space)。
- essentials.fly \\例如我想给玩家打上/fly就能飞,我就要打上" - essentials.fly",其他也是这样加上。
- -bukkit.command.kill
inheritance:
- g:groupmanager_default
- g:bukkit_default
- g:essentials_default
- g:towny_default
info:
prefix: '&e'
build: false
suffix: ''
Builder:
default: false
permissions: []
inheritance:
- default
- g:essentials_builder
- g:towny_builder
info:
prefix: '&2'
build: true
suffix: ''
Moderator:
default: false
permissions: []
inheritance:
- builder
- g:groupmanager_moderator
- g:bukkit_moderator
- g:essentials_moderator
- g:towny_moderator
- g:vanish_moderator
info:
prefix: '&5'
build: true
suffix: ''
Admin:
default: false
permissions: []
inheritance:
- moderator
- g:groupmanager_admin
- g:bukkit_admin
- g:essentials_admin
- g:towny_admin
- g:vanish_admin
info:
prefix: '&c'
build: true
suffix: ''
Owner:
default: false
permissions:
- '*'
- -vanish.*
inheritance:
- admin
info:
prefix: '&4'
build: true
suffix: ''
─────总结─────