CustomJoinItem

Technická podpora k herním serverům Minecraft a Tekkit
Message
Autor
erik1234567891011
Příspěvky: 431
Registrován: 07 led 2015, 13:49
Reputation: 0

CustomJoinItem

#1 Příspěvekod erik1234567891011 » 30 pro 2015, 20:11

Ip 82.208.17.20:27173

Prosim viete niekto ako nastavit tento Pl na BungeeCord ?

Uživatelský avatar
ungurof
Příspěvky: 346
Registrován: 25 zář 2015, 20:44
Reputation: 0

Re: CustomJoinItem

#2 Příspěvekod ungurof » 30 pro 2015, 20:20

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ý.

erik1234567891011
Příspěvky: 431
Registrován: 07 led 2015, 13:49
Reputation: 0

Re: CustomJoinItem

#3 Příspěvekod erik1234567891011 » 30 pro 2015, 20:36


Uživatelský avatar
ungurof
Příspěvky: 346
Registrován: 25 zář 2015, 20:44
Reputation: 0

Re: CustomJoinItem

#4 Příspěvekod ungurof » 30 pro 2015, 20:40

https://translate.google.cz/?hl=cs#en/cs/%23%20This%20is%20just%20an%20internal%20name%2C%20must%20not%20be%20the%20same%20of%20another.%0Afirst-item%3A%0A%20%20%20%20%0A%20%20%20%20id%3A%20352%0A%20%20%20%20%23%20(REQUIRED)%20The%20ID%20of%20the%20material.%0A%20%20%20%20%0A%20%20%20%20%0A%20%20%20%20name%3A%20'%26aTest%20item'%0A%20%20%20%20%23%20(REQUIRED)%20The%20custom%20name%20of%20the%20item%20(with%20formatting%20codes).%0A%20%20%20%20%0A%20%20%20%20%0A%20%20%20%20data-value%3A%200%0A%20%20%20%20%23%20This%20is%20optional.%20Can%20be%20used%20for%20colored%20wool%2C%20and%20other%20items%0A%20%20%20%20%23%20with%20data%20values.%0A%20%20%20%20%0A%20%20%20%20cooldown-seconds%3A%205%0A%20%20%20%20%23%20This%20prevents%20command%20spam.%0A%20%20%20%20%0A%20%20%20%20command%3A%20'say%20Hello%20world'%0A%20%20%20%20%23%20The%20command%20bound%20to%20this%20item.%20It%20will%20be%20executed%20when%20the%20item%0A%20%20%20%20%23%20is%20right%20clicked.%0A%20%20%20%20%23%20There%20are%20some%20prefixes%20that%20can%20give%20extra%20functionalities%20to%0A%20%20%20%20%23%20commands%3A%0A%20%20%20%20%23%20%0A%20%20%20%20%23%20'console%3A%20'%20(execute%20the%20command%20as%20console)%0A%20%20%20%20%23%20'op%3A%20'%20(execute%20the%20command%20as%20op)%0A%20%20%20%20%23%20'server%3A%20'%20(for%20BungeeCord)%0A%20%20%20%20%23%20'tell%3A%20'%20(sends%20a%20message%20to%20the%20player)%0A%20%20%20%20%23%0A%20%20%20%20%23%20You%20can%20use%20symbols%20and%20the%20placeholders%20%25player%25%20and%20%25world%25.%0A%20%20%20%20%23%0A%20%20%20%20%23%20Use%20multiple%20commands%20like%20this%3A%20'command%3B%20command2%3B%20command3'%0A%20%20%20%20%0A%20%20%20%20lore%3A%0A%20%20%20%20%20%20-%20'Line%201'%0A%20%20%20%20%20%20-%20'Line%202'%0A%20%20%20%20%20%20-%20'...'%0A%20%20%20%20%23%20The%20lore%20of%20the%20item%20(with%20formatting%20codes%20and%20symbols%20support).%0A%20%20%20%20%0A%20%20%20%20block-movement%3A%20false%0A%20%20%20%20%23%20This%20prevents%20players%20from%20moving%20the%20item%20at%20all.%0A%20%20%20%20%0A%20%20%20%20slot%3A%209%0A%20%20%20%20%23%20If%20omitted%2C%20the%20item%20will%20be%20placed%20in%20the%20first%20empty%20slot.%0A%20%20%20%20%23%20If%20set%2C%20the%20item%20will%20attempt%20to%20place%20in%20that%20hotbar's%20slot%2C%0A%20%20%20%20%23%20and%20it%20will%20move%20any%20existing%20item%20that%20is%20in%20that%20slot%2C%0A%20%20%20%20%23%20if%20there's%20enough%20space%20in%20the%20inventory.%0A%20%20%20%20%0A%20%20%20%20%0A%20%20%20%20permission%3A%20'customjoinitems.test'%0A%20%20%20%20%23%20The%20item%20required%20to%20obtain%20the%20item%20on%20join.%20If%20not%20set%2C%0A%20%20%20%20%23%20everyone%20will%20get%20the%20item.%0A%20%20%20%20%0A%20%20%20%20%0A%20%20%20%20first-join-only%3A%20false%0A%20%20%20%20%23%20(default%20%3D%20false)%0A%20%20%20%20%23%20If%20true%2C%20the%20player%20will%20get%20the%20item%20only%20when%20they%20join%0A%20%20%20%20%23%20the%20server%20the%20first%20time.%0A%20%20%20%20%23%20NOTE%3A%20give-at-respawn%20will%20automatically%20be%20set%20to%20false%2C%0A%20%20%20%20%23%20if%20this%20node%20is%20true.%0A%20%20%20%20%0A%20%20%20%20%0A%20%20%20%20give-at-respawn%3A%20true%0A%20%20%20%20%23%20(default%20%3D%20true)%0A%20%20%20%20%23%20If%20set%20to%20true%2C%20the%20player%20will%20receive%20the%20item%20when%20he%20dies%0A%20%20%20%20%23%20and%20respawn.%0A%20%20%20%20%0A%20%20%20%20%0A%20%20%20%20allow-drop%3A%20false%0A%20%20%20%20%23%20(default%20%3D%20false)%0A%20%20%20%20%23%20Allows%20players%20to%20drop%20the%20item.%0A%0A%0A%20%20%20%20give-on-world-change%3A%20false%0A%20%20%20%20%23%20(default%20%3D%20false)%0A%20%20%20%20%23%20The%20plugin%20will%20eventually%20give%20the%20item%20to%20the%20players%20when%20they%0A%20%20%20%20%23%20change%20world.%0A%20%20%20%20%23%20Useful%20if%20you%20have%20Multiverse%20or%20similar%20plugins.%0A%20%20%20%20%0A%20%20%20%20%0A%20%20%20%20disabled-worlds%3A%20world_nether%2C%20world_the_end%0A%20%20%20%20%23%20a%20list%20of%20disabled%20worlds%20separated%20by%20commas.%20If%20you%20don't%20want%20to%0A%20%20%20%20%23%20disable%20an%20item%20in%20some%20worlds%2C%20remove%20this%20node%20or%20set%20it%20to%20''.

erik1234567891011
Příspěvky: 431
Registrován: 07 led 2015, 13:49
Reputation: 0

Re: CustomJoinItem

#5 Příspěvekod erik1234567891011 » 30 pro 2015, 20:43

Items.yml
Spoiler: zobrazit

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

Uživatelský avatar
mannyvee
Příspěvky: 1081
Věk: 26
Registrován: 28 bře 2015, 13:49
Reputation: 0

Re: CustomJoinItem

#6 Příspěvekod mannyvee » 30 pro 2015, 21:01

@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.

erik1234567891011
Příspěvky: 431
Registrován: 07 led 2015, 13:49
Reputation: 0

Re: CustomJoinItem

#7 Příspěvekod erik1234567891011 » 31 pro 2015, 00:27

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 ?

Uživatelský avatar
mannyvee
Příspěvky: 1081
Věk: 26
Registrován: 28 bře 2015, 13:49
Reputation: 0

Re: CustomJoinItem

#8 Příspěvekod mannyvee » 31 pro 2015, 02:28

To by jsi musel mít ChestCommands nebo MyCommand (předělaný příkaz třeba), který zadáš jako command: 'vip' do CustomJoinItems.. :)


Zpět na „Minecraft, Tekkit“

Kdo je online

Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 16 hostů