Description
PrisonPearl allows players to imprison and control other players through the use of ender pearls. If you kill a player with an ender pearl in your possession, the pearl is converted to a prison pearl, and the player is imprisoned in the end. You must then secure the pearl from anyone who might wish to free the evildoer. You can also elect to use your prisoner as slave, by holding his pearl and summoning him from the end. He is bound to the pearl, and will die and return to the end if he attempts to flee.
Imprisoning
Players are imprisoned when they die and have taken sufficient (configurable) damage from a player who has one or more ender pearls placed in his hotbar. The person who dealt the most damage to the player gets one pearl converted into a prison pearl. If a player stops taking damage for a configurable a period of time, his damage log is reset and he will not be imprisoned if he dies.
Securing pearls
A pearl is only secure when placed in an inventory block, such as a chest or dispenser. A prison pearl in a players inventory will be freed if that player logs out. A prison pearl left on the ground will be freed if it despawns, or if the chunk containing it is unloaded. A burned or laved prison pearl will also be freed. Also Pearls will need to be stored with the food item the admins have selected for the server. You will have to place the food item in the chest along with the pearls.
Freeing players
To free a player, simply throw his prison pearl, or use the ppfree command with the pearl in your inventory. If the player is online and free_tppearl is set to true, the player will be teleported to your location. If not, he will be respawned normally in the overworld.
Using slave labor
Use the ppsummon command with a pearl in your inventory to summon that player back to the real world. This player can do anything as he pleases, but if he travels a configurable distance from the pearl he will begin to take damage. You can place the pearl in the chest if you think it is secure enough to prevent the prisoner from freeing himself. If he dies for any reason, he will be respawned in the end. You can reward your slave by using the ppreturn command, which sends him back to the end where he was with his inventory intact. A bad slave can instead be punished by using the ppkill command, which will put him back at the end spawn with no inventory.
Be careful not to allow your slaves to come in to contact with other people, because they could be stolen! Simply re-imprison an enslaved player to obtain their prison pearl, and use them for your own needs or free them on the spot.
Rescue missions
An imprisoned player can at any time locate his pearl with the pplocate command. Any interested parties can then attempt to break in to the pearls storage location to free it.
Commands
All commands operate on the pearl in your hand. You can also use a command on a pearl in your inventory by supplying the name of that pearl.
- /ppl or /pplocate locates a prisoner's prison pearl
- /ppf or /ppfree [player] frees the pearl
- /pps or /ppsummon [player] summons a prisoner
- /ppr or /ppreturn [player] returns a prisoner to the end, inventory intact
- /ppk or /ppkill [player] instantly kills a prisoner, sending them to the end with no inventory
- /ppb or /ppbroadcast player broadcast your pplocates to the given player automatically.
- /ppi or /ppinfo [player] tells you the pearl's damage value and the location/status of the player in the pearl. This can be used to set up shops or other mechanisms which require the damage value of an item.
- /ppsetdist [player] Sets distance prisoner can move.
- /ppsetdamage: Sets damage prisoner receives.
- /pptogglespeech: Toggles whether prisoner can talk in public chat.
- /pptoggledamage: Toggles whether prisoner can damage players and mobs.
- /pptoggleblocks: Toggles whether prisoner can break blocks.
- /ppsetmotd: Sets prisoner's MOTD.
Op commands
- /pplocateany player will locate player's pearl
- /ppfreeany player will free any player
- /ppsave will cause PrisonPearl to save its data to the disk
- /ppimprisonany player will imprison any player.
- /ppf activates the feed command.
Configuration options
- free_world is the name of the world a player will be teleported he's freed and has no bed (or if prison_resetbed).
- free_respawn causes players to be killed (allowing them to respawn) instead of teleporting them to the free_world's spawn, which allows respawn altering plugins to kick in.
- free_tppearl when an online player is free, teleport the player to the pearl instead of free_world
- damagelog_min minimum amount of damage a player must inflict before he will be considered a candidate for imprisoning a player.
- damagelog_ticks causes damage logs on a player to expire after he goes this many ticks unharmed.
- ppkill_enabled allows the ppkill command to be used when true.
- prison_stealing allows prisoners to be reimprisoned by another player when summoned.
- prison_musthotbar requires players to hold an ender pearl in their hot bar when they wish to imprison someone.
- summon_damage_radius is the distance a summoned player can travel from his pearl before taking damage.
- summon_damage_ticks is the amount of ticks between damage inflicted to a summoned player.
- summon_damage_amt is the amount of damage inflicted to a summoned player.
- prison_world is the world players are teleported/respawned in when players are imprisoned.
- prison_resetbed causes all imprisoned players to lose their current set bed location.
- prison_motd is a list of strings which are sent to players whenever the teleport or respawn in prison.
- prison_grant_perms is a list of permissions granted to an imprisoned player.
- prison_deny_perms is a list of permissions denied to an imprisoned player.
- save_ticks is the amount of ticks between prisonpearl saving data to its text files.
- upkeep: resource: (item wanted to keep prisoners pearled. Quantity: amount needed.
Permissions
Source Code
Have something you want to contribute to Prison Pearl? Here is the Source Code.
Recommended Plugins
Citadel: Is a plugin that allows players to protect anything they have with either stone (25 breaks), iron (250 breaks), or Diamond (1800 breaks). This plugin combined with Prison Pearl gives the players a chance to be freed by another player once they are in the end.
Civcraft
PrisonPearl was designed and customized for Civcraft (ip= untamedears.com) as a way to allow players be able to take into their own hands the capturing of griefers or other players. The subreddit for this server is http://www.reddit.com/r/Civcraft/
The Civcraft Description.
Facts
- Date created
- Oct 02, 2012
- Categories
- Last update
- Mar 04, 2014
- Development stage
- Release
- Language
- enUS
- License
- Open Source
- Curse link
- Prison Pearl
- Downloads
- 4,943
- Recent files
- R: PrisonPearl_1_7_2 for CB 1.7.2-R0.3 Mar 04, 2014
- R: PrisonPearl.1_6_4_R3.v1_7_0 for 1.6.4 Oct 10, 2013
- R: PrisonPearl.1_6_2_R2.v1_7_0 for CB 1.6.2-R0.1 Aug 08, 2013
- R: PrisonPearl.1_5_2_R3.v1_6_18 for CB 1.5.2-R1.0 Jul 31, 2013
- R: PrisonPearl.1_5_2_R3.v1_6_6 for CB 1.5.2-R0.1 May 31, 2013
Is this plugin going to be ready for the whole "UUID" nonsense they're going to be doing in 1.8?
This plugin is completely broken.
Can you update to 1.7?
http://tnngaming.altervista.org/ TNN Gaming
@hardy045: Go
For the hub why arent they going to the last place they were when they exited the world?
For the mutli inventories the imprisoned player just has to do /ppl and they will be freed.
@rourke750: Go
They spawn in a hub, with portals leading to differen't games, or they can type /hub to bring up a menu to teleport to given games after 5 seconds. When they get pearled they get sent to the end, but if they hub they can just go back to the civcraft world, could you make it so the plugin detects if they're pearled in that given world and then it resends them to the end?
Another problem I face is that I'm using multiverse inventories, so in the civcraft world you have differen't items than in the faction world, so people don't mix economies and the problem is when they leave the world with the pearl in their inventory, it doesn't free the prisoner
@hardy045: Go
How do they get to the hub? Is it via a command in the end or something else?
Is there anyway to have multi world support for this? I have a hub on my server with factions and I want to have a civcraft type server as well, but everytime someone gets pearled they can go to the hub and just go through the portal back into the civcraft world. Is there a configuration where if they're pearled then when they enter the world they automatically go back to the end?
@Adkkid: Go
I'm actually in the process of updating prison pearl to work with another mod I made. Ill quickly add this in too.
This plugin looks really promising. However, unless I am missing something, I have a request for you, Erocss.
On my server, I had planned to have this as a sort of extra punishment for griefing- If someone griefed something important, we could demote them to a secondary rank, limiting some commands, but more importantly, allowing them to be captured. I checked the list of permission nodes, and the only one allows people to capture others. I honestly dont trust my players to use it against the griefers only, so this kind of causes a problem for us. Is there some separate permission node that I can use to set it so only certain people can be captured, that I simply just missed? If not, do you think it would be possible to code that in? I really hate to ask for things in a plugin, since I know you put so much work into it already, and I dont want to be a pain. Anyways, this plugin is BRILLIANT, I cant believe that you had come up with it and still maintain it. Thanks for reading this.
@cosmicsquirrels: Go
I'll look into it, it might be how they do their permissions. You could also look into command blocks and have it check if the player is pearled and if they are remove their permissions.