Xin lỗi, bạn có thể cung cấp thêm thông tin hoặc câu hỏi cụ thể để mình có thể giúp bạn giải thích?
User
Assistant
Bạn đã đưa ra một tệp cấu hình dành cho EssentialsX, một plugin rất phổ biến dùng cho máy chủ Minecraft chạy trên nền tảng Spigot hoặc các nhánh phát triển từ Spigot như Paper. File cấu hình này chứa tất cả các cài đặt cho các tính năng cơ bản và mở rộng của EssentialsX, từ quản lý tiền tệ, quản lý spam, tạo từ khoá (home), cho đến các quy tắc về chống gây hại và quản lý chat.
Các mục trong file được bắt đầu bằng dấu # là những dòng chú thích, và chúng không ảnh hưởng đến việc thực hiện cấu hình. Mỗi phần cài đặt được chia thành các khối, và cứ mỗi khối lại có một tiêu đề lớn hoặc mô tả nhỏ giải thích mục đích của phần cấu hình đó.
Để kích hoạt hoặc thay đổi một cài đặt nào đó, bạn sẽ bỏ qua dấu # phía trước dòng lệnh và sau đó điều chỉnh giá trị mong muốn. Ví dụ, dòng sau đây sẽ không hoạt động cho đến khi bạn bỏ đi kí tự #:
yaml
#bed-explosion: false
Để kích hoạt cài đặt không cho giường nổ, bạn sẽ chỉnh sửa như sau:
list:
# To merge groups, list the groups you wish to merge
#Staff: owner admin moderator
Admins: owner admin
# To limit groups, set a max user limit
#builder: 20
# To hide groups, set the group as hidden
#default: hidden
# Uncomment the line below to simply list all players with no grouping
#Players: '*'
Displays real names in /list next to players who are using a nickname.
real-names-on-list: false
More output to the console.
debug: false
Set the locale for all messages.
If you don't set this, the default locale of the server will be used.
For example, to set language to English, set locale to en, to use the file "messages_en.properties".
Don't forget to remove the # in front of the line.
You can set a custom join message for users who join with a new username here.
This message will only be used if a user has joined before and have since changed their username.
This will be displayed INSTEAD OF custom-join-message, so if you intend to keep them similar, make sure they match.
Set this to "none" to use the the "custom-join-message" above for every join.
Available placeholders:
{PLAYER} - The player's displayname.
{USERNAME} - The player's username.
{OLDUSERNAME} - The player's old username.
{PREFIX} - The player's prefix.
{SUFFIX} - The player's suffix.
{ONLINE} - The number of players online.
{UNIQUE} - The number of unique players to join the server.
{UPTIME} - The amount of time the server has been online.
custom-new-username-message: "none"
Should Essentials override the vanilla "Server Full" message with its own from the language file?
Set to false to keep the vanilla message.
use-custom-server-full-message: true
You can disable join and quit messages when the player count reaches a certain limit.
When the player count is below this number, join/quit messages will always be shown.
Set this to -1 to always show join and quit messages regardless of player count.
hide-join-quit-messages-above: -1
Add worlds to this list, if you want to automatically disable god mode there.
no-god-in-worlds:
- world_nether
Set to true to enable per-world permissions for teleporting between worlds with essentials commands.
This applies to /world, /back, /tp[a|o][here|all], but not warps.
Give someone permission to teleport to a world with essentials.worlds.
This does not affect the /home command, there is a separate toggle below for this.
world-teleport-permissions: false
The number of items given if the quantity parameter is left out in /item or /give.
If this number is below 1, the maximum stack size size is given. If over-sized stacks.
are not enabled, any number higher than the maximum stack size results in more than one stack.
default-stack-size: -1
Over-sized stacks are stacks that ignore the normal max stack size.
They can be obtained using /give and /item, if the player has essentials.oversizedstacks permission.
How many items should be in an over-sized stack?
oversized-stacksize: 64
Allow repair of enchanted weapons and armor.
If you set this to false, you can still allow it for certain players using the permission.
essentials.repair.enchanted
repair-enchanted: true
Allow 'unsafe' enchantments in kits and item spawning.
Warning: Mixing and overleveling some enchantments can cause issues with clients, servers and plugins.
unsafe-enchantments: false
The maximum range from the player that the /tree and /bigtree commands can spawn trees.
tree-command-range-limit: 300
#Do you want Essentials to keep track of previous location for /back in the teleport listener?
#If you set this to true any plugin that uses teleport will have the previous location registered.
register-back-in-listener: false
#Delay to wait before people can cause attack damage after logging in.
login-attack-delay: 5
#Set the max fly speed, values range from 0.1 to 1.0
max-fly-speed: 0.8
#Set the max walk speed, values range from 0.1 to 1.0
max-walk-speed: 0.8
#Set the maximum amount of mail that can be sent within a minute.
mails-per-minute: 1000
Set the maximum time /mute can be used for in seconds.
Set to -1 to disable, and essentials.mute.unlimited can be used to override.
max-mute-time: -1
Set the maximum time /tempban can be used for in seconds.
Set to -1 to disable, and essentials.tempban.unlimited can be used to override.
max-tempban-time: -1
Changes the default /reply functionality. This can be changed on a per-player basis using /rtoggle.
If true, /r goes to the person you messaged last, otherwise the first person that messaged you.
If false, /r goes to the last person that messaged you.
last-message-reply-recipient: true
If last-message-reply-recipient is enabled for a particular player,
this specifies the duration, in seconds, that would need to elapse for the
reply-recipient to update when receiving a message.
Default is 180 (3 minutes)
last-message-reply-recipient-timeout: 180
Changes the default /reply functionality.
If true, /reply will not check if the person you're replying to has vanished.
If false, players will not be able to /reply to players who they can no longer see due to vanish.
last-message-reply-vanished: false
Toggles whether or not left clicking mobs with a milk bucket turns them into a baby.
milk-bucket-easter-egg: true
Toggles whether or not the fly status message should be sent to players on join
send-fly-enable-on-join: true
Set to true to enable per-world permissions for setting time for individual worlds with essentials commands.
This applies to /time, /day, /eday, /night, /enight, /etime.
Give someone permission to teleport to a world with essentials.time.world..
world-time-permissions: false
Specify cooldown for both Essentials commands and external commands as well.
All commands do not start with a Forward Slash (/). Instead of /msg, write msg
Wildcards are supported. E.g.
- 'i': 50
adds a 50 second cooldown to all commands that include the letter i
EssentialsX supports regex by starting the command with a caret ^
For example, to target commands starting with ban and not banip the following would be used:
Note: Using the {PREFIX} and {SUFFIX} placeholders along with {DISPLAYNAME} may cause double prefixes/suffixes to be shown in chat unless add-prefix-suffix is uncommented and set to false.
Available placeholders:
{MESSAGE} - The content of the chat message.
{USERNAME} - The sender's username.
{DISPLAYNAME} - The sender's display name.
{NICKNAME} - The sender's Essentials nickname. If the sender has no nickname, the username is shown.
{PREFIX} - The sender's prefix, supplied by a permissions plugin.
{SUFFIX} - The sender's suffix, supplied by a permissions plugin.
{GROUP} - The sender's primary group name, supplied by a permissions plugin.
{WORLD} - The world alias of the sender's current world. See the world-aliases section below for details.
{WORLDNAME} - The full name of the sender's current world.
{SHORTWORLDNAME} - The first character of the sender's current world.
{TEAMNAME} - The sender's scoreboard team name.
{TEAMPREFIX} - The sender's scoreboard team prefix.
{TEAMSUFFIX} - The sender's scoreboard team suffix.
General physics/behavior modifications. Set these to true to disable behaviours.
prevent:
lava-flow: false
water-flow: false
water-bucket-flow: false
fire-spread: true
lava-fire-spread: true
lava-itemdamage: false
flint-fire: false
lightning-fire-spread: true
portal-creation: false
tnt-explosion: false
tnt-playerdamage: false
tnt-itemdamage: false
tnt-minecart-explosion: false
tnt-minecart-playerdamage: false
tnt-minecart-itemdamage: false
fireball-explosion: false
fireball-fire: false
fireball-playerdamage: false
fireball-itemdamage: false
witherskull-explosion: false
witherskull-playerdamage: false
witherskull-itemdamage: false
wither-spawnexplosion: false
wither-blockreplace: false
creeper-explosion: false
creeper-playerdamage: false
creeper-itemdamage: false
creeper-blockdamage: false
ender-crystal-explosion: false
enderdragon-blockdamage: true
enderman-pickup: false
villager-death: false
bed-explosion: false
respawn-anchor-explosion: false
# Monsters won't follow players.
# permission essentials.protect.entitytarget.bypass disables this.
entitytarget: false
# Prevents zombies from breaking down doors
zombie-door-break: false
# Prevents Ravagers from stealing blocks
ravager-thief: false
# Prevents sheep from turning grass to dirt
sheep-eat-grass: false
# Prevent certain transformations.
transformation:
# Prevent creepers becoming charged when struck by lightning.
charged-creeper: false
# Prevent villagers becoming zombie villagers.
zombie-villager: false
# Prevent zombie villagers being cured.
villager: false
# Prevent villagers becoming witches when struck by lightning.
witch: false
# Prevent pigs becoming zombie pigmen when struck by lightning.
zombie-pigman: false
# Prevent zombies turning into drowneds, and husks turning into zombies.
drowned: false
# Prevent mooshrooms changing colour when struck by lightning.
mooshroom: false
# Prevent the spawning of creatures. If a creature is missing, you can add it following the format below.
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
wither: false
bat: false
witch: false
horse: false
phantom: false
Maximum height the creeper should explode. -1 allows them to explode everywhere.
Set prevent.creeper-explosion to true, if you want to disable creeper explosions.
creeper:
max-height: -1
Disable various default physics and behaviors.
disable:
# Should fall damage be disabled?
fall: false
code
# Users with the essentials.protect.pvp permission will still be able to attack each other if this is set to true.
# They will be unable to attack users without that same permission node.
pvp: false
# Should drowning damage be disabled?
# (Split into two behaviors; generally, you want both set to the same value.)
drown: false
suffocate: false
# Should damage via lava be disabled? Items that fall into lava will still burn to a crisp. ;)
lavadmg: false
# Should arrow damage be disabled?
projectiles: false
# This will disable damage from touching cacti.
contactdmg: false
# Burn, baby, burn! Should fire damage be disabled?
firedmg: false
# Should the damage after hit by a lightning be disabled?
lightning: false
# Should Wither damage be disabled?
wither: false
# Disable weather options?
weather:
storm: false
thunder: false
lightning: false
# Should people without the essentials.build permission be allowed to build?
# Set true to disable building for those people.
# Setting to false means EssentialsAntiBuild will never prevent you from building.
build: true
# Should people without the essentials.build permission be allowed to use items?
# Set true to disable using for those people.
# Setting to false means EssentialsAntiBuild will never prevent you from using items.
use: true
# Should we warn people when they are not allowed to build?
warn-on-build-disallow: true
For which block types would you like to be alerted?
# Which blocks should people be prevented from placing?
placement: LAVA,TNT,LAVA_BUCKET
# Which items should people be prevented from using?
usage: LAVA_BUCKET
# Which blocks should people be prevented from breaking?
break:
# Which blocks should not be moved by pistons?
piston:
# Which blocks should not be dispensed by dispensers
dispenser:
When we spawn for the first time, which spawnpoint do we use?
Set to "none" if you want to use the spawn point of the world.
spawnpoint: newbies
Do we want to give users anything on first join? Set to '' to disable
This kit will be given regardless of cost and permissions, and will not trigger the kit delay.
#kit: ''
kit: tools
What priority should we use for handling respawns?
Set this to none, if you want vanilla respawning behaviour.
Set this to lowest, if you want Multiverse to handle the respawning.
Set this to high, if you want EssentialsSpawn to handle the respawning.
Set this to highest, if you want to force EssentialsSpawn to handle the respawning.
Note: Changes will not apply until after the server is restarted.
respawn-listener-priority: high
What priority should we use for handling spawning on joining the server?
See respawn-listener-priority for possible values.
Note: Changing this may impact or break spawn-on-join functionality.
Note: Changes will not apply until after the server is restarted.
spawn-join-listener-priority: high
When users die, should they respawn at their first home or bed, instead of the spawnpoint?
respawn-at-home: false
When users die, should they respawn at their bed instead of the spawnpoint?
The value of respawn-at-home (above) has to be true.
respawn-at-home-bed: true
When users die, should EssentialsSpawn respect users' respawn anchors?
respawn-at-anchor: false
Teleport all joining players to the spawnpoint
spawn-on-join: false
The following value of guests states that all players in group guests will be teleported to spawn when joining.
#spawn-on-join: guests
The following list value states that all players in group guests and admin are to be teleported to spawn when joining.
#spawn-on-join:
#- guests
#- admin
End of file <-- No seriously, you're done with configuration.
yaml
bed-explosion: false
Các cài đặt cụ thể bao gồm nhưng không giới hạn ở việc ngăn chặn sự kiện trong trò chơi, quản lý quyền teleport, quy định các quyền khi người chơi chết, đặt biệt danh cho người chơi, và quản lý mô tả vật phẩm trong trò chơi.
Để cấu hình plugin này, bạn sẽ cần phải có quyền quản trị trên máy chủ Minecraft và kiến thức cơ bản về cách máy chủ hoạt động cũng như hiểu về ngôn ngữ cấu hình YAML.