Skocz do zawartości

Rekomendowane odpowiedzi

AxShop
Zaawansowany skrypt na sklep z pełną możliwością edycji.
Ostatnio mi się nudziło chociaż nie powinno bo oceny trzeba poprawiać
ale postanowiłem coś stworzyć i myśle że to jest takim fajnym efektem :D

Wymagania:
- Min. Skript 2.2
- WildSkript
- SkQuery

Konfiguracja:

Dodawanie przedmiotu:

Spoiler

1. Dodajemy swoją nazwe do lubryki Items:
2. Dodajemy cene(Price) pod nazwą
3. Tworzymy lubryke Gui: (To bedzie nasz item w gui)
   - Dodajemy item: Item: diamond
   - Dodajemy nazwe: Name: '&7Diax'
   - Dodajemy lore: Lore: '&7DIAXX'
4. Tworzymy lubryke Item: (To będzie nasz item po zakupieniu)
   - Dodajemy item: Item: diamond
   - Dodajemy nazwe: Name: '&7Diax'
   - Dodajemy lore: Lore: '&7DIAXX'
5. Dodajemy dodatkowe funkcje:
   - Możemy dodać wykonywaną komende przez console: Execute-Console 'pex...'
   - Mozemy dodać wiadomość po zakupie Message: '&7KUPILES DIAXA'
   - Możemy dodać wiadomość gdy nas nie stać na item Price-message: '&7Nie stac cie!'

Przykład:


Items:
  Diax:
    Message: '&7Pomyslnie zakupiles diaxa! Twoj stan konta wynosi: &6{COIN}'
    Price-Message: '&7Nie stac cie na ten przedmiot!'
    Price: 5
    Gui:
      Item: diamond
      Name: '&7Diamond'
      Lore: '&7Kliknij aby kupic diaxa||&cCena: &a{PRICE}'
    Item:
      Item: diamond
      Name: '&bMagiczny diax'
      Lore: '&7Zakupiony za pomoca sklepu!||&cCena: &a{PRICE}'

Przykład z Execute:


Items:
  Vip:
    Price: 10000
    Message: '&7Pomyslnie zakupiles &6Vipa &7Na edycje! Twoj stan konta wynosi: &6{COIN}'
    Execute-Console: 'pex group Vip user add {PLAYER}'
    Gui:
      Item: paper
      Name: '&6VIP na edycje!'
      Lore: '&7Kliknij aby zakupic vipa na edycje!||&cCena: &a{PRICE}'

 

SS: (Gui domyślne)

Spoiler

Gui główne:
Cldjd7L.png
Gui do kupowania:
2G0RlYU.png
Gui do sprzedawania:
mi36zAZ.png

Skrypt:
AxShop
Config.yml
Buy.yml
Sell.yml
Konfiguracja powinna sie pobrać sama ale jeżeli nie to wgraj
ten folder tam gdzie jest skrypt

Dodatki do skryptu:

AdminShop - Skrypt pozwalający zarządzać stanem konta graczy
SellAll - Skrypt pozwalający sprzedawać wszystkie możliwe itemy w inventory
Dodatki

To Do:

- Wasze propozycje

 

Wszelkie błędy i opinie prosze zgłaszać pod tematem lub na PW :D

Odnośnik do komentarza
https://skript.pl/temat/33169-axshop-zaawansowany-skrypt-na-sklep-full-config/
Udostępnij na innych stronach

  • 2 miesiące temu...
1 minutę temu, marcinkoxx napisał:

mam wersje skript 2.2 wpisuje /sklep i nie reaguje.

Są jakieś błędy? (mc i consola)
Config sie stworzyl?
 

Odnośnik do komentarza
https://skript.pl/temat/33169-axshop-zaawansowany-skrypt-na-sklep-full-config/#findComment-221177
Udostępnij na innych stronach

2 minuty temu, xAxee napisał:

Są jakieś błędy? (mc i consola)
Config sie stworzyl?
 

wgrałem AxShop , restartowalem i config się nie stworzyl. Potem go wgrałem, lecz nadal nie działa. MC I Consola zadnych bledow.

Odnośnik do komentarza
https://skript.pl/temat/33169-axshop-zaawansowany-skrypt-na-sklep-full-config/#findComment-221179
Udostępnij na innych stronach

1 minutę temu, marcinkoxx napisał:

wgrałem AxShop , restartowalem i config się nie stworzyl. Potem go wgrałem, lecz nadal nie działa. MC I Consola zadnych bledow.

Config wgrales do folderu AxShop? (tam gdzie skrypt)

Odnośnik do komentarza
https://skript.pl/temat/33169-axshop-zaawansowany-skrypt-na-sklep-full-config/#findComment-221180
Udostępnij na innych stronach

W dniu 9.08.2019 o 23:23, xAxee napisał:

Config wgrales do folderu AxShop? (tam gdzie skrypt)

dobra, nie uprzedziles ze trzeba wpisac /sklep reload żeby zaczelo dzialac, sory za zbędny  czasik ;c

 

aha, gdzie mam dodac dodatki? (SellAll i to drugie?)

