Jump to content

Recommended Posts

im not good with skript so i get them off of spigotmc, i do not take any credit from this skript, im not 100% sure if this works tho

#Skriptet er lavet af Deads/SebberJ.
#Det er ikke tilladt at udgive skriptet.
#Du må godt ændre commands.
#Du må også godt ændre items.

#Tempban beskeder
options:
    BSlot 4: Hack er IKKE tilladt!
    BSlot 6: Hack er IKKE tilladt!
    BSlot 8: Du må IKKE udnytte bugs!
#Tempban tider s=Sekunder m=Minutter h=Timer d=Dage
    TSlot 4: 30 m
    TSlot 6: 2 h
    TSlot 8: 30 m
#Kick Beskeder
    KSlot 12: Du må IKKE bruge hacks!
    KSlot 14: Stop med at spamme!
#Mute tider s=Sekunder m=Minutter h=Timer d=Dage
    MSlot 20: 10 m
    MSlot 22: 15 m
    MSlot 24: 25 m
    MSlot 26: 10 m
    

command /bgui [<player>]:
	permission: bgui.use
	permission message: "&8[&cBan Gui&8]&4 Du har ikke tilladelse til at bruge denne kommando!"
	trigger:
		open chest with 3 rows named "%arg-1%" to player
		wait 1 tick
		format slot 0 of player with arg-1's skull named "&a%arg-1%" to be unstealable
		format slot 2 of player with diamond sword named "&4&lPermban" to close then run [execute console command "ban %arg-1%"]
		format slot 4 of player with iron sword named "&c&lTempban: {@TSlot 4} Hack" to close then run [execute console command "tempban %arg-1% 30 m {@BSlot 4}"]
		format slot 6 of player with gold sword named "&c&lTempban: {@TSlot 6} Groft hack" to close then run [execute console command "tempban %arg-1% 2 h {@BSlot 6}"]
		format slot 8 of player with wood sword named "&c&lTempban: {@TSlot 8} Bugs" to close then run [execute console command "tempban %arg-1% 30 m {@BSlot 8}"]
		format slot 12 of player with bow named "&6&lKick: Hack" to close then run [execute console command "kick %arg-1% {@KSlot 12}"]
		format slot 14 of player with arrow named "&6&lKick: Spam" to close then run [execute console command "kick %arg-1% {@KSlot 14}"]
		format slot 20 of player with diamond axe named "&a&lMute: 10 m Spam" to close then run [execute console command "mute %arg-1% 10 m"]
		format slot 22 of player with iron axe named "&a&lMute: 15 m Grimt sprog" to close then run [execute console command "mute %arg-1% 15 m"]
		format slot 24 of player with gold axe named "&a&lMute: 25 m Trusler" to close then run [execute console command "mute %arg-1% 25 m"]
		format slot 26 of player with wood axe named "&a&lMute: 10 m Flabet" to close then run [execute console command "mute %arg-1% 10 m"]

 

Link to post
Share on other sites
  • 2 months later...
On 6/26/2020 at 7:29 AM, kjh said:

im not good with skript so i get them off of spigotmc, i do not take any credit from this skript, im not 100% sure if this works tho


#Skriptet er lavet af Deads/SebberJ.
#Det er ikke tilladt at udgive skriptet.
#Du må godt ændre commands.
#Du må også godt ændre items.

#Tempban beskeder
options:
    BSlot 4: Hack er IKKE tilladt!
    BSlot 6: Hack er IKKE tilladt!
    BSlot 8: Du må IKKE udnytte bugs!
#Tempban tider s=Sekunder m=Minutter h=Timer d=Dage
    TSlot 4: 30 m
    TSlot 6: 2 h
    TSlot 8: 30 m
#Kick Beskeder
    KSlot 12: Du må IKKE bruge hacks!
    KSlot 14: Stop med at spamme!
#Mute tider s=Sekunder m=Minutter h=Timer d=Dage
    MSlot 20: 10 m
    MSlot 22: 15 m
    MSlot 24: 25 m
    MSlot 26: 10 m
    

