Jump to content

Recommended Posts

7 hours ago, TBNR_Yash said:

Can you make a Skript for the command /boom. It should summon 100 creepers

 

command /boom [<integer>] [<entity type>] [<offline player>]:
	permission: SkBoom.*
	permission message: &cYou currently don't have access to this command. Contact your adminitrator if this is a mistake!
	description: &fSummons mobs at a player
	aliases: /b
	trigger:
		set {_player} to location of block above targeted block
		set {_number} to 1
		if arg 1 is set:
			set {_number} to arg 1
		arg 3 is set:
			set {_player} to arg 3
		spawn {_number} of arg 2 at {_player}

@TBNR_Yash

Edited by ProfCube
Link to comment
Share on other sites

On 6/15/2020 at 10:42 AM, Skeppys_stocking said:

Could you make a /enchant script that can enchant to insanely high levels? Thx

function enchant(value: text, r1: text, r2: text, r3: text, r4: text) :: text:
	replace all "[%{_r1}%]" with "%{_r2}%" in {_message}
	replace all "[%{_r3}%]" with "%{_r4}%" in {_message}

command /enchant [<text>]:
	aliases: /enchantment
	trigger:
		if arg 1 is not set:
			send "&8&m---------&8»&6&l Enchant&8 «&m---------"
			send ""
			send "&e/enchant <enchantment> [<level>]"
			send ""
			send "&8&m------------------------------"
		enchant player's tool with arg 1 parsed as enchantment type
		set {_test} to arg 1 parsed as enchantment type
		{_test} is an enchantment type:
			set {_message} to enchant("Enchant", "Item", "%type of player's tool%", "Enchantment", arg 1)
		else:
			send "&8&m---------&8»&6&l Enchant&8 «&m---------"
			send ""
			send "&e/enchant <enchantment> [<level>]"
			send ""
			send "&8&m------------------------------"

@Skeppys_stocking

Edited by ProfCube
Link to comment
Share on other sites

On 6/25/2020 at 10:43 PM, wowlolk said:

Can someone make a /discord skript that when you say /discord it shows your discord and lets them click on it as a link please?

