fthrgrg
Участник
- Баллы
- 31
Версия: v1.5.1
Рекомендуемая версия ядра CraftBukkit или Spigot.
У вас есть свой сервер майнкрафт?
Но вы ещё не определились с тематекой?
Я вам представляю плагин, на зомби апокалипсис!
С помощью его, вы можете создать по настоящему годный сервер с зомбаками!
Каждый вечер в 9:00, есть 20 % шанс, что начнётся Зомби Апокалипсис.
#Enter the name of the world you want to use for the zombie apocalypse
#Replace "world" with whatever your server's world is
world: ew - мир где будет работать плагин
#when you have configured this file with your world's name change false to true
configured: true - чуть не забыл, если у вас false, то поставьте true.
#numzombies is the amount of zombies you want to spawn per person from a default event.
numzombies: 10 - количество зомби(расчитывается по 1 игроку)
#winpercent is the %, expressed in decimal (meaning 50% is 0.5, 25% is 0.25)
#of zombies that spawn that must be killed to win
winpercent: 0.5 - не советую трогать.
#set a hard limit for the number of zombies spawned. if numzombies*players is greater
#than this number it will only spawn as many zombies as hardlimit.
#any number less than one means there is no limit.
hardlimit: -1
#chance is for the chance for an apocalypse to happen
#the value is a number between 1 and 100 (for 20% use 20)
chance: 20
#The next two are for disabling/enabling some chat messages
#warning of the possibility for a zombie apocalypse (happens at 8:00 PM)
warningmsg: true - если у вас false, то поставьте true.
#message if a zombie apocalypse didn't happen
safemsg: true - если у вас false, то поставьте true.
#logServerMessages is true if you want ZA messages displayed in the server's console, false if not.
logServerMessages: true
#
#CUSTOM LOOT
#for each possible reward include the name of the item, use '/za getitem' with an item in your hand
#to get the name of each item, spell the name exactly the same way as it shows
#copy and paste one of these as a template for each additional item you want and increase the numbers
#remember to increase 'numitems' to reflect the number of items you ahve
#itemN: [item]
#chanceN: [integer]
#amountN: [integer]
#messageN: [message]
#CHANCE WORKS THIS WAY - this is not a percent
#a random number will be generated between 1 and the total chance between all items
#if item 1's chance is 5, and item 2's chance is 10 then a number between 1 and 15 will be generated
#item 1 will have 5 chances of those 15 possible numbers to be chosen, and item 2 will have 10 chances.
#Simply put, each item will have that number of chances to be picked out of the sum of all chances.
#number of items:
numitems: 7
дальше идут призы, настроить можете, как хотите.
item1: DIAMOND_SWORD
chance1: 5
amount1: 1
message1: 'Поздравляю! Ты выйграл меч героя!'
item2: DIAMOND_CHESTPLATE
chance2: 5
amount2: 1
message2: 'Молодец, ты наш герой, получи нагрудник чемпиона!'
item3: DIAMOND
chance3: 25
amount3: 2
message3: 'Повезло! Тебе выпало 2 алмаза!'
item4: GOLD_SWORD
chance4: 25
amount4: 1
message4: 'Фантастически! Тебе выпал золотой меч!'
item5: EMERALD
chance5: 25
amount5: 1
message5: 'Поздравляю, эмеральд) Приятного обмена с жителями!'
item6: DIAMOND
chance6: 50
amount6: 1
message6: 'Отлично, алмаз твой приз!'
item7: IRON_INGOT
chance7: 150
amount7: 5
message7: 'Отличная работа, твой приз 5 железных слитка!'
#Replace "world" with whatever your server's world is
world: ew - мир где будет работать плагин
#when you have configured this file with your world's name change false to true
configured: true - чуть не забыл, если у вас false, то поставьте true.
#numzombies is the amount of zombies you want to spawn per person from a default event.
numzombies: 10 - количество зомби(расчитывается по 1 игроку)
#winpercent is the %, expressed in decimal (meaning 50% is 0.5, 25% is 0.25)
#of zombies that spawn that must be killed to win
winpercent: 0.5 - не советую трогать.
#set a hard limit for the number of zombies spawned. if numzombies*players is greater
#than this number it will only spawn as many zombies as hardlimit.
#any number less than one means there is no limit.
hardlimit: -1
#chance is for the chance for an apocalypse to happen
#the value is a number between 1 and 100 (for 20% use 20)
chance: 20
#The next two are for disabling/enabling some chat messages
#warning of the possibility for a zombie apocalypse (happens at 8:00 PM)
warningmsg: true - если у вас false, то поставьте true.
#message if a zombie apocalypse didn't happen
safemsg: true - если у вас false, то поставьте true.
#logServerMessages is true if you want ZA messages displayed in the server's console, false if not.
logServerMessages: true
#
#CUSTOM LOOT
#for each possible reward include the name of the item, use '/za getitem' with an item in your hand
#to get the name of each item, spell the name exactly the same way as it shows
#copy and paste one of these as a template for each additional item you want and increase the numbers
#remember to increase 'numitems' to reflect the number of items you ahve
#itemN: [item]
#chanceN: [integer]
#amountN: [integer]
#messageN: [message]
#CHANCE WORKS THIS WAY - this is not a percent
#a random number will be generated between 1 and the total chance between all items
#if item 1's chance is 5, and item 2's chance is 10 then a number between 1 and 15 will be generated
#item 1 will have 5 chances of those 15 possible numbers to be chosen, and item 2 will have 10 chances.
#Simply put, each item will have that number of chances to be picked out of the sum of all chances.
#number of items:
numitems: 7
дальше идут призы, настроить можете, как хотите.
item1: DIAMOND_SWORD
chance1: 5
amount1: 1
message1: 'Поздравляю! Ты выйграл меч героя!'
item2: DIAMOND_CHESTPLATE
chance2: 5
amount2: 1
message2: 'Молодец, ты наш герой, получи нагрудник чемпиона!'
item3: DIAMOND
chance3: 25
amount3: 2
message3: 'Повезло! Тебе выпало 2 алмаза!'
item4: GOLD_SWORD
chance4: 25
amount4: 1
message4: 'Фантастически! Тебе выпал золотой меч!'
item5: EMERALD
chance5: 25
amount5: 1
message5: 'Поздравляю, эмеральд) Приятного обмена с жителями!'
item6: DIAMOND
chance6: 50
amount6: 1
message6: 'Отлично, алмаз твой приз!'
item7: IRON_INGOT
chance7: 150
amount7: 5
message7: 'Отличная работа, твой приз 5 железных слитка!'
- Я полностью переписал плагин, он был с хаком(был исправлен)
- Лёгкая настройка.
- Нет пермишиона
- Не придётся долго мараться

- Можно конечно в игре ввести /za и посмотреть все команды, но я всё равно выложу их сюда.
- /za - Посмотреть список команд.
- /za version - посмотреть версию плагина.
- /za kills - убить всех зомби.
- /za start - начать зомби апокалипсис вручную
- /za start кол-во - начать зомби апокалипсис с выбором кол-ва зомби(на 1 игрока)
- /za getitem - говорит, id предмета в руке( не самая полезная функция)
Спасибо за внимание!
Это мой первый плагин, не судите строго))





