Skocz do zawartości


Zdjęcie

Skrypt na czasowe bany wyciszenia bany bany ip itd


  • Zaloguj się, aby dodać odpowiedź
9 odpowiedzi w tym temacie

#1 mich100

mich100

    Znawca

  • Użytkownik
  • 255 postów
  • ShinjuHoshi

Napisano 10 May 2014 - 12:51

Szukam skryptu na:

czasowy ban z możliwością dania różnych form czasu  oraz powód czyli np / tempban nick powód 10 s/m/h/d/mies 

czasowe wyciszanie graczy z powodem np /wycisz nick powód 10 s/m/h

bany na zawsze z powodem 

bany ip na zawsze z powodem

możliwość odbanowania odmutowania

 


Precyzja odpowiedzi zależy przede wszystkim od precyzji zadanego pytania.

 


craftportal

Craftserve to największy i najlepszy polski hosting serwerów Minecraft, jest solidny i tani więc go polecam

#2 KPM2003

KPM2003

    Znawca

  • Użytkownik
  • 266 postów

Napisano 10 May 2014 - 15:11

Czasowe bany:

options:
[TAB]chat_prefix: <green>[BanCzasowy]
command /banczasowy [<text>] [<text>] [<text>] [<text>]:
[TAB]permission: banczasowy.use
[TAB]permission message: {@chat_prefix}<red>Nie mozesz czasowo banowac
[TAB]usage: {@chat_prefix}<red>Uzycie: /banczasowy <nick> <powod> <czas> <jednostka: sekundy/minuty/godziny/dni/miesiace>
[TAB]trigger:
[TAB][TAB]if argument 4 is "sekundy":
[TAB][TAB][TAB]ban argument 1 due for argument 2
[TAB][TAB][TAB]wait argument 3 seconds
[TAB][TAB][TAB]unban argument 1
[TAB][TAB]else if argument 4 is "minuty":
[TAB][TAB][TAB]ban argument 1 due for argument 2
[TAB][TAB][TAB]wait argument 3 seconds
[TAB][TAB][TAB]unban argument 1
[TAB][TAB]else if argument 4 is "godziny":
[TAB][TAB][TAB]ban argument 1 due for argument 2
[TAB][TAB][TAB]wait argument 3 hours
[TAB][TAB][TAB]unban argument 1
[TAB][TAB]else if argument 4 is "dni":
[TAB][TAB][TAB]ban argument 1 due for argument 2
[TAB][TAB][TAB]wait argument 3 days
[TAB][TAB][TAB]unban argument 1
[TAB][TAB]else if argument 4 is "miesiace":
[TAB][TAB][TAB]ban argument 1 due for argument 2
[TAB][TAB][TAB]wait argument 3 months
[TAB][TAB][TAB]unban argument 1
[TAB][TAB]else:
[TAB][TAB][TAB]send "{@chat_prefix}<red>Nieodpowiednia jednostka czasu; dostępne: sekundy/minuty/godziny/dni/miesiace" to player

Wyciszanie:

variables:
[TAB]{%player%.wyciszony} = false
options:
[TAB]chat_prefix: <green>[WyciszanieCzasowe]
command /wycisz [<text>] [<text>] [<text>] [<text>]:
[TAB]permission: wyciszanie.use
[TAB]permission message: {@chat_prefix}<red>Nie mozesz wyciszac
[TAB]usage: {@chat_prefix}<red>Uzycie: /wycisz <nick> <powod> <czas> <jednostka: sekundy/minuty/godziny/dni/miesiace>
[TAB]trigger:
[TAB][TAB]if argument 4 is "sekundy":
[TAB][TAB][TAB]set {%argument 1%.wyciszony} to true
[TAB][TAB][TAB]wait argument 3 seconds
[TAB][TAB][TAB]set {%argument 1%.wyciszony} to false
[TAB][TAB]else if argument 4 is "minuty":
[TAB][TAB][TAB]set {%argument 1%.wyciszony} to true
[TAB][TAB][TAB]wait argument 3 seconds
[TAB][TAB][TAB]set {%argument 1%.wyciszony} to false
[TAB][TAB]else if argument 4 is "godziny":
[TAB][TAB][TAB]set {%argument 1%.wyciszony} to true
[TAB][TAB][TAB]wait argument 3 hours
[TAB][TAB][TAB]set {%argument 1%.wyciszony} to false
[TAB][TAB]else if argument 4 is "dni":
[TAB][TAB][TAB]set {%argument 1%.wyciszony} to true
[TAB][TAB][TAB]wait argument 3 days
[TAB][TAB][TAB]set {%argument 1%.wyciszony} to false
[TAB][TAB]else if argument 4 is "miesiace":
[TAB][TAB][TAB]set {%argument 1%.wyciszony} to true
[TAB][TAB][TAB]wait argument 3 months
[TAB][TAB][TAB]set {%argument 1%.wyciszony} to false
[TAB][TAB]else:
[TAB][TAB][TAB]send "{@chat_prefix}<red>Nieodpowiednia jednostka czasu; dostępne: sekundy/minuty/godziny/dni/miesiace" to player
on chat:
[TAB]if {%player%.wyciszony} is true:
[TAB][TAB]cancel event
[TAB][TAB]send "{@chat_prefix}<red>Zostales wyciszony i nie mozesz pisac na chacie" to player

