Funkce
Plugin slouží jako minihra (zábava) na server.
Instalace
1. Vypneme server.
2. Stáhneme plugin z odkazu.
Kód: Vybrat vše
http://dev.bukkit.org/bukkit-plugins/skywars-plugin/
3. Připojte se do FTP nebo do control panelu.
4. Plugin nahrajte do složky plugins.
5. Spusťte server.
Permissions
Spoiler: zobrazit
Příkazy
Spoiler: zobrazit
Překlad
Tu máte překlad pluginu
Kód: Vybrat vše
prefix: '&7[&cSW&7]: '
game:
join: '&6{player} &ese pripojil do hry ({amount}/{slots})'
required: '&e{amount} &6ke se musí připojit ostatní hráči'
quit:
playing: '&6{player} &eodpojil se ze hry {score}'
other: '&6{player} &e právě odpojil ({total}/{slots})'
remaining: '&b{remaining}&6 player(s) remain!'
death: '&9{player}&6 umrel {score}&6.'
kill: '&9{player} {player_score}&1 byl zabit hracem &1{killer} {killer_score}&6.'
countdown: '&eHra zacina za &c{timer}&e seconds!'
win: '&6{player}&e vyhral jsi &9{map} &a(+{score} score)&e!'
start: '&5Bitva muze zacit!'
eliminated:
self: '&5You have been eliminated. Better &cluck&5 next time!'
others: '&6Player &9{player}&6 has been eliminated!'
chat:
local: '&e{prefix}&8{player}&e&l:::&a&l&6&l----> &b{MESSAGE}'
global: '&c{prefix}&8{player}&e&l:::&a&l&6&l----> &b{MESSAGE}'
error:
cmd-disabled: Prikazy jsou v dobe hry zakazane!
no-schematics: '&cNejsou k dispozici zadne schemata.'
not-in-game: '&cNejsi ve Hre'
already-started: '&cHra jiz zacala'
not-enough-players: '&cMálo hracu'
arena-under-construction: '&cArena je stale ve vystavbe'
insufficient-permissions: '&cNemas dostatecna Opravneni!'
player-only: '&aPříkaz muže použít jen hráč'
already-has-kit: '&cPrávě sis vybral kit který jsi chtělt'
can-not-pick-kit: '&cNemuzes si vzit kit v teto dobe!'
no-such-kit: '&cNebyl nalezen zadny takovy Kit!'
not-enough-score: '&cNemas dostatek body ke kitu!'
no-permission-kit: '&cNemas prava pro tento kit!'
no-valid-score: '&cNeplatne skore!'
no-valid-player: '&cNeplatny Hrac!'
not-enough-arguments: '&cNemas dostatek argumentu! &f{example}'
invalid-cmd: '&eNeplatny prikaz!'
command-not-ready: '&enejsi připraven.'
success:
lobby-set: '&aLobby spawn byl nastaven.'
reload: '&8Truhly, nastroje a kity plugin.yml byli Restartovany!'
enjoy-kit: '&aUzij si svuj kit'
score-set: '&6{player}&a''s skore bylo nastaveno &6{value}'
score-give: '&6{value} &abyl pridan &6{player}&a''s score'
score-take: '&6{value} &aodstranil z &6{player}&a''s score'
cmd:
available-commands: '&eDostupne prikazy:'
score: '&a{player}''s skore je: &9{value}'
kit:
window-title: '&dKit Menu'
lores:
no-permission: '&r&cNemas permisse'
score:
naming: ' skore'
Config
Kód: Vybrat vše
#
# Optional schematic specific configuration
lobby: <-- Lobby
world: world
spawn: 3808.16 71.00 4011.29 90.15 13.35
radius: 0
score: <-- Skore
per-kill: 3
per-win: 10
on-death: -1
on-leave: -1
groups:
example:
per-kill: 3
per-win: 10
on-death: -1
on-leave: -1
schematics: <-- Schema
schematic-name:
min-players: 2
timer: 11
SW:
min-players: 8 = Nastavení Hráčů
timer: 11 = Čas
statistics: = Statistika
update-interval: 600 = Obnovení Statistiky ve hře
top: 30 = Top si zvol jaký chceš volý se to podle toho nakolik lidí máš Arénu
data-storage: FILE
database: = Připojení do database
hostname: localhost = Vaše hostname od Database.
port: 3306 = Port
username: username = Jmeno database
password: password = Heslo database
database: database = Název database
islands-per-row: 100
island-buffer: 5
island-building:
enabled: false = Nastaví stavění na Islandu
interval: 1 = Interval něčeho rači bych nechal stejný na 1
blocks-per-tick: 20 = Zde rači nic neměnit !
build-cages: true = Zapnutí vypnutí klece
ignore-air: false
fill-empty-chests: true = Vyplní Truhly podle toho co sis nastavil v Nastavení Chest.yml
fill-populated-chests: false = Moc jsem uplný vyznam nepochopil prominte
use-economy: false = Používání Ekonomiky
disable-kits: false = Vypne kity
chat-handled-by-other-plugin: true = Pokud používáš essentials nebo jiný plugin nech na true
clear-inventory-on-join: true = Vyčistí inventáře při připojení do Arény
save-inventory: true = Uchová inventáře po připojení do arény uchovalé po skončení hry
whitelisted-commands:
- g
- global
enable-soundeffects: false = Zapne vypne zvukové efekty. true = Zaplné, false = Vyplé
Kit
Jak si vytvořit kit.
Kód: Vybrat vše
icon:
# The material this kit should have in the inventory menu
material: 'WOODENSWORD'
# The data this material should have (optional)
data: 0
# Gives the player the permission to purchase this kit through score (optional)
points: 0
# Additional text added to the lores of the item in the inventory menu (optional)
details:
- '&ePro Hrace' <-- Popis pro koho to je.
- '&2Ta prava vecicka!' <-- Nějaký popis.
# The items in this kit
items: <-- Zde zapisuješ itemy co chceš aby hráč měl za věci.
- 'bow 1 power:1'
- 'arrow 16'
- 'stonesword 1 sharpess:2'
- 'leatherhelmet 1 protection:1'
- 'leatherchestplate 1 protection:2'
- 'leatherleggings 1 protection:1'
- 'leatherboots 1 protection:2'
Truhly
Jak se nastavují truhly
Kód: Vybrat vše
# The first value is the chance of the item appearing in a chest
# The second value is the item, this should be an Essentials item string
Item: -- sem zapisuješ itemy, které chceš aby se tam dávaly
- 85 5 5
- 50 snowball 3
- 75 fishing_rod 1
- 18 ender_pearl 3
- 20 ender_pearl 1
- 10 327 1
- 70 30 3
- 100 apple 1
- 85 bread 2
- 50 steak 3
- 7 322:1 1
- 25 golden_apple 2
- 15 373:16388
- 18 373:16460
- 20 373:8193 1
- 23 373:8261 1
- 45 bow 1
- 60 arrow 2
- 50 arrow 4
- 15 arrow 12
- 5 diamond_sword 1
- 20 307 1
- 20 308 1
- 20 309 1
- 20 iron_sword 1
- 30 iron_axe 1
- 75 268 1
- 45 298 1 protection:1
- 40 299 1 protection:1
- 40 300 1 protection:1
- 40 301 1 protection:1