Antares-Network / AntaresPrison

A Prisons plugin made for the Antares network.
https://playantares.com
Other
3 stars 0 forks source link
prisons prisons-plugin spigot-plugin spigotmc

AntaresPrison

Discord GitHub release (latest by date)

A Prisons plugin for any Spigot or Spigot fork, created for the Antares Network Minecraft server.

Antares Network Server Antares

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.

Migrate data

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.

List of commands

List of Permissions

Tutorials

Creating a rankup sign

To create a rankup sign, you must use the format below.

[prison:ticket]  
{ticket name}
{price}

Example

[prison:ticket]
tier_2
20000

Adding a mine

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

Example file
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'
   ...

Adding a room

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.

Example file

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'
   ...

Changing the worth of blocks

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
Example file
OAK_LOG: 20.0
DIAMOND_ORE: 100.5

Other config files

The economy.yml and tickets.yml files do not need to be changed and are updated automatically.

v1.6 Update

Both economy.yml and tickets.yml files had been replaced with a database db_users.db.

Placeholders

IMPORTANT DISCLAIMER

Check out our other projects here:

https://github.com/Antares-Network

License

Creative Commons License