RailMiner
RailMiner is based on an old bukkit plugin RailDriver. It allows players to create a automated mining machine that will mine tunnels and gather resources for them. By default it consumes coal and all the required materials to make the road and rails, This can be disabled in the config.
The Miners require the following materials:
- 18-19 Iron blocks
- 9 Diamond blocks
- 9 Sticky pistons
- 4 Redstone dust
- 2 Dispensers
- 2 Furnaces
- 2 Repeaters
- 1-3 Chest
- 1 Sign
- 1 Lever
Layer One


The sign must contain the following lines:
- [RailMiner]
- Start
Layer Three

- Stone brick
- Iron ingot
- Sticks
- Redstone
- Coal
- Gold ingots
Protection System
To enable protection on your miner add [Protected] to the third line of the sign as shown below.

This will protect the miner from other people stopping it while it is mining. You can manage who can access your protected miners by using these commands:
- /railminer friend add <player> - Add a player to your miners
- /railminer friend del <player> - Remove a player from your miners
- /railminer friend list - Show who has access to your miners
Alias: /rm f
Permission: railminer.friends
Upgrades
Upgrades are placed in the center chest in the top layer between the pistons, they are used to improve the performance of the miner. Each recipe has a different crafting recipe that can be changed in the config, the default recipes are shown below.
Speed
Increases how fast it mines/moves
Fortune
Applies the fortune enchantment to a miner
Silk Touch
Applies the silk touch enchantment to a miner

Liquid Protection
Protect the miner from lava and water

Fuel Efficiency
Decreases the usage of fuel
Extra Storage
Allows for extra storage rather then throw the items on the ground

