Resourceful
Version 0.2B Now Available!
This release is a BETA release! I do not recommend using it on an official server! Please read the information on the page for v0.2B here The default configuration with a few comments can be found here!
Here is a video of Resourceful, kindly made by Lukethenuke here on the Bukkit website.
YouTube Channel for Lukethenuke
Yay, broke 100 downloads! I'll be spending some more time on this soon, so keep your eyes out for an update.
Feedback! Feedback to go with those downloads would be marvelous. Just as well, if any of you are implementing this on a live server, I'd love to check it out. :)
Resourceful is a WIP (Work In Progress) plugin which will provide Skyrim-style resource gathering.
In Skyrim, when you mine an ore vein, for example, you may mine it x number of times before it is depleted. Then, you must wait a certain time before you may mine that vein again. This is what Resourceful aims to achieve. With Resourceful, you may mine ores 3 times, then you must wait for the ore block to refresh (may be configurable at some point). Currently, the ores just reappear when broken, and there is no physical indicator that the ore block is depleted. In the future, I may make the ores change to stone once depleted.
Resourceful is developed with the intention of allowing use on RPG servers.
Current Features:
- All ores may be mined 3 times
- The second drop of each ore must be air
- Percent chance is out-of-100
- Example: you want coal ore to drop coal 20% of the time, give nothing 40% of the time, and give cobblestone 40% of the time. That's 20 + 40 = 60 + 40 = 100 Math is required for the configurable drop chance values!</ul></ul>
- Debug logging to the console (Enable/Disable in the config)
- Alert players to all results of their mining, or individual drops
- Example: You can enable alerts for each drop on an ore and the player will be alerted to their finds for each time they break the ore.
- Or, you can enable it for specific drops, such as the drop they are aiming to get, such as the coal from the coal ore, the iron from the iron ore, diamond from the diamond ore, etc.</ul></ul> Coal Ore
- Default drops: coal (uncommon) and cobblestone (common)</ul> Iron Ore
- Default drops: iron ore (uncommon) and cobblestone (common)</ul> Gold Ore
- Default drops: gold ore (rare) and cobblestone (almost always)</ul> Diamond Ore
- Default drops: diamond (super rare) and cobblestone (almost always)</ul> Emerald Ore
- Default drops: emerald (extremely rare), cobblestone (almost always)</ul>
To Do:
- Ores to add:
- Lapis Ore (maybe)
- Redstone Ore (maybe)</ul>
- Maybe other kinds of blocks besides ores
This plugin is still very much a WIP. This is my second real plugin that I've made from the ground up by myself. My first plugin is a plugin made explicitly for the CraftBlock Minecraft server. Website: http://www.craftblock.me Server address: mc.craftblock.me Feel free to stop by Craftblock and say hello, to play, to chat, or whatever (except spamming and griefing)!
As a broke college student, I have expenses I can't afford, such as text books and other materials. If you would like to donate to aid me in paying for college expenses, to motivate me to work on my plugins, or just to be generous, please feel free to do so using the Donate button at the top right of this Bukkit Dev page. Thanks. :)
Ar7ific1al
CHANGELOG
October 3 2012 Added Admin Mode!
- Remove ores by toggling Admin Mode (/res admin toggle or /res a t) and right-clicking them with an empty hand
- Permission associated: resourceful.admin
Harvest count added to config!
- Customize how many times each individual ore may be "harvested" until it is depleted.
October 2, 2012 Added Emerald Ores!
- efault Drops:
- Emerald (Extremely Rare)
- Cobblestone (Almost Always)
Debug logging fully configurable
- Debug logging enabled logs:
- Ore break
- Ore deplete
- Ore refresh
-
View User Profile
-
Send Message
Posted Mar 13, 2013@Waterworth12
Right now, this project is at a standstill. I've not had the motivation to work on it. I need to scrap every bit of code I have and start over, really. I've learned a lot more about Java and programming in general since I began this project. As my first Bukkit project, this project was sure to need some redoing at some point. However, to answer your question, yes. Ideally, this plugin would be used in place of other plugins such as mcMMO. I know it's a huge goal competing with other plugins, but I've always wanted plugins which did exactly what I wanted them to do, and the only way to really do that is to write your own!
-
View User Profile
-
Send Message
Posted Mar 12, 2013Awesome plugin, I have an RPG server and this will make skill gathering possible. Any future for Woodcutting, Farming and Excavation?
-
View User Profile
-
Send Message
Posted Dec 14, 2012In the future can we see you adding permissions to alter the drop chances per group or adding in chances based on a players level [or with mcMMO, their mining skill?]
Going to be watching this plugin, this will be very nice when you finish it.
-
View User Profile
-
Send Message
Posted Dec 9, 2012Just wanted to post so people know I haven't forgotten about this.
I'm currently taking a programming class for C#, and have been since about the middle of October. It takes a lot of my time and energy, and is kind of stressful. It also takes the fun out of programming for my own purposes. Until I'm done with the class, I likely own't touch any code. On the bright side, the class is over soon, after which I plan to take a month break from school before taking more classes. During that time, this may see an update, and possibly a complete rewrite.
-
View User Profile
-
Send Message
Posted Nov 10, 2012Amazing mod, if you add Heroes support I will love you forever
-
View User Profile
-
Send Message
Posted Oct 28, 2012@nhoclesnar
I'm not sure. I'm not really designing Resourceful to be compatible with other plugins. However, depending on how that plugin handles things, it's possible that it might be just fine. Feel free to do some testing on a local server and report back. I'll do the same if I get the time. ;)
-
View User Profile
-
Send Message
Posted Oct 27, 2012Oh hey, I have one question. Will the drop chance conflict with iProfessions's dropItem type of skill? That plugin basically allows you to create professions. Each profession can do specific things that no other professions can. One of those 'things' is controlling the drop of certain items when breaking a block. So let's say, you are a blacksmith and you try to mine coal ore, no coal will drop when you destroy the ore, because only a miner can get coals when mining coal ores. What I'm afraid is that the drop chance feature of Resourceful will break the skill types of iProfessions. It is true, isn't it?
-
View User Profile
-
Send Message
Posted Oct 25, 2012@Ar7ific1al
That sounds totally awesome. I really like the concept of melting coal ores and lapis ores instead of getting them directly. However, dropping only one coal ore might make coal a bit too sacred...Well, it's ok since the drop chance is configurable. I really hope to see these features implemented. Once CraftBukkit 1.4 is out and all the plugins I need get updated, I will get the server running and test this. Good luck!
-
View User Profile
-
Send Message
Posted Oct 24, 2012@nhoclesnar
Heh. Well, I regret to inform you that... What am I saying? There is no regret whatsoever. The second and third are already a part of the plugin, friend. Head on over to the Configuration Page to take a gander.
As for #1, those may or may not be in the works. I'm considering shifting them all to drop their respective ores by default, so the player must smelt them with a furnace. This makes more sense to me, as Iron and Gold both drop their respective ores, while the rest don't. If you look at it from a realism perspective, it doesn't make sense to get the raw, separated material from the ore. Just as well, this would make Coal, Redstone Dust, and Lapis Lazuli a bit more of a set of rare commodities (in the right situation(s)) than they currently are. I personally feel like this is the way it should be. Coal should be far more valuable than Charcoal, which is far more easily obtained.
Also, seeing as how the Lapis Lazuli ore actually drops an ink sac with a damage value, I would then have to either hard-code the drop for Lapis Lazuli Ore, or add in a damage value specification for each drop.
And last, but not least, #4: I originally did have the blocks replaced with bedrock. Before that, I was going to have it replace them with stone, but then I would have to perform even more functions to prevent the stone at that position from being destroyed. Either that, or breaking of stone would have to be blocked on the server on which the plugin is used. I think instead, I'll set a value in config for setting to Bedrock upon deplete. The value will be either true or false; If true, depleted ores are set to Bedrock. If false, depleted ores are set to Air.
How's that sound? :)
-
View User Profile
-
Send Message
Posted Oct 23, 2012This is a very awesome plugin! It's a 'must' for many RPG servers. I will host my own server soon and will be glad to help testing the betas. Skyrim is an amazing game, and I hope this plugin can really simulate Skyrim mining feature. I have a few suggestions, these are in order of their importance:
If the first three features are implemented, I will definitely use it on my server. Once you are done with those, you might consider having custom refreshing time for each type of ore (doesn't really matter). Wish you luck on this project. As I said, I'm on my way of setting up my server, and once it is ready, I will help you test this plugin.
-
View User Profile
-
Send Message
Posted Oct 4, 2012@Lukethenuke
That's awesome, thanks again. Your video is now posted, along with a link to your channel. :)
-
View User Profile
-
Send Message
Posted Oct 3, 2012@Ar7ific1al
Just for fun, I made a video of this plugin in use.
http://www.youtube.com/watch?v=1QLoaYF2sd4&feature=youtu.be
Cheers.
-
View User Profile
-
Send Message
Posted Oct 3, 2012Updated to version 0.2B!
Click here until the file is approved: http://dev.bukkit.org/server-mods/resourceful/files/3-resourceful-v-b0-2/
-
View User Profile
-
Send Message
Posted Oct 3, 2012@Kailvin
<Edit> Okay, I get what you were saying. This is not a bug, it's by design. There are three chances: 1) ore, 2) nothing, 3) cobblestone. These are the defaults. For now, the chance to get nothing MUST be there. It's hard-coded, but you can still change the chance to get nothing. I don't recommend changing the chance for nothing so that you are always guaranteed to get something. Having a "nothing chance" adds to the realism of it. In games like Skyrim, you don't always get something from what you're mining. You might get the ore you want, you might get a gem, you might get nothing, etc. This plugin is designed to reflect that resource gathering style. </Edit>
Check the config.yml. By default, Coal Ore and Iron Ore will drop two Coal/Iron Ore respectively whenever it drops those items. Gold, Diamond and Emerald Ore only drop 1 of their respective normal drop whenever the chance to do so is generated.
I've come across another bug I didn't notice before: tool durability isn't affected because I cancel the break events. It's to be fixed in the next update. Also coming in the next update is an admin command. With it, you may right-click ores with an empty hand to remove them, and left-click blocks with an ore to turn that block into the ore which you are holding. There is a permission associated with it: resourceful.admin
Check back later and there will be an update, Resourceful v0.2B. There will be significant changes, as far as admin functionality goes.
<Edit 2>Also, if you don't mind, I would like to come on your server where you are using this with your capture point gameplay, if you are yet. I would greatly enjoy seeing my plugin actually used on a server and experience it in a way other than debugging and testing. :)</Edit 2>
-
View User Profile
-
Send Message
Posted Oct 3, 2012Slight but minor bug. On occasion when mining ore no message will come up to tell you that you gained the ore (And no ore will appear) However once you break the block for the final time you will get it including whatever you would have gotten from that break IE in the first break you should have gotten iron but got nothing. 2nd break you got cobble. 3rd break you got iron again and got 2 iron instead of 1
-
View User Profile
-
Send Message
Posted Oct 1, 2012@Kailvin
I can see how this would fit in nicely on a server like that.
I seem to work on my projects in an on-and-off manner, so I'll be getting back to this soon. I've been pre-occupied with helping to setup another server, plus I started a class again last Wednesday.
-
View User Profile
-
Send Message
Posted Sep 30, 2012@Ar7ific1al
Well Im running a capture point style PVP server. Mining nodes that respawn every so often would make for great use :D
-
View User Profile
-
Send Message
Posted Sep 29, 2012@Kailvin
What kind of server are you running? My plugin is really aimed towards RPG servers and servers which don't allow or have natural mining. Resourceful is intended to be used on servers where there are set mining locations.
Regardless, thanks for comment! :)
-
View User Profile
-
Send Message
Posted Sep 29, 2012I am excited to see this. I do hope you get it. It will make my server much easier to run! Thank you and good luck.