Banowanie na zawsze na nick i IP:

options:
[TAB]chat_prefix = <green>[Ban]
command /zbanuj [<text>] [<text>]:
[TAB]permission: zbanuj.use
[TAB]permission message: {@chat_prefix}<red>Nie masz permisji do banowania
[TAB]usage: /zbanuj <typ: nick/ip> <nick>
[TAB]trigger:
[TAB][TAB]if argument 1 is "nick":
[TAB][TAB][TAB]ban argument 2
[TAB][TAB]else if argument 1 is "ip":
[TAB][TAB][TAB]ban ip of argument 2
[TAB][TAB]else:
[TAB][TAB][TAB]send "{@chat_prefix}<red>Niepoprawny typ bana; dostępne: nick, ip" to player


#3 PoweredDragon

PoweredDragon

    All in one Bitches

  • Użytkownik+
  • 1206 postów
  • PoweredDragon

Napisano 10 May 2014 - 16:13

@UPZ 

angielskiego jak sądzę trójeczka? Może dwója? A może jeszcze gorzej?...

 

By zobaczyć linki musisz się zalogować lub zarejestrować

 

Poprawiłem błędy w jego skrypcie... I wyspacjowałem od razu :D


  • mich100 lubi to
Dołączona grafika

#4 mich100

mich100

    Znawca

  • Użytkownik
  • 255 postów
  • ShinjuHoshi

Napisano 10 May 2014 - 16:48

@up 

Dzięki kolego wielki plus dla Ciebie i oczywiście lajk :D

@edit

sprawdzę czy działa jak wrócę :P

 

@edit2

