-
Posts
70 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Gallery
Blogs
Events
Store
Downloads
Posts posted by _Mr_Puppy_
-
-
Why is nobody else replying to this?
-
Hello everyone!
This post is regarding a skirpt im am releasing named "BetterBalance!"This skirpt will contain a few features to help enhance your server.
Credits:
-EWS on skunity forums (https://forums.skunity.com/threads/useful-vanilla-skript-functions.7000/) for a number sorting function
-nicholxs (https://forums.minehut.com/profile/125084-nicholxs/) baltop skirpt
Features For OperatorsSpoilerFully Customizable Banknotes. Take money directly from a players balance. Give players money directly from your balance. Remove any amount money from players balance. Add any amount of money to a players balance. Reset a players balance. Set a players balance. Editable balance top showings. Configurable server name message.Features For Everybody
SpoilerCheck the balance top. Check your balance. Check any players balance, online or offline. Redeem Banknotes.Commands For Operators
Note: when using these command don't include the [] symbols in the message.
Spoiler/banknote [money] [amount] Gives the executor the set amount of banknotes that each reward the set amount of money to the redeemer of the banknotes. /bal [player] help /balance [player] help /money [player] help /$ [player] help Shows the executor the help text for the balance. /bal [player] take [amount] /balance [player] take [amount] /money [player] take [amount] /$ [player] take [amount] Removes the set amount from the set player's balance and adds it to the executors balance. /bal [player] give [amount] /balance [player] give [amount] /money [player] give [amount] /$ [player] give [amount] Removes the set amount from the executors balance and adds it to the set player's balance. /bal [player] remove [amount] /balance [player] remove [amount] /money [player] remove [amount] /$ [player] remove [amount] Removes the set amount from the set player's balance. /bal [player] add [amount] /balance [player] add [amount] /money [player] add [amount] /$ [player] add [amount] Adds the set amount from the set player's balance. /bal [player] reset /balance [player] reset /money [player] reset /$ [player] reset Resets the set player's balance back to $0. /bal [player] set [amount] /balance [player] set [amount] /money [player] set [amount] /$ [player] set [amount] Sets the set player's balance to the set amount.Commands For All Players
Note: when using these command don't include the [] symbols in the message.
Spoiler/bal /balance /money /$ Shows the executor their current balance. /bal [player] /balance [player] /money [player] /$ [player] Shows the executor the set player's current balance. /baltop /balancetop /$top /cashtop /moneytop Shows the executor the balance of the top 10 players (top 10 is default, with access to this skript you can change this.)THE ACTUAL CODE!
You can either download the code as a .sk file, .txt file, or just copy and paste in from below!Spoileron skript load: loop all players where [input has permission "op"]: send " " to loop-player send "&aSuccessfully loaded &a&lBetterBalance&r&a by rhthebest AKA _Mr_Puppy_. DM rhthebestⵌ8215 on discord with any bug reports!" to loop-player send " " to loop-player on first join: set {cash::%player's uuid%} to 0 on join: if {cash::%player's uuid%} is not set: set {cash::%player's uuid%} to 0 command /banknote [<number>] [<number>]: permission: op trigger: if arg-1 is set: if arg-2 is set: send "&aBanknote Created!" to player set {reward} to arg-1 {reward} > 999: loop arg-2 times: give player 1 paper named "&l&fBanknote" with lore "&2Right Click To Recive Money!", and "&2Gives You &a$%{reward}% (%format({reward})%)", and "&7Must Be Unstacked To Use!" else: loop arg-2 times: give player 1 paper named "&l&fBanknote" with lore "&2Right Click To Recive Money!", and "&2Gives You &a$%{reward}%", and "&7Must Be Unstacked To Use!" if arg-2 is not set: send "&aBanknote Created!" to player set {reward} to arg-1 give player 1 paper named "&l&fBanknote" with lore "&2Right Click To Recive Money!", and "&2Gives You &a$%{reward}%", and "&7Must Be Unstacked To Use!" on right click: if player's held item is paper named "&l&fBanknote": if lore of player's held item contains "&2Right Click To Recive Money!": set player's held item to air add {reward} to {cash::%player's uuid%} send action bar "&a+$%{reward}%" to player send "&aBalance: &c$%{cash::%player's uuid%}%" to player command /bal [<offline player>] [<text>] [<number>]: aliases: money, balance, $ trigger: if arg-1 is set: if arg-2 is not set: {cash::%arg-1's uuid%} > 999: send "&a%arg-1%'s Balance: &c$%{cash::%arg-1's uuid%}% (%format({cash::%arg-1's uuid%})%)" to player else: send "&a%arg-1%'s Balance: &c$%{cash::%arg-1's uuid%}%" to player if arg-1 is not set: {cash::%player's uuid%} > 999: send "&aBalance: &c$%{cash::%player's uuid%}% (%format({cash::%player's uuid%})%)" to player else: send "&aBalance: &c$%{cash::%player's uuid%}%" to player if arg-1 is set: if player has permission "op": if arg-2 is "set": if arg-3 > -1: set {cash::%arg-1's uuid%} to arg-3 {cash::%arg-1's uuid%} > 999: send "&aYour Balance Has Been Set To &c$%arg-3%! (%format({cash::%arg-1's uuid%})%)" to arg-1 if arg-1 is not player: send "&a%arg-1%'s Balance Has Been Set To &c$%arg-3%! (%format({cash::%arg-1's uuid%})%)" to player else: send "&aYour Balance Has Been Set To &c$%arg-3%!" to arg-1 if arg-1 is not player: send "&a%arg-1%'s Balance Has Been Set To &c$%arg-3%!" to player if arg-2 is "add": if arg-3 > 0: add arg-3 to {cash::%arg-1's uuid%} if arg-3 > 999: send "&c$%arg-3%&a Has Been Added Your Balance! (%format(arg-3)%)" to arg-1 if arg-1 is not player: send "&c$%arg-3%&a Has Been Added To %arg-1%'s Balance! (%format(arg-3)%)" to player else: send "&c$%arg-3%&a Has Been Added Your Balance!" to arg-1 if arg-1 is not player: send "&c$%arg-3%&a Has Been Added To %arg-1%'s Balance!" to player if arg-2 is "reset": set {cash::%arg-1's uuid%} to 0 send "&aYour Balance Has Been Reset!" to arg-1 if arg-1 is not player: send "&a%arg-1%'s Balance Has Been Reset!" to player if arg-2 is "remove": if arg-3 > 0: remove arg-3 from {cash::%arg-1's uuid%} if arg-3 > 999: send "&c$%arg-3%&a Was Taken Away From Your Balance! (%format(arg-3)%)" to arg-1 if arg-1 is not player: send "&c$%arg-3%&a Was Taken Away From %arg-1%'s Balance! (%format(arg-3)%)" to player else: send "&c$%arg-3%&a Was Taken Away From Your Balance!" to arg-1 if arg-1 is not player: send "&c$%arg-3%&a Was Taken Away From %arg-1%'s Balance!" to player if arg-2 is "take": if arg-3 > 0: remove arg-3 from {cash::%arg-1's uuid%} add arg-3 to {cash::%player's uuid%} if arg-3 > 999: send "&a%player% Took &c$%arg-3% (%format(arg-3)%)&a From Your Balance!" to arg-1 if arg-1 is not player: send "&c$%arg-3% (%format(arg-3)%)&a Has Been Taked From$%arg-1%'s Balance!" to player else: send "&aYou Just Took &c$%arg-3% (%format(arg-3)%)&a From Yourself, And Then Gave It Back To Yourself!" to player else: send "&a%player% Took &c$%arg-3%&a From Your Balance!" to arg-1 if arg-1 is not player: send "&c$%arg-3%&a Has Been Taked From$%arg-1%'s Balance!" to player if arg-1 is player: send "&aYou Just Took &c$%arg-3%&a From Yourself, And Then Gave It Back To Yourself!" to player if arg-2 is "give": if arg-3 > 0: remove arg-3 from {cash::%player's uuid%} add arg-3 to {cash::%arg-1's uuid%} if arg-3 > 999: send "&a%player% Gave You &c$%arg-3% (%format(arg-3)%)!" to arg-1 if arg-1 is not player: send "&c$%arg-3% (%format(arg-3)%)&a Has Been Given To %arg-1%!" to arg-1 else: send "&aYou Just Took &c$%arg-3% (%format(arg-3)%)&a From Yourself, And Then Gave It Back To Yourself!" to player else: send "&a%player% Gave You &c$%arg-3%!" to arg-1 if arg-1 is not player: send "&c$%arg-3%&a Has Been Given To %arg-1%!" to arg-1 else: send "&aYou Just Took &c$%arg-3%&a From Yourself, And Then Gave It Back To Yourself!" to player if arg-2 is "help": send "&aUsage: &c/[bal/balance/money] [player] [help/take/give/remove/reset/add/set] [amount]" to player #Credit to nicholxs (https://forums.minehut.com/profile/125084-nicholxs/) for this baltop skirpt, it has been tampered with to fit this economy: options: ServerName: &3&lYour &9&lServer command /baltop: aliases: balancetop, $top, cashtop, moneytop trigger: loop {cash::*}: add 1 to {_size} if {_low.to.high.list::%loop-value%} is not set: set {_low.to.high.list::%loop-value%} to loop-index else: set {_n} to 0 loop {_size} times: set {_n} to {_n}+1 {_low.to.high.list::%loop-value-1%.%{_n}%} is not set set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index stop loop wait 1 tick set {_n} to size of {_low.to.high.list::*} loop {_low.to.high.list::*}: set {_high.to.low.list::%{_n}%} to loop-value set {_n} to {_n}-1 wait 1 tick set {_i} to 0 send "" send "{ServerName} Baltop" loop {_high.to.low.list::*}: add 1 to {_topnumber} set {_player} to "%loop-value%" parsed as offlineplayer send "&2%{_topnumber}% - &a%{_player}% &8» &c$%{cash::%loop-value%}%" add 1 to {_i} if {_topnumber} > 9: #This means it shows top 10 players send "" stop #credit to EWS on skunity forums (https://forums.skunity.com/threads/useful-vanilla-skript-functions.7000/) for this function: function format(n: number) :: text: set {_data} to "Qi,18|Qa,15|Tril,12|Bil,9|Mil,6|k,3" loop split {_data} at "|": set {_s::*} to split loop-value at "," {_n} >= 10 ^ {_s::2} parsed as number return "%{_n} / 10 ^ {_s::2} parsed as number%%{_s::1}%" return "%{_n}%"
-
can't you just do:
on block damage: cancel event?
-
Hello, fellow citizens of minehut.
I need staff for an upcoming prison mining server I am working on.
Staff positions needed:
-Helper
-Builder (I really need a builder)
-Moderator
-Sr. Moderator
-Admin
Make sure to contact me on discord: rhthebest#8215
Also make sure to apply using this google forms document: https://docs.google.com/forms/d/e/1FAIpQLSeKnpbV4lOmahbwTW7uriWozBJ1W3PiMWbO_CLc9R4JcR8PkQ/viewform -
At random times, while my server is online (obviously) it just crashes with the chat message:
Anyone know a fix? here's some links to help you:
- Console Error: https://pastebin.com/915PP7jV
- Whole Console: https://pastebin.com/tFEvBbTr-
1
-
-
1 hour ago, rb117 said:
TYSM
np
-
On 7/6/2022 at 12:49 AM, Person_Meeeeeeeeee said:
Ok my request:
Can I get a skirt like the awaken/risen smp. Like when u die u go into spectator mode and then someone can revive u by placing your head or renaming one.
Plz lmk tysm
For item drops I use Vanilla Tweak’s data pack for drop heads.
alright i hope this is what you wanted, when somebody dies, it drops their head, and makes the person who died go to spectator mode. when a head is placed, it revives the person who the head belongs to.
if this is what you wanted, heres the skirpt:
on death: victim is a player: drop victim's head at location of victim on respawn: set player's gamemode to spectator on block place: if event-block is player skull or player wall skull: loop all players: if player's tool's name contains "%loop-player%": set location of event-block to {loc} play sound "entity.generic.explode" at volume 1 at pitch 1 at event-block play flash at the event-block loop 20 times: play heart at the event-block play sound "entity.chicken.egg" at volume 1 at pitch 1 at event-block play sound "entity.turtle.egg_break" at volume 0.1 at pitch 1 at event-block wait 1 tick play flash at the event-block play sound "item.totem.use" at volume 3 at pitch 1 at event-block teleport loop-player to {loc} set loop-player's gamemode to survival play flash at the event-block play flash at the event-block play flash at the event-block broadcast "&c%loop-player% Has Been Revived!"i dont even know if it works, sorry if it doesn't
-
On 4/6/2022 at 11:28 AM, thijsvuur said:
can you help to get if you trigger a if you trigger a command then you get a Xp_bottle Plz help Have a nice day
command /xpbottle: trigger: give player bottle of enchanting -
If you need any skripts made for you or any skript help in general, I am here to help! Reply to this topic with the skript you need help with or describe (in detail) with what skript you want made for you.
If I take a while to respond I am either sleeping or just busy.
If there is an error with the skript, please contact me on discord rhthebest#8215
or request skirpts through my discord rhthebest#8215
-
1
-
-
This happened to me before! What you need to do is,
1. download all your skirpts.
2. Delete the skirpt plugin.
3. Delete all extra skript files in your server that you still have after deleting skirpt.
4. reinstall skirpt.
5. upload all your skirpts back.
(sorry if the explanation is bad, this was rushed.)
-
10 minutes ago, skPnguin said:
tuske is outdated
also do you propose alternatives?
-
3 minutes ago, skPnguin said:
tuske is outdated
but it worked for 1.16.5
-
So i know tuske doesn't work on 1.17 or 1.18 so i made my server on 1.16.5 and tuske does partly work the first 3 lines work but only if the last two lines are deleted.
on swap hand items: cancel event open virtual chest inventory with size 5 named "&3Information" to player format gui slot 1 of player with player's skull named "&3Statistics" with lore "&7Click To View Your Statistics!" to run: #when this line and the below line are removed, the skirpt works and opens a plain gui but when i add these two lines it stops working why is that? broadcast "it works!"even when i add the last two lines there are still no errors but the gui doesn't work
-
On 12/23/2021 at 3:32 AM, realrsrsamr said:
make a skript that makes it easier to get crate keys like /key {ign} {key}
and /keyall {key}
make it for golden crates
idk what golden crates does but um
command /key [<offline player>] [<text>]: permission: keys.staff trigger: if arg-1 is set: if arg-2 is "wood": give player 1 tripwire hook named "&aWood Key" else: send "&cUnknown Key" to player if arg-2 is "stone": give player 1 tripwire hook named "&bStone Key" else: send "&cUnknown Key" to player if arg-2 is "iron": give player 1 tripwire hook named "&3Iron Key" else: send "&cUnknown Key" to player if arg-2 is "diamond": give player 1 tripwire hook named "&9Diamond Key" else: send "&cUnknown Key" to player if arg-2 is "emerald": give player 1 tripwire hook named "&2Emerald Key" else: send "&cUnknown Key" to player if arg-1 is not set: send "&6Usage: /key [player] [key name (wood/stone/iron/diamond/emerald)]" to player command /keyall [<text>]: permission: keys.staff trigger: if arg-1 is set: if arg-1 is "wood": loop all players: give loop-player 1 tripwire hook named "&aWood Key" else: send "&cUnknown Key" to player if arg-1 is "stone": loop all players: give player 1 tripwire hook named "&bStone Key" else: send "&cUnknown Key" to player if arg-1 is "iron": loop all players: give player 1 tripwire hook named "&3Iron Key" else: send "&cUnknown Key" to player if arg-1 is "diamond": loop all players: give player 1 tripwire hook named "&9Diamond Key" else: send "&cUnknown Key" to player if arg-1 is "emerald": loop all players: give player 1 tripwire hook named "&2Emerald Key" else: send "&cUnknown Key" to player if arg-1 is not set: send "&6Usage: /keyall [key name (wood/stone/iron/diamond/emerald)]" to player
-
On 12/24/2021 at 7:42 PM, ryzer said:
I have an idea but its quite difficult.
But if you can pull it off, i would pay for this.
- Npcs (police) can spawn at a players island, at random times (every couple hours or so).
- Police will chase/follow/run to the player, to search them (stop the players actions, and freeze them for like 5 seconds to do the *search*)
- IF the player has certain items in their inventory when searched, they will be fined/jailed.(These items are usually just minecraft items with custom textures and renamed, so you would need to detect if the player is holding for example a Green-dye, with NBT 1 tag(s) and the name 'Weed'.
I know most of that is pretty easy to do if you are good at skript, apart from detecting an item with nbt data or a name if that works.
If you think this is something you'd be able to tackle give me a shout and we can discuss price, if its too difficult sorry;)i bet i could pull it off but i don't think i wanna tackle this offer
-
On 12/26/2021 at 9:31 AM, iwantadaddy said:
It would be nice if you could make it so that when a player is killed by another player, it drops a player head. but not of the player but just a steve head.
on death: if attacker is player: give attacker 1 player head -
On 12/23/2021 at 12:00 AM, GrapeAppleFruit said:
Hey have discord?
Yup! rhthebest#8215
-
on break: if tool has lore "&6Telepathy": set {_drops::*} to dropped items in radius 0.75 around event-location kill dropped items in radius 0.75 around event-location give {_drops::*} to player else: stop command /addenchant [<text>]: permission: op trigger: if arg-1 is telepathy: add lore "&6Telepathy" to player's held item
i found this in my skript dump file which is where i put every skirpt i make. So i though i would share this.
-
1
-
-
I don't celebrate Christmas so i have time ;/
send in your skript ideas I will make them if they are not to complex.
-
6 hours ago, CodexHaxerTheReal said:
Alright so let me get straight to the point. I was watching minehut tutorial about how to make a gui. I made it and now it wont show up, even tho it does not show any error messages on /sk reload gui but when I type the command /gui in chat it says
"Unknown command. Type "/help" for help."What have I done wrong ?
SCRIPT:
command /gui: trigger: open virtual chest inventory with size 3 named "&c&lGui" to player format gui slot 0 of player with water bucket named "&9Make it rain" to run: set weather to rainy broadcast "Making it rain!!"BTW:
It only works when I do the start of script:
command /gui:
trigger:
open virtual chest inventory with size 3 named "&c&lGui" to playerNot else
you just messed up the indentation
-
5 hours ago, Disvand said:
oh god, tuske... please use vanilla or skript-gui tuske is outdated as heck
cap. tuske is the best gui thing for skirpt. no arguments needed.
-
On 12/10/2021 at 10:08 PM, TheRealJMan said:
Where admins and i can use it
custom made just for u :]
command /nick [<offline player>] [<text>]: permissions: op aliases: nickname, rename, changename, name, setname trigger: if arg-1 is set: if arg-2 is set: set arg-1's displayname to "%arg-2%" else: set arg-1's displayname to "&cA&bd&1m&ci&bn&1s&c l&ba&1z&cy&b t&1o &cn&ba&1m&ce&b m&1e" else: send "&cPlease name a player to rename!" if arg-1 is set: if arg-2 is "poop" or "shit": loop 12096000 times: #will loop for a whole week if you have 20 tps lol send "&6I shit my pants" to arg-1 wait 1 tick
-
3 hours ago, SpicySteal said:
for explanation, title is saying if i did "/ann test" it would send "[TimeByte] test" in chat
how am i able to do this?command /ann [<text>]: trigger: if arg-1 is "test": send "{TimeByte} test" to player
or if you want the message to go to everyone:
command /ann [<text>]: trigger: if arg-1 is "test": broadcast "{TimeByte} test"
-
1 hour ago, SamuraiSammy said:
How can you stop a player from dropping an item they are wearing but only if it has a certain name when they die?
on drop: if name of tool is "name here" with lore "lore here": cancel event


NEED STAFF FOR UPCOMING SERVER!!!
in Marketplace
Posted
I need staff for a server!
Once we get a buncha staff we will decide what to make the server, and assign roles for each person to do.
Things I'm looking for in staff:
> Age = 13+
> One of the following: Good Skirpter, Good Builder, > Good Staff Member (Moderator, Admin, etc.)
> Dedicated
> Be Able To VC
> Be Able To Work A Lot
*NOTICE: If you suck I won't hesitate to kick you.*
*ANOTHER NOTICE: Be ready for a long time before release, just incase.
*
If this interests you, dm me on discord: rhthebest#8215