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.
@MrEminent42
No.
@TheBusyBiscuit
Hinting at my explosive idea once more...
An alternative may be that you could make it configurable? Something like:
Either way I think a lot of people would enjoy either of these features (or even both) way more than the current.
@Firehawk155
1) Probably not.
2) Thats a config option, its called autopickup
3) Thats not a Bug, Explosive just works that way, every 30 Levels your Radius grows by one. Blame the Community for requesting that...
I want to suggest a few things for the plugin and i dont expect it to be added either way.
A command showing the top players with the most amount of gems earned and a way to get gems automatically added to your balance without having to pick it up.
Also a thing alot of my players were talking about was for some reason explosive doesnt work until you upgrade it to a very high enchantment level (i think it i 30 or something) then it starts to create a small explosion Im not sure if it just my server where this is happening.
Anyways thank you for creating a great plugin :)
I remember this! You made this for my server <3 JailOutMC i am starting a new server and may use again!
@ProjectHyrule @IlPoeta05
The Signs will be fixed in the next Version, just give me a few days I have a lot to do family-wise at the moment.
@IlPoeta05 No I wont change the command, you can use CommandOverride for that though, link is in my Signature.
@MrEminent42
1. Sure
2. Maybe, if I will then probably a blacklist.
Could you possibly add 2 things:
Can u change the command for repair items? Because i have mcMMO plugin and when someone does /repair it goes into the mcMMO repair page and not repair items...
And yes, the last version break the Upgrade and Backpacks signs.. I have make a downgrade and signs go well. Hope u will fix it soon :D!
So not entirely sure what the issue is, but our backpack signs just randomly stopped working. If players right click the signs, nothing happens. If i create a new sign for purchasing backpacks, it registers i made a sign, but noone can use em. There has been no plugin/permission changes done at all, so not sure what happened (double checked that). Issue started about a hour ago, restart and recreating the signs did nothing.
EDIT:
Your latest version somehow breaks the sign. Saw i had auto update enabled, and it downloaded your version from the 20th. In that version the signs are broken. Downgraded to rpevious version and it works.
@IlPoeta05
And 1 is the lowest, you cannot have decimal Values
Double-check the Enchantments you added, might be a typo.
And no it is not per-say, but you can trade the Gems in Item form for other Items.
@Blazing_Bomb
Check the config. Theres a setting called auto-pickup
@Blazing_Bomb
???
Also could you make it to where we have the option to choose what we sell for these "gems"
Is it possbily to where you can have a option in the config to make it automaticly go in your balance?
I have some questions...
I put the gems drop rate to 1 in the config file, is 1 the low value that u can put or you can also put, for example, 0.1?
When i tried the plugin some days ago the [Upgrade] signs went well, now it doesn't go anymore and idk why... Do u have any solutions? The only thing that i made was of add more enchants to the config of the [Upgrade] and set the [Backpacks] signs to false. After do this it went well but after 2 hours not anymore.
Is there a method to make automatic shops with the gems? For example buying an Item and pay with gems?
Last thing is that the whitelist for the blocks would be great, make it :D!
@TheBusyBiscuit
A whitelist would be a great help. I see no reason for them to get gems from breaking signs and stuff. I also have turned down the drop rate to 1 as i want to use this for special commands instead of using money. It seems that money can get out of hand easily. Thanks
@Killeradam102
Ask someone else about the kits, not going to explain it to you as it is unrelated.
And the Signs are working...
@TheBusyBiscuit
Sorry a Noob at this but how do i add Gem items to essentials kits
And i found a bug. You cant use the upgrade signs or backpack signs, Console doesnt show any errors
@cstalker_dude
No and no.
I could add a Whitelist if you want.
But Gems will continue to drop from Player placed Blocks.
Hi there again. I just read thru 15 pages and didn't see this question.Is there a way to make gems not drop from player placed blocks? Also limit the drops to just stones, ores, and logs?
thanks again for your work on all these plugins.
@Killeradam102
You can use /gems withdraw to get its Item Version. You can use that for Kits, Shops etc...
@TheBusyBiscuit
Hello I love the plugin because it is very simple to use. But there is 1 thing that i am not sure of on how to do. Is there a way to add gems into kits or any other alternative way?
Thanks for the excellent plugins :)