Prison Pearl
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.
CivChat: CivChat is a mod that used citadel groups to have group chats.
JukeAlert: A plugin that creates snitches and helps player's identify grief done by another player.
Expensive Beacons: A plugin that makes beacons expensive to use but limits the effects to citadel groups and a longer range.
Name Layer: A plugin that controls uuids and player names.
Better Associations: is a plugin that associates players. Has built in support for PrisonPearl and provides useful other services for managing player accounts.
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.
-
View User Profile
-
Send Message
Posted May 21, 2013@Zephedge If you use Combat-Tag with PrisonPearl, a custom version of Combat-Tag is required. If you don't use Combat-Tag, don't worry about it as PrisonPearl will work fine.
-
View User Profile
-
Send Message
Posted May 18, 2013I'm interested in using this and combat tag at the same time. However, your known issues lists:
"If Combat-Tag is used, a custom version is required."
I'm confused as to if this means that a custom version of Combat-Tag is required, or a custom version of Prison Pearl is required. In either case, I would appreciate some information on how to get this bridged version of whichever plugin. Thanks in advance.
-
View User Profile
-
Send Message
Posted May 6, 2013When the update?
-
View User Profile
-
Send Message
Posted Apr 9, 2013@Mowstyl
new update soon with that.
-
View User Profile
-
Send Message
Posted Apr 7, 2013@Mowstyl
Not at the moment. It's interesting though so I filed an issue.
-
View User Profile
-
Send Message
Posted Apr 6, 2013¿Is there any permission to make that only a certain group can imprison a player in a pearl? I have a server and i want only the Police group can do that. Thanks.
-
View User Profile
-
Send Message
Posted Apr 2, 2013New update soon with pearls having an enchanted feature to them.
Also players who are pearled and dont log on in x amount of time will not use any feed when ppfeed is activated.
-
View User Profile
-
Send Message
Posted Apr 2, 2013@Intangir
There's some extra functions and a new event to handle the pearl drop when an NPC despawns. Edit: And it doesn't have Heroes or Warzone integration.
-
View User Profile
-
Send Message
Posted Apr 1, 2013you dont actually need a custom version of combat tag
just config combat tag to name the dummy 'player' (and it uses the player name)
-
View User Profile
-
Send Message
Posted Apr 1, 2013Where can i get the custom version of combat tag?
-
View User Profile
-
Send Message
Posted Mar 31, 2013@PappaSmurf80918
Create a blank file named alts.txt under your MineCraft server's plugins\PrisonPearl directory.
-
View User Profile
-
Send Message
Posted Mar 30, 2013Hello
Could you look into the following error that I am getting.
Mark
2013-03-31 00:47:28 [INFO] [PrisonPearl] Enabling PrisonPearl v1.5.9 2013-03-31 00:47:28 [SEVERE] java.io.FileNotFoundException: plugins\PrisonPearl\alts.txt (The system cannot find the file specified) 2013-03-31 00:47:28 [SEVERE] at java.io.FileInputStream.open(Native Method) 2013-03-31 00:47:28 [SEVERE] at java.io.FileInputStream.<init>(Unknown Source) 2013-03-31 00:47:28 [SEVERE] at com.untamedears.PrisonPearl.AltsList.loadAlts(AltsList.java:34) 2013-03-31 00:47:28 [SEVERE] at com.untamedears.PrisonPearl.AltsList.load(AltsList.java:22) 2013-03-31 00:47:28 [SEVERE] at com.untamedears.PrisonPearl.PrisonPearlPlugin.loadAlts(PrisonPearlPlugin.java:583) 2013-03-31 00:47:28 [SEVERE] at com.untamedears.PrisonPearl.PrisonPearlPlugin.onEnable(PrisonPearlPlugin.java:90) 2013-03-31 00:47:28 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) 2013-03-31 00:47:28 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) 2013-03-31 00:47:28 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 2013-03-31 00:47:28 [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugin(CraftServer.java:282) 2013-03-31 00:47:28 [SEVERE] at org.bukkit.craftbukkit.v1_5_R2.CraftServer.enablePlugins(CraftServer.java:264) 2013-03-31 00:47:28 [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.j(MinecraftServer.java:301) 2013-03-31 00:47:28 [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.e(MinecraftServer.java:280) 2013-03-31 00:47:28 [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.a(MinecraftServer.java:240) 2013-03-31 00:47:28 [SEVERE] at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:150) 2013-03-31 00:47:28 [SEVERE] at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:379) 2013-03-31 00:47:28 [SEVERE] at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) 2013-03-31 00:47:28 [INFO] Failed to load file! 2013-03-31 00:47:28 [INFO] [PrisonPearl] checked 0 accounts, banned 0 accounts, unbanned 0 accounts
-
View User Profile
-
Send Message
Posted Mar 25, 2013@Erocss
Ok I will try
-
View User Profile
-
Send Message
Posted Mar 25, 2013nice, this would make an epic prison plugin with citizens lol equip it with a citizen and BAM stuck in that area haha.
-
View User Profile
-
Send Message
Posted Mar 24, 2013@BlitzZer0
Just to clarify, this is when /pptoggledamage sets the prisoner to be able to deal damage, the prisoner still can't damage the jailor, correct? The alternative is to just use /pptoggledamage to completely disable the prisoner's damage ability.
-
View User Profile
-
Send Message
Posted Mar 24, 2013Can you add a command that removes the slaves ability to attack the owner?
-
View User Profile
-
Send Message
Posted Mar 22, 2013Looks like an interesting plugin! I am definately going to try this out.
-
View User Profile
-
Send Message
Posted Mar 21, 2013@PappaSmurf80918
Wonderfully enough, with 1.5.1 they've rev'd the internal version to v1_5_R2. PrisonPearl.1_5_0.v1_5_7 is compiled for v1_5_R1 which is Craftbukkit builds #2645 through #2689.
An updated version will be available when it's approved.
-
View User Profile
-
Send Message
Posted Mar 21, 2013Hello
Just downloaded the current release of CraftBukkit Build #2699 and Your current release of PrisonPearl v1.5.7 and received the following errors in the system log.
PappsSmurf80918
2013-03-21 20:53:46 [SEVERE] Error occurred while enabling PrisonPearl v1.5.7 (Is it up to date?) java.lang.NoClassDefFoundError: net/minecraft/server/v1_5_R1/World at com.untamedears.PrisonPearl.PrisonPearlPlugin.onEnable(PrisonPearlPlugin.java:82) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_5_R2.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_5_R2.MinecraftServer.j(MinecraftServer.java:303) at net.minecraft.server.v1_5_R2.MinecraftServer.e(MinecraftServer.java:282) at net.minecraft.server.v1_5_R2.MinecraftServer.a(MinecraftServer.java:242) at net.minecraft.server.v1_5_R2.DedicatedServer.init(DedicatedServer.java:150) at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:381) at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573) Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_5_R1.World at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 12 more
-
View User Profile
-
Send Message
Posted Mar 20, 2013@crore
Added a Permisisons page above.