Jump to content

Recommended Posts

Quote

i want a spawn skript so u can /spawn

command /setspawn:
  permission: spawn.set
  permission message: &cYou do not have access to this command.
  trigger:
    set {spawn} to player's location
    send "&aSpawn has been set to: &2%{spawn}%" to player

command /spawn:
  trigger:
    send "&aYou will be teleported to spawn in 5 seconds."
    wait 5 seconds
    teleport player to {spawn}

command /spawn:
  trigger:
    send "&aTeleporting..."
    teleport player to {spawn}

 

The code I have put in red you pick one or the other to add, the bottom one makes them teleport instantly and the one above makes them wait 5 seconds before they get teleported.

 

@st3ve_3

Edited by _BokBok_
  • Like 1

I make skripts... k.

Link to comment
Share on other sites

3 hours ago, st3ve_3 said:

level up skript for sky mining / sky prison servers please

Not sure this is what you meant, If not just reply with the skript you want but in more detail.

 

on chat:
    set chat format to "&7[&e%{level.%player's uuid%}%⭐&7] &7%player's prefix%%player%%player's suffix%&8: &7%message%"

on death:
  add 1 to {xp.%attacker%}
  
on death:
  if {xp.%attacker%} >= 5:
    set {xp.%attacker%} to 0
    add 1 to {level.%attacker%}
    send "&a&lLEVEL UP!"
    send "&7&oYou are now level %{level.%attacker%}%"
    broadcast "&a%player% &7is now level &a%{level.%player%}%&a!"

command /level:
  trigger:
    send "&aYour level: &e%{level.%player%}%&e⭐"

command /xp:
  trigger:
    send "&aYour level-up xp: &e{xp.%player%}&7/&e5"

 

@McHackLines

Edited by _BokBok_
Added level-up message
  • Like 2

I make skripts... k.

Link to comment
Share on other sites

1 minute ago, McHackLines said:

❤️ thanks could you do same for blocks? We have coal, coal blocks, stone, cobblestone, diamond ore, diamond blocks, emerald ore, emerald blocks, gold ore and gold blocks,

 

thank you so much

Okay, don't add the previous skript i sent as the xp only goes to 5 before they levelup and theres more than 5 blocks which means that they would level up way to fast

  • Like 1

I make skripts... k.

Link to comment
Share on other sites

2 minutes ago, st3ve_3 said:

could you make like an anticheat?

 

That's more advanced + I'm pretty sure skript anticheats would be a bad idea for minehut as the servers get pretty laggy so it could false-ban / false-report

  • Like 1

I make skripts... k.

Link to comment
Share on other sites

45 minutes ago, McHackLines said:

❤️ thanks could you do same for blocks? We have coal, coal blocks, stone, cobblestone, diamond ore, diamond blocks, emerald ore, emerald blocks, gold ore and gold blocks,

 

thank you so much

I have not tested the skript but it should work, also. I made it so that quartz only give 3 xp as quartz would be broken really fast and that would cause them to level up really fast however, you can change it to anything to you like by just changing "add (number of how much xp you want them to gain) to {xp.%player%}"
 

Quote

 

on break:
  if event-block is "cobblestone" or "stone":
    add 1 to {xp.%player%}
    else if event-block is "coal ore" or "coal block":
      add 2 to {xp.%player%}
    else if event-block is "iron ore" or "iron block":
      add 3 to {xp.%player%}
    else if event-block is "gold ore" or "block block":
      add 4 to {xp.%player%}
    else if event-block is "emerald ore" or "emerald ore":
      add 5 to {xp.%player%}
    else if event-block is "diamond ore" or "diamond block":
      add 6 to {xp.%player%}
    else if event-block is "quartz ore" or "quartz block":
      add 3 to {xp.%player%}

on break:
  if {xp.%player%} >= 1000:
    add 1 to {level.%player%}
    send "&a&lLEVEL UP!"
    send "&7&oYou have reached level %{level.%player%}%&7."
    broadcast "&a%player% &7has reached &a%{level.%player%}%&a!"

command /level:
  trigger:
    send ""
    send "&7You are currently &alevel %{level.%player%}%"
    send "&7Level-up XP: &a{xp.%player%}&7/&a1000"
    send ""

    

on join:
  if {level.%player%} is not set:
    set {level.%player%} to 0
    
on join:
  if {xp.%player%} is not set:
    set {xp.%player%} to 0

 


    

If you have any issues with this skript, send me a message!

  • Like 1

I make skripts... k.

Link to comment
Share on other sites

Here's one that may put you to work, sellwand multipliers.

