World Refill Plugin

Discussion in 'Plugin Development' started by k0rd, Feb 17, 2012.

  1. k0rd TShock developer

    Hey guys - right now it only restocks a few critical things


    /gencrystals (amount to generate) - life crystals
    /genpots (amount to generate)
    /genorbs (amount to generate) - shadow orbs
    /genaltars (amount to generate)
    /gentraps (amount to generate) - takes a few seconds longer than the others..
    /genstatues (amount to generate)
    /genwebs (amount to generate - in *piles* and can fill your world with webs quickly)
    /genores (ore or gem name) (amount to generate)
    /genchests (amount to generate) - uproots empty chests on the map, stocks and hides the amount you specify.

    Destructive commands

    /genhouse - generates a mine house at your current position
    /gentrees - peppers the world surface with trees - instant forestation!
    /genpatch - generates a mushroom patch (use underground or you'll just get mud!)
    /genisland - a floating dirt island, above you (very destructive)
    /genlake - a lake, below you (very destructive)
    /genmountain - just for fun (very destructive - also this can make your server crash under some circumstances!!!)
    /genihouse - an island house, complete with chest will be created at your current location (destructive)

    it will *attempt* to generate the amount you specify (when applicable), and it will let you know how many it truly generated

    requires causeevents permission

    plugin: https://github.com/k0rd/WorldRefill/raw/master/Compiled/WorldRefill.dll
    source: https://github.com/k0rd/WorldRefill


    will be adding more things before submission -
    bippity, Alrof, cccdfern and 6 others like this.
  2. Rosen TShock Plugin Developer

    we need pots =)
    k0rd likes this.
  3. k0rd TShock developer

    good idea :)
  4. Rosen TShock Plugin Developer

    and it would be nice if pots would be added by timer.
    k0rd likes this.
  5. k0rd TShock developer

    should probably include automatic or manual options for all refills.
  6. k0rd TShock developer

    I might merge genore into this, as there is an effort to farm some of the tshock stuff out to individual plugins - need to see what the team thinks about it.
  7. k0rd TShock developer

    added pots
  8. k0rd TShock developer

    added traps - that one is fun :)
  9. darkos Tshock supporter and programming hack.

    Wow nice! How about heart crystals? oh and statues!
  10. k0rd TShock developer

    already have crystals :) /gencrystals <amt>
  11. darkos Tshock supporter and programming hack.

    oh crystals is heart crystals? totally skimmed over that... GREAT addition k0rd!
  12. darkos Tshock supporter and programming hack.

    ps- works awesome
    k0rd likes this.
  13. k0rd TShock developer

    nah - it just said "crystals" - i edited it to make it more clear after seeing your post :p
  14. k0rd TShock developer

    lol i did 10000 traps testing - boulder boulder dodge dart *EXPLODES* :)))
    it was great fun
  15. k0rd TShock developer

    added statues
  16. darkos Tshock supporter and programming hack.

    wonderful! what statues will it add? any of them at random? reason i ask is because i banned king/queen statues. Great work, once again.
  17. DankBud TShock Supporter

    Yesss, thanks for this, watching.
  18. Olink TShock Developer

    AFAIK this plugin simply does what worldgen does when it makes a map. so the statues are at random.
    k0rd likes this.
  19. darkos Tshock supporter and programming hack.

    ah ok. k0rd- will /genore do gemstones?
  20. k0rd TShock developer

    genore does do gemstones in latest devel

    also - statues are random - it doesn't do exactly what statues do in worldgen (statues in worldgen just increment to the next statue - this is completely random)

Share This Page