NOTE:
For extra storage the back two dispensers must be replaced with chests
railminer.reload - Allows user to do /railminer reload
<span style="font-size: 14px;">#Disable if you don't want Miners to consume coal enable-fuel: true #Disable if you don't want Miners to use materials inside chests enable-recipes: true #List of blocks that cannot be broken (IDs) block-blacklist: - "7" #Should miners stop at the empty spaces empty-spaces: true #Change mined blocks to a certain item e.g "16=263" changes coalore(16) to coal(263) #You can also define the amount of items it drops e.g lapisore drops multiable lapis, "21=351:4x5" #Ignored if miner has silktouch change-drops: - "16=263" #Coalore to coal - "15=265" #Ironore to ironingot - "21=351:4x5" #Lapisore to lapis (drops 5) - "73=331" #Redstone ore to redstone dust - "129=388" #Emerald ore to emerald - "14=266" #Goldore to gold - "56=264" #Diamond ore to diamond - "153=406" #Quartz ore to quartz debug: false</span>
<span style="font-size: 14px;">#Maxiumum amount of upgrades a miner can have (Odd numbers are better)
upgrade-limit: 5
#Upgrade recipes
recipes:
speed:
recipe:
- "SXS"
- "XNX"
- "SAS"
ingredients:
#MUST contain AIR if you have empty slots
A: AIR
X: REDSTONE_BLOCK
S: SUGAR
N: NETHER_STAR
result: "&cSpeed Upgrade"
fortune:
recipe:
- "DXD"
- "XNX"
- "DAD"
ingredients:
#MUST contain AIR if you have empty slots
A: AIR
X: REDSTONE_BLOCK
D: DIAMOND
N: NETHER_STAR
result: "&cFortune Upgrade"
storage:
recipe:
- "CXC"
- "XNX"
- "CAC"
ingredients:
#MUST contain AIR if you have empty slots
A: AIR
X: REDSTONE_BLOCK
C: CHEST
N: NETHER_STAR
result: "&cStorage Upgrade"
silk:
recipe:
- "DXD"
- "XNX"
- "DAD"
ingredients:
#MUST contain AIR if you have empty slots
A: AIR
X: REDSTONE_BLOCK
D: DIAMOND_PICKAXE
N: NETHER_STAR
result: "&cSilk Upgrade"
efficiency:
recipe:
- "CXC"
- "XNX"
- "CAC"
ingredients:
#MUST contain AIR if you have empty slots
A: AIR
X: REDSTONE_BLOCK
C: COAL_BLOCK
N: NETHER_STAR
result: "&cEfficiency Upgrade"</span>
<span style="font-size: 14px;">prefix: '&e[&5RailMiner&e]' invalidArguments: '&cInvalid arguments!' noPermissions: '&cYou do not have the required permissions!' minerIsProtected: '&cYou cannot use this miner!' reloadSuccess: '&aSuccessfully reloaded config!' alreadyRunning: '&cThat Miner is already running!' incorrectShape: '&cIncorrect shape!' foundEmptySpace: '&cFound an empty space! Stopping..' outOfFuel: '&cOut of fuel! Stopping..' requiresItem: '&cInsufficient items! Missing %item%' failedToMine: '&cMiner has encountered a problem! Stopping..' storageChestsFull: '&cYour miners chest is full! Stopping..' minerProtected: '&aMiner successfully protected!' failedToProtect: '&cFailed to protect Miner! Is it the right shape?' blockLimitReached: '&cYou have reached your block limit of %limit%. Stopping miner..' minerLimitReached: '&cYou have reached your miner limit of %limit%!' upgradeWhileRunning: '&cYou cannot access upgrades while the miner is running!' upgradeLimitReached: '&cYou can only have %amount% of upgrades!' invalidUpgrade: '&cMiner contains invalid upgrade!' noFriends: '&cNo one else has access to your miners.' alreadyFriends: '&c%name% already has access to your miners!' notOnline: '&c%name% is not online!' friendAdded: '&a%name% can now access your miners!' friendRemoved: '&a%name% no longer has access to your miners!' notFriends: '&c%name% does not have access to your miners!' friendsWith: '&aThe people that have access to your miners are: %list%'</span>
- GriefPrevention
- Kingdoms
- RedProtect
- Towny
- Factions (MassiveCore
Need help with the plugin? Click here to join my discord channel or post in the comments section!



-
View User Profile
-
Send Message
Posted Aug 7, 2017There seems to be a issue where the railminer wont start saying Incorrect Shape when there is upgrades in the upgrade chest, if there isnt any upgrades in the chest then it will start fine
-
View User Profile
-
Send Message
Posted Aug 7, 2017In reply to xH3LLRAIZ3Rx:
-
View User Profile
-
Send Message
Posted Aug 7, 2017In reply to xX1bumblebee1Xx:
-
View User Profile
-
Send Message
Posted May 23, 2017Do you have the sourcec ode on github anywhere?
-
View User Profile
-
Send Message
Posted May 23, 2017In reply to robotnikthingy:
-
View User Profile
-
Send Message
Posted May 23, 2017In reply to xX1bumblebee1Xx:
-
View User Profile
-
Send Message
Posted May 24, 2017In reply to robotnikthingy:
-
View User Profile
-
Send Message
Posted Feb 28, 2017Hi ! :)
The plugin works fine but it causes lags.
Could you resolve it ?
Thanks ! :D
-
View User Profile
-
Send Message
Posted Feb 28, 2017Can you explain how it lags and do you have a timings report?
-
View User Profile
-
Send Message
Posted Feb 25, 2017Hi, I have added this to my server and built it as per the directions, when I left click the sign, the following logs on the server console:
[25-02-2017 21:36:49] Could not pass event PlayerInteractEvent to RailMiner v1.1
[25-02-2017 21:36:49] org.bukkit.event.EventException
[25-02-2017 21:36:49] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:298) ~[craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at org.bukkit.craftbukkit.v1_11_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:232) [craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at net.minecraft.server.v1_11_R1.PlayerInteractManager.a(PlayerInteractManager.java:444) [craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:871) [craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at net.minecraft.server.v1_11_R1.PacketPlayInUseItem.a(SourceFile:55) [craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at net.minecraft.server.v1_11_R1.PacketPlayInUseItem.a(SourceFile:11) [craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.7.0_80]
[25-02-2017 21:36:49] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.7.0_80]
[25-02-2017 21:36:49] at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:695) [craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:360) [craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:650) [craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:554) [craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017 21:36:49] at java.lang.Thread.run(Unknown Source) [?:1.7.0_80]
[25-02-2017 21:36:49] Caused by: java.lang.NoClassDefFoundError: net/md_5/bungee/api/ChatColor
[25-02-2017 21:36:49] at me.bumblebee.railminer.events.PlayerInteract.onPlayerInteract(PlayerInteract.java:36) ~[?:?]
[25-02-2017 21:36:49] at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source) ~[?:?]
[25-02-2017 21:36:49] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.7.0_80]
[25-02-2017 21:36:49] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.7.0_80]
[25-02-2017 21:36:49] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:296) ~[craftbukkit.jar:git-Bukkit-e2a288c]
[25-02-2017
-
View User Profile
-
Send Message
Posted Feb 26, 2017Oops sorry, Its fixed in the latest download
-
View User Profile
-
Send Message
Posted Feb 28, 2017Whatever the update was it worked. No more errors in the console when I hit the sign. The issue now is incorrect shape. I've built it over and over pointing in different directions. I've checked and double checked schematics but still nothing. I don't want to worldedit one in because the whole point of our server is to earn technology like this.
-
View User Profile
-
Send Message
Posted Feb 28, 2017Could you give me your server IP (Here or PM) so I can take a tool?
-
View User Profile
-
Send Message
Posted Feb 28, 2017When I have a chance to get on MC and admin a railminer on there for testing I'll shoot you a pm. The server is relatively new so nobody has the resources to build one legit yet. Probably Saturday.
-
View User Profile
-
Send Message
Posted Feb 28, 2017Alright, thats fine :P
-
View User Profile
-
Send Message
Posted Mar 1, 2017Rebuilt it and now it works. But only for me. What is the syntax to enter into the console to grant permission to everyone else?
-
View User Profile
-
Send Message
Posted Mar 1, 2017Glad you got it working, the permission is railminer.use
-
View User Profile
-
Send Message
Posted Mar 1, 2017How is it typed in the console. When I put that in there nothing happens.
-
View User Profile
-
Send Message
Posted Mar 1, 2017Oh, Do you have a permissions plugin installed (GroupManager, Pex, zPerms etc)?
-
View User Profile
-
Send Message
Posted Mar 1, 2017Nope. I'm assuming I need to install one then lol