1x,2x,4x,5x,10x,15x,20x,25x

Not sure if you want the items that will be sold using them but here they are: wheat, sugar cane, cactus, melon slices, pumpkins, bamboo, netherwart

Make the prices editable if possible.

Link to comment
Share on other sites

11 minutes ago, TheTesc0Man said:

Here's one that may put you to work, sellwand multipliers.

1x,2x,4x,5x,10x,15x,20x,25x

Not sure if you want the items that will be sold using them but here they are: wheat, sugar cane, cactus, melon slices, pumpkins, bamboo, netherwart

Make the prices editable if possible.

Yeah, I can't do that lol

  • Like 1

I make skripts... k.

Link to comment
Share on other sites

1 hour ago, TheTesc0Man said:

Here's one that may put you to work, sellwand multipliers.

1x,2x,4x,5x,10x,15x,20x,25x

Not sure if you want the items that will be sold using them but here they are: wheat, sugar cane, cactus, melon slices, pumpkins, bamboo, netherwart

Make the prices editable if possible.

Here you go, you'll have to implement getting the sellwands and setting sellwand multiplier yourself due to lack of detail.

 

There are two admin commands, /sellwand [<player>] (gives you a sellwand) and /setmultiplier <number> (sets your multiplier, variable is {itemmultiplier::%player's uuid%})

 

(Requires Vault and a compatible economy plugin to be installed, if you have a custom economy that holds balances in variables, replace "player's balance" with the variable.)

 

NOTE: If you replace "player's balance" with variables, you won't need Vault or a compatible economy plugin.

sellwand.sk

Edited by Geese
added a bit more detail into post
  • Thanks 1
Link to comment
Share on other sites

I need a skript that fully replicates warzone gamemode (the version in which phoenix was OP)

Tbh all you need to know about me is that I was once the Drama King on minehut and I was a really good warzone player. That summarizes about 50% of what I did on minehut in the past lol.

::: Change: 29th of July, 2020 :::

aeogtoiata.jpg.0854bf2d5a0d9fc3fb96e95d37f9fc7e.jpg

::: Change: 10th of August, 2020 :::

I have permantently quit minehut. For the reason behind it, check this: https://forums.minehut.com/topic/19055-gamingers-official-farewell-post-forever/?tab=comments#comment-59176

Theres also my first post on this forum after I quit minehut's server (I started to only go to the minehut forums):
https://forums.minehut.com/topic/1932-gamingers-official-introductionpossible-farewell-to-minehut/?tab=comments#comment-7315

I still go to discord sometimes. Gaminger#4921
PIXELIFIC IF YOU'RE SEEING THIS YOU BETTER HAVE A GOOD EXPLANATION WHY YOU ONLY CAME BACK AFTER I LEFT!
And, as a final goodbye, and as I always wanted to say: SO LONG, NOOBS!

 

Link to comment
Share on other sites

4 hours ago, TopFps said:

A Idle Clicker Skript 

NO DONT DO IT DON'T PERPETUATE WHAT CAUSED MINEHUT'S DOWNFALL IN PLAYERSERVER QUALITY!!!

I don't play warzone so I don't really get what you mean 🤷‍♂️

Warzone was a minehut server (a real minehut server, not a player server) in which you had two teams of players (red vs blue). Each team had a monument (a structure with wool with the color of the team), and the objective was to break the monument (break 10 wools of the monument).

Edited by Gaminger

Tbh all you need to know about me is that I was once the Drama King on minehut and I was a really good warzone player. That summarizes about 50% of what I did on minehut in the past lol.

::: Change: 29th of July, 2020 :::

aeogtoiata.jpg.0854bf2d5a0d9fc3fb96e95d37f9fc7e.jpg

::: Change: 10th of August, 2020 :::

I have permantently quit minehut. For the reason behind it, check this: https://forums.minehut.com/topic/19055-gamingers-official-farewell-post-forever/?tab=comments#comment-59176

Theres also my first post on this forum after I quit minehut's server (I started to only go to the minehut forums):
https://forums.minehut.com/topic/1932-gamingers-official-introductionpossible-farewell-to-minehut/?tab=comments#comment-7315

I still go to discord sometimes. Gaminger#4921
PIXELIFIC IF YOU'RE SEEING THIS YOU BETTER HAVE A GOOD EXPLANATION WHY YOU ONLY CAME BACK AFTER I LEFT!
And, as a final goodbye, and as I always wanted to say: SO LONG, NOOBS!

 

Link to comment
Share on other sites

  • 2 weeks later...

iam new to skripting, what do u think i should change?

 


on rightclick with compass:
    open virtual chest inventory with size 3 named "MINIGAMES" to player
    format gui slot 0 of player with diamond sword named "&cKITPVP" to run:
        command world ul_void
        format gui slot 1 of player with grass block named "&cSkyBlock" to run:
            command world ul_skyblock
 

Link to comment
Share on other sites

on load:
    set {LobbyCompassName} to "&3LobbyCompass"
    set {LobbyCompassLore} to "&kl"
 
on join:
    clear player's inventory
    wait 1 tick
    give player a compass named {LobbyCompassName} with lore {LobbyCompassLore}
 
command /setlobby [<text>]:
    trigger:
        if player has permission "lobby.set" OR "lobby.*":
            if arg 1 is "lobby":
                set {LobbyLocation} to location of player
                send "&c<&4Lobby&c> Je hebt de locatie van de &4lobby &cgezet op:%nl% &4%{LobbyLocation}%"
            else:
                send "&c<&4Lobby&c> Je moet nog een lobbynaam invoeren."
        else:
            send "&c<&4Lobby&c> Je hebt geen permissies om deze command uit te voeren."
 
 
command /clobby [<offline player>] [<text>]:
    executable by: console
    trigger:
        if arg 1 is set:
            if arg 2 is "lobby":
                teleport arg 1 to {LobbyLocation}
 
   
command /lobby:
    trigger:
        teleport player to {LobbyLocation}
        send "&d<&5Lobby&d> &5Welcome to the lobby!" 
 
on rightclick:
    if player is holding a compass named {LobbyCompassName} with lore {LobbyCompassLore}:
        open chest with 1 rows named "&3LobbyCompass" to player
        format gui slot 0 of player with a grass block named "&5&lSurvival" with lore "&e&5Vanilla Survival" to close then run
        execute console command "/lobby %player% survival"
        format gui slot 0 of player with a diamond sword named "&5&lKitPVP" with lore "&l&7go earn coins by killing people" to close then run 
        execute console command "world ul_void"
        format gui slot 0 of player with a diamond block named "&5&lFactions" with lore "&7Create a Faction and conquer the server " to close then run 
        execute console command "/lobby %player% creative"

Link to comment
Share on other sites

On 5/16/2020 at 1:30 AM, Cqokies said:

can u make me a full punishment system skript with no bangui and make the messages look neat and stuff Include a tempban and tempmute please thank you!

command /ban [<offlineplayer>] [<text>]:
    trigger:
        if player does not have permission "ban.use":
            send "&cYou are not permitted to run this command!"
            stop
        if arg-1 is not set:
            send "&c/ban (player) [reason] [-s]"
            stop
        if arg-1 has permission "ban.use":
            send "&cThat player cannot be banned!"
            stop
        if player is not set:
            set {_p} to "CONSOLE"
        else:
            set {_p} to player
        if arg-1 is banned:
            send "&cThat player is already banned!"
            stop
        if arg-2 is not set:
            set {_r} to "N/A"
        else:
            set {_r} to arg-2
        if {_r} contains "-s":
            replace all " -s" and "-s " with "" in {_r}
            set {_silent} to true
        if {_silent} is set:
            loop all players:
                if loop-player has permission "ban.use":
                    send "&7&o(SILENT) &b%{_p}% &7banned &b%arg-1% &7for &c%{_r}% &7[FOREVER]" to loop-player
        else:
            broadcast "&b%{_p}% &7banned &b%arg-1% &7for &c%{_r}% &7[FOREVER]"
        ban arg-1 due to {_r}
        if arg-1 is online:
            kick arg-1 due to "&7You are now banned! &bReason: &7%{_r}%"
        add arg-1 to {banlist::*}
        
command /kick [<player>] [<text>]:
    trigger:
        if player does not have permission "kick.use":
            send "&cYou are not permitted to run this command!"
            stop
        if arg-1 is not set:
            send "&c/kick (player) [reason] [-s]"
            stop
        if arg-1 has permission "kick.use":
            send "&cThat player cannot be kicked!"
            stop
        if arg-2 is not set:
            set {_r} to "N/A"
        else:
            set {_r} to arg-2
        if player is not set:
            set {_p} to "CONSOLE"
        else:
            set {_p} to player
        if {_r} contains "-s":
            replace all " -s" and "-s " with "" in {_r}
            set {_silent} to true
        if {_silent} is set:
            loop all players:
                if loop-player has permission "ban.use":
                    send "&7&o(SILENT) &b%{_p}% &7kicked &b%arg-1% &7for &c%{_r}%" to loop-player
        else:
            broadcast "&b%{_p}% &7kicked &b%arg-1% &7for &c%{_r}%"
        kick arg-1 due to "&7You were kicked! &bReason: &7%{_r}%"
        
command /tempban [<offlineplayer>] [<text>] [<timespan>]:
    trigger:
        if player does not have permission "tempban.use":
            send "&cYou are not permitted to run this command!"
            stop
        if arg-2 is not set:
            send "&c/tempban (player) [reason] [-s] (time)"
            stop
        if arg-1 has permission "tempban.use":
            send "&cThat player cannot be banned!"
            stop
        if player is not set:
            set {_p} to "CONSOLE"
        else:
            set {_p} to player
        if arg-1 is banned:
            send "&cThat player is already banned!"
            stop
        if arg-2 is not set:
            set {_r} to "N/A"
        else:
            set {_r} to arg-2
        set {_l} to "%arg-3%"
        set {_l} to "%capitalized {_l}%"
        if {_r} contains "-s":
            replace all " -s" and "-s " with "" in {_r}
            set {_silent} to true
        if {_silent} is set:
            loop all players:
                if loop-player has permission "tempban.use":
                    send "&7&o(SILENT) &b%{_p}% &7banned &b%arg-1% &7for &c%{_r}% &7[%{_l}%]" to loop-player
        else:
            broadcast "&b%{_p}% &7banned &b%arg-1% &7for &c%{_r}% &7[%{_l}%]"
        ban arg-1 due to {_r}
        if arg-1 is online:
            kick arg-1 due to "&7You are now banned! &bReason: &7%{_r}% &f &f &f &f &bLength: &7%arg-3%"
        add arg-1 to {banlist::*}
        set {%arg-1%.banned} to now
        set {%arg-1%.length} to arg-3
        
command /broadcast [<text>]:
    aliases: /bc, /announce, /a
    trigger:
        if player does not have permission "broadcast.use":
            send "&cYou are not permitted to run this command!"
            stop
        broadcast ""
        broadcast "&b&lALERT &8>> &7%colored arg-1%"
        broadcast ""
        loop all players:
            if loop-player has permission "broadcast.use":
                if loop-player is not player:
                    if player is a player:
                        set {_p} to player
                    else:
                        set {_p} to "CONSOLE"
                    send "&b%{_p}%&7 used broadcast!" to loop-player
                
command /mute [<offlineplayer>] [<text>] [<timespan>]:
    trigger:
        if player does not have permission "mute.use":
            send "&cYou are not permitted to run this command!"
            stop
        if arg-2 is not set:
            send "&c/mute (player) [reason] [-s] (time)"
            stop
        if arg-1 has permission "mute.use":
            send "&cThat player cannot be muted!"
            stop
        if player is not set:
            set {_p} to "CONSOLE"
        else:
            set {_p} to player
        if {%arg-1%.muted} is set:
            send "&cThat player is already muted!"
            stop
        if arg-2 is not set:
            set {_r} to "N/A"
        else:
            set {_r} to arg-2
        set {_l} to "%arg-3%"
        set {_l} to "%capitalized {_l}%"
        if {_r} contains "-s":
            replace all " -s" and "-s " with "" in {_r}
            set {_silent} to true
        if {_silent} is set:
            loop all players:
                if loop-player has permission "mute.use":
                    send "&7&o(SILENT) &b%{_p}% &7muted &b%arg-1% &7for &c%{_r}% &7[%{_l}%]" to loop-player
        else:
            broadcast "&b%{_p}% &7muted &b%arg-1% &7for &c%{_r}% &7[%{_l}%]"
        set {muted.%arg-1%} to true
        add arg-1 to {mutelist::*}
        set {%arg-1%.muted} to now
        set {%arg-1%.mutelength} to arg-3
        
command /unmute [<offlineplayer>] [<text>]:
    trigger:
        if player does not have permission "mute.use":
            send "&cYou are not permitted to run this command!"
            stop
        if arg-1 is not set:
            send "&c/mute (player) [-s]"
            stop
        if arg-1 has permission "mute.use":
            send "&cYou cannot unmute this player!"
            stop
        if player is not set:
            set {_p} to "CONSOLE"
        else:
            set {_p} to player
        if {%arg-1%.muted} is not set:
            send "&cThat player is not muted!"
            stop
        if {_r} contains "-s":
            replace all " -s" and "-s " with "" in {_r}
            set {_silent} to true
        if {_silent} is set:
            loop all players:
                if loop-player has permission "mute.use":
                    send "&7&o(SILENT) &b%{_p}% &7unmuted &b%arg-1%" to loop-player
        else:
            broadcast "&b%{_p}% &7unmuted &b%arg-1%"
        clear {muted.%arg-1%}
        remove arg-1 from {mutelist::*}
        clear {%arg-1%.muted}
        clear {%arg-1%.mutelength} 
        
every 1 second:
    loop {banlist::*}:
        if {%loop-value%.banned} is set:
            if difference between now and {%loop-value%.banned} >= {%loop-value%.length}:
                unban loop-value
                remove loop-value from {banlist::*}
                clear {%loop-value%.banned}
                clear {%loop-value%.length}
    loop {mutelist::*}:
        if {%loop-value%.muted} is set:
            if difference between now and {%loop-value%.muted} >= {%loop-value%.mutelength}:
                unban loop-value
                clear {muted.%loop-value%}
                remove loop-value from {mutelist::*}
                clear {%loop-value%.muted}
                clear {%loop-value%.mutelength}
        
command /unban [<offlineplayer>] [<text>]:
    trigger:
        if player does not have permission "unban.use":
            send "&cYou are not permitted to run this command!"
            stop
        if arg-1 is not set:
            send "&c/unban (player) [-s]"
            stop
        if player is not set:
            set {_p} to "CONSOLE"
        else:
            set {_p} to player
        if arg-1 is not banned:
            send "&cThat player is not banned!"
            stop
        if arg-2 contains "-s":
            replace all " -s" and "-s " with "" in {_r}
            set {_silent} to true
        if {_silent} is set:
            loop all players:
                if loop-player has permission "ban.use":
                    send "&7&o(SILENT) &b%{_p}% &7unbanned &b%arg-1%" to loop-player
        else:
            broadcast "&b%{_p}% &7unbanned &b%arg-1%"
        unban arg-1
        remove arg-1 from {banlist::*}
        
command /warn [<offlineplayer>] [<text>]:
    trigger:
        if player does not have permission "warn.use":
            send "&cYou are not permitted to run this command!"
            stop
        if player is not set:
            set {_p} to "CONSOLE"
        else:
            set {_p} to player
        if arg-2 is not set:
            send "&c/warn (player) (reason)"
            stop
        if arg-1 has permission "warn.use":
            send "&cYou cannot warn this player!"
            stop
        broadcast "&b%{_p}% &7warned &b%arg-1%&7 for &c%arg-2%"
        if {warns.%arg-1%} is not set:
            set {warns.%arg-1%} to 1
            add arg-1 to {warnlist::*}
        else:
            add 1 to {warns.%arg-1%}
        
command /unwarn [<offlineplayer>]:
    trigger:
        if player does not have permission "warn.use":
            send "&cYou are not permitted to run this command!"
            stop
        if arg-1 is not set:
            send "&c/unwarn (player)"
            stop
        if player is not set:
            set {_p} to "CONSOLE"
        else:
            set {_p} to player
        if {warns.%arg-1%} is not set:
            send "&cThat player has no warns!"
            stop
        else:
            broadcast "&b%player%&7 pardoned &c%arg-1%&7's warn"
            if {warns.%arg-1%} is 1:
                clear {warns.%arg-1%}
                remove arg-1 from {warnlist::*}
            else:
                remove 1 from {warns.%arg-1%}
        
on chat:
    if {muted.%player%} is set:
        send "&cYou cannot chat while muted!"
        cancel event
        
command /banlist:
    trigger:
        if player does not have permission "ban.use":
            send "&cYou are not permitted to run this command!"
            stop
        if "%{banlist::*}%" is "none":
            send "&7No players are banned!"
            stop
        send "&bCurrent players banned:&7 %{banlist::*}%"

command /mutelist:
    trigger:
        if player does not have permission "mute.use":
            send "&cYou are not permitted to run this command!"
            stop
        if "%{mutelist::*}%" is "none":
            send "&7No players are muted"
            stop
        send "&bCurrent players muted:&7 %{mutelist::*}%"

command /warnlist:
    trigger:
        if player does not have permission "warn.use":
            send "&cYou are not permitted to run this command!"
            stop
        if "%{warnlist::*}%" is "none":
            send "&7No players are warned!"
            stop
        send "&bCurrent players warned:&7 %{warnlist::*}%"

on join:
  if {warnlist::*} is not set:
    set {warnlist::*} to none

on join:
  if {warnlist::*} is not set:
    set {mutelist::*} to none

on join:
  if {banlist::*} is not set:
    set {banlist::*} to none
    

  • Like 1

I make skripts... k.

Link to comment
Share on other sites

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