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: ''
─────總結─────