[EDIT] Forester v1.02 [1185]

Discussion in 'Inactive/Unsupported Plugins' started by WolfGangSen, Sep 10, 2011.

  1. Offline

    WolfGangSen

    Forester - Lets have some trees:
    Version: v1.02

    Allows Players to generate a forest around them with set radius and density, of a certain tree type.

    Features:
    • Generate forest around player.
    Commands:

    Show Spoiler

    • '/forest [radius] [density] <tree type>
    [ ] = Needed

    < > = Optional

    radius 20 - 200
    density 1 - 100

    treetypes = Birch, Tree, BigTree, Redwood, TallRedwood (not case sensetive)

    Permissions: (Superperms and op)

    Show Spoiler

    • 'forester.forest' - Provides access to the forest command.

    Future additions
    Show Spoiler

    • Plant saplings instead of generating trees, (should be faster planting but would take time to grow) would yield different result in density. (50%) (should this be a different command or a extra option?)
    • Biome dependant trees. (20%)


    Download: Forester , Jar
    Source Code: BitBucket

    Changelog:
    1.02
    • Re jigged the density math.
    • New scale of 1 to 100 for density now (arbitrary values)
    1.01

    • Removed old permissions methods.
    • fixed new permission method to default to op.
    1.0

    • First release
     
    Dimitrias, ThijmenDF and someguy817 like this.
  2. Offline

    Lithixium

    Nice! Been looking for one of these for a while now. Was nearly going to write one myself! Beat me to it :p
    Request: SuperPerms support? Its easy just whenever you put a if statement to see whether the player has a permission just add || player.hasPermission("Your.Permission.Here")
    This was some of your code:
    Code:
    if(player.isOp() || perms(player, "forest") || permsOld(player, "forest"))
    Just change to
    Code:
    if(player.isOp() || perms(player, "forest") || permsOld(player, "forest") || player.hasPermission("forest")
     
  3. Offline

    WolfGangSen

    Already has it.

    That's what the perms function is for.

    Old perms is for permissions plugins that don't seem to support it yet, like groupmanager (as far as i can tell it doesn't).
     
  4. Offline

    Gratlofatic

    Bukkit is sad. Bukkit want access to command..

    Guess it's not compatible for 1.8 yet
     
  5. Offline

    WolfGangSen

    Waiting for RB.
     
  6. Offline

    WolfGangSen

    updated for 1185
     
  7. Offline

    Dimitrias

    How does the density work? The forest became even more dense after I increased the density (from 3 to 8)
     
  8. Offline

    WolfGangSen

    Higher number = higher density.

    I might lower it so that 1 produces a very sparse forest.

    Also

    this means most likely that you haven't got a permissions plugin that supports superperms .
     
  9. Offline

    ThijmenDF

    Very nice! i have tried it out on a flat map, and it makes forest like nobody's concerns. i tried: tree, bigtree and birch so far, and they work perfectly. Well done!
     
  10. Offline

    Dimitrias

    Ehm, 1 is already VERY dense, could you change it a bit please to 'fix' that?
     
  11. Offline

    WolfGangSen

    noted.

    Am doing along with allowing for "biome dependant" trees to be default.
     
    Dimitrias likes this.
  12. Offline

    WolfGangSen

    Updated.

    Changed the density math. 1 should be sparser now and it goes all the way to 100 now. (though the values are relatively arbitrary)

    Biome dependant trees not in, (thought i should push the density change out faster).
     
    Dimitrias likes this.
  13. Offline

    Curxe

    No description?Could you also add permissionsEX?would be great:)
     
  14. Offline

    Lilerem94

    pllss update your plugin to 1.2 ..:/
     

Share This Page