PiTeKLive
Pomocny
Liczba postów: 72
Dołączył: Jun 2016
48
Pomogłem? Daj Diaxa!
Nick na Serwerze: PiTeKLive
MineGold: 0.00
|
[Poradnik] Essentials - Dla początkujących i tych zaawansowanych!
Witam ,kiedyś zrobiłem poradnik ,,Jak zacząć z essentials'' ,chociaż wtedy powiedziałem wam zbyt mało informacji dlatego to będzie nowa, odświeżona wersja jak korzystać z Essentials. Dodatkowo informacja dla was, postaram się robić poradniki takiego typu coraz częściej, więc będziecie mogli mi dawać pomysły np. o czym napisać w kolejnym poradniku i tym podobne, oczywiście napiszę to kiedy będę mieć czas.
Okej to zaczynamy!
Kod PHP:
############################################################ # +------------------------------------------------------+ # # | Notes | # # +------------------------------------------------------+ # ############################################################
# If you want to use special characters in this document, such as accented letters, you MUST save the file as UTF-8, not ANSI. # If you receive an error when Essentials loads, ensure that: # - No tabs are present: YAML only allows spaces # - Indents are correct: YAML hierarchy is based entirely on indentation # - You have "escaped" all apostrophes in your text: If you want to write "don't", for example, write "don''t" instead (note the doubled apostrophe) # - Text with symbols is enclosed in single or double quotation marks
# If you have problems join the Essentials help support channel: http://tiny.cc/EssentialsChat
############################################################ # +------------------------------------------------------+ # # | Essentials (Global) | # # +------------------------------------------------------+ # ############################################################
# A color code between 0-9 or a-f. Set to 'none' to disable. ops-name-color: '4'
# The character(s) to prefix all nicknames, so that you know they are not true usernames. nickname-prefix: ''
# The maximum length allowed in nicknames. The nickname prefix is included in this. max-nick-length: 16
# When this option is enabled, nickname length checking will exclude color codes in player names. # ie: "&6Notch" has 7 characters (2 are part of a color code), a length of 5 is used when this option is set to true ignore-colors-in-max-nick-length: false
# Disable this if you have any other plugin, that modifies the displayname of a user. change-displayname: true
# When this option is enabled, the (tab) player list will be updated with the displayname. # The value of change-displayname (above) has to be true. #change-playerlist: true
# When EssentialsChat.jar isn't used, force essentials to add the prefix and suffix from permission plugins to displayname. # This setting is ignored if EssentialsChat.jar is used, and defaults to 'true'. # The value of change-displayname (above) has to be true. # Do not edit this setting unless you know what you are doing! #add-prefix-suffix: false
# If the teleport destination is unsafe, should players be teleported to the nearest safe location? # If this is set to true, Essentials will attempt to teleport players close to the intended destination. # If this is set to false, attempted teleports to unsafe locations will be cancelled with a warning. teleport-safety: true
# This forcefully disables teleport safety checks without a warning if attempting to teleport to unsafe locations. # teleport-safety and this option need to be set to true to force teleportation to dangerous locations. force-disable-teleport-safety: false
# The delay, in seconds, required between /home, /tp, etc. teleport-cooldown: 0
# The delay, in seconds, before a user actually teleports. If the user moves or gets attacked in this timeframe, the teleport is cancelled. teleport-delay: 0
# The delay, in seconds, a player can't be attacked by other players after they have been teleported by a command. # This will also prevent the player attacking other players. teleport-invulnerability: 0
# The delay, in seconds, required between /heal or /feed attempts. heal-cooldown: 60
# Near Radius # The default radius with /near # Used to use chat radius but we are going to make it separate. near-radius: 200
# What to prevent from /item and /give. # e.g item-spawn-blacklist: 10,11,46 item-spawn-blacklist:
# Set this to true if you want permission based item spawn rules. # Note: The blacklist above will be ignored then. # Example permissions (these go in your permissions manager): # - essentials.itemspawn.item-all # - essentials.itemspawn.item-[itemname] # - essentials.itemspawn.item-[itemid] # - essentials.give.item-all # - essentials.give.item-[itemname] # - essentials.give.item-[itemid] # - essentials.unlimited.item-all # - essentials.unlimited.item-[itemname] # - essentials.unlimited.item-[itemid] # - essentials.unlimited.item-bucket # Unlimited liquid placing # # For more information, visit http://wiki.ess3.net/wiki/Command_Reference/ICheat#Item.2FGive permission-based-item-spawn: false
# Mob limit on the /spawnmob command per execution. spawnmob-limit: 100
# Shall we notify users when using /lightning? warn-on-smite: true
# Shall we drop items instead of adding to inventory if the target inventory is full? drop-items-if-full: false
# Essentials Mail Notification # Should we notify players if they have no new mail? notify-no-new-mail: true
# The motd and rules are now configured in the files motd.txt and rules.txt.
# When a command conflicts with another plugin, by default, Essentials will try to force the OTHER plugin to take priority. # Commands in this list, will tell Essentials to 'not give up' the command to other plugins. # In this state, which plugin 'wins' appears to be almost random. # # If you have two plugin with the same command and you wish to force Essentials to take over, you need an alias. # To force essentials to take 'god' alias 'god' to 'egod'. # See http://wiki.bukkit.org/Commands.yml#aliases for more information.
overridden-commands: # - god # - info
# Disabling commands here will prevent Essentials handling the command, this will not affect command conflicts. # You should not have to disable commands used in other plugins, they will automatically get priority. # See http://wiki.bukkit.org/Commands.yml#aliases to map commands to other plugins. disabled-commands: - ban - eban - kick - ekick - mute - emute
# These commands will be shown to players with socialSpy enabled. # You can add commands from other plugins you may want to track or # remove commands that are used for something you dont want to spy on. # Set - '*' in order to listen on all possible commands. socialspy-commands: - msg - w - r - mail - m - t - whisper - emsg - tell - er - reply - ereply - email - action - describe - eme - eaction - edescribe - etell - ewhisper - pm
# Mute Commands # These commands will be disabled when a player is muted. # Use '*' to disable every command. # Essentials already disabled Essentials messaging commands by default. # It only cares about the root command, not args after that (it sees /f chat the same as /f) mute-commands: - f - kittycannon # - '*'
# If you do not wish to use a permission system, you can define a list of 'player perms' below. # This list has no effect if you are using a supported permissions system. # If you are using an unsupported permissions system, simply delete this section. # Whitelist the commands and permissions you wish to give players by default (everything else is op only). # These are the permissions without the "essentials." part. player-commands: - afk - afk.auto - back - back.ondeath - balance - balance.others - balancetop - build - chat.color - chat.format - chat.shout - chat.question - clearinventory - compass - depth - delhome - getpos - geoip.show - help - helpop - home - home.others - ignore - info - itemdb - kit - kits.tools - list - mail - mail.send - me - motd - msg - msg.color - nick - near - pay - ping - protect - r - rules - realname - seen - sell - sethome - setxmpp - signs.create.protection - signs.create.trade - signs.break.protection - signs.break.trade - signs.use.balance - signs.use.buy - signs.use.disposal - signs.use.enchant - signs.use.free - signs.use.gamemode - signs.use.heal - signs.use.info - signs.use.kit - signs.use.mail - signs.use.protection - signs.use.repair - signs.use.sell - signs.use.time - signs.use.trade - signs.use.warp - signs.use.weather - spawn - suicide - time - tpa - tpaccept - tpahere - tpdeny - warp - warp.list - world - worth - xmpp
# When this option is enabled, one-time use kits (ie. delay < 0) will be # removed from the /kit list when a player can no longer use it skip-used-one-time-kits-from-kit-list: false
# 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/Durability] Amount [Enchantment:Level].. [itemmeta:value]... # For Item Meta information visit http://wiki.ess3.net/wiki/Item_Meta # 'delay' refers to the cooldown between how often you can use each kit, measured in seconds. # Set delay to -1 for a one time kit. # For more information, visit http://wiki.ess3.net/wiki/Kits kits: tools: delay: 10 items: - 272 1 - 273 1 - 274 1 - 275 1 dtools: delay: 600 items: - 278 1 efficiency:1 durability:1 fortune:1 name:&4Gigadrill lore:The_drill_that_&npierces|the_heavens - 277 1 digspeed:3 name:Dwarf lore:Diggy|Diggy|Hole - 298 1 color:255,255,255 name:Top_Hat lore:Good_day,_Good_day - 279:780 1 notch: delay: 6000 items: - 397:3 1 player:Notch color: delay: 6000 items: - 387 1 title:&4Book_&9o_&6Colors author:KHobbits lore:Ingame_color_codes book:Colors firework: delay: 6000 items: - 401 1 name:Angry_Creeper color:red fade:green type:creeper power:1 - 401 1 name:Starry_Night color:yellow,orange fade:blue type:star effect:trail,twinkle power:1 - 401 2 name:Solar_Wind color:yellow,orange fade:red shape:large effect:twinkle color:yellow,orange fade:red shape:ball effect:trail color:red,purple fade:pink shape:star effect:trail power:1
# Essentials Sign Control # See http://wiki.ess3.net/wiki/Sign_Tutorial for instructions on how to use these. # To enable signs, remove # symbol. To disable all signs, comment/remove each sign. # Essentials colored sign support will be enabled when any sign types are enabled. # Color is not an actual sign, it's for enabling using color codes on signs, when the correct permissions are given.
enabledSigns: - color - balance - buy - sell - trade - free - disposal - warp - kit - mail - enchant - gamemode - heal - info - spawnmob - repair - time - weather
# How many times per second can Essentials signs be interacted with per player. # Values should be between 1-20, 20 being virtually no lag protection. # Lower numbers will reduce the possibility of lag, but may annoy players. sign-use-per-second: 4
# Backup runs a batch/bash command while saving is disabled. backup: # Interval in minutes. interval: 30 # Unless you add a valid backup command or script here, this feature will be useless. # Use 'save-all' to simply force regular world saving without backup. #command: 'rdiff-backup World1 backups/World1'
# Set this true to enable permission per warp. per-warp-permission: false
# Sort output of /list command by groups. # You can hide and merge the groups displayed in /list by defining the desired behaviour here. # Detailed instructions and examples can be found on the wiki: http://wiki.ess3.net/wiki/List list: # To merge groups, list the groups you wish to merge #Staff: owner admin moderator Owner: owner Admin: 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: '*'
# 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. # For more information, visit http://wiki.ess3.net/wiki/Locale #locale: en
# Turn off god mode when people leave the server. remove-god-on-disconnect: false
# Auto-AFK # After this timeout in seconds, the user will be set as AFK. # This feature requires the player to have essentials.afk.auto node. # Set to -1 for no timeout. auto-afk: 300
# Auto-AFK Kick # After this timeout in seconds, the user will be kicked from the server. # essentials.afk.kickexempt node overrides this feature. # Set to -1 for no timeout. auto-afk-kick: -1
# Set this to true, if you want to freeze the player, if the player is AFK. # Other players or monsters can't push the player out of AFK mode then. # This will also enable temporary god mode for the AFK player. # The player has to use the command /afk to leave the AFK mode. freeze-afk-players: false
# When the player is AFK, should he be able to pickup items? # Enable this, when you don't want people idling in mob traps. disable-item-pickup-while-afk: false
# This setting controls if a player is marked as active on interaction. # When this setting is false, the player would need to manually un-AFK using the /afk command. cancel-afk-on-interact: true
# Should we automatically remove afk status when a player moves? # Player will be removed from AFK on chat/command regardless of this setting. # Disable this to reduce server lag. cancel-afk-on-move: true
# Set the player's list name when they are AFK. This is none by default which specifies that Essentials # should not interfere with the AFK player's list name. # You may use color codes, use {USERNAME} the player's name or {PLAYER} for the player's displayname. afk-list-name: none
# You can disable the death messages of Minecraft here. death-messages: true
# Should players with permissions be able to join and part silently? # You can control this with essentials.silentjoin and essentials.silentquit permissions if it is enabled. # In addition, people with essentials.silentjoin.vanish will be vanished on join. allow-silent-join-quit: false
# You can set a custom join message here, set to "none" to disable. # You may use color codes, use {USERNAME} the player's name or {PLAYER} for the player's displayname. custom-join-message: "none"
# You can set a custom quit message here, set to "none" to disable. # You may use color codes, use {USERNAME} the player's name or {PLAYER} for the player's displayname. custom-quit-message: "none"
# 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.<worldname> # 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
#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 /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 /reply functionality. 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 true, 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
# Toggles whether or not right 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.<worldname>. world-time-permissions: false
############################################################ # +------------------------------------------------------+ # # | EssentialsHome | # # +------------------------------------------------------+ # ############################################################
# Allows people to set their bed at daytime. update-bed-at-daytime: true
# Set to true to enable per-world permissions for using homes to teleport between worlds. # This applies to the /home only. # Give someone permission to teleport to a world with essentials.worlds.<worldname> world-home-permissions: false
# Allow players to have multiple homes. # Players need essentials.sethome.multiple before they can have more than 1 home. # You can set the default number of multiple homes using the 'default' rank below. # To remove the home limit entirely, give people 'essentials.sethome.multiple.unlimited'. # To grant different home amounts to different people, you need to define a 'home-rank' below. # Create the 'home-rank' below, and give the matching permission: essentials.sethome.multiple.<home-rank> # For more information, visit http://wiki.ess3.net/wiki/Multihome sethome-multiple: default: 3 vip: 5 staff: 10
# In this example someone with 'essentials.sethome.multiple' and 'essentials.sethome.multiple.vip' will have 5 homes. # Remember, they MUST have both permission nodes in order to be able to set multiple homes.
# Set the timeout, in seconds for players to accept a tpa before the request is cancelled. # Set to 0 for no timeout. tpa-accept-cancellation: 120
############################################################ # +------------------------------------------------------+ # # | EssentialsEco | # # +------------------------------------------------------+ # ############################################################
# For more information, visit http://wiki.ess3.net/wiki/Essentials_Economy
# Defines the balance with which new players begin. Defaults to 0. starting-balance: 0
# worth-# defines the value of an item when it is sold to the server via /sell. # These are now defined in worth.yml
# Defines the cost to use the given commands PER USE. # Some commands like /repair have sub-costs, check the wiki for more information. command-costs: # /example costs $1000 PER USE #example: 1000 # /kit tools costs $1500 PER USE #kit-tools: 1500
# Set this to a currency symbol you want to use. # Remember, if you want to use special characters in this document, # such as accented letters, you MUST save the file as UTF-8, not ANSI. currency-symbol: '$'
# Set the maximum amount of money a player can have. # The amount is always limited to 10 trillion because of the limitations of a java double. max-money: 10000000000000
# Set the minimum amount of money a player can have (must be above the negative of max-money). # Setting this to 0, will disable overdrafts/loans completely. Users need 'essentials.eco.loan' perm to go below 0. min-money: -10000
# Enable this to log all interactions with trade/buy/sell signs and sell command. economy-log-enabled: false
# Use this option to force superperms-based permissions handler regardless of detected installed perms plugin. # This is useful if you want superperms-based permissions (with wildcards) for custom permissions plugins. # Default is false. use-bukkit-permissions: false
# Minimum acceptable amount to be used in /pay. minimum-pay-amount: 0.001
############################################################ # +------------------------------------------------------+ # # | EssentialsHelp | # # +------------------------------------------------------+ # ############################################################
# Show other plugins commands in help. non-ess-in-help: true
# Hide plugins which do not give a permission. # You can override a true value here for a single plugin by adding a permission to a user/group. # The individual permission is: essentials.help.<plugin>, anyone with essentials.* or '*' will see all help regardless. # You can use negative permissions to remove access to just a single plugins help if the following is enabled. hide-permissionless-help: true
############################################################ # +------------------------------------------------------+ # # | EssentialsChat | # # +------------------------------------------------------+ # ############################################################
# This section requires the EssentialsChat.jar to work.
chat:
# If EssentialsChat is installed, this will define how far a player's voice travels, in blocks. Set to 0 to make all chat global. # Note that users with the "essentials.chat.spy" permission will hear everything, regardless of this setting. # Users with essentials.chat.shout can override this by prefixing text with an exclamation mark (!) # Users with essentials.chat.question can override this by prefixing text with a question mark (?) # You can add command costs for shout/question by adding chat-shout and chat-question to the command costs section." radius: 0
# Chat formatting can be done in two ways, you can either define a standard format for all chat. # Or you can give a group specific chat format, to give some extra variation. # For more information of chat formatting, check out the wiki: http://wiki.ess3.net/wiki/Chat_Formatting
format: '<{DISPLAYNAME}> {MESSAGE}' #format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'
group-formats: # Default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}' # Admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'
# If you are using group formats make sure to remove the '#' to allow the setting to be read.
############################################################ # +------------------------------------------------------+ # # | EssentialsProtect | # # +------------------------------------------------------+ # ############################################################
# This section requires the EssentialsProtect.jar to work.
protect:
# General physics/behavior modifications. 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-playerdamage: false tnt-minecart-explosion: false tnt-minecart-playerdamage: false fireball-explosion: false fireball-fire: false fireball-playerdamage: false witherskull-explosion: false witherskull-playerdamage: false wither-spawnexplosion: false wither-blockreplace: false creeper-explosion: false creeper-playerdamage: false 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. 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
# 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
# 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
############################################################ # +------------------------------------------------------+ # # | EssentialsAntiBuild | # # +------------------------------------------------------+ # ############################################################
# This section requires the EssentialsAntiBuild.jar to work.
# Disable various default physics and behaviors # For more information, visit http://wiki.ess3.net/wiki/AntiBuild
# Should people with build: false in permissions 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 with build: false in permissions 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 tell people they are not allowed to build? warn-on-build-disallow: true
# 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:
# Which blocks should not be dispensed by dispensers dispenser:
############################################################ # +------------------------------------------------------+ # # | Essentials Spawn / New Players | # # +------------------------------------------------------+ # ############################################################
# This section requires essentialsspawn.jar to work.
newbies: # Should we announce to the server when someone logs in for the first time? # If so, use this format, replacing {DISPLAYNAME} with the player name. # If not, set to '' #announce-format: '' announce-format: '&dWelcome {DISPLAYNAME}&d to the server!'
# 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
# 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. respawn-listener-priority: high
# When users die, should they respawn at their first home or bed, instead of the spawnpoint? respawn-at-home: false
# End of file <-- No seriously, you're done with configuration.
Jest to początkowy config każdego wrzucającego nowo zainstalowany plugin.
W 23 linijce:
możemy ustawić kolor dla osoby która ma op, jeśli nie chcemy żadnego usuwamy ,,4''
W 29 linijcie:
ustawiamy ile można maksymalnie znaków do nicku przy komendzie /nick i /nickname zalecam ustawić sobie z 40-50 (czyli &l ,& ,&0...)
W 58 i 61 linijce:
Kod PHP:
teleport-cooldown: 0
teleport-delay: 0
ustawiamy ile sekund ma teleportować gracza bez op lub permisji.
W 68 linijce:
ustawiamy co ile można używać komendy /heal i /feed.
W 73 linijce:
ustawiamy informacje ile kratek od nas jest gracz za pomocą komendy /near.
Teraz będzie jak robić kity + permisje (WYMAGANE PermissionsEX lub inny plugin na permisje)
Kod PHP:
start: #nazwa delay: 600 #czas w sekundach items: #piszemy przed pisaniem przedmiotów - 278 1 efficiency:1 durability:1 fortune:1 name:&4Witaj lore:&7Kop_mna - 322 16 unbreaking:10 name:&eZjedz_mnie
- 278 - ID diamentowego kilofu
- 1 - (po 278) gracz dostaje 1 sztukę tego przedmiotu
- efficiency:1 ... - enchanty
- name:NAZWA - nazwa przedmiotu
- lore:OPIS - opis przedmiotu
- &0-&9 - paleta kolorów
Otóż w ,,name:'' i ,,lore:'' jeśli chcemy zrobić spację używamy ''_'' gdyż inaczej nie będzie widać drugiej nazwy lub opisu.
Dodatkowo w drugim przykładzie przedmiotu dałem enchant ,,unbreaking:10'' ,nie jest to normalny enchant ,gdyż normalnie taki nie występuje ,ale zaraz pokażę wam jak ustawić w essentials takie enchanty i ,że nie jest potrzebny żaden plugin typu ,,TimTheEnchanter''.
Teraz pokażę wam permisje do enchantów wykorzystując permissionsEX inne również współgrają, ale wykorzystuje się inne komendy: ( WYMAGANE: permissionsEX)
Kod PHP:
/pex group <nazwa_rangi> add essentials.kits.<nazwa_kitu>
a w konsoli wpiszemy:
Kod PHP:
pex group <nazwa_rangi> add essentials.kits.<nazwa_kitu>
W 305 linijce:
możecie tam ustawić kolorowe pisanie ,usuwając ,, #''
W 405 linijce:
ustawiamy czy chcemy widzieć wiadomości json na chacie po śmierci.
Jeśli nie, zmieniamy na:
W 414 linijce:
Kod PHP:
custom-join-message: "none"
ustawiamy wiadomość gracza po wejściu na serwer. Domyślnie nic nie widać.
W 418 linijce:
Kod PHP:
custom-quit-message: "none"
ustawiamy wiadomość gracza po wyjściu z serwera. Domyślnie nic nie widać.
W 447 linijce:
Kod PHP:
unsafe-enchantments: false
jest to o czym była mowa,
czyli niebezpieczne enchanty (np. ostrość 10/100/1000/10000).
Jeśli chcecie je na serwerze musicie zmienić na:
Kod PHP:
unsafe-enchantments: true
W 511/512/513 linijce:
Kod PHP:
sethome-multiple: default: 3 vip: 5 staff: 10
można ustawić ile sethome ma używać dana grupa z daną permisją.
Oczywiście WYMAGANY jest plugin na rangi i dam wam przykład w PermissionsEX:
Kod PHP:
/pex group <nazwa_rangi> add essentials.sethome.multiple.default
Kod PHP:
/pex group <nazwa_rangi> add essentials.sethome.multiple.vip
Kod PHP:
/pex group <nazwa_rangi> add essentials.sethome.multiple.staff
gracz z permisją essentials.sethome.multiple.default może używać 3 /sethome
gracz z permisją essentials.sethome.multiple.vip może używać 5 /sethome
gracz z permisją essentials.sethome.multiple.staff może używać 10 /sethome
W linijkach 604-609:
Kod PHP:
format: '<{DISPLAYNAME}> {MESSAGE}' #format: '&7[{GROUP}]&r {DISPLAYNAME}&7:&r {MESSAGE}'
group-formats: # Default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}' # Admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'
ustawiamy co chcemy aby było przy nicku na chacie,
ale najpierw polecam usunąć < i > gdyż nie wygląda to zbyt ładnie,
możecie to zastąpić czym tylko chcecie.
Aby było widać to na chat usuwacie wszystkie # z tych linijek.
A teraz wyjaśnię co robią słowa w {}:
{WORLDNAME} - Przy nicku widać nazwę świata (jeśli dodamy)
{GROUP} - Widać rangę gracza (jeśli dodamy, WYMAGANY plugin na rangi)
{DISPLAYNAME} - Widać nazwę gracza
{MESSAGE} - Wiadomość wysłana przez gracza
Kod PHP:
group-formats: # Default: '{WORLDNAME} {DISPLAYNAME}&7:&r {MESSAGE}' # Admins: '{WORLDNAME} &c[{GROUP}]&r {DISPLAYNAME}&7:&c {MESSAGE}'
Default - Ranga (możemy dodawać swoje)
Admins - Ranga (możemy dodawać swoje)
Czyli gracz z rangą Default,
będzie pisał na biało (&r to kolor biały).
Czyli gracz z rangą Admins,
będzie pisał na jasny czerwony (&c to kolor jasny czerwony).
W Essentials Protect ustawiamy co ma być włączone ,a co nie:
Kod PHP:
############################################################ # +------------------------------------------------------+ # # | EssentialsProtect | # # +------------------------------------------------------+ # ############################################################
# This section requires the EssentialsProtect.jar to work.
protect:
# General physics/behavior modifications. 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-playerdamage: false tnt-minecart-explosion: false tnt-minecart-playerdamage: false fireball-explosion: false fireball-fire: false fireball-playerdamage: false witherskull-explosion: false witherskull-playerdamage: false wither-spawnexplosion: false wither-blockreplace: false creeper-explosion: false creeper-playerdamage: false 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. 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
W tym wypadku:
False = Włączone
True = Wyłączone
W 790 linijce:
Kod PHP:
announce-format: '&dWelcome {DISPLAYNAME}&d to the server!'
ustawiamy co ma pisać po pierwszym wejściu gracza na serwer,
to zależy już od waszego gustu!
Mam nadzieję ,że dobrze wyjaśniłem tutaj wiele najważniejszych (według mnie),
opcji pluginu Essentials.
Jeśli pomogłem poproszę pozytywne oceny i diaxy na diamentową zbrojkę
|
|