Stránka 1 z 1

CustomCrafting

Napsal: 25 srp 2012, 21:58
od Welton123
PODPIS

plugin:http://dev.bukkit.org/server-mods/customcrafting/files/1-v0-6/

Ahoj, chtel bych se zeptat jak se pouziva tento plugin, kdybych chtel např udělat aby se dalo vycraftit wolf egg ?

Re: CustomCrafting

Napsal: 25 srp 2012, 22:16
od Cernokneznik
takže ok...
V configu si nastavíš recepty (řekni co chceš, já ti to nastavím)
Vypadá to takhle -
Jsi na svém serveru, kde máš již nastavený plugin...
...otevřeš craftbednu...
...použiješ recept...
...a je to...
přidal jsem pár screánů :)
jestli si to chceš zkusit, ten recept co je ve screanech mám na serevru 93.91.240.153:37845 :)
**screany jdou odspodu**

Re: CustomCrafting

Napsal: 25 srp 2012, 22:25
od Welton123
Aha, takze např. na spawn egg wolf to bdue takto ?

Kód: Vybrat vše

#Each recipe has a unique id.

#Lets have a look at a shapeless recipe.
#8:  <-this is the unique ID.
#  Result: 3  <-the ID of the result.
#  Quantity: 6  <-the quantity of the result.
#  Materials: {2: 3, 6: 2}  <-Starting materials, format: "id: quantity".
#  Type: Shapeless  <-Define the type
#For data values in materials, add a DataValues node (value doesn't matter) and use the following syntax:
#{id: quantity/data, id: quantity/data...}
#To addd result data:
# Add ResultData node, set it to the needed value.
#To add result damage:
# Add ResultDamage node, set it to the needed value.
example8:
  Result: 256
  Quantity: 6
  Materials: {256: 1/127}
  DataValues: abc
  Type: Shapeless
abc74:
  Result: 256
  Quantity: 6
  Materials: {265: 1}
  Type: Shapeless
  ResultDamage: 251
#Now a shaped recipe
#3:  <-z ceho se bude craftit.
#  Shape:  <-do not touch this, it is a keyword.
#  - [3, 3, 3]  <- prvni radek
#  - [3, 0, 3]  <- druhej radek
#  - [3, 3, 3]  <- treti radek
#  Result: 4  <-co vyjde
#  Quantity: 8  <-pocet
#Note that by default, if no type is defined, the plugin will think that the recipe is shaped.
psi vejce:
  Shape:
  - [352, 352, 352]
  - [352, 344, 352]
  - [352, 352, 352]
  Result: 383:95
  Quantity: 1
#Another example of a shaped recipe, showing that the recipes don't have to fill in the whole grid.



352 - ID kosti
344 - ID normal. vajicka
ab vyslo spawn egg vlka

Re: CustomCrafting

Napsal: 25 srp 2012, 22:29
od Cernokneznik
ano :) Jestli ti to ale nepůjde, zkus to takto:
Spoiler: zobrazit
#Each recipe has a unique id.

#Lets have a look at a shapeless recipe.
#8: <-this is the unique ID.
# Result: 3 <-the ID of the result.
# Quantity: 6 <-the quantity of the result.
# Materials: {2: 3, 6: 2} <-Starting materials, format: "id: quantity".
# Type: Shapeless <-Define the type
#For data values in materials, add a DataValues node (value doesn't matter) and use the following syntax:
#{id: quantity/data, id: quantity/data...}
#To addd result data:
# Add ResultData node, set it to the needed value.
#To add result damage:
# Add ResultDamage node, set it to the needed value.
example8:
Result: 256
Quantity: 6
Materials: {256: 1/127}
DataValues: abc
Type: Shapeless
abc74:
Result: 256
Quantity: 6
Materials: {265: 1}
Type: Shapeless
ResultDamage: 251
#Now a shaped recipe
#3: <-z ceho se bude craftit.
# Shape: <-do not touch this, it is a keyword.
# - [3, 3, 3] <- prvni radek
# - [3, 0, 3] <- druhej radek
# - [3, 3, 3] <- treti radek
# Result: 4 <-co vyjde
# Quantity: 8 <-pocet
#Note that by default, if no type is defined, the plugin will think that the recipe is shaped.
psi_vejce:
Shape:
- [352, 352, 352]
- [352, 344, 352]
- [352, 352, 352]
Result: 383
ResultData: 95
Quantity: 1
#Another example of a shaped recipe, showing that the recipes don't have to fill in the whole grid.

(dal jsem pric mezeru mezy "psi vejce" a změnil jsem "Result: 383:95" na dva řádky "Result: 383" "ResultData: 95") :)

Re: CustomCrafting

Napsal: 26 srp 2012, 09:22
od Welton123
Dobře díky. Dá se nějak nastvit, aby se např. muselo použít 5x vejce a 1x kost dokola ?

Re: CustomCrafting

Napsal: 20 dub 2013, 22:04
od Gotak
Existuje ještě něco takového na verzi 1.5.1?

Re: CustomCrafting

Napsal: 20 dub 2013, 22:29
od nejento
Hledej a neobnovuj témata ze srpna. Obecně, neobnovuj stará témata.

//LOCK