Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[DL] [TUT] DeathMessages


Rekomendowane odpowiedzi

Opublikowano

Witajcie!

 

Postanowiłem przygotować ­poradnik do pluginu DeathMessages. 

Oto strona na Bukkit:

http://dev.bukkit.org/bukkit-plugins/death-messages/

1. Instalacja

 

a. Pobieramy plugin z Bukkit.org

http://dev.bukkit.org/bukkit-plugins/death-messages/files/ 

b. Wrzucamy do plugins. 

c. Uruchamiamy serwer, można także zreloadować. 

 

2. Konfiguracja

 

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# About Plugin/Author #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
#
# Plugin Name: DeathMessages
# Author: Jose Manuel Gassin Perez-Traverso
# Bukkit Profile: http://dev.bukkit.org/profiles/Mayhem777/
# Description: Change the Default Bukkit Death Messages as you wish, including colors, victim name, killer name and weapon/material/name...  also other General messages as Join/Kick/Leave.
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# About Plugin/Author #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#

Version: '2.8.0'
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# Plugin Version #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#

#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# Debugging #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
#
### Enabling this option will BROADCAST extra data about the Death Process, which will be useful to find plugins conflicting with Minecraft standard events.
# You'll be able to check: Victim Name, World Name, Last Damage Cause Type, Last Damage Cause (Reason), and Damager.
Debug: false
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# Debugging #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#



#====================================== PvP Messages ======================================#
### What to do with PvP Death Messages?
# 1 = Don't Show any of Them.
# 2 = Show them as Usual.
# 3 = ONLY show PvP Death Messages.
PvP_Death_Messages_Handling: 2

#====================================== World Settings ======================================#
### IMPORTANT NOTE: World names are CASE SENSITIVE!
### Disable ALL Death and General messages to those worlds, total silence, no message comming from the world itself or from any other.
Silenced_Worlds:
- TooManyDeaths_world
- NoSpam_world

### Linking worlds allows worlds to share death/general messages, worlds out if this list will ONLY see it's own messages.
# Example: as you can see in this list, the worlds "world", "world_nether" and "world_the_end" are linked, so Death and General messages will be shared, if we have another world called "new_world", will only be able to see it's own Death and General Messages.
Linked_Worlds:
  Enable: false
  World_List:
  - world
  - world_nether
  - world_the_end

#====================================== General Messages ======================================#
### Enable/Disable custom General Messages:
General_Messages: false

### On Player FIRST Join Message:
Player_First_Join: '&6The Player &b%player &6has joined the Server for FIRST TIME!'

### On Player Join Message:
Player_Join: '&aThe Player &b%player &ahas joined the Server!'

### On Player Leave/Disconnect Message:
Player_Disconect: '&cThe Player &b%player &chas left the Server!'

### On Player Kick Message:
Player_Kick: '&cThe Player &b%player &chas been Kicked!'

#====================================== Death Messages ======================================#

