PRISPONGEMINE
A plugin to create and manage mine for prison server. A mine is basically a named rectangular zone filled with ore.
WARNING the v2 need modified config file.
use command updateconfig to update your config file
##Use
- /prisponge define
- With a stick(by default), you select two blocks (with right click both starting from v3) like you do with a cuboid.
- /prisponge save “mine name” and it’s done.
To see the result do /prisponge fill “'mine name”.
By default, mines are filled with stone until you start to add ore, then only the percentage left without ore is filled with stone.
To update a wrongly defined mine, do /prisponge define, select the two block and do /prisponge update .
Then you can start auto refill with /prisponge start or first change timer duration / format for the mine with /prisponge time
Duration format : SECONDS, MINUTES, HOURS, DAYS.
For the altar, do the command and hit the block (here a sponge), in these picture the rest is decoration.
Now you put a block on it like this
and do the addore or removeore commands, if all fine, you get the info text and the block is removed.
#Downloads
#Commands
/prisponge - List all commands
/prisponge list - List all mines
/prisponge reload - Reload config file
/prisponge altar - let you define an altar by hitting the block below the altar
/prisponge autorun - make a mine autorun at server start
/prisponge autorundelay <mine name> <delay> - Before running each mine add a delay by default of 5 minutes, you can change it with this command, minimu is 60 seconds.
/prisponge random - make a mine with random ore between all added
/prisponge startall - start all mine
/prisponge stopall - stop all mine
/prisponge spawn <mine name> - set mine spawn location where you stand
/prisponge fill <mine name> - Fill the named mine
/prisponge save <mine name> - Save the defined mine
/prisponge update <mine name> - Update a mine with new coordinates
/prisponge clear <mine name> - remove all blocks of a mine
/prisponge delete <mine name> - Delete a mine
/prisponge addore <mine name> <percentage> - Add ore put on the altar to a mine
/prisponge removeore <mine name> - Remove ore put on the altar to a mine
/prisponge time <mine name> <duration> <duration format> - Change timer duration/format
/prisponge start <mine name> - Start autofill of a mine (by default the refill time is set to 24 hours)
/prisponge stop <mine name> - Stop autofill of a mine
/prisponge changetool - Change tool used to define a mine, put it in your hand before using this
/prisponge set <mine name> <set_number> - Change mine set number, by default, all mine are in the set 0.Allow all mine in the same set (except for 0) to run in the same time.
/prisponge warning <boolean> - Allow you to show or hide warning messages.
##Permissions
prisponge.fill
prisponge.define
prisponge.save
prisponge.update
prisponge.delete
prisponge.start
prisponge.stop
prisponge.time
prisponge.addore
prisponge.removeore
prisponge.reload
prisponge.list
prisponge.clear
prisponge.changetool
prisponge.spawn
prisponge.random
prisponge.autorun
prisponge.startall
prisponge.stopall
prisponge.warning
prisponge.set
prisponge.delay