Home›Java›Mods›Replenishing Mines
Replenishing Mines
ModsJava

Replenishing Mines

Java mod listed for Minecraft 1.9–1.10. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
[​IMG]
Replenishing Mines

(Restocking Mine System)


INFO: Please note that this plugin is not yet tested much on productive servers and if you find any bugs, dont blame me because i worked a ton of hours on it and release for free, please just report them and i will try to fix them asap.

This Plugin allows server owners to create individual seperated mines in self-defined sizes (Min.Size 16x8x16 Max.Size 512x96x512) for players which will automaticly be restocked/refilled with ores and material after a self-defined amount of time in minutes.

I made this plugin specially for a german medieval roleplay server i have played on as a player, but iam sure it can be used for other (your^^) purposes as well.

Please note that the system will produce a seperated tiny world for each created mine!

Features:
- Config.yml File to adjust the amount of material and ores a mine should generate randomly in 1 to 10000th steps.
- Messages.yml File to change all text output to your language or liking.
- TreasureChests.yml File To adjust Loot for Treasure Chests that can be created if ChestGenTenThousandth in Config.yml is larger then 0.
- Logfile which logs every mine creation, restocking, delete, enter, exit etc.


Commands:
Admin Commands:
- /rplm info (Informations about the Plugin)
- /rplm list (Lists all existing Mines)
- /rplm delete (Deletes Mine by Name)
- /rplm enter (Teleport into the World of the Mine by Name)
- /rplm exit (Teleport to the Exit/Entrance of the Mine by Name)
- /rplm replaceexit (Change Location of Exit/Entrance of the Mine by Name)

Player Commands:
- /exitmine (go back to the entrance of the mine)

Permissions:
- replenishmines.admin (mine ceation/managing rights for Admins)
- replenishmines.user (for Players allowed to enter mines)


Pros:
- Can be arranged Ingame for players/factions etc.
- Can help to save and protect your main world because players prefer to farm in these mines instead of making use of large strip-mining activities in main world.
- Due to the controlled restocking/refilling it will gurantee players finding resources even if the main world does not have much resources anymore, which will also help you to keep your main world for a longer time.
- Hopefully relatively lagfree because i created most intensive calculations async and the mine-generating-process in a chain of small tasks.
- Nice Feature ^^ RP Style Mine yeeeaaah