command /bgui [<player>]:
	permission: bgui.use
	permission message: "&8[&cBan Gui&8]&4 Du har ikke tilladelse til at bruge denne kommando!"
	trigger:
		open chest with 3 rows named "%arg-1%" to player
		wait 1 tick
		format slot 0 of player with arg-1's skull named "&a%arg-1%" to be unstealable
		format slot 2 of player with diamond sword named "&4&lPermban" to close then run [execute console command "ban %arg-1%"]
		format slot 4 of player with iron sword named "&c&lTempban: {@TSlot 4} Hack" to close then run [execute console command "tempban %arg-1% 30 m {@BSlot 4}"]
		format slot 6 of player with gold sword named "&c&lTempban: {@TSlot 6} Groft hack" to close then run [execute console command "tempban %arg-1% 2 h {@BSlot 6}"]
		format slot 8 of player with wood sword named "&c&lTempban: {@TSlot 8} Bugs" to close then run [execute console command "tempban %arg-1% 30 m {@BSlot 8}"]
		format slot 12 of player with bow named "&6&lKick: Hack" to close then run [execute console command "kick %arg-1% {@KSlot 12}"]
		format slot 14 of player with arrow named "&6&lKick: Spam" to close then run [execute console command "kick %arg-1% {@KSlot 14}"]
		format slot 20 of player with diamond axe named "&a&lMute: 10 m Spam" to close then run [execute console command "mute %arg-1% 10 m"]
		format slot 22 of player with iron axe named "&a&lMute: 15 m Grimt sprog" to close then run [execute console command "mute %arg-1% 15 m"]
		format slot 24 of player with gold axe named "&a&lMute: 25 m Trusler" to close then run [execute console command "mute %arg-1% 25 m"]
		format slot 26 of player with wood axe named "&a&lMute: 10 m Flabet" to close then run [execute console command "mute %arg-1% 10 m"]

 

that wouldn't work so do this.

options:
    BSlot 4: Hacking is not allowed!
    BSlot 6: Hacking is not allowed!
    BSlot 8: No exploiting bugs!
    TSlot 4: 30 m
    TSlot 6: 2 h
    TSlot 8: 30 m
    KSlot 12: Hacking is not allowed!
    KSlot 14: Do not spam!
    MSlot 20: 10 m
    MSlot 22: 15 m
    MSlot 24: 25 m
    MSlot 26: 10 m
    

command /ban [<player>]:
    permission: ban.yay
    trigger:
        open chest with 3 rows named "%arg-1%" to player
        wait 1 tick
        format slot 0 of player with arg-1's skull named "&a%arg-1%" to be unstealable
        format slot 2 of player with diamond sword named "&4&lPermban" to close then run [execute console command "ban %arg-1%"]
        format slot 4 of player with iron sword named "&c&lTempban: {@TSlot 4} Hacking" to close then run [execute console command "tempban %arg-1% 30 m {@BSlot 4}"]
        format slot 6 of player with gold sword named "&c&lTempban: {@TSlot 6} Spider hack" to close then run [execute console command "tempban %arg-1% 2 h {@BSlot 6}"]
        format slot 8 of player with wood sword named "&c&lTempban: {@TSlot 8} Bugs" to close then run [execute console command "tempban %arg-1% 30 m {@BSlot 8}"]
        format slot 12 of player with bow named "&6&lKick: Hack" to close then run [execute console command "kick %arg-1% {@KSlot 12}"]
        format slot 14 of player with arrow named "&6&lKick: Spam" to close then run [execute console command "kick %arg-1% {@KSlot 14}"]
        format slot 20 of player with diamond axe named "&a&lMute: 10 m Spam" to close then run [execute console command "mute %arg-1% 10 m"]
        format slot 22 of player with iron axe named "&a&lMute: 15 m Abuse" to close then run [execute console command "mute %arg-1% 15 m"]
        format slot 24 of player with gold axe named "&a&lMute: 25 m Exploits" to close then run [execute console command "mute %arg-1% 25 m"]
Edited by Tmoa
Link to post
Share on other sites
Guest
This topic is now closed to further replies.


×
×
  • Create New...