matthewbot / prisonpearl Goto Github PK
View Code? Open in Web Editor NEWMinecraft plugin for civcraft which allows players to imprison other players inside ender pearls
Minecraft plugin for civcraft which allows players to imprison other players inside ender pearls
PrisonPearl pp = pearls.newPearl(imprisoned, imprisoner); // create the prison pearl
this will fail if the inventory is full
you should check and tell the user.
PrisonPearl teleports the player upon login or respawn if they're in the incorrect world (such as when they're first imprisoned, or if they're free'd while offline). But RandomSpawn then much later gives a teleport of its own, back to the real world. Need to figure out a way to prevent RandomSpawn from teleporting players which are imprisoned, but allow it to take over on normal players.
Placing an active prison pearl within a Hopper will treat it as though nobody is carrying it but the pearl will still remain within the container.
Upon typing /pplocate, the prisoner will be freed but the prison pearl will remain behind complete with description. Example: I pearl JoeSchmoe and put his pearl within a hopper. He types /pplocate and is released. His pearl is still within the hopper, completely with description on the pearl. (JoeSchmoe contained within this pearl). I pearl him again and repeat my mistake. He does the same and another pearl is within the chest with his name and all. The pearls that are left behind cannot be used by the PrisonPearl system, as the prisoner is free. Or used as a regular pearl.
In the last couple week I have only captured 2 people of any value and have stored both in my own person vault that no one else has access to. Somehow, both have come to be free with no one ever even walking near my vault.
evidence: http://puu.sh/1MMEs
I am completely baffled as to how this has happened seeing as both were tucked away safetly and I never went back to visit them. Then, all of the sudden they are released directly at the vault....
I travelled to The End through a stronghold portal, killed some endermen, acquired some ender pearls.
I then logged out.
When I logged back in I instantly died and received the message "While away, you were freed!".
I had not been combat tagged or attacked by any players prior to logging out.
Placing a pearl within a Trapped Chest will display to the user, "Pearl put in Unknown box"
My suggestion would be to label it as a regular chest, just in case the jailer wants to set a trap.
if you drop a pearl and someone else picks it up, by the time you drop it, it seems like the code simply BLEH and releases the prisoner.
if you look at the code here:
https://github.com/shiinee/Combat-Tag
when an imprisoner kills an NPC that is a stand-in for a player, the imprisoner, your code does not trigger imprisonment. ideally, it should trigger, attempt to obtain the user name of the person that the stand-in represents, look up the user, and imprison that. For that, we need to cooperate, such that we set a flag on the NPC in question, telling the user name of the person it stands in for. And I have no fucking idea how to do that. I hope you can help me with that!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.