HomeJavaModsPrisonBalance
PrisonBalance
[​IMG]
[​IMG]
[​IMG]
[​IMG]

This plugins changes how a player's balance is displayed in game. There's currently two different formats. There's EZRanks and Prison Balance: You can see screenshots of these below. This plugin also allows for you to use placeholders in plugins such as Featherboard, Title Manager or DeluxeChat (as well as many more).

[​IMG]

[​IMG]
[​IMG]


[​IMG]

Vault
Permissions Plugin
EZRanksPro*
PlaceholderAPI**

* You need EzRanksPro if you want to use the EzRanks formatting type.
** You need PlaceholderAPI if you want to use the placeholders in other plugins.

[​IMG]
Command: /balance
Description: Shows your balance
Aliases: /bal /money

Command: /balance <player>
Description: Shows another players balance
Aliases: /bal /money

Command: /pb
Description: Shows plugin information
Aliases: /prisonbalance

Command: /pb help
Description: Shows help menu
Aliases: /prisonbalance help

Command: /pb reload
Description: Reloads plugin configuration file
Aliases: /prisonbalance reload
[​IMG]
Code (Text):
/balance
/balance <player> (prisonbalance.admin.others)
/prisonbalance (prisonbalance.admin)
/prisonbalance reload (prisonbalance.admin.reload)
/prisonbalance help (prisonbalance.admin)
[​IMG]
With prison balance you can add a tooltip to the balance message and use placeholders to display additional information. You can use placeholders from the PlaceholderAPI to display things like the players rank, name and balance.
[​IMG]
The above tooltip is using this configuration​
Code (Text):
tooltip:
- '&r  &b&l&m--&8&l&m[&7&l&m---&r &f&l%player_name% &7&l&m---&8&l&m]&b&l&m--'
- '&9&oBal&c&o: &a$&7&o%prisonbalance_bal% &8&o(prisonbalance_bal)'
- '&9&oBal&c&o: &a$&7&o%prisonbalance_ez% &8&o(prisonbalance_ez)'
- '&9&oBal&c&o: &a$&7&o%prisonbalance_pb% &8&o(prisonbalance_pb)'
- '&9&oRank&c&o: %vault_prefix%&8&o(vault_prefix)'
How to use other plugin placeholders
If you want to use a placeholder from another plugin then you first must check that the plugin is listed on here or here*
If the plugin is listed there then you need to download the placeholders from the cloud in game. To do this you simply go in game and type the following,

/papi ecloud download Vault
That command will download the Vault placeholders (%vault_***%).
If your plugin is found on Maxims plugin list (the second one) then you need to do this command instead

/papi ecloud download MVdW
To use his placeholders you must use:
%mvdw_<placeholder without brackets>%
A list of his placeholders can be found here

[​IMG]

Spoiler: Config.dank
Code (Text):

# PrisonBalance version 1.95 config
# Created by XenRevo
#
# Types: There are 2 different formats which this plugin has to offer. They are:
#
#        EZRanks -
#                This one will format your balance like:
#                $1000 ==> $1k
#                $2000000 ==> $2M
#                $3000000000 ==> $3B
#                $4000000000000 ==> $4T
#                $5000000000000000 ==> $5Q
#                As you can see, this uses the EZRanksPro styled formatting
#
#        PrisonBalance -
#                This one will format your balance using commas for every 3 numbers:
#                $1000 ==> $1,000
#                $2000000 ==> $2,000,000
#                $3000000000 ==> $3,000,000,000
#                $4000000000000 ==> $4,000,000,000,000
#                $5000000000000000 ==> $5,000,000,000,000,000
#
# Placeholders: There are 3 placeholders that you can use. They are:
#        prisonbalance_bal - This will format the balance using the format
#                            that you have set below
#
#        prisonbalance_ez - This will format the balance using the EZRanks format
#
#        prisonbalance_pb - This will format the balance using the PrisonBalance format
#
# For information on how to use the placeholders in different plugins such as Featherboard or Action Announcer
# then please check out the plugin page.
bal_type: EZRanks
balance_message: '&7Your balance is &a$&f%balance%'
balance_others_message: '&f%player%''s &7balance is &a$&f%balance%'
no_permission_msg: '&cYou dont have permisison to do that!'
not_online_msg: '&7Sorry but &c%player% &7is not online'
use_tooltip: true
tooltip:
- '&a&f%prisonbalance_bal%'


 

[​IMG]
Prison Balance currently allows for different plugins to display a players balance through the use of placeholders. The most common usage for this would be in a plugin such as Featherboard, where the balance can be displayed in a scoreboard. At the bottom you can see a screenshot of this being used.

Available Placeholders
prisonbalance_bal - This will format the balance using the format which you have set as the bal_type in the config.yml.
prisonbalance_ez
- This will format the balance using the EzRanks format.
prisonbalance_pb - This will format the balance using the PrisonBalance format.​

How to use them
You will need to have the PlaceholderAPI plugin installed on your server to use them (You can get this here). For any plugin that is listed here, you just simply add %<placeholder>% to wherever you want to use the placeholder. An example below using TitleManager shows the config and a screenshot from in game.
[​IMG]
Spoiler: config.yml
Code (Text):
usingConfig: true
config-version: 3
using-bungeecord: false
legacy-client-support: false
updater:
  check-automatically: true
tabmenu:
  enabled: true
  header: '&6Prison&7Balance'
  footer: '&cBalance: &a$&f%prisonbalance_bal%'
welcome_message:
  enabled: false
  title: '&7Welcome back &a{PLAYER}&7!'
  subtitle: '&7To my server'
  fadeIn: 20
  stay: 40
  fadeOut: 20
  first-join:
    title: '&7Welcome to MyServer &a{PLAYER}'
    subtitle: '&7Hope you enjoy your stay!'
actionbar-welcome:
  enabled: false
  message: '&a&lWelcome!'
  first-join:
    message: '&2&lWelcome It''s your first time!'
number-format:
  enabled: false
  format: '#,###.##'
date-format:
  format: EEE, dd MMM yyyy HH:mm:ss z
disabled-variables:
- my-disabled-variable
- also-called-placeholders
 
Using placeholders in Maxim's plugins is different. Check this list to see if you need to use the different placeholder method:
FeatherBoard, AnimatedNames, TitleMotdAdvanced, Tab, DynamicSigns, ActionBar, ConditionPerms, AirBar.
To use a placeholder in any of those plugins you must use {placeholderapi_<placeholder>}. Below is an example of all the placeholders being used in FeatherBoard.
[​IMG]
You can view the config here

Big thanks to @extended_clip for helping me with this​

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

PrisonBalance is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10. Downloaded 1,863 times (via Spigot). Download it and open it directly in the game.

Explore more