PrisonGems
Description

PrisonGems is an essential Plugin for all Prison Servers.
it adds several new Utilities, which are mainly aimed to be
useful for Prison Servers, but can of course be used for any
other type of Server as well.
The first and most important thing it adds are: Gems
Gems are a currency which runs independently from Vault.
Those Gems can be obtained by mining Blocks in the world.
The drop chance of those, is of course configurable.
Gems can be used to buy things: mainly to upgrade your Items
You can upgrade the Enchantments of your Items using Gems
for example if you have Unbreaking I it can be upgraded to Unbreaking II
etc...
Now, if you are using PrisonUtils, you can
also sell Backpacks via Gems.
Or if you are using CommandOverride, you can
make certain commands cost Gems to be executed.
Another thing Gems can be used for is not only upgrading your
Tools/Armor/Weapons but also repairing those.
Commands/Permissions

| Command | Description | Permission | ||||
| /upgrade | Opens up the Inventory to upgrade your Items | No Permission required. | ||||
| /repair | Repairs the Item in your Hand for a configurable cost | gems.repair | ||||
| /backpacks | Opens up a Shop where you can buy Backpacks for Gems | No Permission required. | ||||
| /gems | Shows how many Gems you have | No Permission required. | ||||
| /gems withdraw <Amount> | Converts a specified Amount of Gems to its respective Item Form for Trades and Shops | No Permission required. | ||||
| /gems <Player> | Shows how many Gems a Player has | gems.others | ||||
| /gems set <Player> <Amount> | Allows you to manipulate the Amount of Gems a Player has | gems.set | ||||
| /gems add <Player> <Amount> | Allows you to manipulate the Amount of Gems a Player has | gems.set | ||||
| /gems remove <Player> <Amount> | Allows you to manipulate the Amount of Gems a Player has | gems.set | ||||
| /gems give <Player> <Amount> | Gives the specified Player the specified Amount of your Gems | No Permission required. |
Signs

Note: All empty lines can be replaced with a text of your Choice. Example: "Cost: 10 Gems" / "Click to buy" / ...
[Upgrade] Signs
These Signs will open the Upgrade Menu
or will simply upgrade your Enchantment if you specify one.
- [Upgrade]
- <Enchantment> (optional)
Required Permission for creating Signs: gems.sign
[Backpack] Signs
These Signs will open up the Backpack Shop
Or will act as a Shop Sign if you specify an amount
of lines in the second line of your Sign.
- [Backpack]
- <Number of lines> (optional)
- soulbound (optional)
Required Permission for creating Signs: backpacks.sign
Configuration

upgrades: DIAMOND_SWORD: ## Specify the Name of your Item here DAMAGE_ALL: ## The Name of your Enchantment base-cost: 3 ## The Amount of Gems it costs to apply increment: 2 ## How many Gems will be added to the Cost per level max: 20 ## The Max Level of that Enchantment gems: starter: 0 ## Whats the start balance for new Players? drop-chance: 10 ## The Chance of dropping a Gem when breaking Blocks unlock-editor: 5 ## The Amount of Gems which is required to open the Upgrade Menu repair-cost: 25 ## The cost of Gems for repairing Items enable-give-command: true ## Specify whether /gems give is enabled enable-withdraw-command: true ## Specify whether /gems withdraw is enabled auto-pickup: false ## Specify whether Gems are automatically added to your Balance or dropped as an Item world-blacklist: ## Those worlds will be excluded from dropping Gems - world_nether - world_the_end sign-prefix: '&7[&aUpgrade&7]' ## Whats the Sign Prefix for the Upgrade Sign? backpacks: sign-prefix: '&7[&9Backpack&7]' ## Whats the Sign Prefix for the Backpack Sign? tiers: '1': enabled: true ## Whether a Backpack with 9 Slots is enabled cost: 100 ## How much it costs '2': enabled: true cost: 250 '3': enabled: true cost: 500 '4': enabled: true cost: 750 '5': enabled: true cost: 1000 '6': enabled: true cost: 2000 soulbound: '1': enabled: true ## Whether a Backpack with 9 Slots is enabled cost: 100 ## How much it costs '2': enabled: true cost: 250 '3': enabled: true cost: 500 '4': enabled: true cost: 750 '5': enabled: true cost: 1000 '6': enabled: true cost: 2000 enchantment-aliases: LOOT_BONUS_BLOCKS: ## Specify some Aliases for the Upgrade signs, so you can use Fortune instead of LOOT_BONUS_BLOCKS - Fortune DAMAGE_ALL: - Sharpness DURABILITY: - Unbreaking DIG_SPEED: - Effciency
Auto-Updater and Metrics

