Jump to content

Recommended Posts

Category: Generator

Suggested name: gen.sk

Spigot/Skript Version: Latest skript.

What I want: Generator skript like there is in WoolGens but with concrete and items I can change, upgrades, PERSONAL GENERATORS so no one else can break it, sell.

Ideas for commands: /gencap; /gens; /shop; /sell; /getgen <gen name>; /resetgens <nick>

Ideas for permissions: Gens.GIVE; Gens.RESET

When I'd like it by: As Soon As Possible

Link to comment
Share on other sites

28 minutes ago, KajusLion said:

Category: Generator

Suggested name: gen.sk

Spigot/Skript Version: Latest skript.

What I want: Generator skript like there is in WoolGens but with concrete and items I can change, upgrades, PERSONAL GENERATORS so no one else can break it, sell.

Ideas for commands: /gencap; /gens; /shop; /sell; /getgen <gen name>; /resetgens <nick>

Ideas for permissions: Gens.GIVE; Gens.RESET

When I'd like it by: As Soon As Possible

Just saying goodluck getting one because not everyone is feeling like making u a gen skript for free

  • Confused 1
I used to play Minehut I guess?
Yeah, I still watch the forums for some reason. (15/5/2023)
Link to comment
Share on other sites

30 minutes ago, pizzaschut said:

Just saying goodluck getting one because not everyone is feeling like making u a gen skript for free

Thanks, I would need it, but I don't want fully finished skript, I can do a bit of skripting, I did started but I failed with player own gens.  

 

Spoiler

options:
  servername: &6&lFox&e&lGens

on craft coal block:
    cancel event
    send "{@servername} &8&l》&cSorry, you can't do that!" to player

on place coal block:
  if player's tool is coal block named "&bCoal Generator" with lore "" and "&e&l》&7Place to generate coal." and "":
    if {Gens::%player's uuid%} is more than 9:
      cancel event
      message "{@servername} &8&l》&cMaximum generator limit reached!"
      stop
    if {Gens::%player's uuid%} is less than 10:
      set {_drop} to block above event-block
      add {_drop} to {drops1::*}
      add 1 to {Gens::%player's uuid%}
      message "{@servername} &8&l》&7Placed generator &e%{Gens::%player's uuid%}%&e/10&7!"

on left click on coal block:
    cancel event
    set event-block to air
    remove block above event-block from {drops1::*}
    give player 1 coal block named "&bCoal Generator" with lore "" and "&e&l》&7Place to generate coal." and ""
    remove 1 from {Gens::%player's uuid%}
    message "{@servername} &8&l》&7Removed generator &e%{Gens::%player's uuid%}%&e/10&7!"

every 5 real seconds:
  drop 1 coal named "&bCoal" with lore "" and "&e&l》&7Execute &e/sell &7to sell the item." and "&e&l》&7Sells for &e10$&7." and "" at {drops1::*}
  stop

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 "coal":
        give {_p} 1 coal block named "&bCoal Generator" with lore "" and "&e&l》&7Place to generate coal." and ""

command /resetgens:
    trigger:
        set {Gens::%player's uuid%} to 0

command /gencap:
    trigger:
        send "{@servername}&8&l》&7Your gen cap is &e%{Gens::%player's uuid%}%&e/10&7." to player

 

Edited by KajusLion
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...