CustomJoinItem
Napsal: 30 pro 2015, 20:11
od erik1234567891011
Ip 82.208.17.20:27173
Prosim viete niekto ako nastavit tento Pl na BungeeCord ?
Re: CustomJoinItem
Napsal: 30 pro 2015, 20:20
od ungurof
A co sem třeba dodat link na plugin, asi není jen jeden, verzi pluginu a ještě lépe celý config. Většinou je ten config popsaný.
Re: CustomJoinItem
Napsal: 30 pro 2015, 20:36
od erik1234567891011
Re: CustomJoinItem
Napsal: 30 pro 2015, 20:43
od erik1234567891011
Items.yml
Kód: Vybrat vše
first-item:
name: '&aTest Item'
id: 345
slot: 9
lore:
- '&7This item is given on join to people with'
- '&7the permission &ecustomjoinitems.test&7 .'
- '&7They still need the standard permission'
- '&7to execute the command. A normal user'
- '&7shouldn''t be able to use &d/say&7. If'
- '&7you specify a slot (1-9), the item will'
- '&7be placed in that slot, moving an eventual'
- '&7existing item to the first empty slot.'
command: 'say This is just a test.'
cooldown-seconds: 5
permission: 'customjoinitems.test'
second-item:
name: '&cAnother Item'
id: 352
lore:
- '&7If you don''t set the permission, the item'
- '&7will be given to everyone. If you don''t'
- '&7specify a slot, the item will be in the'
- '&7first empty.'
command: 'me Hello, I''m new to this server!'
cooldown-seconds: 5
all-the-possible-nodes:
name: '&eConfig Item'
id: 339
slot: 1
data-value: 0
lore:
- '&7This item contains all the existing config nodes.'
- '&7Open items.yml to see it.'
command: 'console: tell %player% This is; console: tell %player% a test.'
permission: 'customjoinitems.admin'
cooldown-seconds: 5
give-at-respawn: true
first-join-only: false
allow-drop: false
block-movement: false
disabled-worlds: world_nether, world_the_end
give-on-world-change: true
Re: CustomJoinItem
Napsal: 30 pro 2015, 21:01
od mannyvee
@Ungurof: Škoda slov...
@erik1234567891011:
Kód: Vybrat vše
Test: #Název 'itemu' nebo-li meníčka
name: '&6VIP' #Název/Jméno itemu ve hře
id: 264 #ID/item, který se oběví v inventáři
slot: 9 #Číslo, na kterém slotu se daný item bude nacházet
lore: #(pod)Název nebo-li sub-název Itemu hned pod Name
- '&ePodpor server koupi vip' #Zde si pak píšeš co chceš, ale vše musí být v '', tudíž pozor!
- '&7Ziskas spoustu dobrych vyhod'
command: 'warp vip' #Příkaz, který se vykoná po kliknutí na item. Pokud ho necháš prázdný '', žádný příkaz se nevykoná.
cooldown-seconds: 5 #Čas, za jakou dobu může na item opět kliknout.
permission: 'customjoinitems.test' #Pokud potřebuje permisse: - customjoinitems.test //Permisse se dává s názvem meníčka- Toto jsou základní věci, více nepotřebuješ vědět.

Kdyby jsi měl potíže, piš opět zde do tohoto tématu.
Re: CustomJoinItem
Napsal: 31 pro 2015, 00:27
od erik1234567891011
A ked chcem aby napr Bude mat v ruke knizku a v tej knizke ked klikne Pravym tak sa mu otvori a tam budu dalsie Itemy ?? to sa ako robi ?
Re: CustomJoinItem
Napsal: 31 pro 2015, 02:28
od mannyvee
To by jsi musel mít ChestCommands nebo MyCommand (předělaný příkaz třeba), který zadáš jako command: 'vip' do CustomJoinItems..
