[INACTIVE][MECH] AnyReg v0.3c - Fixed crash after build 274 [300]

Discussion in 'Inactive/Unsupported Plugins' started by DiddiZ, Jan 23, 2011.

  1. Offline

    DiddiZ

    AnyReg - Respawns Everything (as long as it's a block)
    Version 0.3c

    Since a had to work a lot for LogBlock, AnyReg a bit fell into oblivion. Therefore I'm glad that FlingeR updated it. I'm still not abandoning AnyReg.

    Description:
    AnyReg mainly respawns mined clay blocks at a adjustable rate.
    AnyReg initially was released as ClayReg, that only was able to respawn clay. For every block type different settings can be made. If the config can be precised which block respawns at which rate, with which percentage, which blocks can pe replaced by a respawning block and wether player placed blocks should respawn. Due to some blocks beeing very rare, it could be preferable to have regenerating these blocks.
    E.g. respawning clay will replace air and water but nothing else so you can build on a claypit withhout getting blocks from the building replaced. Created clay blocks will be detected, so you can place new clay pits (or not depending of the config). Blocks destroyed with super pickaxe or WorldEdit/CuboidPlugin like editors won't respawn.
    This also appies to AnyReg, unless AnyReg isn't limited to clay. Ideas for regenerating blocks:
    • Clay
    • Pumpkins
    • Flowers and mushrooms
    • Ores and coal
    • Sand
    • Snow
    • Lightstone
    I'm sorry for the short default config only containing clay and pumpkins, a larger version is comming with the regions update, that will propably crash the actual config.

    Features:
    • Respawns mined selected block
    Download, Config and Details:
    [​IMG]http://www.diddiz.de/minecraft/anyreg.php

    Changelog:
    • AnyReg v0.3c (Feb. 10, 2011)
      Requires CraftBukkit 300
      • Fixed crash after craftbukkit build 274
    [​IMG]
     
  2. Offline

    immapoint

    Hey,

    pretty cool idea, ill test it out ;D
     
  3. Offline

    Solaris765

    sweet. we use tons of bricks this will be great
     
  4. Offline

    Gameman247

    Didn't work for me. I'd put the server log up, but there are no errors printed to console. I've mined clay, set the timer to a few seconds to test too, but nothing happened. I'm running a lot of plugins, but I don't think any of them would interfere with this plugins functionality. I'm running craftbukkit build 135. Seeing as I'm not a programmer in the slightest, I have no idea how else I can help :p, maybe if someone else confirmed it as working, I'd know the error was on my side.
     
  5. Offline

    DiddiZ

    Dont know ... let me gather some informations:
    What os is the server running on? Did the "ClayReg enabled" message properly show? Is there a file "/plugins/ClayReg/config.yml"?
     
  6. Offline

    Gameman247

    Well, I am on 32 bit Windows 7, the messages related to ClayReg did pop up in the server log, and the config file was there. As a matter of fact, when i edited the config, it popped up in the server log with the usual 'RegDelay set to (my custom number) and RegChance set to (my custom number).
     
  7. Offline

    h0us3cat

    Not working for me.
    I made a 4x4 hole and put 4 clay blocks in it (id82).
    left it there for a couple ingame days, destroyed and picked up the clay balls.
    Waited for a couple ingame days and no new clay blocks.
     
  8. Offline

    Chumber

    The initial chance is set to 10%, did you change that?
     
  9. Offline

    DiddiZ

    I don't really know why
    I suppose some plugin cancels the block damage event
    My local testserver runs only my plugins and essentials

    Nevertheless I spended the last day to totally rewrite my plugin to implement the respawn blacklist and support of all block types. Works fine for me, totally bug free, but if the problems still exists, I have to ask you to conatct me on skype to fix this
     
  10. Offline

    h0us3cat

    I left the default settings.
    Does it only works with sand maybe?
    Because i tested with stone.
     
  11. Offline

    DiddiZ

    sand? what sand?
     
  12. Offline

    h0us3cat

    [​IMG]
     
  13. Offline

    DiddiZ

    oh, okay, i see
    i have to specify what i wanted to ask:
    For what do you use the sand? Or do you try to regenerate sand?
     
  14. Offline

    h0us3cat

    No, i placed a clay block on a normal stone to test if it respawn. but it does not (older version of plugin)
    So now i ask if the clay block has to be on sand to respawn because it does on my test server (newest version of plugin). :)

    Anyway i enable the newest version of this plugin if my server is emty and will report here ;)
     
  15. Offline

    DiddiZ

    No, clay had never to be placed on a certain block

    it's more likely that some plugin always cancels the block damage event
    say me whether it works on your server with plugins
    if not, I know the problem and will probably have a fix for that
     
  16. Offline

    Solaris765

    cool this update. i like the regenerating pumpkins alot
    although it seems the link is down
     
  17. Offline

    DiddiZ

    i'm sorry
    forgot to change the link to anyreg
    why the hell I had to change the name? ...
     
  18. Offline

    Gameman247

    Well, I'll try out the new version. If there are any problems, I'll let you know, and I'll tell you what plugins I'm using. I'm glad you extended this, now i can grow diamond blocks :D

    Edit: Working now, thanks DiddiZ! Btw, I was only joking about growing diamond blocks :p
     
  19. Offline

    Jobsti

    Great for Flowers, thanks!

    Q: If it is no dirt under the flower, will it respawn?
     
  20. Offline

    DiddiZ

    Interesting question. Didn't test this, but I'm quite sure there won't be flowers in midair but it will presumably drops a flower one time when it try to respawn

    I never thought that ore regeneration could have any practical use, but it's quite cool to have the possibillity therefor[​IMG]
     
  21. Offline

    h0us3cat

    ok, newest version works ;)
     
  22. Offline

    DiddiZ

    I like to hear that [​IMG]
     
  23. Offline

    cjbh1996

    Nice, I was just thinking about this. Does it/will it work with sand blocks, too? Crafters need glass probably more than they need brick, and beaches are disappearing everywhere. 'Course, they could just get it from desert biomes, but in my map they are very scarce.

    Edit before I actually posted the post but still wanted to keep the above there:
    But then excavations for homes in a desert would catastrophically fail.
    "Aah! My basement flooded with sand!

    Edit2 before I actually posted: What if I excavate an underground cavern where diamonds used to be, and they respawn in my kickin' new underground base?
     
  24. Offline

    DiddiZ

    Yup, sand id is 12, so try
    Code:
    respawn : [82, 86, 12]
    "12" :
      regDelay : 300000
      regChance : 0.5
      useBlacklist : true
      canReplace : [0]
    Nope, in sample config above, sand will only replace air when respawning
    You will have to replace the diamond blocks with something else until the next regeneration circle
     
  25. Offline

    h0us3cat

  26. Offline

    DiddiZ

    That's kind of weird. There is no zip on the server and your link properly downloads the jar.
     
  27. Offline

    h0us3cat

    Yeah it only happens in internet explorer :)
     
  28. Offline

    Momo5000

    here is a improve/idea for ur Plugin sir,

    If you add a cobblestone (ID: 4), it should remove the default item to drop and only drop the item that u have entered in ur config file.
     
  29. Offline

    DiddiZ

    I'm not sure if I get this right:
    If you mean, what I understand, then yet are there some plugins that alter the items that blocks drop on mining
     
  30. Offline

    Momo5000

    ups sorry, wrong thread, i messed something up here :X

    that should be posted in the BlockDrops 1.4.5 Thread.

    Sorry mate :/
     

Share This Page