nie działa są błędy :(

[18:25:42] [Server thread/WARN]: [Skript] 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. (bany.sk, line 31: Wyciszanie:')

[18:25:42] [Server thread/WARN]: [Skript] 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. (bany.sk, line 68: Banowanie na zawsze na nick i IP:')
[18:25:42] [Server thread/ERROR]: [Skript] '1 by IP' is not a type (bany.sk, line 10: ban argument 1 by IP due to "%argument 2%"')
[18:25:42] [Server thread/ERROR]: [Skript] '3 seconds' is not a type (bany.sk, line 11: wait argument 3 seconds')
[18:25:42] [Server thread/ERROR]: [Skript] '1 by IP' is not a type (bany.sk, line 12: unban argument 1 by IP')
[18:25:42] [Server thread/ERROR]: [Skript] '1 by IP' is not a type (bany.sk, line 14: ban argument 1 by IP due to "%argument 2%"')
[18:25:42] [Server thread/ERROR]: [Skript] '3 seconds' is not a type (bany.sk, line 15: wait argument 3 seconds')
[18:25:42] [Server thread/ERROR]: [Skript] '1 by IP' is not a type (bany.sk, line 16: unban argument 1 by IP')
[18:25:42] [Server thread/ERROR]: [Skript] '1 by IP' is not a type (bany.sk, line 18: ban argument 1 by IP due to "%argument 2%"')
[18:25:42] [Server thread/ERROR]: [Skript] '3 hours' is not a type (bany.sk, line 19: wait argument 3 hours')
[18:25:42] [Server thread/ERROR]: [Skript] '1 by IP' is not a type (bany.sk, line 20: unban argument 1 by IP')
[18:25:42] [Server thread/ERROR]: [Skript] '1 by IP' is not a type (bany.sk, line 22: ban argument 1 by IP due to "%argument 2%"')
[18:25:42] [Server thread/ERROR]: [Skript] '3 days' is not a type (bany.sk, line 23: wait argument 3 days')
[18:25:42] [Server thread/ERROR]: [Skript] '1 by IP' is not a type (bany.sk, line 24: unban argument 1 by IP')
[18:25:42] [Server thread/ERROR]: [Skript] '1 by IP' is not a type (bany.sk, line 26: ban argument 1 by IP due to "%argument 2%"')
[18:25:42] [Server thread/ERROR]: [Skript] '3 months' is not a type (bany.sk, line 27: wait argument 3 months')
[18:25:42] [Server thread/ERROR]: [Skript] '1 by IP' is not a type (bany.sk, line 28: unban argument 1 by IP')
[18:25:42] [Server thread/ERROR]: [Skript] can't understand this event: 'Wyciszanie' (bany.sk, line 31: Wyciszanie:')
[18:25:42] [Server thread/WARN]: [Skript] Starting a variable's name with an expression is discouraged ({%argument 1%.wyciszony}). You could prefix it with the script's name: {bany.%argument 1%.wyciszony} (bany.sk, line 43: set {%argument 1%.wyciszony} to true')
[18:25:42] [Server thread/ERROR]: [Skript] '3 seconds' is not a type (bany.sk, line 44: wait argument 3 seconds')
[18:25:42] [Server thread/ERROR]: [Skript] '3 seconds' is not a type (bany.sk, line 48: wait argument 3 seconds')
[18:25:42] [Server thread/ERROR]: [Skript] '3 hours' is not a type (bany.sk, line 52: wait argument 3 hours')
[18:25:42] [Server thread/ERROR]: [Skript] '3 days' is not a type (bany.sk, line 56: wait argument 3 days')
[18:25:42] [Server thread/ERROR]: [Skript] '3 months' is not a type (bany.sk, line 60: wait argument 3 months')
[18:25:42] [Server thread/WARN]: [Skript] Starting a variable's name with an expression is discouraged ({%player%.wyciszony}). You could prefix it with the script's name: {bany.%player%.wyciszony} (bany.sk, line 65: if {%player%.wyciszony} is true:')
[18:25:42] [Server thread/ERROR]: [Skript] can't understand this event: 'Banowanie na zawsze na nick i IP' (bany.sk, line 68: Banowanie na zawsze na nick i IP:')
[18:25:42] [Server thread/ERROR]: [Skript] 'chat_prefix = <green>[Ban]' is not an entry (like 'name : value') (bany.sk, line 70: chat_prefix = <green>[Ban]')
[18:25:42] [Server thread/ERROR]: [Skript] '1 by IP' is not a type (bany.sk, line 78: ban argument 1 by IP because "%arg 2%"')
[18:25:42] [Server thread/ERROR]: [Skript] Bukkit 1.7.2 R0.4 or later is required to ban players with a reason. (bany.sk, line 80: ban argument 1 because "%arg 2%"')
[18:25:42] [Server thread/INFO]: [Skript] Loaded 18 scripts with a total of 34 triggers and 22 commands in 12.22 seconds
[18:25:42] [Server thread/INFO]: [Skript] Finished loading.

Precyzja odpowiedzi zależy przede wszystkim od precyzji zadanego pytania.

 


#5 PoweredDragon

PoweredDragon

    All in one Bitches

  • Użytkownik+
  • 1206 postów
  • PoweredDragon

Napisano 10 May 2014 - 20:37

Dobra. Poprawiłem. Teraz powinno działać xD Miał więcej błędów, niż się spodziewałem...


Dołączona grafika

#6 mich100

mich100

    Znawca

  • Użytkownik
  • 255 postów
  • ShinjuHoshi

Napisano 10 May 2014 - 20:49

dalej jest dużo błędów xD

logi:

[21:26:32] [Server thread/ERROR]: [Skript] 'argument 1 due for' is not a type (bany.sk, line 9: ban arg 1 due for argument 2')
[21:26:32] [Server thread/ERROR]: [Skript] '3 seconds' is not a type (bany.sk, line 10: wait arg 3 seconds')
[21:26:32] [Server thread/ERROR]: [Skript] 'argument 1 due for' is not a type (bany.sk, line 13: ban argument 1 due for argument 2')
[21:26:32] [Server thread/ERROR]: [Skript] '3 seconds' is not a type (bany.sk, line 14: wait argument 3 seconds')
[21:26:32] [Server thread/ERROR]: [Skript] 'argument 1 due for' is not a type (bany.sk, line 17: ban argument 1 due for argument 2')
[21:26:32] [Server thread/ERROR]: [Skript] '3 hours' is not a type (bany.sk, line 18: wait argument 3 hours')
[21:26:32] [Server thread/ERROR]: [Skript] 'argument 1 due for' is not a type (bany.sk, line 21: ban argument 1 due for argument 2')
[21:26:32] [Server thread/ERROR]: [Skript] '3 days' is not a type (bany.sk, line 22: wait argument 3 days')
[21:26:32] [Server thread/ERROR]: [Skript] 'argument 1 due for' is not a type (bany.sk, line 25: ban argument 1 due for argument 2')
[21:26:32] [Server thread/ERROR]: [Skript] '3 months' is not a type (bany.sk, line 26: wait argument 3 months')
[21:26:32] [Server thread/ERROR]: [Skript] can't understand this event: 'Wyciszanie' (bany.sk, line 30: Wyciszanie:')
[21:26:32] [Server thread/WARN]: [Skript] Starting a variable's name with an expression is discouraged ({%argument 1%.wyciszony}). You could prefix it with the script's name: {bany.%argument 1%.wyciszony} (bany.sk, line 42: set {%argument 1%.wyciszony} to true')
[21:26:32] [Server thread/ERROR]: [Skript] '3 seconds' is not a type (bany.sk, line 43: wait argument 3 seconds')
[21:26:32] [Server thread/ERROR]: [Skript] '3 seconds' is not a type (bany.sk, line 47: wait argument 3 seconds')
[21:26:32] [Server thread/ERROR]: [Skript] '3 hours' is not a type (bany.sk, line 51: wait argument 3 hours')
[21:26:32] [Server thread/ERROR]: [Skript] '3 days' is not a type (bany.sk, line 55: wait argument 3 days')
[21:26:32] [Server thread/ERROR]: [Skript] '3 months' is not a type (bany.sk, line 59: wait argument 3 months')
[21:26:32] [Server thread/WARN]: [Skript] Starting a variable's name with an expression is discouraged ({%player%.wyciszony}). You could prefix it with the script's name: {bany.%player%.wyciszony} (bany.sk, line 64: if {%player%.wyciszony} is true:')
[21:26:32] [Server thread/ERROR]: [Skript] can't understand this event: 'Banowanie na zawsze na nick i IP' (bany.sk, line 67: Banowanie na zawsze na nick i IP:')
[21:26:32] [Server thread/ERROR]: [Skript] 'chat_prefix = <green>[Ban]' is not an entry (like 'name : value') (bany.sk, line 69: chat_prefix = <green>[Ban]')
[21:26:32] [Server thread/ERROR]: [Skript] '1 by IP' is not a type (bany.sk, line 77: ban argument 1 by IP because "%arg 2%"')
[21:26:32] [Server thread/ERROR]: [Skript] Bukkit 1.7.2 R0.4 or later is required to ban players with a reason. (bany.sk, line 79: ban argument 1 because "%arg 2%"')
[21:26:32] [Server thread/INFO]: [Skript] Loaded 1 script with a total of 1 trigger and 3 commands in 0.17 seconds
[21:26:32] [Server thread/INFO]: [Skript] Finished loading.

Precyzja odpowiedzi zależy przede wszystkim od precyzji zadanego pytania.

 


#7 PoweredDragon

PoweredDragon

    All in one Bitches

  • Użytkownik+
  • 1206 postów
  • PoweredDragon

Napisano 10 May 2014 - 20:55

@UP koleś. Ty w ogóle nie skorzystałeś z linku i nie pobrałeś drugi raz... To są te same błędy... Tylko o innej godzinie...


Dołączona grafika

#8 mich100

mich100

    Znawca

  • Użytkownik
  • 255 postów
  • ShinjuHoshi

Napisano 10 May 2014 - 20:56

@up pobrałem i wywala tylko 2 błędy mniej :/

@edit

wtedy wywalało 24 błędy teraz 22

@edit2

PowerDragon

prosiłbym Cię o poprawienie kodu skryptu bo są dalej błędy :(


Precyzja odpowiedzi zależy przede wszystkim od precyzji zadanego pytania.

 


#9 mich100

mich100

    Znawca

  • Użytkownik
  • 255 postów
  • ShinjuHoshi

Napisano 13 May 2014 - 13:40

@ref


Precyzja odpowiedzi zależy przede wszystkim od precyzji zadanego pytania.

 


#10 xMelancholic

xMelancholic

    Nowy

  • Użytkownik
  • 7 postów

Napisano 06 June 2022 - 06:32

By zobaczyć linki musisz się zalogować lub zarejestrować


By zobaczyć linki musisz się zalogować lub zarejestrować


By zobaczyć linki musisz się zalogować lub zarejestrować


By zobaczyć linki musisz się zalogować lub zarejestrować


By zobaczyć linki musisz się zalogować lub zarejestrować