Odnośnik do komentarza
https://skript.pl/temat/33169-axshop-zaawansowany-skrypt-na-sklep-full-config/#findComment-221182
Udostępnij na innych stronach

Kurczaki :/ Wild skript 1.12.2 nie ma więc użyłem skUtilities i wyskakuje to i nic nie działa  :/

Cytat


 
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Config' doesn't exist in file '/game/bin/AxShop/Buy.yml' (SExprYaml.class)
[23:48:58 INFO]: [AxShop] Nie wykryto ustawien! (Buy)
[23:48:58 INFO]: [AxShop] Tworzenie pliku... (Buy)
[23:48:58 INFO]: [AxShop] Ladowanie sklepu...
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Items' doesn't exist in file '/game/bin/AxShop/Sell.yml' (SExprYaml.class)
[23:48:58 INFO]: [AxShop] Usunieto config Sell...
[23:48:58 INFO]: [AxShop] Wczytano nowy config Sell (0 itemow) (<none> zmiennych)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Items' doesn't exist in file '/game/bin/AxShop/Buy.yml' (SExprYaml.class)
[23:48:58 INFO]: [AxShop] Usunieto config Buy...
[23:48:58 INFO]: [AxShop] Wczytano nowy config Buy (0 itemow) (<none> zmiennych)
[23:48:58 INFO]: [AxShop] Ladowanie config.yml!...
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Sell.Back.Slot' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Buy.Back.Slot' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Sell.Back.Name' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Sell.Back.Lore' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Sell.Back.Item' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Buy.Back.Name' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Buy.Back.Lore' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Buy.Back.Item' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'SellAll-Message' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Default-Price-Message.Buy' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Default-Price-Message.Sell' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Default-Message.Buy' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Default-Message.Sell' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Name' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Size' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Sell.Size' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Buy.Size' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Sell.Name' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Buy.Name' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.BackGround.Name' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.BackGround.Item' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.BackGround.Lore' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Coin.Item' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Coin.Slot' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Coin.Name' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Coin.Lore' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Buy.Item' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Buy.Slot' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Buy.Name' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Buy.Lore' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Sell.Item' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Sell.Slot' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Sell.Name' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Gui.Main.Sell.Lore' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:58 INFO]: [AxShop] Zaladowano config.yml! (0 zmiennych)
[23:48:58 INFO]: [AxShop] Zaladowano 0 Uzytkownikow
[23:48:58 INFO]: [AxShop] Zaladowano sklep!
[23:48:58 INFO]: [AxShop] Jezeli przyk�adowe opcje sie nie pobra�y pobierz je r�cznie: http://www.mediafire.com/file/336qnwm43uww3ar/AxShop.rar/file
[23:48:58 ERROR]: [skUtilities] v0.9.2: File: '/game/bin/plugins/Skript/scripts/AxShop/Buy.yml' already exists! (EffCreateFile.class)
[23:48:58 INFO]: [AxShop] Pobieranie przykladowych ustawien... (Buy)
[23:48:58 INFO]: [AxShop] Pobrano przykladowe ustawienia! (Buy)
[23:48:58 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Config' doesn't exist in file '/game/bin/AxShop/Sell.yml' (SExprYaml.class)
[23:48:58 INFO]: [AxShop] Nie wykryto ustawien! (Sell)
[23:48:58 INFO]: [AxShop] Tworzenie pliku... (Sell)
[23:48:58 ERROR]: [skUtilities] v0.9.2: File: '/game/bin/plugins/Skript/scripts/AxShop/Sell.yml' already exists! (EffCreateFile.class)
[23:48:59 INFO]: [AxShop] Pobieranie przykladowych ustawien... (Sell)
[23:48:59 INFO]: [AxShop] Pobrano przykladowe ustawienia! (Sell)
[23:48:59 ERROR]: [skUtilities] v0.9.2: Yaml Path: 'Config' doesn't exist in file '/game/bin/AxShop/Config.yml' (SExprYaml.class)
[23:48:59 INFO]: [AxShop] Nie wykryto ustawien! (Config)
[23:48:59 INFO]: [AxShop] Tworzenie pliku... (Config)
[23:48:59 ERROR]: [skUtilities] v0.9.2: File: '/game/bin/plugins/Skript/scripts/AxShop/Config.yml' already exists! (EffCreateFile.class)
[23:48:59 INFO]: [AxShop] Pobieranie przykladowych ustawien... (Config)
[23:48:59 INFO]: [AxShop] Pobrano przykladowe ustawienia! (Config)

 

Odnośnik do komentarza
https://skript.pl/temat/33169-axshop-zaawansowany-skrypt-na-sklep-full-config/#findComment-221665
Udostępnij na innych stronach

@arixgry jakaś wersja wildskript działała na 1.12 ale teraz nie jestem w stanie podać. Jak wrócę z wakacji to zamienię WS na skutilities. 

Odnośnik do komentarza
https://skript.pl/temat/33169-axshop-zaawansowany-skrypt-na-sklep-full-config/#findComment-221671
Udostępnij na innych stronach

  • 4 tygodnie później...

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Dodaj odpowiedź do tematu...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

  • Ostatnio przeglądający   0 użytkowników

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