Jump to content

SPINNERZ

Member
  • Posts

    11
  • Joined

  • Last visited

Posts posted by SPINNERZ

  1. I need help with my gen server basically people would break a block and it would say you cant break this but in the spilt second they open like a chest threw a wall and steal stuff so basically people place a respawn beacon and then they tp in and raid there base 

    So i need a block break delay for 0.5 seconds so after they break a block they cant break another for 0.5 seconds

    can someone help

  2. I need help with my gen server basically people would break a block and it would ssay you cant break this but in the spilt second they open like a chest threw a wall and steal stuff so basically people place a respawn breacon and then they tp in and raid there base 

    So i need a block break delay for 0.5 seconds so after they break a block they cant break another for 0.5 seconds

    its urgent my server is now offline and people are wating can someone help

  3. the problem is i cannot use color codes and with with the rank you can see in the screenshot it uses the &8 from the level bit so it completely ruins the rank 

    image.png.06e14039e4887339b0706c19e84db528.png

    image.png.82c4b15469cd48459302b6f51ecc1cb8.png

    and here is the prefix 
    prefix.2.&#858270&k!&8[&#858270&lC&#858270&lO&#858270&lA&#858270&lL&8]&#858270&k! &#858270 

    on chat:
        cancel event
        broadcast "&8[&a✯%{level::%player's uuid%}%&8] %player's prefix%%player's display name%: %message%"
  4. the problem is i cannot use color codes and with with the rank you can see in the screenshot it uses the &8 from the level bit so it completely ruins the rank 

    image.png.06e14039e4887339b0706c19e84db528.png

    image.png.82c4b15469cd48459302b6f51ecc1cb8.png

    and here is the prefix 
    prefix.2.&#858270&k!&8[&#858270&lC&#858270&lO&#858270&lA&#858270&lL&8]&#858270&k! &#858270 

    on chat:
        cancel event
        broadcast "&8[&a✯%{level::%player's uuid%}%&8] %player's prefix%%player's display name%: %message%"

     

  5. command /autokeyall:
        permission: op
        permission message: &7[&a&lBoxx&2&lBattle&7] &aYou do not have &a&lPermission
        trigger:
            broadcast "&7&l[&a&lBoxx&2&lBattle&7&l] &a10+ players - &a&l1 &akeyall key, 20+ - &a&l2 &akeyall keys, 30+ - &a&l3 &akeyall keys. happens in 30 minutes"
            wait 10 minute
            broadcast "&7&l[&a&lBoxx&2&lBattle&7&l] &a10+ players - &a&l1 &akeyall key, 20+ - &a&l2 &akeyall keys, 30+ - &a&l3 &akeyall keys. happens in 20 minutes"
            wait 10 minute
            broadcast "&7&l[&a&lBoxx&2&lBattle&7&l] &a10+ players - &a&l1 &akeyall key, 20+ - &a&l2 &akeyall keys, 30+ - &a&l3 &akeyall keys. happens in 10 minutes"
            wait 5 minutes
            broadcast "&7&l[&a&lBoxx&2&lBattle&7&l] &a10+ players - &a&l1 &akeyall key, 20+ - &a&l2 &akeyall keys, 30+ - &a&l3 &akeyall keys. happens in 5 minutes"
            wait 4 minute
            broadcast "&7&l[&a&lBoxx&2&lBattle&7&l] &a10+ players - &a&l1 &akeyall key, 20+ - &a&l2 &akeyall keys, 30+ - &a&l3 &akeyall keys. happens in 1 minute"
            wait 50 second
            broadcast "&7&l[&a&lBoxx&2&lBattle&7&l] &a10+ players - &a&l1 &akeyall key, 20+ - &a&l2 &akeyall keys, 30+ - &a&l3 &akeyall keys. happens in 10 seconds"
            wait 1 second
            if amount of all players is more than 10:
            broadcast "&7&l[&a&lBoxx&2&lBattle&7&l] &a10+ player keyall"
            or 
            if amount of all players is more than 20:
            broadcast "&7&l[&a&lBoxx&2&lBattle&7&l] &a20+ player keyall"
            or
            if amount of all players is more than 30:
            broadcast "&7&l[&a&lBoxx&2&lBattle&7&l] &a30+ player keyall"
            else
            broadcast "&7&l[&a&lBoxx&2&lBattle&7&l] &anot enough players"

  6. On 4/1/2022 at 2:45 PM, EzedOn said:

    This should work im not sure tho

     

    options:
        rankname: RANKNAMEHERE # Make it the same as the luck perms rank name or else it doesnt work
    
    
    
    on rightclick with paper:
        name of the player's weapon is "&a&lRank token"
        make console execute command "/lp user %event-player% parent set {@rankname}"
        remove paper named "&a&lRank token" from player's inventory
        send "&a&lYou redeemd a rank token and got rank {@rankname}"

     

    thanks

  7. categories:

    defense - (stonebricks=$5k name:&7&lTier 1 Defense block) (basalt-$20k name:&7&lTier 2 Defense block) (polisheddeepslate-$100k name:&7&lTier 3 Defense block) (irontrapdoor-$25k name:&f&lTier 2 Trapdoor) (beacon-$20k name:&b&lRespawn Block)

    gens - (white_glazed_terracotta=$100 name:&fWhite Generator &8[&6T1&8])

    raiding - (blaze rod=100tokens name:&6&lRaid Tool Tier I) (blaze rod=200tokens name:&6&lRaid Tool Tier II) (blaze rod=300 tokens name:&6&lRaid Tool Tier III)

    token - (paper=50 tokens name:&e+0.1 Multiplier "use {multiplier::%player's uuid%} to add 0.1 to multiplier) (bone=100tokens name:&6&lSellwand x1) (bone=200tokens name:&6&lSellwand x2) (bone=350tokens name:&6&lSellwand x3) (paper=50 tokens name:&e+1 Gen Slot "use {gen::cap::%player's uuid%} and add 1 to that)

    misc - (chest=$500) (waterbucket=$100) (hopper=$5k) (torch=$10) (sign=$50) (ladder=$50)

    blocks - (sandstone=$10) (cobblestone=$10) (glass=$10) (stone=$10) (sand=$10) (ice=$10) (soulsand=$10)

    equiment - image.png.cea82b1129b42c86505e50581e25323a.pngleather armour 1k each chainmill armour 5k each iron armour 15k each stone tools 2.5k each iron tools 15k each diamond tools 250k each

     

    tokens to use for it {tokens::%player's uuid%}

    economy to use for it {balance::%player's uuid%}

    example if you bought something "remove 10 from {balance::%player's uuid%}"

    can it also have a back button at the bottom left of the gui

  8. 1 hour ago, ApexSplat said:
    options:
    	shopname: &6&lShop
    	defname: &a&lDefense
    	genname: &b&lGens
    	msg: &8[&3Shop&8] &3
    
    function buy(p: player, i: integer, m: string, it: itemtype):
    	set {_uuid} to uuid of {_p}
    	if {balance::%{_uuid}%} >= {_i}:
    		remove {_i} from {balance::%{_uuid}%}
    		give {_p} {_it} named {_m}
    		send "{@msg}Bought 1 %{_m}% &3for $%{_i}%" to {_p}
    	else:
    		send "{@msg}Too poor" to {_p}
    
    command /shop:
    	trigger:
    		set metadata tag "shop" of player to chest inventory with 1 row named "{@shopname}"
    		set slot 0 of metadata tag "shop" of player to iron bars named "{@defname}"
    		set slot 1 of metadata tag "shop" of player to hay bale named "{@genname}"
    		open (metadata tag "shop" of player) to player
    
    on inventory click:
    	if event-inventory = (metadata tag "shop" of player):
    		cancel event
    		if index of event-slot is 0:
    			set metadata tag "shopDef" of player to chest inventory with 6 rows named "{@defname}"
    			set slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 44, 45, 46, 47, 48, 49, 50, 51, 52 and 53 of metadata tag "shopDef" of player to black stained glass pane
    			set slot 10 of metadata tag "shopDef" of player to stone brick named "&7&lTier 1 Defense Block" with lore "", "&aPrice: $5000" and ""
    			set slot 11 of metadata tag "shopDef" of player to basalt named "&7&lTier 2 Defense Block" with lore "", "&aPrice: $20000" and ""
    			set slot 12 of metadata tag "shopDef" of player to polished deepslate named "&7&lTier 3 Defense Block" with lore "", "&aPrice: $100000" and ""
    			set slot 13 of metadata tag "shopDef" of player to iron trapdoor named "&f&lTier 2 Trapdoor" with lore "", "&aPrice: $25000" and ""
    			set slot 14 of metadata tag "shopDef" of player to beacon named "&b&lRespawn Block" with lore "", "&aPrice: $20000" and ""
    			open (metadata tag "shopDef" of player) to player
    		if index of event-slot is 1:
    			set metadata tag "shopGen" of player to chest inventory with 6 rows named "{@genname}"
    			set slot 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 17, 18, 26, 27, 35, 36, 44, 45, 46, 47, 48, 49, 50, 51, 52 and 53 of metadata tag "shopGen" of player to black stained glass pane
    			set slot 10 of metadata tag "shopGen" of player to white glazed terracotta named "&fWhite Generator &8[&6T1&8]" with lore "", "&aPrice: $100" and ""
    			open (metadata tag "shopGen" of player) to player
    	if event-inventory = (metadata tag "shopDef" of player):
    		cancel event
    		if index of event-slot is 10:
    			buy(player, 5000, "&7&lTier 1 Defense Block", stone brick)
    		if index of event-slot is 11:
    			buy(player, 20000, "&7&lTier 2 Defense Block", basalt)
    		if index of event-slot is 12:
    			buy(player, 100000, "&7&lTier 3 Defense Block", polished deepslate)
    		if index of event-slot is 13:
    			buy(player, 25000, "&f&lTier 2 Trapdoor", iron trapdoor)
    		if index of event-slot is 14:
    			buy(player, 20000, "&b&lRespawn Block", beacon)
    	if event-inventory = (metadata tag "shopGen" of player):
    		cancel event
    		if index of event-slot is 10:
    			buy(player, 100, "&fWhite Generator &8[&6T1&8]", white glazed terracotta)

     

    thanks thats very usefull and it works

     

  9. categories:

    defense - (stonebricks=$5000 name:&7&lTier 1 Defense block) (basalt-$20000 name:&7&lTier 2 Defense block) (polisheddeepslate-$100000 name:&7&lTier 3 Defense block) (irontrapdoor-$25000 name:&f&lTier 2 Trapdoor) (beacon-$20000 name:&b&lRespawn Block)

    gens - (white_glazed_terracotta=$100 name:&fWhite Generator &8[&6T1&8])

     

    economy to use for it {balance::%player's uuid%}

    example if you bought something "remove 10 from {balance::%player's uuid%}"

×
×
  • Create New...