Jump to content

ItsKirby

Member
  • Posts

    119
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by ItsKirby

  1. 2 hours ago, AgentGamerPro said:

    SkButton
    Add Text To Buttons!


    Using this skript, you can add text to buttons with simple commands!
    Permission is Text.Use

     

    options:
    	prefix: &3[&bSkButton&3]
    	permission: Text.Use
    
    command /text [<text>] [<text>] [<text>]:
    	permission: {@permission}
      	permission message: {@prefix} &cInsufficent Permission!
    	trigger:
    		if arg-1 is "clearall":
    			if arg-2 is not set:
    				send "{@prefix} &c&lWARNING: &cDoing /text clearall will clear ALL text from ALL buttons!%nL%&7If you wish to continue, do /text clearall confirm" to player
    			else if arg-2 is "confirm":
    				clear {Text::*}
    				send "{@prefix} &aCleared all text from all buttons!" to player
    			else:
    				send "{@prefix} &cIncorrect argument!" to player
    		else if player's targeted block is not a button:
    			send "{@prefix} &cLook at a button before using this command!" to player
    		else:
    			if arg-1 is not set:
    				send "{@prefix} &cUsage: &b/text (add | set | delete | clear | clearall)" to player
    			else if arg-1 is "add":
    				if arg-2 is not set:
    					send "{@prefix} &cUsage: &b/text add (text)" to player
    				else:
    					if arg-3 is not set:
    						set {_text} to colored arg-2
    						add {_text} to {Text::%location of player's targeted block%::*}
    						send colored "{@prefix} &aSuccessfully added %{_text}% &ato the text!" to player
    					else:
    						set {_text} to colored "%arg-2% %arg-3%"
    						add {_text} to {Text::%location of player's targeted block%::*}
    						send colored "{@prefix} &aSuccessfully added %{_text}% &ato the text!" to player
    			else if arg-1 is "set":
    				if arg-2 is not set:
    					send "{@prefix} &cUsage: &b/text set (line) (text)" to player
    				else:
    					set {_integer} to arg-2
    					set {_integer} to {_integer} parsed as integer
    					if {_integer} is not a integer:
    						send "{@prefix} &cUsage: &b/text set (line) (text)" to player
    					else:
    						if arg-3 is not set:
    							send "{@prefix} &cUsage: &b/text set (line) (text)" to player
    						else:
    							loop {Text::%location of player's targeted block%::*}:
    								add 1 to {_index}
    								if {_index} = {_integer}:
    									set {Text::%location of player's targeted block%::%loop-index%} to colored arg-3
    									set {_sendtext} to colored arg-3
    									stop loop
    							if {_sendtext} is set:
    								send "{@prefix} &aSuccessfully set line %{_integer}% &ato %{_sendtext}%&a!" to player
    							else:
    								send "{@prefix} &cThat is not a line!" to player
    			else if arg-1 is "delete":
    				if arg-2 is not set:
    					send "{@prefix} &cUsage: /text delete (line)" to player
    				else:
    					set {_integer} to arg-2
    					set {_integer} to {_integer} parsed as integer
    					if {_integer} is not a integer:
    						send "{@prefix} &cUsage: &b/text delete (line)" to player
    					else:
    						loop {Text::%location of player's targeted block%::*}:
    							add 1 to {_index}
    							if {_index} = {_integer}:
    								delete {Text::%location of player's targeted block%::%loop-index%}
    								stop loop
    						send "{@prefix} &aSuccessfully deleted line %{_integer}%&a!" to player
    			else if arg-1 is "clear":
    				clear {Text::%location of player's targeted block%::*}
    				send "{@prefix} &aCleared all text from this button!" to player
    
    on rightclick on button:
    	loop {Text::%location of player's targeted block%::*}:
    		send "%loop-value%" to player

     

    Cool idea!

  2. 23 hours ago, Yourdadisyourmom said:

    My first skript released. (pls don't bully)

    command /text [<player>] [<text>]:
      aliases: /whisper, /whisp /t
      usage: &cNot enough arguments. /text (player) (message)
      trigger:
        set {text} to difference between {text.%player%} and now
        if {text} is less than 5 seconds:
          send "&cYou must wait &4%difference between {text} and 5 seconds% &cbefore messaging again!"
          stop
        set {text.%player%} to now
        if arg-1 is set:
          if arg-2 is set:
            send "&9%player% &b> &9You &b| %coloured arg-2%" to arg-1
            send "&9You &b> %arg-1% &b| %coloured arg-2%" to player
          else:
            send "&cNot enough arguments. /text (player) (message)"
        else:
          send "&cNot enough arguments. /text (player) (message)"
        loop all players:
          if loop-player has permission "skript.messagesee":
            send "&9%player% &bhas messaged &9%arg-1%&b: %coloured arg-2%"
            if arg-1 is online:
              send "&9You &b> %arg-1% &b| %coloured arg-2%" to player
            else:
              send "&cThis player doesn't exist!"
              
              the part where some people can see the messages is not perfect.

    You can use a pastebin link instead. Overall. It seems nice for a first post. 

    I tried the skript out but minehut is overcoming this skript lol.

  3. On 6/22/2021 at 9:26 PM, King_Creeperz said:

    NOTE: this is a beta build. not a full release. all the other weapons will come later. this can be used in magic servers like magic pvp servers or rpgs. but it is not my fault if your server gets destroyed by a fireball wand. you can disable it if you delete the code.

    This is the first release... and it took a bit of work to complete. it will help if you download my skript because it is worth it!

     
     __  __             _   __          __                              
    |  \/  |           (_)  \ \        / /                              
    | \  / | __ _  __ _ _  __\ \  /\  / /__  __ _ _ __   ___  _ __  ___ 
    | |\/| |/ _` |/ _` | |/ __\ \/  \/ / _ \/ _` | '_ \ / _ \| '_ \/ __|
    | |  | | (_| | (_| | | (__ \  /\  /  __/ (_| | |_) | (_) | | | \__ \
    |_|  |_|\__,_|\__, |_|\___| \/  \/ \___|\__,_| .__/ \___/|_| |_|___/
                   __/ |                         | |                    
                  |___/                          |_|                    
    
    

     

    MagicWeapons is a skript release by "King_Creeperz" where adds 15 types of magic weapons and mana (4 wands BETA)

     

    Dependences: Skript

    I really did this with just skript

    These are the magic weapons listed...

    - Fire Wand: (DANGEROUS) shoots fire balls. (10 MANA) (it will cause destruction) to disable it delete the code.

    - Ice Wand: shoots snowballs that do damage (10 MANA)

    - Magic Bow: shoots arrows but uses mana except arrows (20 MANA) (this isn't a wand but it is a magic weapon. this is magic weapons anyway...)

    - Launcher: launches you but alot of mana cost (100 MANA)

    - Coming soon... (this is beta anyway)

     

    This is the end of the overview, I promise there will be more in development soon. the next build will come out about 3-5 days (hypixel skyblock wizard tower days lol) I hope you enjoy this build!

    Also if you download this it might say that it's a "virus" because I downloaded a sk file before and that happened. so just ignore it and download it.

    Version: 0.1.0

     

    MagicWeapons.sk 2.7 kB · 7 downloads

    It's ok for a wand skript that uses only skript. But i feel like you can add much more than what you have. Overall, it's fine

  4. 2 minutes ago, StarBunnie said:

    No worries keep in mind it only gets filled on the timer never before so if you set a new item it will only appear once the next fillwave hits

    yea i know that, it's just that i realized that items with custom names and lore won't be able to be displayed in the lootchest. And when a player is in the chest gui, it wouldn't kick the player out on the timer reset. But it's fine i guess

  5. 3 minutes ago, StarBunnie said:

    Well you look at a place chest and type "/lc set" then while still looking at the chest type "/lc add 10-15" to add your current item you're holding in your hand to the chest. If you done that it should refill the chest every time it triggers the delay. What version is your server on?

    It is in 1.16.5, before 1.17

    Edit: Oop it now works for some reason. If there are any problems i will message again thank you 🙂

  6. 6 minutes ago, StarBunnie said:

    How do you add the loot to the chest like the command you put in and are you looking at a chest that is an active lootchest?

    I might be doing something wrong when i am creating a lootchest. What is the steps to create one?

     

  7. 19 hours ago, StarBunnie said:

    Oh for the nbt you probably require SkBee should've noted that my bad I'm unsure if the 1.17 update for SkBee is already up tho

    ah ok then, i don't remember adding skbee in my server (usually i do) so that's why it didn't work. Thanks a ton!

    • Like 1
  8. 1 hour ago, StarBunnie said:

    Here are the lootchests for @Kirbykirby.

    tumblr_inline_mlb1xpav8X1qz4rgp.gif  | Commands

    d8njc9b-009b00a6-d7f8-4b86-a95c-ebf27c06 /lootchest | Gives you a list of all commands and info about them

    d8njc9b-009b00a6-d7f8-4b86-a95c-ebf27c06 /lootchest set | Converts the target chest to a lootchest

    d8njc9b-009b00a6-d7f8-4b86-a95c-ebf27c06 /lootchest delete | Converts the target chest back to a normal chest

    d8njc9b-009b00a6-d7f8-4b86-a95c-ebf27c06 /lootchest add | Adds your tool to the target lootchest

    d8njc9b-009b00a6-d7f8-4b86-a95c-ebf27c06 /lootchest remove | Removes items from the target lootchest

    d8njc9b-009b00a6-d7f8-4b86-a95c-ebf27c06 /lootchest info | Gives you info about your target lootchest

    d8njc9b-009b00a6-d7f8-4b86-a95c-ebf27c06 /lootchest list | Gives you a list of all lootchests

    d8njc9b-009b00a6-d7f8-4b86-a95c-ebf27c06 /lootchest preset | Gives you a preset of your target lootchest

    tumblr_inline_mlb1xpav8X1qz4rgp.gif  | Permissions

    d8njc9b-009b00a6-d7f8-4b86-a95c-ebf27c06 lootchest.break | Allows breaking a lootchest

    d8njc9b-009b00a6-d7f8-4b86-a95c-ebf27c06 lootchest.use | Grants access to the lootchest command

    tumblr_inline_mlb1xpav8X1qz4rgp.gif  | Customization 

    d8njc9b-009b00a6-d7f8-4b86-a95c-ebf27c06 Refill timer

    d8njc9b-009b00a6-d7f8-4b86-a95c-ebf27c06 Title & highlight color

    tumblr_inline_mlb1xpav8X1qz4rgp.gif  | Features

    d8njc9b-009b00a6-d7f8-4b86-a95c-ebf27c06 Individual lootchest filling with random slots & amounts

    tumblr_inline_mlb1xpav8X1qz4rgp.gif  | Download

    Either below or from here.

    tumblr_inline_mlb1xpav8X1qz4rgp.gif  | Info

    Not gonna lie this skript is a bit of a mess not feeling that great lately so if there are any errors popping up feel free to message me and I'll try to solve em.

    lootchest.sk 8.31 kB · 0 downloads

    It's fine, this is really great 😄. I will say that there are errors but im hoping it wouldn't be too much of a pain to fix.
    image.png.3428235fddfe70dad7640102d5c77cc0.png


    Just a edit. I may have found the problem that doesn't make the chest give loot upon the timer 

    image.png.58610c1b7c878482bc5167d341ba179f.png

  9. On 6/17/2021 at 1:24 PM, _Tarna_ said:

    You can't delete a server but you can reset one by pressing reset server in the danger zone tab on the panel.

    Oh i wanted to ask why this option was created? Why only allow the creation of servers?

  10. On 5/21/2021 at 6:46 AM, snaffo said:

    so basically at the hub you can mess with trapdoors and doors so it makes the builds look weird, i suggest you find a plugin that stops this.

    I mean there isnt a harm in fiddling with the things

  11. You can follow up on the minehut discord server's Announcement channel to see why the servers are laggy for some point. And also probably because minehut kinda flimsy : p

  12.  

    13 hours ago, StarBunnie said:

    On it gonna finish it tomorrow tho. With the skript you can just make any chest to a "lootchest" and add and remove items at will with a range you can set for each item individually so like "/lc add 10-15" would add the item you're holding to the target lootchest and every time it refills it adds your tool times the range you put in. So if you were holding an apple it could fill it with 12 apples for example and that at a random slot in the chest.

    Ah ok, just to get it straight, basically I am able to set specific items and amounts in a loot chest, i wanted to ask if you are able to make it set the items for all of that chest type. So i wouldn't need to go an put the randomizer for each and all chests.

    Here are some details that can help you.
    /lc create (name) "Basically i am able to crate a lootchest"
    /lc add [num] to [num] (name) "Sets the items for a specific lootchest
    /lc give (name) "gives the lootchest so i can place it anywhere
    /lc del (name) "deletes lootchest"

    If this is too much to ask, please don't pressure yourself to create this. Have a good day.

×
×
  • Create New...