Cons:
- Maybe there are Bugs :-(


Messages.yml (Content)
- Edit as you like -

Spoiler: messages.yml
MineExists: Please choose another name, a mine with that name already exists!
UnallowedChars: Only characters A-Z and a-z are allowed to name a mine!
ToShortName: The name of the mine must be at least 5 characters long!
NotAllowed: Your are not allowed to use this!
MineNotExists: A Mine with that Name does not exist, if there are any questions about, please contact the admin!
MineBoarderCalc: Calculating the boarder..
MineResourcesCalc: Calculating the resources...
MineStartCalc: Calculating the starting area...
MineGenFin: Mine was successfully replenished.
NewMineCreate: A new mine will be created...
MineReplen: An already existing mine will be replenished...
MineDeleted: A mine was successfully deleted!
MineClosed: This mine was closed or replenished!
OnlyOfficialPort: You can only enter the mine by clicking the mine-entrance-sign!
WrongSize: 'The defined size of the mine is wrong. Minimum 16x8x16. Maximum 512x96x512
(Example: 36x24x36)'
WrongTime: 'The defined replenishing-time in minutes need to be between 5 and 99999,
or 0 for a mine that gets never restocked. (Example: 1440)'
MineEnter: You have entered a mine.
MineLeave: You have left a mine.
ToMuchLessArgs: You have entered to much or less arguments!?
CMDnotExsist: The command or subcommand you entered does not exist!?
InfoText: Shows information about the plugin.
ListAllMines: Lists all existing mines.
ReplenMine: Restocks the mine manually.
DeleteMine: Deletes mine with given name.
EnterTP: Teleport inside the mine.
ExitTP: Teleport to the entrance of the mine.
MineExit: Go back to the entrance of the mine.
MineErrorSign: 'No exit-sign found!? (Expected Location: 1 151 1)'
MineErrorInt: 'The exit-sign contains wrong Values! (Expected: X Y Z WORLD)'
NoGMFly: You need to stay on soild ground due player security reasons, because the creators position (your position) will be used as mine-exit-point/entrance.
NotInAMine: You are not in a mine!?
ReplenMes: replenished.
NoDelWhileRep: Mines that are in the replenishing process cant be deleted until they finished.
ReplenLimit: At the moment 5 other mines get replenished already, which is the limit, please try again later.
WaitTillEnd: Mines can not be destroyed before they are fully generated!
NotDoneYet: This feature ist not implemented yet!
MineNotReady: This mine ist not ready yet, wait until the replenishing progress is finished!?
SystemReserved: The name ][MINE-P][ ist reserved for system purposes.
ExitReplaced: You successfully replaced the exit/entrance-point.
NoMineInMine: You can not create a mine thats inside another mine!?
CloseWhileIn: You can not close the mine while you are in it!
LeaveMessage: To leave the mine use command /exitmine
MineDefect: This mine is defective, please contact an admin to replace it.
TestSize: 'Test how much ores would be generated with actual config in a mine with
defined size (Example: /rplm testsize 96x48x96)'
ReExitTP: Will use actual position as new mine-entrance for the selected mine.
InfoTextLong: With Replenishing-Mines (RPLM) its possible to generate custom mines which will be created and loaded as seperated worlds. These mines can be set in size from 16x8x16 blocks up to 512x96x512. These mines will automatically restock/regenerate after a defined time which can be set from 5 to 43200 minutes. Players with given rights can enter/use these mines to farm ores and materials.
MineExitDefect: The Exitinformations of this mine are defective, you will be ported to the worlds spawn.

Config.yml (Content)
- If you edit, remind that all values added together need to be exactly 10000! -
Spoiler: config.yml
StoneGenTenThousandth: 6028
DirtGenTenThousandth: 1000
GravelGenTenThousandth: 100
AndesitGenTenThousandth: 500
GranitGenTenThousandth: 500
DioritGenTenThousandth: 500
RedstoneGenTenThousandth: 350
CoalGenTenThousandth: 500
IronGenTenThousandth: 250
GoldGenTenThousandth: 100
LapisGenTenThousandth: 50
EmeraldGenTenThousandth: 30
DiamondGenTenThousandth: 50
ObsidianGenTenThousandth: 10
BedrockGenTenThousandth: 0
SilverfishGenTenThousandth: 10
ChestGenTenThousandth: 2
LavaGenTenThousandth: 10
WaterGenTenThousandth: 10
MobSpawn: false


TreasureChest.yml (Content)
- you can edit 27 slots as example: 0,0,0,0 = first position will be the Material-ID, second position the minimum-stackamount, thrid position maximum-stackamount, fourth position chances in percent that it will in a tresurechest. For example if you want to put between 1-10 diamond blocks into a treasure chest by 50% chance it must be: 57,1,10,50 -

Spoiler: treasurechest.yml
slot0: 264,1,2,1
slot1: 265,3,6,10
slot2: 266,2,3,5
slot3: 263,10,20,50
slot4: 262,10,20,75
slot5: 267,1,1,15
slot6: 256,1,1,15
slot7: 257,1,1,25
slot8: 258,1,1,15
slot9: 260,3,10,20
slot10: 276,1,1,1
slot11: 277,1,1,1
slot12: 278,1,1,1
slot13: 279,1,1,1
slot14: 297,5,15,50
slot15: 296,10,32,50
slot16: 306,1,1,10
slot17: 307,1,1,10
slot18: 308,1,1,10
slot19: 309,1,1,10
slot20: 384,1,3,25
slot21: 0,0,0,0
slot22: 0,0,0,0
slot23: 0,0,0,0
slot24: 0,0,0,0
slot25: 0,0,0,0
slot26: 0,0,0,0


I recommend to test this plugin on your home- or test-server first to acclimate with the features and find the right resource adjustment for config file etc.

Creating Example:

[​IMG]

[​IMG]

[​IMG]

[​IMG]

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Replenishing Mines is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10. Downloaded 282 times (via Spigot). Download it and open it directly in the game.

Explore more