#====# Mob Causes #====#
Blaze:
- '&2%player &Ezostal spalony &CBlaze.'
- '&2%player &Edostal z ognistej kuli!'
CaveSpider:
- '&2%player &Ezjedzony przez pajaka jaskinowego.'
- '&2%player &Ezaatakowany przez pajaka jaskinowego.'
Creeper:
- '&2%player &Ewylecial w powietrze.'
- '&2%player &Eeksplodowal!'
EnderDragon:
- '&2%player &Ezabity przez Smoka Kresu.'
- '&2%player &Eprobowal latac na Smoku.'
Enderman:
- '&2%player &Ezabity przez &CEnderman.'
- '&2%player &Ezabity przez &CEnderman.'
Ghast:
- '&2%player &Eostrzelany przez &CGhast'
- '&2%player &Ezjedzony przez &CGhast!'
Giant:
- '&2%player &Ewas slain by &CGiant'
- '&2%player &Ewas stomped by &CGiant'
IronGolem:
- '&2%player &Ezabity przez &CGolma'
- '&2%player &Ezabity przez &CGolma'
MagmaCube:
- '&2%player &&Ezabity przez &CKostke Lawy'
- '&2%player &&Ezabity przez &CKostke Lawy'
PigZombie:
- '&2%player &Eugryziony przez &CZombie Pigman'
- '&2%player &Ezabity przez &CZombie Pigman'
Silverfish:
- '&2%player &ezabity przez &CSilverfish'
SkeletonArcher:
- '&2%player &Ezestrzelony przez &CSzkieleta'
- '&2%player &Ezdjety z luku przez &CSzkieleta'
SkeletonMelee:
- '&2%player &Ezabity przez &CSzkieleta'
- '&2%player &Ezabity przez &CSzkieleta'
Slime:
- '&2%player zafapany na smierc'
Spider:
- '&2%player &Ezabity przez &CPajaka'
- '&2%player &Ezabity przez &CPajaka'
Witch:
- '&2%player &Ezabity przez &CCzarownice'
- '&2%player &Ezabity przez &CCzarownice'
Wolf:
- '&2%player &Ezagryziony przez &CWilka'
- '&2%player &Ezagryziony przez &CWilka'
Zombie:
- '&2%player &Eprzez &CZombie'
- '&CZombie &Ezjadl &2%player'
### Wither
Wither:
- '&2%player &Ezabity przez Wither'
- '&2%player &Ezabity przez Wither'
WitherEffect:
- '&2%player &Ezabity przez Wither'
- '&2%player &Epum! pam! puf!'
### Wither Skeleton
WitherSkeleton:
- '&2%player &Ezabity przez Wither'
- '&2%player &Ezabity przez Wither'
#====# PvP Causes #====#
PvPWeapon:
- '&2%player zostal zabity przez &C%killer'
# Weapon Tag NOT APLICABLE
PvPFist:
- '&2%player zostal zabity przez &C%killer'
PvPBow:
- '&2%player &Ezestrzelony przez &C%killer'
# This happens when a player dies by a Thorn Enchantment.
Thorns:
- '&2%player &Ezabity podczas ataku na &C%killer'
#====# Other Causes #====#
TNT:
- '&2%player &Ewylecial w powietrze'
- '&2%player &Ewybuchl'
Cactus:
- '&2%player &Enakol sie na smierc'
- '&2%player &Eprzytulil kaktusa!'
Anvil:
- '&2%player &Eznikl pod kowadlem'
- '&2%player &Echcial pocalowac kowadlo'
# Dispenser only has 1 message for deaths, but i added another one if player dies from a fireball 
DispenserArrow:
- '&2%player &Ezastrzelony'
DispenserFireball:
- '&2%player &Ezastrzelony'
Drowning:
- '&2%player &Ezapomnial, ze nie umie plywac'
- '&2%player &Eutopil sie!'
PotionofHarming:
- '&2%player &Ezabity przez magie'
# In Minecraft you can't die from normal Poison, you just get to half heart, anyway it a Poison Potion hits you when u're with low health and kills you or by other plugins this could happen.
Fall:
- '&2%player &Euderzyl w ziemie'
- '&2%player &Eprobowal latac'
Poison:
- '&2%player &Ezjadl trucizne'
# Direct exposure to a fire block
FireBlock:
- '&2%player &Estanal w plomieniach'
# Death caused by burns after leaving a Fire Block or Lava Block.
FireEffect:
- '&2%player &Esplonal'
Lava:
- '&2%player &Eplywal w lawie'
# You usually get "went up in flames" like cause of death by a thunder, now you can specify what you want, anyway if the fire kills you first the cause will still being the fire.
Lightning:
- '&2%player &Esplonal'
Starvation:
- '&2%player &Ezaglodzony na smierc'
Suffocation:
- '&2%player &Eudusil sie w scianie'
# Suicide message is only possible when player uses /suicide or /kill to himself.
Suicide:
- '&2%player &Ezginal'
Void:
- '&2%player &Ewylecial poza swiat'
# Weird causes like killed by EnderPearl, Eggs and Snowballs.
# Snowmans can't kill players cause Snowballs have no damage, anyway some servers change this mechanic for fun (like my server), so i added it too.
Others:
- '&2%player &Ezginal'
Snowman:
- '&2%player &Ezmrozony &cBalwana'
## Rest of the Causes, command causes will be showed here, like /kill or /suicide case doesn't have a damager.
Unknown:
- '&2%player &Ezginal' 

 

Jest to już spolszczony plugin. Ma on możliwość ustawienia wiadomości po śmierci gracza w zależności od okoliczności, moba a nawet miejsca. 

 

Linijka około 49:

General_Messages: false (wyłączona) / true (włączona) 

Pozwala ustawić podstawowe wiadomości przy wchodzeniu, wychodzeniu, banowaniu czy kickowaniu. U mnie ta funkcja jest wyłączona. 

Do każdej "śmierci" można przypisać kilka wiadomości, które losowo będą się wyświetlały (oczywiście pojedyńczo). Jest także funkcja włączenia działania pluginu na danym świecie.

Linked_Worlds:
  Enable: false(wyłączona) / true(włączona) 
  World_List:
  - world
  - world_nether
  - world_the_end
  - spawn
  - survivalowa
  - <kolejny świat>

Dzięki za przeczytanie tego tuta. Lajkuj, komentuj i subskrybuj ;D. 

PS: Wiem "grafika" nie zachwyca. 

4462514400953061278225.png

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...