A Prisons plugin for any Spigot or Spigot fork, created for the Antares Network Minecraft server.
Join the Antares Network Discord server at https://discord.gg/KKYw763
You can find alpha builds in target
with features from the latest commits, but these builds are not guaranteed to be free of bugs and it is not recommended to use them.
If you are updating the plugin, make sure to use /prisons migrate
as soon as possible.
That command will move all data from the old files into the new users file.
If you won't execute that command, you may loose player data.
To create a rankup sign, you must use the format below.
[prison:ticket]
{ticket name}
{price}
[prison:ticket]
tier_2
20000
To add a mine, you have to work with the mines.yml
file.
This file is generated when the plugin enables for the first time.
Material Cheatsheet
mines:
# The name of the mine, so how you reference to this mine in a command
my_custom_mine:
area:
# Coordinates from
fromx: 0
fromy: 0
fromz: 0
# Coordinates to
tox: 10
toy: 10
toz: 10
# Location world
world: 'prisons'
# Materials that will spawn in the mine (See cheatsheet)
materials:
- 'STONE'
- 'IRON_ORE'
- 'GOLD_ORE'
- 'COBBLESTONE'
...
To add a room, you have to work with the rooms.yml
file.
This file is generated when the plugin enables for the first time.
rooms:
tier_1:
ticket: 'tier_1'
area:
fromx: -8
fromy: 26
fromz: -76
tox: 24
toy: 4
toz: -110
world: 'prisons'
tier_2:
ticket: 'tier_2'
area:
fromx: -8
fromy: 26
fromz: -111
tox: 24
toy: 4
toz: -143
world: 'prisons'
...
To change/set the worth of a block, you'll need the worth.yml file. Material Cheatsheet This is the format, you have to use:
MATERIAL_NAME: worth
OAK_LOG: 20.0
DIAMOND_ORE: 100.5
The economy.yml and tickets.yml files do not need to be changed and are updated automatically.
Both economy.yml and tickets.yml files had been replaced with a database db_users.db.
https://github.com/Antares-Network