Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Jak dodać inne Questy w Skrypcie "xQuestSk


dragon5585

Rekomendowane odpowiedzi

Opublikowano
quests:
	kill:	
		name: 'Zabij 5 pajakow'
		lore:	
   	   		- '&bZabito _NICE-VALUE_/_VALUE_'
   			- '&cNagroda _ECO-REWARD_'
    		- '&dZadanie dla gracza &3_PLAYER_'
		type: kill
		req-item:	
			item-id: diamond sword
			item-id-completed: dirt
		enity: spider
		value: 5
		eco-reward: 100
		commands:
      		- 'say _PLAYER_ wykonał misję i otrzymuje _ECO-REWARD_$'
      		- 'say Zabił on _NICE-VALUE_/_VALUE_ zombie!'
		message:
			player:	
				- "Ta wiadomosc wyskoczy tylko osobie"
        		- "ktora wykonala misje!"
			server:	
				- "Ta wiadomosc wyskoczy wszystkim"
        		- "ktorzy sa na serwerze!"
	

Tu masz questa polegającego na zabiciu pięciu pająków. Nagroda to 100$. Nie zmieniaj zmiennych, możesz zmieniać przedmioty oraz wiadomości

Wklej to na samym dole skryptu. Nie sprawdzałem, w razie błędów prześlij logi i poprawię.

 

Opublikowano
39 minut temu, sk8erace1 napisał:

quests:
	kill:	
		name: 'Zabij 5 pajakow'
		lore:	
   	   		- '&bZabito _NICE-VALUE_/_VALUE_'
   			- '&cNagroda _ECO-REWARD_'
    		- '&dZadanie dla gracza &3_PLAYER_'
		type: kill
		req-item:	
			item-id: diamond sword
			item-id-completed: dirt
		enity: spider
		value: 5
		eco-reward: 100
		commands:
      		- 'say _PLAYER_ wykonał misję i otrzymuje _ECO-REWARD_$'
      		- 'say Zabił on _NICE-VALUE_/_VALUE_ zombie!'
		message:
			player:	
				- "Ta wiadomosc wyskoczy tylko osobie"
        		- "ktora wykonala misje!"
			server:	
				- "Ta wiadomosc wyskoczy wszystkim"
        		- "ktorzy sa na serwerze!"
	

Tu masz questa polegającego na zabiciu pięciu pająków. Nagroda to 100$. Nie zmieniaj zmiennych, możesz zmieniać przedmioty oraz wiadomości

Wklej to na samym dole skryptu. Nie sprawdzałem, w razie błędów prześlij logi i poprawię.

 

Wkleiłem to co mi kazałeś do Skryptu ale nie działa a po napisaniu /sk reload wyskakuje to:

[20:08:48 INFO]: [Skript] Reloading xquestsk.sk...
[20:08:48 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (xquestsk.sk, line 192: lore:')
[20:08:48 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (xquestsk.sk, line 207: player:')
[20:08:48 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (xquestsk.sk, line 210: server:')
[20:08:48 ERROR]: can't understand this event: 'quests' (xquestsk.sk, line 189: quests:')
[20:08:48 INFO]: [Skript] Encountered 1 error while reloading xquestsk.sk!

Opublikowano
	kill:	
		name: 'Zabij 5 pajakow'
		lore:	
   	   		- '&bZabito _NICE-VALUE_/_VALUE_'
   			- '&cNagroda _ECO-REWARD_'
    			- '&dZadanie dla gracza &3_PLAYER_'
		type: kill
		req-item:	
			item-id: diamond sword
			item-id-completed: dirt
		enity: spider
		value: 5
		eco-reward: 100
		commands:
      		- 'say _PLAYER_ wykonał misję i otrzymuje _ECO-REWARD_$'
      		- 'say Zabił on _NICE-VALUE_/_VALUE_ zombie!'
		message:
			player:	
				- "Ta wiadomosc wyskoczy tylko osobie"
        			- "ktora wykonala misje!"
			server:	
				- "Ta wiadomosc wyskoczy wszystkim"
        			- "ktorzy sa na serwerze!"
	

Sorry mój błąd. Wklej to w configu. 

Opublikowano

Teraz wyskoczyło więcej błędów:

[20:21:15 INFO]: [Skript] Reloading xquestsk.sk...
[20:21:15 ERROR]: indentation error: expected 3 tabs, but found '___->___->->' [-> = tab, _ = space, ? = other whitespace] (xquestsk.sk, line 192: - '&bZabito _NICE-VALUE_/_VALUE_'')
[20:21:15 ERROR]: indentation error: expected 3 tabs, but found '___->->->' [-> = tab, _ = space, ? = other whitespace] (xquestsk.sk, line 193: - '&cNagroda _ECO-REWARD_'')
[20:21:15 ERROR]: indentation error: expected 3 tabs, but found '____->->->' [-> = tab, _ = space, ? = other whitespace] (xquestsk.sk, line 194: - '&dZadanie dla gracza &3_PLAYER_'')
[20:21:15 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (xquestsk.sk, line 191: lore:')
[20:21:15 ERROR]: indentation error: expected 3 tabs, but found '______->->' [-> = tab, _ = space, ? = other whitespace] (xquestsk.sk, line 203: - 'say _PLAYER_ wykona│ misjŕ i otrzymuje _ECO-REWARD_$'')
[20:21:15 ERROR]: indentation error: expected 3 tabs, but found '______->->' [-> = tab, _ = space, ? = other whitespace] (xquestsk.sk, line 204: - 'say Zabi│ on _NICE-VALUE_/_VALUE_ zombie!'')
[20:21:15 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (xquestsk.sk, line 202: commands:')
[20:21:15 ERROR]: indentation error: expected 4 tabs, but found '________->->->' [-> = tab, _ = space, ? = other whitespace] (xquestsk.sk, line 208: - "ktora wykonala misje!"')
[20:21:15 ERROR]: indentation error: expected 4 tabs, but found '________->->->' [-> = tab, _ = space, ? = other whitespace] (xquestsk.sk, line 211: - "ktorzy sa na serwerze!"')
[20:21:15 ERROR]: can't understand this condition: 'kill' (xquestsk.sk, line 189: kill:')
[20:21:15 INFO]: [Skript] Encountered 8 errors while reloading xquestsk.sk!

 

------------------------------------------------------------------------------------------------------------------------------------------------------------

 

Dobra usunąłem spacje i dodałem Taby i teraz wyskakuje mi tylko ten błąd:

 

[20:28:21 INFO]: [Skript] Reloading xquestsk.sk...
[20:28:21 ERROR]: can't understand this condition: 'kill' (xquestsk.sk, line 189: kill:')
[20:28:21 INFO]: [Skript] Encountered 1 error while reloading xquestsk.sk!

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...