Skocz do zawartości

Dołącz do społecznoś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

[Pytanie] Ukrywanie komend w konsoli (SKRIPT)

Rekomendowane odpowiedzi

Opublikowano

Siemanko.

Mam taki prosty skrypt, który po wpisaniu komendy /standard wykonuje komendy consoli (give)

I jest taka sprawa, że chciałbym jakoś ukryć te komendy w konsoli, czyli żeby po użyciu tej komendy w konsoli nie wyświetlało się:

2013-11-23 13:51:04 [INFO] testowekonto: /standard
2013-11-23 13:51:04 [INFO] Giving 1 of diamond sword to testowekonto.
2013-11-23 13:51:04 [INFO] Giving 1 of diamond helmet to testowekonto.
2013-11-23 13:51:04 [INFO] Giving 1 of diamond chestplate to testowekonto.
2013-11-23 13:51:04 [INFO] Giving 1 of diamond leggings to testowekonto.
2013-11-23 13:51:04 [INFO] Giving 1 of diamond boots to testowekonto.
2013-11-23 13:51:04 [INFO] Giving 64 of pumpkin pie to testowekonto.

Tutaj podaję kod:

command /standard:
	trigger:
		execute console command "give %player% diamondsword 1 sharpness:5"
		execute console command "give %player% diamondhelmet 1 protection:4"
		execute console command "give %player% diamondchestplate 1 protection:4"
		execute console command "give %player% diamondleggings 1 protection:4"
		execute console command "give %player% diamondboots 1 protection:4"
		execute console command "give %player% 400 64"

dsa

Opublikowano
command /standard:
	trigger:
		execute player command "give %player% diamondsword 1 sharpness:5"
		execute player command "give %player% diamondhelmet 1 protection:4"
		execute player command "give %player% diamondchestplate 1 protection:4"
		execute player command "give %player% diamondleggings 1 protection:4"
		execute player command "give %player% diamondboots 1 protection:4"
		execute player command "give %player% 400 64"

lub

command /standard:
	trigger:
		give 1 diamond sword with sharpness
		give 1 diamond helmet with protection 
		give 1 diamond chestplate with protection 
		give 1 diamond leggings with protection 
		give 1 diamond boots with protection 
		give 64 pumpkin pie to the player

Edytowane przez <TheBest>

1394047278-U990178.png

Opublikowano

@Up

W 1. tak, w drugim nie. Spróbuj drugi sposób

command /standard:
	trigger:
		give 1 diamond sword with sharpness 5
		give 1 diamond helmet with protection 4
		give 1 diamond chestplate with protection 4 
		give 1 diamond leggings with protection 4
		give 1 diamond boots with protection 4
		give 64 pumpkin pie to the player

Edytowane przez <TheBest>

1394047278-U990178.png

Opublikowano
  • Autor

@up

2013-11-23 14:12:19 [SEVERE] '1' is not an entity type (standardpvp.sk, line 3: 'give 1 diamond sword with sharpness 5')
2013-11-23 14:12:19 [SEVERE] '1' is not an entity type (standardpvp.sk, line 4: 'give 1 diamond helmet with protection 4')
2013-11-23 14:12:19 [SEVERE] '1' is not an entity type (standardpvp.sk, line 5: 'give 1 diamond chestplate with protection 4')
2013-11-23 14:12:19 [SEVERE] '1' is not an entity type (standardpvp.sk, line 6: 'give 1 diamond leggings with protection 4')
2013-11-23 14:12:19 [SEVERE] '1' is not an entity type (standardpvp.sk, line 7: 'give 1 diamond boots with protection 4')
2013-11-23 14:12:19 [INFO] [Skript] Encountered 5 errors while reloading standardpvp.sk!

dsa

Opublikowano


command /standard:

trigger:

give diamond sword with sharpness 5

give diamond helmet with protection 4

give diamond chestplate with protection 4

give diamond leggings with protection 4

give diamond boots with protection 4

give 64 pumpkin pie to the player

1394047278-U990178.png

Opublikowano

Żeby ukryc informacje po zalaczeniu danej komendy w konsoli wystarczy w essentialis usunac linijke give w konfiguracji na jezyk polski jezeli takowy masz.

SkyBlock


s1.game-craft.pl


s2.game-craft.pl


I wiele wiecej!

Opublikowano
  • Autor


2013-11-23 14:19:28 [INFO] [Skript] Reloading standardpvp.sk...

2013-11-23 14:19:28 [SEVERE] 'diamond' is not an entity type (standardpvp.sk, line 3: 'give diamond sword with sharpness 5')

2013-11-23 14:19:28 [SEVERE] 'diamond' is not an entity type (standardpvp.sk, line 4: 'give diamond helmet with protection 4')

2013-11-23 14:19:28 [SEVERE] 'diamond' is not an entity type (standardpvp.sk, line 5: 'give diamond chestplate with protection 4')

2013-11-23 14:19:28 [SEVERE] 'diamond' is not an entity type (standardpvp.sk, line 6: 'give diamond leggings with protection 4')

2013-11-23 14:19:28 [SEVERE] 'diamond' is not an entity type (standardpvp.sk, line 7: 'give diamond boots with protection 4')

2013-11-23 14:19:28 [INFO] [Skript] Encountered 5 errors while reloading standardpvp.sk!

 

dsa

Opublikowano

 

2013-11-23 14:19:28 [INFO] [Skript] Reloading standardpvp.sk...
2013-11-23 14:19:28 [SEVERE] 'diamond' is not an entity type (standardpvp.sk, line 3: 'give diamond sword with sharpness 5')
2013-11-23 14:19:28 [SEVERE] 'diamond' is not an entity type (standardpvp.sk, line 4: 'give diamond helmet with protection 4')
2013-11-23 14:19:28 [SEVERE] 'diamond' is not an entity type (standardpvp.sk, line 5: 'give diamond chestplate with protection 4')
2013-11-23 14:19:28 [SEVERE] 'diamond' is not an entity type (standardpvp.sk, line 6: 'give diamond leggings with protection 4')
2013-11-23 14:19:28 [SEVERE] 'diamond' is not an entity type (standardpvp.sk, line 7: 'give diamond boots with protection 4')
2013-11-23 14:19:28 [INFO] [Skript] Encountered 5 errors while reloading standardpvp.sk!
Spróbuj razem, np.

give diamondboots with protection 4
Opublikowano

 

command /standard:
    trigger:
        give 1 diamond sword of sharpness 5 to player
        give 1 diamond helmet of protection 4 to player
        give 1 diamond chestplate of protection 4 to player
        give 1 diamond leggings of protection 4 to player
        give 1 diamond boots of protection 4 to player
        give 64 pumpkin pie to player

logo_head.png

Zarchiwizowany

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

Ostatnio przeglądający 0

  • Brak zarejestrowanych użytkowników przeglądających tę stronę.

Konto

Nawigacja

Skonfiguruj powiadomienia push w przeglądarce

Chrome (Android)
  1. Stuknij ikonę kłódki obok paska adresu.
  2. Stuknij Uprawnienia → Powiadomienia.
  3. Dostosuj swoje ustawienie.
Chrome (Komputer)
  1. Kliknij ikonę kłódki na pasku adresu.
  2. Wybierz Ustawienia witryny.
  3. Znajdź Powiadomienia i dostosuj swoje ustawienie.