All my Plugins are using an Auto-Updater to make sure, you're always
using the latest and hopefully most bug free version of my Plugin.
If you don't want this Plugin to be auto-updated, you can turn it off
in the config file at "options -> auto-update: true/false"
They also use a Metrics-System which collects the following Informations:
A unique identifier
The server's version of Java
Whether the server is in offline or online mode
The plugin's version
The server's version
The OS version/name and architecture
The core count for the CPU
The number of players online
The Metrics version
Opting out of this service can be done by editing
plugins/Plugin Metrics/config.yml and changing opt-out to true.
-
View User Profile
-
Send Message
Posted Feb 25, 2015@tycriso
... All Minecraft Enchantments are already supported...
Heres a full list:
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html
-
View User Profile
-
Send Message
Posted Feb 25, 2015In the next update, could you add more enchantment upgrades, like:
Protection
Fire Protection
Smite
Looting
Respiration
Feather Falling
Projectile Protection
I wanna let my server use these enchantments, especially so people can upgrade their armour.
-
View User Profile
-
Send Message
Posted Feb 25, 2015@MrEminent42
Exactly. Lines with # are ignored. Youd have to manually read out those lines and write them to the generated file.
-
View User Profile
-
Send Message
Posted Feb 25, 2015@TheBusyBiscuit
Do you have any idea how to add comments?? I thought '#' meant it was to be ignored by Java...
-
View User Profile
-
Send Message
Posted Feb 25, 2015@MrEminent42
Exactly. Configs are meant to be auto updated, anyone who is doing something else is just either lazy or doesnt know any better.
And you can still put in comments, youd just have to add them manual code-wise.
-
View User Profile
-
Send Message
Posted Feb 25, 2015@TheBusyBiscuit
Why? Because it doesn't add the new and updated parts of the Config?
But, then is there a way to put comments in the file?
-
View User Profile
-
Send Message
Posted Feb 25, 2015@MrEminent42
No, and noone should use it. Its just Bad Practice.
-
View User Profile
-
Send Message
Posted Feb 25, 2015@TheBusyBiscuit
Oh you don't use saveDefaultConfig() huh.
-
View User Profile
-
Send Message
Posted Feb 22, 2015@Kebwashere
No. Just make sure you are using the latest Version of EZRanksLite and PrisonGems.
@MrEminent42
No, you should never delete your Config.
-
View User Profile
-
Send Message
Posted Feb 22, 2015@Kebwashere
Not speaking for Cookie, but for most plugins you should always save and delete your config when updating.
-
View User Profile
-
Send Message
Posted Feb 21, 2015@TheBusyBiscuit
Sorry :/
Umm after testing the %gems% in ezranklite, it doesn't seem to be working..
Do I have to delete the config file or something?
-
View User Profile
-
Send Message
Posted Feb 21, 2015@Kebwashere
As I already said a million times ago, be patient.
-
View User Profile
-
Send Message
Posted Feb 21, 2015@mrCookieSlime
Make it so you can make your gems a physical item?? :D
-
View User Profile
-
Send Message
Posted Feb 19, 2015@TheBusyBiscuit
Oh I'm sorry :(
I hope you feel better soon :D
-
View User Profile
-
Send Message
Posted Feb 19, 2015@MrEminent42
Not if you continue bothering me...
I already said Im really sick and it might take a week or more until Im able to do anything.
-
View User Profile
-
Send Message
Posted Feb 19, 2015@TheBusyBiscuit
But can you put in that random breaking I suggested? D:
-
View User Profile
-
Send Message
Posted Feb 18, 2015@winduprabbit123
Not yet.
-
View User Profile
-
Send Message
Posted Feb 18, 2015@TheBusyBiscuit
Is there a way to change this? Because 30 is really high .-.
-
View User Profile
-
Send Message
Posted Feb 18, 2015@winduprabbit123
It requires level 30 to work.
And will increase its radius every 30 levels.
-
View User Profile
-
Send Message
Posted Feb 18, 2015Hello im just wondering why my explosion doenst work? I have the pick enchanted with explosion and it has the sound and everything but no blocks break!