Jump to content

HiroKiros

Member
  • Posts

    7
  • Joined

  • Last visited

About HiroKiros

  • Birthday 08/21/2000

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

HiroKiros's Achievements

Lurker

Lurker (1/6)

0

Reputation

  1. when i type ) : without a space it auto makes a face this affects my scripts too im wondering if theirs a setting to disable it cause i cant find one
  2. #this is not for generic gen servers this is more catered to skygen type servers drops_time is how often the item will spawn options: gens_amount_cap: 999 drops_time: 1 seconds command /test: trigger: if player has permission "gen.cap": set {gens::placed::cap::%player's uuid%} to 999 on join: if {placed::gens::amount::%player's uuid%} isn't set: set {placed::gens::amount::%player's uuid%} to {@gens_amount_cap} on tab complete of "/gengive": if player has permission "gen.give": set tab completions for position 2 to "nether wart", "bone", "fern" command /gengive <player> <text>: trigger: if player has permission "gen.give": if arg-2 is "wheat": gengive(arg-1, hay bale, "&eWheat Gen") if arg-2 is "cobblestone": gengive(arg-1, cobblestone, "&7Cobblestone Gen") if arg-2 is "coal": gengive(arg-1, coal block, "&8Coal Gen") on place: if name of player's held item contains "Gen": if {placed::gens::amount::%player's uuid%} >= {gens::placed::cap::%player's uuid%}: cancel event send "&cYou have max gens down!" stop add 1 to {placed::gens::amount::%player's uuid%} add location of event-block to {placed::gens::%player's uuid%::*} send "&aYou placed your %name of player's held item%" remove 1 of player's held item from player send action bar "&a%{placed::gens::amount::%player's uuid%}%&f/&a%{gens::placed::cap::%player's uuid%}%" to player #this is where you make/edit gens to make the gens work you must rename the block ingame you can name it whatever you want aslong as it has the word "gen" in it every {@drops_time}: loop all players: loop {placed::gens::%loop-player's uuid%::*}: gensDrops(loop-value-2, nether wart) if block at loop-value-2 contains Nether Quartz Ore gensDrops(loop-value-2, bone) if block at loop-value-2 contains Pearlescent froglight gensDrops(loop-value-2, fern) if block at loop-value-2 contains yellow glazed terracotta gensDrops(loop-value-2, nether quartz) if block at loop-value-2 contains Chiseled quartz block gensDrops(loop-value-2, crimson roots) if block at loop-value-2 contains Cracked deepslate bricks #remove space at ) : function gensDrops(L: location, I: itemtype) : drop 1 of {_I} at block above {_L} without velocity function gengive(P: player, B: itemtype, T: text) : give {_P} 1 of {_B} named {_T}
  3. in my skygen server i made a gen skript but i have one problem everytime the server starts i have to break and re place the gens for them to start working this is on of gens skript on place of Pearlescent Froglight: set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 10: add 1 to {gens::%player's uuid%} while event-block is Pearlescent Froglight: wait 20 ticks drop 1 bone above location of event-block Without velocity else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&710" to player send "" to player cancel event command /gencap [<player>] [<text>] [<number>]: permission: gencap.use permission message: &cNope! trigger: if arg-1 is set: if arg-2 is "reset": set {gens::%arg-1's uuid%} to 0 send "&cYou have just reset %arg-1%&c's gen cap!" to player
  4. #this is for Skygen type servers specificly not normal gen servers #if you want to change the drop and the block of the gen make sure the block you use for the gen is not already part of the map #credits to Wolfeee_ this is his skript i just modified it on place of Coarse dirt block: set {gens::%location of event-block%} to uuid of player if {gens::%player's uuid%} < 10: add 1 to {gens::%player's uuid%} while event-block is Coarse Dirt block: wait 20 ticks drop 1 Dirt above location of event-block Without velocity else: send "" to player send "&bYou have reached your Gen Cap! &7%{gens::%player's uuid%}%&b/&710" to player send "" to player cancel event
×
×
  • Create New...