Search the Community
Showing results for tags 'gen'.
-
#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}
-
#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
-
Welcome to the skript of TitanicPluto671 command /genget <text> [<player>]: permission: gen.give permission message: &cNo permission! trigger: if arg-2 is set: set {_p} to arg-2 else: set {_p} to player if arg-1 is "white": give {_p} 1 white glazed terracotta named "&6&lWhite Gen" with lore "&7(Place To Use)" if arg-1 is "lightblue": give {_p} 1 light blue glazed terracotta named "&6&lLight Blue Gen" with lore "&7(Place To Use)" if arg-1 is "yellow": give {_p} 1 yellow glazed terracotta named "&6&lYellow Gen" with lore "&7(Place To Use)" if arg-1 is "green": give {_p} 1 lime glazed terracotta named "&6&lGreen Gen" with lore "&7(Place To Use)" if arg-1 is "purple": give {_p} 1 purple glazed terracotta named "&6&lPurple Gen" with lore "&7(Place To Use)" if arg-1 is "blue": give {_p} 1 blue glazed terracotta named "&6&lBlue Gen" with lore "&7(Place To Use)" if arg-1 is "red": give {_p} 1 red glazed terracotta named "&6&lRed Gen" with lore "&7(Place To Use)" if arg-1 is "emerald": give {_p} 1 emerald block named "&6&lEmerald Gen" with lore "&7(Place To Use)" if arg-1 is "diamond": give {_p} 1 diamond block named "&6&lDiamond Gen" with lore "&7(Place To Use)" if arg-1 is "gold": give {_p} 1 gold block named "&6&lGold Gen" with lore "&7(Place To Use)" if arg-1 is "iron": give {_p} 1 iron block named "&6&lIron Gen" with lore "&7(Place To Use)" if arg-1 is "coal": give {_p} 1 coal block named "&6&lCoal Gen" with lore "&7(Place To Use)" if arg-1 is "melon": give {_p} 1 melon named "&6&lMelon Gen" with lore "&7(Place To Use)" if arg-1 is "pumpkin": give {_p} 1 pumpkin named "&6&lPumpkin Gen" with lore "&7(Place To Use)" if arg-1 is "wheat": give {_p} 1 hay block named "&6&lWheat Gen" with lore "&7(Place To Use)" on place of emerald block or diamond block or gold block or iron block or coal block or melon or pumpkin or hay block or white glazed terracotta or light blue glazed terracotta or yellow glazed terracotta or lime glazed terracotta or purple glazed terracotta or blue glazed terracotta or red glazed terracotta: set {_p} to player set {_u} to player's uuid if {gc::%{_u}%} >= {gencap::%{_u}%}: cancel event send "&f" to {_p} send "&a&lGenerator &7» &aYou have reached the max generator limit" to {_p} send "&aTo upgrade this purchase a rank at &a/buy" to {_p} send "&f" to {_p} stop wait 2 ticks if event-block is a hay block: add location of event-block to {gens::%{_u}%::wheat::*} add 1 to {gc::%{_u}%} if event-block is a emerald block: add location of event-block to {gens::%{_u}%::emerald::*} add 1 to {gc::%{_u}%} if event-block is a diamond block: add location of event-block to {gens::%{_u}%::diamond::*} add 1 to {gc::%{_u}%} if event-block is a gold block: add location of event-block to {gens::%{_u}%::gold::*} add 1 to {gc::%{_u}%} if event-block is a iron block: add location of event-block to {gens::%{_u}%::iron::*} add 1 to {gc::%{_u}%} if event-block is a coal block: add location of event-block to {gens::%{_u}%::coal::*} add 1 to {gc::%{_u}%} if event-block is a melon: add location of event-block to {gens::%{_u}%::melon::*} add 1 to {gc::%{_u}%} if event-block is a pumpkin: add location of event-block to {gens::%{_u}%::pumpkin::*} add 1 to {gc::%{_u}%} if event-block is a white glazed terracotta: add location of event-block to {gens::%{_u}%::white::*} add 1 to {gc::%{_u}%} if event-block is a light blue glazed terracotta: add location of event-block to {gens::%{_u}%::lb::*} add 1 to {gc::%{_u}%} if event-block is a yellow glazed terracotta: add location of event-block to {gens::%{_u}%::yellow::*} add 1 to {gc::%{_u}%} if event-block is a lime glazed terracotta: add location of event-block to {gens::%{_u}%::lime::*} add 1 to {gc::%{_u}%} if event-block is a purple glazed terracotta: add location of event-block to {gens::%{_u}%::purple::*} add 1 to {gc::%{_u}%} if event-block is a blue glazed terracotta: add location of event-block to {gens::%{_u}%::blue::*} add 1 to {gc::%{_u}%} if event-block is a red glazed terracotta: add location of event-block to {gens::%{_u}%::red::*} add 1 to {gc::%{_u}%} on left click on emerald block or diamond block or gold block or iron block or coal block or pumpkin or hay block or melon or white glazed terracotta or light blue glazed terracotta or yellow glazed terracotta or lime glazed terracotta or purple glazed terracotta or blue glazed terracotta or red glazed terracotta: if player is not sneaking: if event-block is emerald block: if {gens::%player's uuid%::emerald::*} contains location of event-block: play sound "entity.item.pickup" with volume 3 to the player remove 1 from {gc::%player's uuid%} remove location of event-block from {gens::%player's uuid%::emerald::*} set event-block to air give player 1 emerald block named "&6&lEmerald Gen" with lore "&7(Place To Use)" send action bar "&a&lGenerator &7» &aYou collected your Gen!" to player else if event-block is diamond block: if {gens::%player's uuid%::diamond::*} contains location of event-block: play sound "entity.item.pickup" with volume 3 to the player remove 1 from {gc::%player's uuid%} remove location of event-block from {gens::%player's uuid%::diamond::*} set event-block to air give player 1 diamond block named "&6&lDiamond Gen" with lore "&7(Place To Use)" send action bar "&a&lGenerator &7» &aYou collected your Gen!" to player else if event-block is gold block: if {gens::%player's uuid%::gold::*} contains location of event-block: play sound "entity.item.pickup" with volume 3 to the player remove 1 from {gc::%player's uuid%} remove location of event-block from {gens::%player's uuid%::gold::*} set event-block to air give player 1 gold block named "&6&lGold Gen" with lore "&7(Place To Use)" send action bar "&a&lGenerator &7» &aYou collected your Gen!" to player else if event-block is iron block: if {gens::%player's uuid%::iron::*} contains location of event-block: play sound "entity.item.pickup" with volume 3 to the player remove 1 from {gc::%player's uuid%} remove location of event-block from {gens::%player's uuid%::iron::*} set event-block to air give player 1 iron block named "&6&lIron Gen" with lore "&7(Place To Use)" send action bar "&a&lGenerator &7» &aYou collected your Gen!" to player else if event-block is coal block: if {gens::%player's uuid%::coal::*} contains location of event-block: play sound "entity.item.pickup" with volume 3 to the player remove 1 from {gc::%player's uuid%} remove location of event-block from
-
hi i am cuby and i am looking for someone who could make my gen server i am ready to pay the person if he/she delivers a good result if you are interested contact me on discord name:Cubyman#6310
-
If anyone could make me a Gen Skript with almost everything I have listed below I would really Appreciate it. - /sell - Whenever you /sell can you make it so it puts the money in the balance using the Vault Plugin. (if that made any sense) - A GenCap at 20 Gens - Every 100 Ticks it drops the Item - Shift + Right Click - To Upgrade the Gen - Left Click the Gen and it instantly breaks. - A Custom msg When you /sell & A Custom msg when you hit you Gen Cap --Then All That-- Wheat Generator - $5 - named "&eWheat Generator" - $2500 To Upgrade Melon Generator - $10 - named "&eMelon Generator" - $6000 To Upgrade Pumpkin Generator - $20 - named "&ePumkin Generator" - $15000 To Upgrade Coal Generator - $35 - named "&eCoal Generator" - $30000 To Upgrade Iron Generator - $50 - named "&eIron Generator" - $60000 To Upgrade Gold Generator - $75 - named "&eGold Generator" - $100000 To Upgrade Redstone Generator - $100 - named "&eRedstone Generator" - $120000 To Upgrade Lapis Generator - $150 - named "&eLapis Generator" - $200000 To Upgrade Diamond Generator - $200 - named "&eDiamond Generator" - $400000 To Upgrade Emerald Generator - $300 - named "&eEmerald Generator" - $600000 To Upgrade
-
I need someone to make me a gen skript I want 5 gens and the following commands and I want Commands: /sell - to sell all of the gen items like wheat, ender eye, /bal or /balance - to see the balance of the players money
-
#------------------------------------------------------------------------------------------------------- every 5 seconds: loop all players in world "plots": loop all blocks in radius 10 around loop-player: if loop-block is coal block: drop a coal at loop-block's position #------------------------------------------------------------------------------------------------------- every 5 seconds: loop all players in world "plots": loop all blocks in radius 10 around loop-player: if loop-block is iron block: drop a iron ingot at loop-block's position #------------------------------------------------------------------------------------------------------- every 5 seconds: loop all players in world "plots": loop all blocks in radius 10 around loop-player: if loop-block is gold block: drop a gold ingot at loop-block's position #------------------------------------------------------------------------------------------------------- every 5 seconds: loop all players in world "plots": loop all blocks in radius 10 around loop-player: if loop-block is diamond block: drop a diamond at loop-block's position #------------------------------------------------------------------------------------------------------- every 5 seconds: loop all players in world "plots": loop all blocks in radius 10 around loop-player: if loop-block is netherite block: drop a netherite ingot at loop-block's position #------------------------------------------------------------------------------------------------------- on craft of coal block: cancel event on craft of iron block: cancel event on craft of gold block: cancel event on craft of diamond block: cancel event on craft of netherite block: cancel event on craft of coal: cancel event on craft of iron ingot: cancel event on craft of gold ingot: cancel event on craft of diamond: cancel event on craft of netherite ingot: cancel event #[----------------------------------------------------------------------------------------------------------------] on break of coal block: if "%world%" contains "plots": cancel event set block to air drop iron block named "&b&lCoal &b&lGenerator" on break of iron block: if "%world%" contains "plots": cancel event set block to air drop iron block named "&b&lIron &b&lGenerator" on break of gold block: if "%world%" contains "plots": cancel event set block to air drop iron block named "&b&lGold &b&lGenerator" on break of diamond block: if "%world%" contains "plots": cancel event set block to air drop iron block named "&b&lDiamond &b&lGenerator" on break of netherite block: if "%world%" contains "plots": cancel event set block to air drop iron block named "&b&lNetherite &b&lGenerator" This is the code. I want the generator to upgrade when someone right-clicks it. For example, if i want an iron generator, i right-click the coal generator. But i want the upgrades to cost something from the essentials balance. I have plugins: EssentialsChat, EssentialsX, LuckPerms, PlotSquared v5, Skript, SkBee, skQuery, skRayFall, SkVault, Vault, WorldEdit
-
Hello I am pretty new to skripting, can somebody skript me a gen skript like, where you place white concrete and it spawns coal on the top, And if you Shift + Right Click it goes to the next gen? Here's the list of what I want. List: Coal Gen | Spawns Coal | Upgrade Cost: 500 Block: Gray Concrete Iron Gen | Spawns Iron | Upgrade Cost: 1000 Block: White Concrete Gold Gen | Spawns Gold | Upgrade Cost: 1300 Block: Yellow/Orange Concrete Redstone Gen | Spawns Redstone | Upgrade Cost: 2500 Block: Red Concrete Ruby Gen | Spawns Redstone Dust named "&4Ruby" | Upgrade Cost: 5000 Block: Concrete Powder Obsidian Gen | Spawns Obsidian | Upgrade Cost: 10000 Block: Purple Concrete Netherite Gen named "&8Last Generator" | Spawns Netherite | Upgrade Cost: 25000 Feel Free to add more gens. PS: I Also want a Generator Shop so if you can do that Ty! Sneek Peek of my spawn:
- 2 replies
-
- skript
- generator server
-
(and 1 more)
Tagged with:
-
Looking for a Generator Skript with a custom Balance Skript my discord is Galaxy Brady#8233 or you can just reply
-
I have have worked on a simple gen script but im not sure how to make it so i can right click the paper and set up a balance or if i need to make separate skripts anyone know a quick fix or what i should do as im new to skripting please help i wouldnt even mind a /sell command but a left click sell would be preffable on place of white wool: if player has white wool named "&fGenerator - Tier 1": set {_drop} to block above event-block add {_drop} to {t1drops::*} message "&a&lPlaced a Tier 1 Generator" on break of white wool: remove block above event-block from {t1drops::*} give player 1 white wool named "&fGenerator - Tier 1" message "&c&lBroke a Tier 1 Generator" every 5 seconds: drop 1 paper named "&a$1" at {t1drops::*} on place of light gray wool: if player has light gray wool named "&8Generator - Tier 2": set {_drop} to block above event-block add {_drop} to {t2drops::*} message "&a&lPlaced a Tier 2 Generator" on break of light gray wool: remove block above event-block from {t2drops::*} give player 1 light gray wool named "&8Generator - Tier 2" message "&c&lBroke a Tier 2 Generator" every 5 seconds: drop 2 paper named "&a$1" at {t2drops::*}
-
I have a GenPvP server, and I need help on making it so if they have a certain sword, they get to unlock the zone. And also, I need them to spawn in that zone. That's all, I hope to see a script that actually works lol.
- 3 replies
-
- skript
- skript help
-
(and 3 more)
Tagged with:
-
Hey Minehut community! I am just here wondering if anybody could give me a generator skript or make one for me. Thanks! Discord: Lulu in love#0001