tulonsae / tombstone Goto Github PK
View Code? Open in Web Editor NEWThis project forked from drakiaxyz/tombstone
Tombstone/Deadmans Chest plugin for Bukkit
License: GNU General Public License v3.0
This project forked from drakiaxyz/tombstone
Tombstone/Deadmans Chest plugin for Bukkit
License: GNU General Public License v3.0
============= Description ============= Tombstone - A deadman's chest plugin Save your players' inventory from disappearing when they die. I used Deadmans Chest in hMod and thought it was a great plugin, so I started my own version for Bukkit. Download (Direct JAR): http://thedgtl.net/bukkit/Tombstone.jar Source: https://github.com/TheDgtl/Tombstone ============= Features ============= If the player is carrying a chest when they die, place that chest and fill it with as much of their inventory as possible If the player is allowed, and is carrying two chests, a large chest will spawn to catch all of their inventory Possible for specific groups/players to be given free chests with no need to carry one with them Any items that won't fit in the chest will still drop to the ground! Supports the Permissions plugin, will default to allowing everyone to use basic tombstone if not available Supports LWC for chest AND sign protection if it is installed Configurable timeout for LWC unprotection Configurable timeout for destruction of tombstones, works in unloaded chunks as well Quickloot support, right click the sign on a tombstone to loot all items in it (Your tombstone only!) Place a sign on top of the chest stating the players name and time of death The ability to point your compass at your tombstones! (Broken in 1.4) ============= Permissions ============= tombstone.use - Allow the player/group to use the tombstone mod tombstone.freechest - Allow the player to get a chest whether they are carrying a chest or not tombstone.large - Allow the player to spawn a large chest if carrying two chests and if one will fit tombstone.lwc - Protect the placed chest if LWC is enabled tombstone.sign - Whether the player gets a sign on their tombstone chest tombstone.freesign - Allow the player to get a free sign whether they are carrying one or not. tombstone.quickloot - Whether to allow a player/group to quickloot by right clicking the tombstone sign. tombstone.admin - Allow this user to destroy other peoples tombstones. tombstone.cmd.tomblist - Allow this user to use /tomblist tombstone.cmd.tombfind - Allow this user to use /tombfind tombstone.cmd.tombreset - Allow this user to use /tombreset ============= Config ============= lwcEnable - Whether to use LWC if available lwcRemove - Whether to remove LWC after a specific timeout lwcPublic - Set to true to set LWC protection to Public instead or removing lwcTimeout - How long to wait before disabling LWC on a tombstone tombSign - Whether to place a sign on the tombstone removeTime - How long to wait before destroying a tombstone tombRemove - Whether or not to destroy a tombstone after a timeout playerMessage - Whether or not to show messages to the player saveTombList - Whether to save a list of tombstones between server reloads destroyQuickLoot - Set to true to destroy the chest/sign on quickloot noDestroy - Set to true to disallow any player from destroying a tombstone (Other than quickloot) noInterfere - Set whether or not to stop tombstone creation next to existing chests (Default true) skipBuildCheck - Set whether to skip the blockPlace check (True to bypass region protection) (Default false) logEvents - Whether to print some "useful" information to the server terminal. ============= Sign Template ============= The sign template is stored in plugins/Tombstone/sign.tpl The following variables are able to be used in the sign template: {name} - The players name {cause} - The cause of their death, or their killers name if it was a player {date} - The date of their death {time} - The time of their death The sign template is 4 lines correlating to the 4 lines of the sign. The maximum length of a line is 15 characters. The default sign template is as follows: {name} Killed By {cause} {time} ============= Commands ============= /tomblist - List all of your tombstones /tombfind <TombID> - Points your compass at the specified tombstone /tombreset - Points your compass back to the world spawn ============= Changes ============= [Version 1.3.7] - Updated config handling - Updated event handling - Updated LWC handling [Version 1.3.6] - Added 'skipBuildCheck' option [Version 1.3.5] - Fixed accidental clearing of /tomblist on quickloot - Added SuperPerms support - Do a build permission check so we don't spawn a chest in protected areas [Version 1.3.2] - Apparently LWC 3.30 had a change in API that wasn't documented, yay [Version 1.3.1] - Recompiled with LWC 3.30 [Version 1.3.0] - Added sign template - Tombstone no longer created in void death - Re-enabled the compass for /tombfind [Version 1.2.9] - Fixed free double chests - Made freechest/freesign default to isOp() without permissions [Version 1.2.8] - Added logEvent option for debug purposes. - Do a 3x3 check for a block to place chest. [Version 1.2.7] - Check properly if we're placing a big chest for interference [Version 1.2.6] - Fix long username crash [Version 1.2.5] - Option to bail on tombstone creation if it will interfere with another chest. - Check tombstone stuff more often (Every 100 ticks (5 seconds)) [Version 1.2.4] - Fixed sign drop bug when destroying with timeout. [Version 1.2.3] - Fixed a bug in /tombfind with invalid input [Version 1.2.2] - Moved playerInteract to Highest priority since we remove a block. - Added check to make sure the tombstone is a chest before we doing anything. - Other general checks [Version 1.2.1] - Made /tombfind command atleast somewhat useful. [Version 1.2.0] - Added compass commands. [Version 1.1.8] - Right-clicking a chest will quickloot/destroy if you have noDestroy/destroyQuickLoot enabled [Version 1.1.7] - Fixed quicklooting in b670 [Version 1.1.6] - Fixed some owner comparisons. [Version 1.1.5] - Moved setting "plugin" to onEnable - Moved setLine() outside of scheduler [Version 1.1.4] - Small fix to LWC checking [Version 1.1.3] - Added tombstone.admin permission [Version 1.1.2] - Fixed loading tombstone list after server restart - Check if use is online before sending tombstone messages [Version 1.1.1] - Updated to latest RB [Version 1.1.0] - Changed versioning scheme - Changed loading of permissions/LWC [Version 1.09] - Changed how I do sign updating - Split into LWC1/LWC2 versions. [Version 1.08] - Configurable tombstone list storage - Allow LWC to be set to Public instead of disabled - Allow destroy on quickloot - Allow tombstones to be "invincible" besides quickloot [Version 1.07] - Fixed a bug in which protected chests could be destroyed. - Messages to players can be turned off. [Version 1.06] - The change to stop duping screwed up my plugin. Fixed. - Sadly, armor is now no longer retrieved first, and I can't fix it. [Version 1.05] - Recompiled against latest RB to fix ItemStack.equals [Version 1.04] - Small permissions handling update - Inform player if we run into a casting problem. [Version 1.03] - Core GM support removed, depends on FakePermissions if you use GM. [Version 1.02] - Permissions 2.0/2.1 support - GroupManager support [Version 1.01] - Fixed an NPE when destroying chests [Version 1.00] - Added ability to remove chests without needing LWC - LWC and remove thread are now a sync task - Right-click sign to quickloot. Permission added. - Better Permissions handling - LWC protects sign - Only create a large chest if needed - Deactivate LWC protection when sign or chest is destroyed [Version 0.06] - Implemented tombstone signs - Changed message if LWC is enabled to say how long before unprotect/destruction - lwcTime of 0 now indicates that LWC protection never expires [Version 0.05] - Added config file - Implemented chest removal - Configurable timeout - Toggle LWC usage via config [Version 0.04] - Added LWC timeout [Version 0.03] - Added LWC support - Made Permissions optional instead of required. Default without Permissions is allow all to use [Version 0.02] - Initial Public Release
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.