Inactive [MECH/RPG] LevelCraft v0.1.7.2 - The leveling up plugin; adds skills to Minecraft [1060+]

Discussion in 'Inactive/Unsupported Plugins' started by Samkio, Jan 25, 2011.

  1. Offline

    Samkio

    [​IMG]

    <Edit by Moderator: Redacted mediafire url>

    LevelCraft v0.1.8- The leveling up plugin; adding skills to Minecraft!

    Slowly moving to BukkitDev: <Edit by Moderator: Redacted mediafire url>


    Version: [617<font color="rgb(51, 102, 255)">+</font>]
    Description:
    LevelCraft is a plugin devised to add a Challenge to Minecraft Single Multiplayer.It denotes normal actions into "Levels" this level is increased via the gaining of "Experience" the experience of which relates to the level. It is fully customizable and due to some recent changes is medium weight. This congratulates the user for doing certain actions. For example the more mining a player does the faster they mine and the better then mine. Makes sense right?

    LevelCraft is licensed under a <Edit by Moderator: Redacted mediafire url> Commons Attribution-NoDerivs 3.0 Unported License[/url].

    <Edit by Moderator: Redacted mediafire url>

    <Edit by Moderator: Redacted mediafire url> Suite.[/url]
    LevelCraftCore:
    <font color="rgb(51, 102, 255)"><font color="rgb(0, 0, 0)">Download:</font> <Edit by Moderator: Redacted mediafire url>
    <font color="rgb(0, 0, 0)"><Edit by Moderator: Redacted mediafire url>

    <font color="rgb(0, 0, 0)">Features:</font>
    * Dyamic ExpBar without the use of a client mod!
    * Support for API Permissions.
    * Improved Code.
    * Compatability with 1.8. :)

    <font color="rgb(0, 0, 0)">

    LevelCraftCore is necessary to have to enable all the level plugins. It is the glue that holds them all together, it also handles the commands and the data storage. It is a beast, a boss and made my the 1337 pro that is Samkio. :cool: "Core' blimey it is mighty good."


    Show Spoiler
    [X] = Outdated.

    [​IMG]
    Mining: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Mining level depicts the use of the mighty pickaxe. Players leveling up by the mining of blocks enabling them to gain access of new pickaxes and new blocks.
    Features:
    1. Denotes use of Pickaxes. Higher level unlocks better pickaxes.
    2. Denotes block mining. Higher level the more types of blocks they can mine.
    3. Faster Mining. Higher level the faster you can mine.
    4. Double Drops. Higher level the higher your change of the block dropping twice.
    5. FirePick. Higher level unlocks the FirePick. A portable furnace that when mining blocks with golden pickaxe will drop what it would be if smelted.
    ie. CobbleStone -> Stone, IronOre -> IronIngot

    * Gain Experience by Mining.


    ------------------------------------------------------------------------------------------------------
    [​IMG]
    WoodCutting: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The WoodCutting level depicts the use of the hatchet or more commonly know as the axe. Players can gain experience by chopping down trees and planks allowing them to gain access to higher level axes.
    Features:
    6. Denotes usage of hatchets (axes). The higher the level the more axes you can use.
    7. Denotes cutting of logs/wood. The higher the level the more types of log you can cut.
    8. Faster Cutting. The Higher your level the faster you can chop down trees.

    * Gain Experience by chopping trees.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Combat: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Combat level depicts the use of swords on both players and mobs. A true warrior will attain to keep this high.
    Features:
    9. Denotes usage of swords. The higher the level the more swords are unlocked.
    10. PVP Range (Toggleable). Allows players to only attack players withing a range of combat level.

    * Gain Exp by fighting mobs and players.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Range: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Range level depicts how much damage you do per arrow. A handly level for keen archers.
    Works both on Players and Mobs.
    Features:
    11. Greater Damage Arrows. The higher the level the greater damage your arrows do.

    * Gain Experience by attacking mobs and players with a bow.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Dexterity: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Dexterity level allows players to jump higher and run faster with the aid of boots. Level up by jumping. Jumping higher is turned off by default and only applies to Gold and Diamond boots. Players also receieve less Fall Damage with higher levels. (Note. Every attempt to make this level a light a possible has been done. This Level however may contribute a large amount of lag. Due to this LevelUpdates for this level are run every 1min [as upposed to everytime someone moves]).
    Features:
    12. Allows users to run. Crouch to run. Must be wearing boots.
    13. The higher level you are the move boots you unlock.
    14. The higher the level of boot the greater running speed and jumping height.
    15. Survive greater fall damage the higher level you are.

    * Gain Experience by jumping.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Farming: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Farming level depicts how a player is one with the land. It depicts the use of hoes allowing the player to use a greater level of hoe the higher their level. Gain experience via harvesting crops, tilling land and much more. Also adds the ability to obtain apples from trees by farming the leaves.
    Features:
    16. Depicts the level for hoes. The greater level you are the higher level of hoe you can use.
    17. Random chance to yield more wheat from crops the higher level you are.
    18. Random chance to yield Coca Beans from crops the higher level you are


    * Gain Exp for things such as Harvesting crops, tilling land, finding seeds, using bonemeal on crops

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Digging AKA Excavation: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Excavation level depicts the use of the shovel. Allowing users to dig greater depths with a higher excavation skill.
    Features:
    19. Depicts the use of shovel. The greater your level higher shovel you can use.
    20. Depicts what blocks you can dig. The greater your level the more block types are dig able.

    * Gain experience by digging.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Swimming/Diving: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Swimming level allows players to use helmets as scuba-diving gear. Having a higher level allows you to stay under water longer, then re-fill your helmet on land.
    Features:
    21. Allows users to wear "scuba-gear" to enhance their breath in water.
    22. The higher level the more scuba-gear obtainable.
    23. Crouch to fill and empty air.

    * Gain Experience by using the scuba gear.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Explosives: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Explosives level depicts your ability with explosive devices. This being TNT, Dynamite Sticks (Redtorch light with lighter), and grenades (eggs Thank to @<Edit by Moderator: Redacted mediafire url> for letting me use this functionality.) This plugin makes explosives really poor damage at the start but as you level up you deal greater damage. Be warned :D
    Features:
    24. Denotes range of Explosives. The higher level you are the more choice of range you can use.
    25. Denotes Levels for TNT. Must be higher than this level to use TNT.
    26. Adds Dynamite and Grenades.
    27. Toggle Grenades with left click.
    28. Light RedStoneTorch with a lighter.
    29. Change Dynamite Range with left click.
    30. Depicts Levels for Dynamite and Grenade.

    * Gain Experience by using TNT,Dynamite and Grenades.

    -------------------------------------------------------------------------------------------------------
    [​IMG]:mad:
    Health[X]: Author @<Edit by Moderator: Redacted mediafire url>:mad:
    Download <Edit by Moderator: Redacted mediafire url>
    The Health level allows players to take greater damage. This is leveled up by getting:mad: damaged.:mad:
    BUGGY. :'( Avoid use.
    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Defence: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Defence Level depicts the use of armor. Allowing players to wield armor only when they attain the correct level. Level up by using the armor.
    (Disclaimer: not fully tested use at own risk.)
    Features:
    31. Denotes level to use armor. The higher level you are the more armour you can wear.

    * Gain Experience by getting damaged when using armour.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Forgery: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    The Forgery level, the most configurable level to date, allows users to forge tools, forge armour and repair tools and armour. The higher level you are the more you can forge! Level it up by smelting/repairing and forging items. A truly epic skill if i say so myself. :p
    Features:
    32. Allows tools to be repaired by placing in a furnace.
    33. The higher level you are the greater tools can be repaired.
    34. The higher level you are the more tools/armour that can be forged.
    35. The higher level you are the more blocks that can be smelted.

    * Gain Experience by Repairing,Smelting and Forging.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Scavengar: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    Users have a small chance of finding 'lost' items in the sand / gravel /dirt /grass.
    The higher level you are, the better chance of finding the items.
    Features:
    36. Allows hidden items to be found when destroying blocks.
    37. The higher level you are the more items that can be found.

    * Gain Experience by finding items.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Prayer[X]: Author @<Edit by Moderator: Redacted mediafire url>
    Download <Edit by Moderator: Redacted mediafire url>
    Introducing the new Prayer level! Users can now be at one with the gods. Level up by burying the bones of past victims to gain Prayer Points that allow you to do many functions such as healing and protecting. When your Prayer points are low don't forget to pray at an alter to replenish them!
    Features:
    38. Creates Prayer Points Replenish-able by praying at an alter.
    39. The higher level you are the more prayers you can do.
    40. Prayers use prayer points and must be replenished.

    * Gain experience by using prayers and burying bones.

    -------------------------------------------------------------------------------------------------------
    [​IMG]
    Construction: Author @<Edit by Moderator: Redacted mediafire url> Fixed by: @Samkio
    Download <Edit by Moderator: Redacted mediafire url>
    The construction level depicts what blocks are allowed to be placed. The higher level you are the more blocks that can be placed.

    Features:
    41. Depicts level for block placement.

    * Gain experience by placing blocks.



    Show Spoiler
    LevelsProgess/NeedDeveloper: <font color="rgb(255, 0, 0)">1</font><font color="rgb(255, 153, 0)">-</font><font color="rgb(153, 204, 0)">3</font> Difficulty.
    <font color="rgb(153, 204, 0)">Excavation</font>: COMPLTED.
    <font color="rgb(153, 204, 0)">Combat</font>: COMPLETED
    <font color="rgb(153, 204, 0)">Range:</font> COMPLETED
    <font color="rgb(255, 153, 0)">Forgery</font>: COMPLETED
    <font color="rgb(255, 153, 0)">Dexterity</font>: COMPLETED
    <font color="rgb(153, 204, 0)">PvP</font>: INTEGRATED WITH COMBAT
    <font color="rgb(153, 204, 0)">Swimming</font>: COMPLETED
    <font color="rgb(255, 153, 0)">Thieving</font>: Author @Samkio/<Edit by Moderator: Redacted mediafire url> me[/url]. The ability to steal items from players inventory.
    <font color="rgb(255, 153, 0)">Sorcery</font>: Author @<Edit by Moderator: Redacted mediafire url>. The ability to do a series of magical abilities using a wand (stick).
    <font color="rgb(255, 0, 0)">Necromancy</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to summon agressive mobs (on your side).
    <font color="rgb(255, 153, 0)">Crafting</font>: Author @1337. The ability to craft items.
    <font color="rgb(255, 0, 0)">Dungeonee</font>ring: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to destroy dungeons.
    <font color="rgb(255, 153, 0)">Explosives</font>: COMPLETED
    <font color="rgb(255, 153, 0)">Cooking</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to cook items without burning them.
    <font color="rgb(255, 153, 0)">Prayer</font>: COMPLETED
    <font color="rgb(255, 153, 0)">Health</font>: COMPLETED
    <font color="rgb(255, 153, 0)">Defence</font>: COMPLETED
    <font color="rgb(153, 204, 0)">Angling</font>: Author @<Edit by Moderator: Redacted mediafire url> The ability to catch more fish quicker.
    <font color="rgb(153, 204, 0)">Fletching</font>: Author @Spartan_V23. The ability to craft more arrows.
    <font color="rgb(255, 0, 0)">Merchant</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to sell items. [Possibly have NPC "Traveling Salesman" randomly generated. They will try and sell stuff.]
    <font color="rgb(255, 153, 0)">Engineering</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to engineer transport.
    <font color="rgb(255, 0, 0)">Electrician</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to use redstone.
    <font color="rgb(255, 0, 0)">Tamer</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to tame mobs.
    <font color="rgb(255, 0, 0)">Speech</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to talk. ;) [Possibly have NPC's and have a sort of Persuasion level Possibly could be linked with Merchant]
    <font color="rgb(255, 0, 0)">Survivalist</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to "Survive"
    <font color="rgb(255, 0, 0)">Luck</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to find greater number of ores.
    Could be one Level.
    <font color="rgb(255, 153, 0)">Hunger</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to last longer without food.
    <font color="rgb(255, 153, 0)">Thirst:</font> Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to last longer without water.
    <font color="rgb(255, 153, 0)">Fatigue</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. The ability to last longer without sleep.
    <font color="rgb(255, 0, 0)">Locksmith</font>: Author @<Edit by Moderator: Redacted mediafire url> Friedrich[/url]. The ability to break into locked chests/doors. (LWC or other protection).
    <font color="rgb(153, 204, 0)">Forager</font>: COMPLETED
    <font color="rgb(153, 204, 0)">Florist</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. Get more flowers.
    <font color="rgb(153, 204, 0)">Medicine/Doctor</font>: Author @Samkio. Heal players from poison and damage with bandages and herbal remedies.
    <font color="rgb(153, 204, 0)">Builder</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. Build Blocks!
    <font color="rgb(153, 204, 0)">Artist</font>: Author <Edit by Moderator: Redacted mediafire url> me[/url]. Paint Wool with a brush!
    <font color="rgb(153, 204, 0)">Masonary</font>: Author @Torrent. Bricks/Stone etc.
    <font color="rgb(153, 204, 0)">Carpentary</font>: Author PM me. Create wooded items.



    Show Spoiler
    Videos:





    Show Spoiler
    LevelView:
    If you are using MySql to store LevelCraft Data you can use LevelView curtesy of @<Edit by Moderator: Redacted mediafire url> to allow users to view their levels online!
    [​IMG]
    Download: <Edit by Moderator: Redacted mediafire url>


    Show Spoiler
    Love LevelCraft? Express it:
    Code:
    <Edit by Moderator: Redacted mediafire url> <Edit by Moderator: Redacted mediafire url>
    
    
    [spoiler]Translations:
    Dutch: Curtesy of @<Edit by Moderator: Redacted mediafire url> : <Edit by Moderator: Redacted mediafire url>
        German: Curtesy of @<Edit by Moderator: Redacted mediafire url> 			 				[/url]<Edit by Moderator: Redacted mediafire url> : <Edit by Moderator: Redacted mediafire url>
    Polish: Curtesty of @<Edit by Moderator: Redacted mediafire url> : <Edit by Moderator: Redacted mediafire url>
    Swedish: Curtesty of @<Edit by Moderator: Redacted mediafire url> : <Edit by Moderator: Redacted mediafire url>
    French: Curtesty of @<Edit by Moderator: Redacted mediafire url> : <Edit by Moderator: Redacted mediafire url>
    Spanish: Curtesty of @<Edit by Moderator: Redacted mediafire url> [/url]: <Edit by Moderator: Redacted mediafire url>
    Czech: Curtesty of [USER=90570041]@rodier[/USER]@ceskejparan.cz : <Edit by Moderator: Redacted mediafire url> / <Edit by Moderator: Redacted mediafire url>
    
    
    [spoiler]FlatFile to MySQL by @<Edit by Moderator: Redacted mediafire url> : <Edit by Moderator: Redacted mediafire url>
    
    
    [spoiler]LevelCraft is Expanded by Spout!
    Download it here: <Edit by Moderator: Redacted mediafire url>
    Features:
      * Skill Capes - Obtained by Level Mastery.
      * LevelUp Sounds - Sound played on LevelUp.
      * LevelUp Notification - Achievement Style Notification.
      * + More to come![IMG]http://forums.bukkit.org/attachments/2011-08-22_15-20-27-png.6113/?embedded=1[/IMG][/spoiler]
    
    
    Have any issues or ideas?
     Post here: <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Jul 14, 2017
  2. Offline

    Blackstorm72

    @Samkio
    Ok so at this new build 0.1.7, how should I have a member system that does not allow scavenger, prayer and dexterity?

    give them lc.level* + lc.unlevel.prayer/scavenger/dexterity?
    Also did the multiplier get shaved out? Jw.
     
  3. Offline

    Samkio

    @Blackstorm72
    No you need to do it the other way round.
    Ie: lc.level.mining/allLevelsTheyCanHave and lc.unlevel.*
    They did yes.
     
  4. Offline

    Blackstorm72

    Ok - that's fine.
    So I assume just give them a ton of lc.level.mining and on etc until I get to those three I mentioned above and just give them lc.unlevel.prayer and etc. and that will prevent them from getting any drops/levels from it?

    I assume that's what I have to do for now :)
     
  5. Offline

    Samkio

    @Blackstorm72
    Lol you saw the edit of post.
    It will give them the effect of having level 0 scavenger.

    If you don't want the to drop at all dont give them lc.level.scavenger and lc.unlevel.scavenger
     
  6. Offline

    Blackstorm72

    Ok, thanks for clarification! Actually I didn't see the edit but now I have ;).
    Levelcraft is still going good around here.
     
    Samkio likes this.
  7. Offline

    fenixkane

    There's an exploit with forgery where you can make an item in the crafting table, but instead of pulling out the item you just remove one block from the crafting table and re-insert it which gives you the Exp as if you had created the item. This can then be repeated over and over without any loss of items.

    I noticed Blackstorm mentioned it two pages back and you acknowlaged the list he provided. I was wondering if that's planned to be fixed soon? (It's currently the only reason my server isn't using that plugin, which is a shame because it's a really good one otherwise)

    One other thing that I'm not sure can be fixed on your end, but I noticed that if you whack a person with a sword with pvp disabled you still gain combat experience. It's not a huge problem though seeing as the weapon still takes durability damage.

    Anyway. Love the mod. Keep up the good work :D.
     
  8. Offline

    Blackstorm72

    Wow - just checked that bug list I created and it's rather hard to read without scrolling. So I am just reposting so it can be read easily (if needed I can remove remove this post)

    Bug List - Levelcraft DEV 0.1.7 (open)

    Forgery
    • Creating anything in a crafting table that your not allowed to create is easy to override. Simply take a block out and put it back in and bam you have experience and the created item.
    • People gain experience even though they are not allowed to create the item. (They attempt to make an iron pickaxe, levelcraft will say no but then give them experience.)
    • Sneaking while removing items out of the furnace causes the player to never earn experience with the items.
    Farming
    • Latest Farming (v0.2) Bone Meal does not read the configuration file (or is just broken?) and instead of giving players 2.00 experience it still gives 10.0 experience.
    • As noted above, cocoa beans and extra wheat levels when modified it re-writes them back to default.
    Explosives
    • As known - an exception occurs sometimes when more then one person is using explosives. I usually get 5-10MB log files after they do so :p
    Dexterity
    • A very strange bug. The use of signs and torches on a building causes players to jump VERY high among them when they beside these items, even when the jumping is turned off. (Not including the run/jump effect, which is likely causing this)
    Swimming
    • It is very rare but it sometimes occur that when you are not in water you may still gain experience for swimming by sneaking and using a helmet to gain air. However when this bug occurs, the player will drown unless they keep doing the sneaking/helmet. (Its possible to drown in land with no water nearby?)
    Range
    • When hitting a player with ranged you will gain experience, but you will also gain combat experience.
    • It is sometimes possible to gain more experience then you normally should after killing someone, likely due to range not registering fast enough that the person already died (might not be fixable anyway)
    Combat
    • When 'EnablePvPOnlyRange' is set to 'true', players can still earn defence experience and health experience, as well as combat experience and ranged experience even though those players will never get hurt because their range is too high compared to theirs.
    Scavenger
    • There is no configuration level requirement for bowls. (Intended?)


    I removed the Levelcraft DEV bugs as the classes were removed. (therefore all three were removed)
    This should be a nicer post :p
     
  9. Offline

    BIGIISSxRx

    I have updatet my plugin and now... server shut down...


    what is this?
     
  10. Offline

    Samkio

    @Blackstorm72
    Cheers for the list. :)
    Now that i have done the core i can work on each module. :)

    @BIGIISSxRx (Or other variant....)
    How much ram are you running on?
    What cb build?
    Stop and Start the server.
    Delete LevelCraftCore directory and reinstall.
     
  11. Offline

    fenixkane

    Just saw the Hunger, Thirst & Fatigue plugin plans! Multiplayer really needs a good working one of these. If one man's enthusiasm can stir you... please make that one next :D. This mod just keeps looking better and better as I go through the planned additions. Wish I knew enough Java to contribute (took one year of it waaay back, learned very little).
     
  12. Offline

    BIGIISSxRx


    and my level all lost ?!? we have 32 players Oo or can i save the data directory?

    Ram is Xms2048M

    cb build is it 860
     
  13. Offline

    Samkio

    Stop the server and start it. Not reload.
    If the problem persists purge it
    /lvl admin purge
     
  14. Offline

    Tealk

    idea for all levels there items eg. Woodcutting=Axe:
    lvl 10 2% lower duration loss
    lvl 20 5% lower duration loss
    ...

    all should be configurable
    the percent and the level
     
  15. Offline

    Samkio

    @Tealk
    Good thinking will see about it.
     
  16. Offline

    BIGIISSxRx

    dont work it =/ i wait next build or where is it the old build? than can i load this up
     
  17. Offline

    Blackstorm72

    If this is levelcraft 0.1.7 - It may be a bug that once occurred way back (like build 100-300) where too many open files occurred.
    Likely with that much users and using flatfile it's likely to occur.
    If you can, (sorry no converter..) switch over to SQlite or MySQL (database systems) and that should fix the opening of too many files (as you won't be using flatfiles)

    Flatfiles are nice but generate a ton of memory and require a lot especially once your player base goes up as it loads the whole file system (again, CPU and Memory Intensive) while databases only select players when people level up and join the game.

    Hopefully that helps out :) Even though switching over to a database after being with flatfiles is a bit tedious as you have to manually add in configuration. Had to do this once I reached 40 accounts as flatfiles were taking over my system. :(
     
  18. Offline

    BIGIISSxRx

    i hope with MySQL worked. i look tomorrow.
     
  19. Offline

    Trenix

    Should be a way to disable it as well. I mean for forgery you repair items so it just negates the value of that feature. Also since items wont break so commonly, the demand for crafting them will be lower which will further negate forgery and it could even alter the economy in the server.
     
  20. Offline

    Phantomslinky


    I second that. Hunger would bring another great addition to an already awesome plugin.
     
  21. Offline

    Trenix

    Can't wait till Notch adds it himself. Raising livestock is slowly getting implemented.
     
  22. Offline

    Malber

    Hey, I don't seem to get any xp from using dynamite sticks... nor do i get ex from farming and scavenger.. why is this? :)
     
  23. Offline

    Samkio

    @Malber
    Ensure you have given permission to gain exp with lc.level.explosives etc
     
  24. Offline

    Torrent

    Hey all.

    I got round to updating farming:
    Version 0.3 can be downloaded from here

    Updates include:
    • Being awarded Exp for cutting long grass - yielding seeds :) (Edit: Must be holding a Hoe to gain the exp!)
    • Restrictions on cutting long grass.
    • Configurable amounts of Cocoa Beans dropped.
    • Configurable amounts of Wheat dropped at a certain level.
    • The Cocoa Beans and extra Wheat dropped at certain levels are processed through a random generator. I hope to make these numbers configurable soon.
    Future plans:
    • EXP for placing seeds.
    • Restrictions on placing seeds.
    • Configurable probabilities for the random generator.
    Thanks :)
     
    Samkio likes this.
  25. Offline

    Tealk

    nice update

    Future plans:
    please add hoe become damage by harvesting wheat
     
    Trenix likes this.
  26. Offline

    Torrent

    Yeah i'm working on it :)
     
  27. Offline

    Flipp

    @Torrent
    what does the Chicken Skill?
     
  28. Offline

    Tealk

    thanks

    Farming its my favorit level :p
     
  29. Offline

    Trenix

    The random generator seems interesting. Can you clarify it a little more?
    And harvesting seeds from tall grass. Do you have to use a hoe in order to harvest wheat or seeds? Because if you don't, then you should be required to.
     
  30. Offline

    Torrent

    You gain Exp for when the chicken hatches from the egg when thrown. :)

    Well, its like this:
    Show Spoiler

    I define the random generator,
    Code:
    Random randomGenerator = new Random();
    	int i = 20;
    	int randomItem = randomGenerator.nextInt(i);
    I then run my main if statement, so in this case, when the crops are harvested with a hoe.

    Code:
    if ((level >= this.plugin.LCConfiguration.CocoBeansLevel) &&
      	      (m.getId() == 59) && (event.getBlock().getData() == 7) && (isHoe(iih)))
    Then I run the if statement on what the chance will be.

    Code:
     if ((randomItem > 1) && (randomItem < 5))
    {

    Then we run the method of the item dropping.

    Code:
    Location locy = new Location(event.getBlock().getWorld(), event
        .getBlock().getX(), event.getBlock().getY(), event
        .getBlock().getZ(), 0.0F, 0.0F);
      event.getBlock().getWorld().dropItem(locy, new ItemStack(Material.INK_SACK,this.plugin.LCConfiguration.AmountOfCocoBeans,(short) 3));
    }

    So in the case of the Cocoa Beans, the integer is a value of 20. So therefore, the randomItem chances being >1 or <5, there's a quarter chance of the Cocoa Beans being dropped.

    This random generator is the same that's used in Scavenger. (Which i still need to do the custom configurations for, working on it!)

    Currently, no. But I can make it so you have to.

    Should be easy to implement.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
    Flipp likes this.
  31. Offline

    Trenix

    I didn't even know that, very interesting.
    Oh boy, gotta love programming. Very interesting language compared to some of the stuff I'm used to. I'm just wondering if the amount of the items dropped are randomized. Like extra wheat says 5, does that mean when successful it will always be 5 wheat drops or would it be a random amount?
    I got a good idea, I'll post it on that website.
     

Share This Page