( the one before shows the text but doesn't let people click on it as a link) 

options:
	tooltip: &fThis will bring you to our discord
	message: &3&lServer Name&8 |&7 Click here to join our &3&lDISCORD
	link: https://minehut.com

command /discord:
	trigger:
		json("%player%", "{@message}||ttp:&f{@tooltip}||url:{@link}")

586046153_ScreenShot2020-07-07at1_23_57PM.png.d570a45475b11941490fe24dc4a891d6.png

 

@wowlolk

Make sure to have installed this skript json.sk 

Once you have both in the folder do this in game /sk reload json.sk and /sk reload [name of discord file]

Edited by ProfCube
Link to comment
Share on other sites

I want a fireball wand skript but with mana numbers

e.g: 

on right click:
    if player's tool is tnt of sharpness 5 named "&c&lGame Breaker" with lore "|| &cA wand with the power to Break the game!":
        if {cooldown.%player's uuid%} is false:
            set {loc.%player%} to block above block above player's location
            loop 3 times: # change how many fireballs are shot here!
                spawn fireball at {loc.%player%}
                push last spawned entity in direction of player with force 0.5
            set {cooldown.%player's uuid%} to true
            wait 5 seconds # change the cooldown here
            set {cooldown.%player's uuid%} to false
        else:
            send "&cWait for the cooldown!"

I want it to have a mana varieable and every second it generates mana for the player and when you use the wand it removes mana from the mana number when he doesn't have enough mana it shows this "&cPlease wait for the mana to regnerate"

Please help @_BokBok_

 

Edited by Capacitymouse42
Forgot to tag.meh..
Link to comment
Share on other sites

13 hours ago, Yukki_Aizawa said:

could i have a skript that give you money when you kill people? you could then spend the money in a shop tht could give you better gear and ranks. Thanks!

on first join:
	if {coin::%uuid of player%} isn't set:
		set {coin::%uuid of player%} to 0

on death:
	if attacker is a player:
		if the victim is a player:
			add 1 to {coin::%attacker%}
			send action bar "&7You have killed &e%player%&7 we have added &e1&7 point!" to attacker
			send "&7You have been killed by &e%attacker%" to player

function shopGUI(t: String, p: Player):
	if {_t} is "shop":
		open virtual chest inventory with size 6 named "Shop &6$&e%{coin::%{_p}%}%" to {_p}
		format gui slot (all integers between 0 and 8 and 9 and 17 and 18 and 26 and 27 and 35 and 36 and 44, and all integers between 45 and 53) of {_p} with black stained glass pane named "&f" with lore "&f"
		format gui slot 10 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 11 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 12 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 13 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 14 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 15 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 16 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 19 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 20 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 21 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 22 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 23 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 24 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 25 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 28 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 29 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 30 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 31 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 32 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 33 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 34 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 37 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 38 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 39 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 40 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 41 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 42 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 43 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""


command /point [<text>] [<integer>] [<offline player>]:
	permission: point.command
	permission message: &cYou currently don't have access to this command. Contact your adminitrator if this is a mistake!
	trigger:
		if arg-1 isn't set:
			send "&8&m---------&8»&6&l Balance&8 «&m---------"
			send "&7You currently have &6$&e%{coin::%player%}%&7 points"
			send "&8&m------------------------------"
		if arg 1 is "shop":
			if arg 2 isn't set:
				if arg 3 isn't set:
					shopGUI("shop", player)
		if player has permission "points.*":
			if arg 1 is "add":
				if arg 2 is set:
					if arg 3 is set:
						add arg-2 to {coin::%arg-3%}
						send "&6$&e%arg-2%&7 has been added to your balance"
			else if arg 1 is "remove":
				if arg 2 is set:
					if arg 3 is player:
						subtract arg-2 from {coin::%arg-3%}
						send "&4$&c%arg-2%&7 has been removed from your balance"
			else if arg 1 is "info":
				if arg 2 isn't set:
					if arg 3 is set:
						send "&6&l%arg-3%&7 currently has a total of &e%{coin::%arg-3%}%&7 points"
			else if arg 1 is "clear":
				if arg 2 isn't set:
					if arg 3 isn't set:
						delete {coin::*}
						set {coin::%uuid of player%} to 0
						send "&7Your balance was cleared by staff to &4$&c%{coin::%uuid of player%}%"
# ###############
# This section is to have the console execute the command

		else if command sender is console:
			if arg 1 is "add":
				if arg 2 is set:
					if arg 3 is set:
						add arg-2 to {coin::%arg-3%}
						send "&6$&e%arg-2%&7 has been added to your balance"
			else if arg 1 is "remove":
				if arg 2 is set:
					if arg 3 is player:
						subtract arg-2 from {coin::%arg-3%}
						send "&4$&c%arg-2%&7 has been removed from your balance"
			else if arg 1 is "info":
				if arg 2 isn't set:
					if arg 3 is set:
						send "&6&l%arg-3%&7 currently has a total of &e%{coin::%arg-3%}%&7 points"
			else if arg 1 is "clear":
				if arg 2 isn't set:
					if arg 3 isn't set:
						delete {coin::*}
						set {coin::%uuid of player%} to 0
						send "&7Your balance was cleared by staff to &4$&c%{coin::%uuid of player%}%"

You will need the Addon Tuske  for it to work on your server

idk what items you wanted in the guy so I just made it with all red wool all you need to do is add the commands and information on what it needs to be 

Link to comment
Share on other sites

11 hours ago, ProfCube said:

on first join:
	if {coin::%uuid of player%} isn't set:
		set {coin::%uuid of player%} to 0

on death:
	if attacker is a player:
		if the victim is a player:
			add 1 to {coin::%attacker%}
			send action bar "&7You have killed &e%player%&7 we have added &e1&7 point!" to attacker
			send "&7You have been killed by &e%attacker%" to player

function shopGUI(t: String, p: Player):
	if {_t} is "shop":
		open virtual chest inventory with size 6 named "Shop &6$&e%{coin::%{_p}%}%" to {_p}
		format gui slot (all integers between 0 and 8 and 9 and 17 and 18 and 26 and 27 and 35 and 36 and 44, and all integers between 45 and 53) of {_p} with black stained glass pane named "&f" with lore "&f"
		format gui slot 10 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 11 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 12 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 13 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 14 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 15 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 16 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 19 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 20 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 21 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 22 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 23 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 24 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 25 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 28 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 29 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 30 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 31 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 32 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 33 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 34 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 37 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 38 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 39 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 40 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 41 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 42 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""
		format gui slot 43 of {_p} with red wool named "" with lore "" to run using "left" click:
			make console execute command "" and ""


command /point [<text>] [<integer>] [<offline player>]:
	permission: point.command
	permission message: &cYou currently don't have access to this command. Contact your adminitrator if this is a mistake!
	trigger:
		if arg-1 isn't set:
			send "&8&m---------&8»&6&l Balance&8 «&m---------"
			send "&7You currently have &6$&e%{coin::%player%}%&7 points"
			send "&8&m------------------------------"
		if arg 1 is "shop":
			if arg 2 isn't set:
				if arg 3 isn't set:
					shopGUI("shop", player)
		if player has permission "points.*":
			if arg 1 is "add":
				if arg 2 is set:
					if arg 3 is set:
						add arg-2 to {coin::%arg-3%}
						send "&6$&e%arg-2%&7 has been added to your balance"
			else if arg 1 is "remove":
				if arg 2 is set:
					if arg 3 is player:
						subtract arg-2 from {coin::%arg-3%}
						send "&4$&c%arg-2%&7 has been removed from your balance"
			else if arg 1 is "info":
				if arg 2 isn't set:
					if arg 3 is set:
						send "&6&l%arg-3%&7 currently has a total of &e%{coin::%arg-3%}%&7 points"
			else if arg 1 is "clear":
				if arg 2 isn't set:
					if arg 3 isn't set:
						delete {coin::*}
						set {coin::%uuid of player%} to 0
						send "&7Your balance was cleared by staff to &4$&c%{coin::%uuid of player%}%"
# ###############
# This section is to have the console execute the command

		else if command sender is console:
			if arg 1 is "add":
				if arg 2 is set:
					if arg 3 is set:
						add arg-2 to {coin::%arg-3%}
						send "&6$&e%arg-2%&7 has been added to your balance"
			else if arg 1 is "remove":
				if arg 2 is set:
					if arg 3 is player:
						subtract arg-2 from {coin::%arg-3%}
						send "&4$&c%arg-2%&7 has been removed from your balance"
			else if arg 1 is "info":
				if arg 2 isn't set:
					if arg 3 is set:
						send "&6&l%arg-3%&7 currently has a total of &e%{coin::%arg-3%}%&7 points"
			else if arg 1 is "clear":
				if arg 2 isn't set:
					if arg 3 isn't set:
						delete {coin::*}
						set {coin::%uuid of player%} to 0
						send "&7Your balance was cleared by staff to &4$&c%{coin::%uuid of player%}%"

You will need the Addon Tuske  for it to work on your server

idk what items you wanted in the guy so I just made it with all red wool all you need to do is add the commands and information on what it needs to be 

tysm! But one question. where would i put the command? im not good at skripting lmao

Edited by Yukki_Aizawa

hahahadmin.png

Link to comment
Share on other sites

20 hours ago, Raith said:

Could you make me a skript the command /sfw and it toggles a chat censor, i can input the censored words i just dont know enough about skript yet to make this type of skript.

Thanks

options:
	badwords: "fuck" and "shit" and "ass"
	broadcast_on: &aWe hve turned cathlic
	broadcast_off: &cYou may speak the devils wordings
	badword_message: &2*&a We don't speak the devils wording&2 *

on chat:
	if {sfw::word} is true:
		if {sfw::word::*} contains {@badwords}:
			if player has permission "sfw.bypass":
				stop
			else:
				send "{@badword_message}"
				cancel event

command /sfw [<text>]:
	permission: sfw.command
	permission message: &cYou currently don't have access to this command. Contact your adminitrator if this is a mistake!
	trigger:
		if arg 1 is "on":
			add {@badwords} to {sfw::word::*}
			broadcast "{@broadcast_on}"
			set {sfw::word} to true
		else if arg 1 is "off":
			broadcast "{@broadcast_off}"
			set {sfw::word} to false

@Raith
all you need to do is just add the bad words you want and do /sfw on
if you want your staff to be able to speak the censored words give them sfw.bypass hopefully I got what you wanted

Link to comment
Share on other sites

Could you make me a custom enchants skript? (One where you can do /ench name number and it will automagically enchant it, but allow it to go to the 32 bit integer limit instead of just 4 or 5 or whatever it has normally.) Also, the picks should keep there previous enchants.

 

 

image.png

image.png

 

 

Link to comment
Share on other sites

1 hour ago, Cactiminez said:
  Hide contents

Could you make an aprartment skript? like making regions with flags in a GUI?

 

Ummmmm.... World guard is not that hard to use, and a skript may just make it more annoying. (You an see how to here: https://worldguard.enginehub.org/en/latest/regions/) All you have to do is select 2 corners and /rg create <name>.

Also, the area shop plugin allows players to buy, sell, rent, and more with some easy commands and a sign.

 

 

image.png

image.png

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...