Postal
There is no substitute for personal service.
New
- GPS address plotting and compass navigation, Detailed item shipment.
- New WorldGuard, Towny and Dynmap support. New bulk mailing capability.
Introduction
Postal is a Craftbukkit plugin dependant on Citizens2. It is a messaging system making it possible for Minecraft players to communicate with one another using the book and quill, written book item. These written communications may span worlds. Postal is an animated postal presence that may be added to any Minecraft town, settlement or mailroom. Chests are used as residence mailboxes as well as mail storage in local post offices.
Postal Pages | ||
|---|---|---|
| Getting Started | Permissions | Economy Support |
| Towny Support | WayPoint Editor | System Notes |
| Postal Wiki |
Postal Crew
Citizen2 based NPC’s are the Postal crew. They are the postmen spawned and dispatched by Postal. These NPC postmen walk regular routes in towns serviced by Postal post offices. A central post office connects all of the local post offices by teleporting a NPC worker called the PostMaster from town to town, or world to world. This central NPC continually monitors and moves out of town mail to the appropriate destination. The local NPC postman takes it from there. Pickups and deliveries are done on foot, cheerfully. They know how to open and close doors, and they are a wonder on stairs. They are polite.
Addresses
Postal has a two part address system it uses to plot the location of the mailbox it services, as well as define the post office that services the address. A typical address looks like this:
<PostOffice [Address]>
Postal commands generally accept addresses as one word, or two words. If one word is indicated as an address, it is assumed that the subject is a post office. A two word address is a complete address indicating a specific residential mailbox.
The exceptions to this rule of thumb are commands that imply a residence but accept a two word address specifying the post office. /setaddr is an example of this. Invoked with a one word parameter implies that the one word is an address name and Postal is to choose the post office.
There is no built in limit on how many post offices a server may have. The Postal system typically traverses worlds.
New post offices and addresses are created and deleted on the fly. These addresses and post offices are part of a tightly written, hierarchically-structured database. This database is designed to meet the requirements of a dispatcher bent on getting mail delivered efficiently. The post man likes to walk around the town when there is nothing better to do, but get out of his way if there is mail to pick up or deliver.
Geo-Aware
Postal always knows what post office or address you are close to when invoking commands and will be as helpful as possible to relieve you of name details. This help is contextual in nature which makes it possible to use commands without any parameters simply based on your location. Complimenting this ease of use is a command-confirm system that makes it possible for Postal to safely attempt to complete complicated names with just a few characters. This is because you have an opportunity to confirm the completed command with a single ‘/’. If the command didn’t come out right you can simply try again without confirming.
For Towny users, Postal always knows when it is on Towny soil and will defer to Towny hierarchy. All appropriate Postal commands are Towny aware and try to accommodate what Towny players need when used
Creating Addresses
The geographic awareness built into Postal makes it easy to create new addresses. To define a new address the only parameter required is the name you would like to use since Postal will automatically find the closest post office for you. Designing the route for the postman is even easier because Postal will figure out everything based on where you are standing. On a new address you will be teleported to the servicing post office, the beginning of the route, and given a compass pointing to your address. A modern HUD display is included to provide helpful stats while clicking on waypoints. Once you double click the final waypoint the postman will automatically appear using the route you just defined to initialize your mail box.
Finding Addresses
- / TLIST Short for town-list, will present the player with a formatted, alphabetical list of towns when entered without parameters. The closest 3 towns, in order of distance, are also shown. If entered with enough characters to identify a particular town, the addresses of that town are listed.
- / ALIST Short for address-list, will list the addresses of the closest town when entered without parameters. Like /tlist, it will list the addresses of a particular town if entered with enough characters to identify it. The two commands complement each other including details that the other doesn’t.
- / PLIST Short for player-list, lists the closes 8 players, in order of distance when entered without parameters. Along with the listed player is the Postal address he/she is closest to with the compass heading required to get there. If entered with enough characters to complete a player name, Postal will list any Postal addresses or post offices owned by the player.
- / GPS Lists the closest 8 post offices or addresses with their respective compass headings when entered without parameters. /gps may also be given the name of a post office, or an address pair to set your compass to this location.
- / GO Teleports to Postal locations. The type type of location is determined by the number of parameters entered. Entered with no parameters assumes the central post office. One parameter assumes a local post office or town. Two parameters indicates a full residential address. Complicated names are automatically completed, and full named locations, as completed by Postal, are displayed for confirmation before teleportation. These location types may be secured or require owner permission to use.
- Dynmap Postal uses Dynmap if it is installed. All addresses and post offices are plotted and labeled. The active routes and post man locations are shown in real-time.
Navigation
Your compass is calibrated to line up with the standard, Minecraft coordinate system when listing headings with the above commands. These are the same compass directions shown when pressing [F3]. So, with your calibrated compass and the distance and heading combination from the list, you have what you need to navigate to it. This is the way compasses are normally used outside of Minecraft. The benefit of navigating to a destination is that you remain aware of where you are in relation to all the listed destinations, as well as other distance and heading destinations received from other plugins ie: GPS, Pplot and gpsTowny.
Mail and Shipping
Postal letters are based on the written book item. This book will handle up to 50 pages of written correspondence. Item shipping is done with single chests. The two commands used for this have the built-in address finding and completing capabilities described above. Indicating desired addresses is done with the minimum amount of typing. The two commands are: /addr <PO [Address]> and /package <PO [Address]>
On servers that have economy turned on, both of these commands tell you the price of the postage or shipping and give you a chance to confirm it.
Once addressed, letters may be put in any accessible Postal mailbox, and Postal will take it from there. Shipments involve the creation of a shipping label which may be mailed like any letter. Once packaged, the shipment is sign-sealed and indestructible until the post man picks up the shipping label. The post man removes the chest at that point for transport to the recipient.
The recipient of a shipment may refuse the shipment. If refused, the shipment is returned to the sender.
Mass mailings sent to entire towns, even worlds are available to administrators, Towny mayors and post office owners. The /distr command facilitates this.
Capacity Management
Full mail boxes are managed. If the chest is full, the postman will delete the oldest junk mail if he finds one. If that doesn't create the room he needs, he will look for a non-book to delete. If unable to find room in a mailbox, the postman will continue trying to deliver until successful. Mail is otherwise held at the local post office.
Bulk distributions available to post office owners, Towny mayors, and administrators are sent with an expiration date. Regular information mailings therefore do not back up and become undesired clutter
Dispatcher
The NPC dispatcher provides regular coverage and route-walking, oldest next. This dispatcher is also preemptive in that it recognizes mail waiting to be delivered or picked up. The dispatcher manages the route walking schedule to favor actual mail movement over route-walking, or postal presence. Both the post men and the PostMaster are preemptively dispatched to keep the mail moving efficiently.
Chunk Manager
Postal has a chunk manager that monitors chunks required for postal routes. These chunks are automatically loaded and kept loaded. This makes it possible for NPC's to continue doing their job when there is no player in sight. NPC's have a tendency to go to sleep when no player is around. This chunk manager also facilitates the control of spawning monsters on Postal routes. There is a switch in the config file that controls this. By default, Postal routes are kept monster free.
WatchDog
Postal has an evolved watchdog, monitoring system. The Postal workers are vigilantly monitored. It is capable of respawning a NPC worker if something happens to it. It can restart itself if needed. Mail is always backed up. A Server crash or NPC griefing should not result in lost mail. The Citizens NPC’s are pretty reliable on their own.
General Notes
The Bukkit versioning that started early December 2012, applies to all plugins that go outside the Bukkit api to reach the Minecraft api. This started with 145.R1, the first recommended build for 145.
Coincidently, and the cause for much confusion here, The Bukkit api was expanded to include dealing with Book and Quill items. Pre 145.R1 Postal does go beyond the Bukkit api to deal with written books because it has to. Post 145.Ri uses the Bukkit api instead and is therefore exempt from the Bukkit versioning restrictions.
There are only two versions of Postal, delineated by an api improvement not a versioning requirement.
Citizens2 Note: At Citizens build 762 the NPCs underwent navigational, speed refinement. As this relates to Postal there is a modest speed change. It causes the NPCs to move a little slower. It can trigger watchdog activity by Postal since the NPCs don't seem to be on schedule. The fix is simple. Just change the Speed setting in 'Config.yml' from 1.0 to 1.2
Videos
YouTube Getting Started by Hmmcrunchy
-
View User Profile
-
Send Message
Posted Apr 20, 2013@wgoff194
I assume the first postoffice was working ok? If so, how about deleting the second post office with /deletelocal <town> and doing it again? The problem is probably in how you did /setroute on the second postoffice. This route design establishes where the postman expects to find the address chest as well as the po chest. The /setlocal should be set within a few blocks of the po chest as well.
-
View User Profile
-
Send Message
Posted Apr 20, 2013I tried to set a second local post office like the first did the commands like before it took them set a chest near but when I start up it says no chest in post office and same at The address i created. the post man pops up but just walks back And forth
-
View User Profile
-
Send Message
Posted Apr 20, 2013Looks awesome, can't believe I hadn't heard of this before today. Ill be testing it out on my main server tonight, looks like it works fine otherwise though.
I really love adding hardcore rpg plugins/mods like this to my server so I am REALLY glad I found this.
-
View User Profile
-
Send Message
Posted Apr 13, 2013@mcfacilitator
Thank you! Awesome to see quickly-fixing developers on Bukkit. I'll install it shortly and make sure it works well.
E: If you or another user who's very familiar with Postal add to the Wiki? It's pretty empty. The Sentries wiki for Citizens was extremely helpful, I'm sure a Postal wiki would be just as helpful.
-
View User Profile
-
Send Message
Posted Apr 12, 2013I put up a plugin SuperUser and it has been recently Bukkit approved. I think it is a nice fit for creative type servers and makes it possible to consider op'ing all the players since it can be done safely. Speaking for myself, this plugin makes it possible for me to relax a little more since the server will watch and deal with those kids weilding tnt with worldedit commands.
Besides, it takes the nerves of a successful Postal installer to consider it.
-
View User Profile
-
Send Message
Posted Apr 12, 2013@Angleo5678
No need to feel special, I figured out why Postal users are picking the wrong version so often. See my comment down a few messages. I wish that had dawned me a while ago. This stuff is hard enough to get to work as it is. I consider Postal and Citizens one of the more challenging plugin systems to implement and my hat is off to all those that have taken the plunge and made it work.
It has been over a year for me and it still amazes me as to how reliable these digital people are in general, once the system is in place. There is so much going on, mechanically. There is so much that can go wrong, but it doesn't.
Anyway, glad you got it going.
-
View User Profile
-
Send Message
Posted Apr 12, 2013@mcfacilitator
Ah! Duhhh I'm dumb. xD working fine, great mod man.
-
View User Profile
-
Send Message
Posted Apr 12, 2013@Shadix64
Your timing is perfect. See the message just below yours. You are running the version of Postal for earlier Bukkit releases. Try this one:
Postal for 151
-
View User Profile
-
Send Message
Posted Apr 11, 2013I've got the latest Citizens, Bukkit, and Postal. When I try typing in an address for either a package or letter (like /addr Hammervale TrainStation Taclys), it pops up Internal Error. On the console:
Am I doing something wrong? Thanks
-
View User Profile
-
Send Message
Posted Apr 11, 2013I think I finally figured out why the wrong version of Postal is selected as often as it is. My development takes place on current Bukkit. When I am ready to cut new relases, the one that is always ready first is the latest, Bukkit release, so it goes up first. Then I do a cut for 145 and earlier Bukkkits. It generaly follows a half day later. The point is that it is always the last to be uploaded, so it is alwayys at the top of the list. That is counter intuitive. I think we normally expect the most recent association to be at the top. IE: I have the latest Bukkiit from the top of the list, I'll get the latest Postal at the top. I get it.
I will make an attempt to put the cut for the most recent at the top from now on and I hope I don't screw up folks that are used to the way it has been. Btw, I will eventually be able to get by with just one build. But that won't happen anytime soon because the download numbers indicate twice as many Postal users are using earlier Bukkit versions. Either that, or the wrong version is downloaded first, then the right version :-) We will seee next Postal cut.
-
View User Profile
-
Send Message
Posted Apr 11, 2013@mcfacilitator
That sounds pretty cool!
Yeah Denizen is pretty neat. I'm working on more than npc control though, im making new items and world mechanics. As soon as hes fixed the player move events and some other events and variables im probably going to replace bspace with a scriptof my own devising.
Already worked out how to make a helm thats a metal helm in your hand (with names and lore of course) but when you wear it, it turns into a glass block and back again when you take it off.
-
View User Profile
-
Send Message
Posted Apr 11, 2013@Etsija
An op or player with postal.admin privilrges can enter '/postal admin' to quietly open a 60 second window where anyone may destroy it.
-
View User Profile
-
Send Message
Posted Apr 10, 2013Upon moving from 2.76 to version 2.93, Postal has left an indestructible chest in front of our central mail office. The chest has the following sign on it:
[Postal_Ship] Name of my addresse's local post office My nickname Nickname of the sender
I have received the parcel of this shipping to my home address and done /accept -> upon doing so, I did receive the shipment like supposed to.
But the plugin has left this "ghost chest" in front of the CENTRAL mail office, and I can currently not get rid of the chest.
What should I do?
-
View User Profile
-
Send Message
Posted Apr 10, 2013@morlanius
Oh, it is comming along. I have collected what I believe is enough Towny api info. I have the new item shipping design as you well know. I think you are right about skipping the shipping of written books for right now.
I have a mySQL based player control plugin that is almost ready to put up, and I think some servers need it. Mine sure does. It has admin control higher than op, called SuperUser. All players ops, or not, may be subject to permission, by player, independant of the normal permission system. IE fly, WE commands, gamemode, tnt, lave... In fact, under this system everyone can be op, but still subject to what they are allowed to do by the plugin. The beauty of the system is that it warns the player when guilty of a breeach ie: trespass, harm, damage, felony...., and tells the player how many warnings they have recieved. I it moves the player to what is called the guest area if iwarnings are ignored, and eventually tarpits them in the guest area where they can't do much and only have access to a delayed command that only reaches any supers that might be online. The guest status is removed after 24 hours, and the griefers may come on and get kicked off again. I love this because I don't have to do a thing. And the players recieve warnings, usually over 10. The system did it - sorry.
It directly uses both the logblog and pex api's. When a player gets kicked off, everything he/she (she? - not really) is rolled back. In fact saving work, or the effects of tnt explosions are just two more player settings under this plugin. I haven't forgotten about Postal. Anything I can do to automatically protect my server will give me more time for Postal.
I originally set out to create Postal using Denizen scripting. That is an engaging niche and has a lot of depth for npc control.
-
View User Profile
-
Send Message
Posted Apr 10, 2013hi, hows the changes coming along? ive been learning denizen scripting thought i would pop onto ya thread and see how things are going fro ya.
m
-
View User Profile
-
Send Message
Posted Apr 10, 2013@Angleo5678
You are running the wrong version of Postal. Try this:
Postal for 151
-
View User Profile
-
Send Message
Posted Apr 10, 2013@mcfacilitator
It also crashed my server a few times. Here is the crash report.
http://pastebin.com/zkUfnGjc
-
View User Profile
-
Send Message
Posted Apr 10, 2013@mcfacilitator
http://pastebin.com/bDr7xVuJ
-
View User Profile
-
Send Message
Posted Apr 8, 2013<<reply 1401585="">>
How about a pastebin Ageloe5678?
-
View User Profile
-
Send Message
Posted Apr 8, 2013<<reply 1401582="">>
Glad to hear you got it going.