Jump to content

SoloStrafe

Member
  • Posts

    28
  • Joined

  • Last visited

Posts posted by SoloStrafe

  1. You don't have an if statement to check if the player has 8 diamonds, try out this code

    on inventory click:
    	if index of event-slot = 11:
    		cancel event
    		if player's inventory contains 8 diamonds:
    			remove 8 diamonds from player's inventory
    			give player 1 dirt
    		else:
    			send "&cYou Don't Have Enough Diamonds" to player

     

  2. command /name <text>:
    	trigger:
        	set name of player's held item to arg-1
            
    command /lore <text>:
    	trigger:
        	set lore of player's held item to arg-1
            

    I don't really know how to make the player's held item to be unbreakable but those two should work for the name and lore. However it is still untested.

    • Thanks 1
  3. This has not been tested yet, but I believe it should work

    options:
    	key: tripwire hook named "&7Key"
    	errormessage: &cYou need to use a key to get into this area!
    	successmessage: &aYou can now access the area whenever you want!
    
    
    # You should only edit the messages above, change the key: variable to whatever item, replace "tripwire hook named "&7Key"" with anything you like like
    # You can also change the success messages and error messages above.
    
    
    on right click:
    	player's held item is 1 of {@key}
    	remove 1 of {@key} from player's inventory
    	add player's uuid to {allowedPlayers::*}
    	send "{@successmessage}" to player
    
    on region enter:
    	if "%region at player%" contains "place":
    		if {allowedPlayers::*} does not contain player's uuid:
    			cancel event
    			send "{@errormessage}" to player
    
    
    

     

  4. I'm not really sure if you can add lore while your dropping the item, so you can try what Boxmonkey said and do this code:

    set {_DropType} to dirt named "Name" with lore "Lore"
    drop {_DropType} at {_DropLocation}
  5. Hello! I would very much like to join this team. I am a Skript Developer and know Skript pretty well. I tried DM'ing you, however we are not friends nor do we share a server.

     

    If you still need Skript Developers. Hit me up on discord SoloStrafe#0949

     

  6. you forgot to add a name, that could be a problem.

    command /updatesidebar:
    	trigger:
    		loop all players:
    			wipe loop-player's sidebar
    			set name of sidebar of loop-player to "Scoreboard Name"
    			set score "%loop-player%" in sidebar of loop-player to 1

     

  7. Do you have world edit, because if you do, thats whats causing the issue. To fix this go inside the world edit config.yml and find the teleport place and it should say that the item is a compass, change the compass to something else

     

    • Thanks 1
  8. The scoreboard code is wrong. 

    on join:
    	set name of sidebar of player to "&CNAME" #this will set the name of the scoreboard
    	set score "&CTEXT" in sidebar of player to 0 #change 0 to whatever value to make the scoreboard appear in the right order

     

  9. the problem with your code is that it has no player to go to. When your executing with console. There's no player. I suggest making a player argument to make it easier.

     

    If this doesn't work, I don't know then:

    command /shop <player>:
    	trigger:
      		make console execute command "/menu open %arg-1% MShop"

     

×
×
  • Create New...