Jump to content

ronaldgameking

Member
  • Posts

    29
  • Joined

  • Last visited

Posts posted by ronaldgameking

  1. You need to change the way yoyur menu is implemented,

    6 hours ago, KKallas said:

    open virtual chest with size 3 named "Menu" to player

    You should use

    create [a] [new] gui [[with id] %-string%] with %inventory% [and shape %-strings%]

    inventory type is in your case: virtual chest

    put a : after that and add 1 indent to all format code with format (below)

    6 hours ago, KKallas said:

    format gui slot 10 of player with water bucket named "&bMake it rain" to run:
        set weather to rainy broadcast "&7[&6Server&7] &bMAKE IT RAIN!!!!"
    format gui slot 12 of player with lava bucket named "&cMake it day" to run:
        set weather to sunny broadcast "&7[&6Server&7] &cMAKE IT DAY!!!!"
    format gui slot 26 of player with barrier named "&cClose" to close then run:
        broadcast "&7[&6Server&7] &7Closed GUI"

    to open the menu, use

    last[ly] [created] gui
    open last gui to player

    but I recommend giving a gui a id.You can: edit it before opening to the player, register the GUI in a on load event and call the menu from different events.
     

    open gui %string% to player

     

  2. On 7/21/2019 at 4:43 PM, Nd_ said:

    IDK if this is a false positive or what, but I went to the page and my AV blocked it. Is there any reason for this?

    EDIT: It isn't a false positive, it's a virus(community score on Virus Total)

    Sending mirror link to you

  3. +1 but MH is probably gonna disabled to best/good stuff xD

    As they did with SkQuery blocking web requests for 'security reasons'.

    set {yourvar} to text form %url%

     

  4. 10 minutes ago, Nd_ said:

    Thanks! But there were to many errors to keep track of, so I restarted

    Indenting corrected and colons.

    command /kit <text>:
        description: Get a kit
        permission: getakit
        executable by: players
    	trigger:  
    		world is "ul_KitPVP" 
    		if arg 1 is "default":
    			if {%player%.getakit} is true:
    				clear the player's inventory
    				set slot 0 of player to a wooden sword
    				equip player with all leather armor
    				set {%player%.getakit} to false
    			else:
    			message "&4Please wait until you die"
    		else if arg 1 is "Iron":
    			if player has permission "kit.Iron":
    				if {%player%.getakit} is true:
    					clear the player's inventory
    					set slot 0 of player to an iron sword
    					equip player with all iron armor
    					set {%player%.getakit} to false
    				else:
    					message "&4Please wait until you die or leave" 
    			else:
    				message "&4You don't have the kit Iron"
    		else if arg 1 is "Ultra":
    			if player has permission "kit.Ultra":
    				if {%player%.getakit} is true:
    					clear the player's inventory
    					equip iron armor
    					set slot 0 of player to 5 golden apples
    					set slot 1 of player to an iron sword
    					set {%player%.getakit} to false
    				else:
    					message "&4Please wait until you die or leave"	
    			else:
    				message "&4You don't have the kit Ultra"
    			 else if arg 1 is "Bouncy":
    			if player has permission "kit.Bouncy":
    				if {%player%.getakit} is true:
    					clear the player's inventory
    					apply jump_boost 2 to the player
    					equip iron armor
    					set slot 0 of player to an iron sword
    					set {%player%.getakit} to false 
    				else:
    					message "&4Please wait until you die or leave"
    			else:
    				message "&4You don't have the kit Bouncy"
    			else if arg 1 is "Speed":
    				if player has permission "kit.Speed":
    					if {%player%.getakit} is true:
    						clear the player's inventory
    						apply speed 2 to the player
    						equip iron armor
    						set slot 0 of player to an iron sword
    						set slot 1 of player to 2 golden apples
    						set {%player%.getakit} to false				 
    					else:
    						message "&4Please wait until you die or leave"
    			else:
    				message "&4You don't have the kit Speed"
    			else if arg 1 is "Lord":
    				if player has permission "kit.Lord":
    					if {%player%.getakit} is true:
    						clear the player's inventory
    						equip iron armor
    						set slot 0 of player to a diamond sword
    						set slot 1 of player to 10 golden apples
    						set slot 2 of player to 5 ender pearls
    						set slot 3 of player to an enchanted apple
    						set {%player%.getakit} to false
    					else:
    						message "&4Please wait until you die or leave" 
    				else:
    					message "&4You don't have the kit Lord"
    		else:
    		   message "There is no kit named %argument%"
    	else:
    		message "You must be in KitPVP to get a kit"
    on death of player:
    	set {%player%.getakit} to false 

     

  5. 19 hours ago, Motionq said:

    yeah, also after you put down colons, you need to indent lol.

    So for example:

    else:

          send "random text"

    You may put it in code blocks, like:
     

    if player has permission "burn.item":
    	send "&cItem burnt"
    else:
    	send "&aCannot burn item!"

     

  6. 1 hour ago, Name said:

    That makes no sense. What do bots even have to do with a skript?

    In addition, taking from the webpage:

    I guess you wanted to make money off it?

    On SpigotMC, uploaded I a script. but it's getting botted, no reviews, only downloads

    P.S. If you don't want to make scripts paid just use a shortener. You earn for getting clicks/visitors

  7. 1 minute ago, Name said:

    Why not just put the skript in code blocks?

    
    such as this

     

    Bot prevention reasons

  8. On 6/14/2019 at 5:28 AM, XXXCanadian said:

    Client Manager

    ____________________________________________

    Information

    Client Manager is a Light weight Management Skript.

    Client Manager is also Compatible With Luckyperms, Groupmanager and Pex

    With Client Manager Skript installed you will get no lag and have the ability to set ranks from

    Builder, helper, Mod, Senior mod, Admin, Manager, developer and Owner.

    We've also added a Custom Heart Rank!

    ____________________________________________

    Commands


    Client Manager Command list!

    - /rank - Have a Look at the Premade ranks

    - /rank <player> <rank> - Set a Rank to the Player


    ____________________________________________

    Permissions


    Client Manager Permission list

    - perm.updaterank

    thats it. You must create your own permissions within

    your rank manager From our list

    ____________________________________________

    Code

    Client Manager Pex

    Client Manager GM (Group Manager)

    Client Manager LP (Luck Perms)

    By - XXXCanadian

    Wow, copying my script idea! As everyone!

  9. Grant
    ____________________________________________

    Information

    Grant is a script made to make rank managing easier.
    Grant is compatible with Group Manager and Permissions Ex.
    Grant also supports donor ranks from Hypixel and Cubecraft,
    I haven't implemented custom yet.

    This script has been created since April ‎16th 2019
    ____________________________________________

    Command

    /grant <player>
    Permission: grant.use

    ____________________________________________

    Download (code)

    http://shortearn.eu/bzDQMZJ

    ____________________________________________

    Q&A

    Q: Why is the download link through a link shortener?
     A: I've done this to prevent that the script gets botted

    More questions? Ask them bellow!

×
×
  • Create New...