Purchase here via SpigotMC!!
Problems with this plugin? Email me at [email protected], PM me here or add my Skype, Bobrocket_01.
bPrison is an intuitive solution to manage your prison with a single plugin. Currently, the following features are available:
A great way to manage what mines can and can't be accessed, and their pricing! With an intuitive list of all available mines and their relative status, players will never be confused!
bPrison displays currencies in the way defined by your economy plugin. This tighter integration to the economy makes your players feel more as if this is a fully custom plugin for your server.
Integration with common server plugins allows even the newest server administrators to get used to the super simple set up of their mines! You're a drag and drop away from a fully bespoke prison system!
USAGE
Permissions
The administration permission is bprison.admin - with this permission, you can run any /mine and /prison command.
Other permissions:
Other commands:
TUTORIAL
(VIDEO COMING SOON)
Creating a mine is incredibly simple. First, create a WorldGuard region with whatever name you want. Ensure the block-break and entry flags are set to ALLOW. bPrison will take care of these for you.
In this example, I will be creating a mine "b".
Type /mine create b to create the mine. Then, type /mine link b <region> to link it to the appropriate region.
From there, we are going to make it a premium mine that costs $1,000.
We start by setting the permissions. We will type
/mine perm b break mines.b.break
/mine perm b enter mines.b.enter
To set the relevant permissions. From there, we can assign a group - /mine group b <group> - it is VITAL that this group has the permissions we just mentioned.
We're now going to set the blocks for the mine. We want roughly 50% stone, 35% coal and 15% iron. To achieve this, we're going to do:
/mine blocks b set STONE:50;COAL_ORE:35;IRON_ORE:15
This will set all the blocks. This can be configured via the config file if you don't understand how to do it, or setting the blocks one by one.
Now, we can set the auto regen - we want to regenerate it every 5 minutes, so we type /mine regen-time b 5m. Simple.
We need to do two more things now: set a cost, and a warp. Find an appropriate place to set the warp, and type /mine set-warp b. When players type /mine b, they will spawn where you are currently.
Lastly, the cost. We simply type /mine cost b 1000. This will make the mine premium, which means that the first time they /mine b $1,000 will be deducted from their balance. They will also get put in to the appropriate group we set earlier.
CONFIG
Following the basic tutorial above, we will have a config like so:
INSTALLATION
Q: I have 100 mines, each of which is over 100x100. Should I be worried about lag?
A: Not at all! Modifications to the world by bPrison are queued asynchronously, and scale to your game ticks per second. If your server is performing poorly, then bPrison will decrease the number of blocks it regenerates to accommodate. The only problem you may have is that mine regeneration feels slow, in which case, depending on your server specifications, you can increase the regen-per-tick value in the configuration.
Q: Will this plugin work with <insert plugin here>?
A: More likely than not, yes! bPrison is unobtrusive to all other plugins. It only hooks to Vault and your economy plugin to withdraw money from accounts, and it hooks WorldGuard to find regions to regenerate.
Q: I get an error when I do <insert action here>. Why is this?
A: It may be due to an incorrect configuration. If you PM me directly, I will be able to help you much faster.
Q: My prison server is already running, however I want to use bPrison. Do I need to reset anything?
A: No! As long as you set the correct permissions for each mine, and give groups those correct permissions, there will be no need to reset anything. Players will feel no turbulence during the switch (apart from the potentially different commands).
Q: I want to use <plugin> instead of WE/WG/Vault. Can I do this?
A: Unfortunately not. bPrison has a hard dependency on these three plugins, and thus will fail to load unless they are all present.
Q: My host doesn't use Java 8. Can I still use this?
A: Sadly, no. Your host made the conscious decision to use an outdated, end of life version of Java. You put yourself at a huge risk to potential security flaws in the version of Java your host is running. In short, get your host to upgrade or move hosts.
Problems with this plugin? Email me at [email protected], PM me here or add my Skype, Bobrocket_01.
bPrison is an intuitive solution to manage your prison with a single plugin. Currently, the following features are available:
- Mine creation
- WorldEdit & WorldGuard integration (lets the plugin know where the mine is)
- Vault integration (pay to use mines)
- Permissions plugin integration (automatically change ranks when purchasing mines)
- Auto mine regeneration (asynchronous, puts no pressure on the server)
- Custom permissions per mine
- Mine warps
- NEW! AutoSmelt and AutoPickup
- Java 8 (or higher)
- Spigot 1.8+
- Suitable WorldGuard
- Suitable WorldEdit
- Suitable Vault (+ eco plugin)
- Any permissions plugin (eg PermissionsEx or GroupManager)
A great way to manage what mines can and can't be accessed, and their pricing! With an intuitive list of all available mines and their relative status, players will never be confused!
bPrison displays currencies in the way defined by your economy plugin. This tighter integration to the economy makes your players feel more as if this is a fully custom plugin for your server.
Integration with common server plugins allows even the newest server administrators to get used to the super simple set up of their mines! You're a drag and drop away from a fully bespoke prison system!
USAGE
Permissions
The administration permission is bprison.admin - with this permission, you can run any /mine and /prison command.
Other permissions:
- bprison.autosmelt - Allow AutoSmelt (whilst in mines)
- bprison.autopickup - Allow AutoPickup (whilst in mines)
Other commands:
- /prison reload - Reload the plugins configuration file (requires bprison.admin)
- /prison version - Display the version of bPrison (requires bprison.admin)
- /prison save - Save all the active mines to the configuration file (requires bprison.admin)
TUTORIAL
(VIDEO COMING SOON)
Creating a mine is incredibly simple. First, create a WorldGuard region with whatever name you want. Ensure the block-break and entry flags are set to ALLOW. bPrison will take care of these for you.
In this example, I will be creating a mine "b".
Type /mine create b to create the mine. Then, type /mine link b <region> to link it to the appropriate region.
From there, we are going to make it a premium mine that costs $1,000.
We start by setting the permissions. We will type
/mine perm b break mines.b.break
/mine perm b enter mines.b.enter
To set the relevant permissions. From there, we can assign a group - /mine group b <group> - it is VITAL that this group has the permissions we just mentioned.
We're now going to set the blocks for the mine. We want roughly 50% stone, 35% coal and 15% iron. To achieve this, we're going to do:
/mine blocks b set STONE:50;COAL_ORE:35;IRON_ORE:15
This will set all the blocks. This can be configured via the config file if you don't understand how to do it, or setting the blocks one by one.
Now, we can set the auto regen - we want to regenerate it every 5 minutes, so we type /mine regen-time b 5m. Simple.
We need to do two more things now: set a cost, and a warp. Find an appropriate place to set the warp, and type /mine set-warp b. When players type /mine b, they will spawn where you are currently.
Lastly, the cost. We simply type /mine cost b 1000. This will make the mine premium, which means that the first time they /mine b $1,000 will be deducted from their balance. They will also get put in to the appropriate group we set earlier.
CONFIG
Following the basic tutorial above, we will have a config like so:
Code:
# bPrison example config file
# Example mine. You will need to configure your own.
bprison:
mines:
b:
world: world
region: mineb
blocks:
stone:
probability: 50.0
coal_ore:
probability: 35.0
iron_ore:
probability: 15.0
regen-time: 300
actions:
enter: mines.b.enter
break: mines.b.break
group: mineB
warp:
x: -186
y: 108
z: 157
cost: 1000.0
# Configuration
config:
# The command used to move a user in to another group. This will be determined based on what permissions plugin you are running. If you have another solution, you may put in the correct command below.
group-move-command: pex group {group} user add {user}
# How many blocks are regenerated in one go. Multiply this number by 5 to get the number of blocks regenerated per second.
regen-per-tick: 75
# The prefix which will be displayed next to every message.
prefix: '&8&l[&cb&fPrison&8&l] > &r&7 '
INSTALLATION
- Download jar AND PREREQUISITES
- Move in to plugins directory
- Restart server
Q: I have 100 mines, each of which is over 100x100. Should I be worried about lag?
A: Not at all! Modifications to the world by bPrison are queued asynchronously, and scale to your game ticks per second. If your server is performing poorly, then bPrison will decrease the number of blocks it regenerates to accommodate. The only problem you may have is that mine regeneration feels slow, in which case, depending on your server specifications, you can increase the regen-per-tick value in the configuration.
Q: Will this plugin work with <insert plugin here>?
A: More likely than not, yes! bPrison is unobtrusive to all other plugins. It only hooks to Vault and your economy plugin to withdraw money from accounts, and it hooks WorldGuard to find regions to regenerate.
Q: I get an error when I do <insert action here>. Why is this?
A: It may be due to an incorrect configuration. If you PM me directly, I will be able to help you much faster.
Q: My prison server is already running, however I want to use bPrison. Do I need to reset anything?
A: No! As long as you set the correct permissions for each mine, and give groups those correct permissions, there will be no need to reset anything. Players will feel no turbulence during the switch (apart from the potentially different commands).
Q: I want to use <plugin> instead of WE/WG/Vault. Can I do this?
A: Unfortunately not. bPrison has a hard dependency on these three plugins, and thus will fail to load unless they are all present.
Q: My host doesn't use Java 8. Can I still use this?
A: Sadly, no. Your host made the conscious decision to use an outdated, end of life version of Java. You put yourself at a huge risk to potential security flaws in the version of Java your host is running. In short, get your host to upgrade or move hosts.
