THIS ONLY WORKS ON 1.7.10 - 1.16.4.
1.15.x is not supported (yet)
Big thanks to Virizion for originally making this plugin. View his original plugin here.
Please report all 1.16.4 issues here: https://github.com/egold555/CorpseReborn/issues/104
I have done some testing for 1.16.4 with the following server versions:
- Spigot: git-Spigot-ff439d1-24c79a1
- Paper: git-Paper-366
CorpseReborn
CorpseReborn is a plugin to enable dead bodies on your server when you die!
Unlike some other corpses plugins the dead body is flush with the ground! You can also loot corpses by clicking their heads and taking items from the inventory opened!
Commands
/spawncorpse [Player] - Spawns a corpse of a player if the name is given else it just spawns a corpse of yourself.
/removecorpse [radius] - Removes any coprse(s) in a radius of you.
/corpsereborn - Displays a message telling you the version of the plugin your running and if you need to update or not.
/corpsereborn reload - Reloads the config file
Permissions
corpses.spawn - Permission to use /spawncorpse
corpses.remove - Permission to use /removecorpse
corpses.reload - Permission to use /corpsereborn reload
Installation
1. Put the jar in the plugins folder.
2. Reboot your server. Do not use /reload
Configuration
enable-update-checker: true
corpse-time: 10
on-death: true
looting-inventory: true
show-tags: false
world: all
gui-title: "%corpse%'s Items"
username-format: "%corpse%"
finish-looting-message: "&bYou have finished looting %corpse%'s corpse."
new-hitboxes: true
render-armor: true
save-corpses: true
send-data: true
corpse-time - Set in seconds how long the corpse lasts. (-1 or lower for forever.)
on-death - Sets if corpses spawn on death. (true or false)
looting-inventory - Allows you to loot corpses of items they have when they died. (true or false)
looting-inventory - Set true if you want the items to be in a GUI instead of the items dropping next to the corpse (true or false)
show-tags - Show name tags on corpses. (true or false) (If you hide nametags, there will still be a little gray bar, but that is negligible.)
world - The world in which the plugin will use for events. Put 'all' for all worlds.
gui-title - The title displayed in the inventory of the corpse if you have looting-inventory enabled.
username-format - How the player name looks on the corpse
finish-looting-message - The message you get when you finish looting the corpse
new-hitboxes - Toggle whether you want the new better hitbox or the old glitchy one.
enable-update-checker - Enable automatically checking for updates? (Note: This will not automatically download the update from spigot, It will just let you know that there is a update available)
render-armor - Should we render player armor and items on the corpses?
save-corpses - Should we save corpses on restart? (Note: only 1.8.8+ will save)
send-data - **Disabled Currently** Should we send anonymous data to Eric? The only data sent to my web server is what Minecraft version and what type of server you're running. My goal with this data is to see which is the most popular version so I can improve this plugin as best as I can. I totally understand if you do not want to send my server data, hence why this option is here. (Deprecated as of now, until I fix my stats server)
API
CorpseData CorpseAPI.spawnCorpse(Player p, Location l);
- spawn a corpse at a location
CorpseData CorpseAPI.spawnCorpse(Player, Location, ItemStack[] inv);
- spawn a corpse at a location with given items in inventory
CorpseData CorpseAPI.spawnCorpse(Player, Location, ItemStack[] inv, ItemStack helmet, ItemStack chestPlate, ItemStack leggings, ItemStack boots);
- spawn a corpse at a location with given items in inventory and wearing the given armor
CorpseData CorpseAPI.spawnCorpse(Player, Location, ItemStack[] inv, ItemStack helmet, ItemStack chestPlate, ItemStack leggings, ItemStack boots, ItemStack hand, ItemStack offHand);
- spawn a corpse at a location with given items in inventory and wearing the given armor, with given items in hand
CorpseAPI.removeCorpse(CorpseData);
- remove a corpse previously created by spawnCorpse.
Events:
CorpseClickEvent(CorpseData, Player)
- Someone clicked on a corpse
CorpseSpawnEvent(CorpseData, boolean fromCommand)
- A corpse was spawned (fromCommand is true if from command or API, false if from person dying)
- add .setCanceled(true); to make items drop on the ground instead of the corpse
CorpseRemoveEvent(CorpseData, boolean fromCommand)
- A corpse was removed
Worldguard Flags
You NEED WorldGuard 6.2+ to use these!
Worldguard is not needed, but if you have it installed, these flags will be available to you.
corpse-spawn (Allow/Deny)
corpse-click (Allow/Deny)
Images
Source:
https://github.com/egold555/CorpseReborn/
JavaDoc:
http://web.golde.org/plugins/corpsereborn/doc/
Pre Made Addons:
https://github.com/egold555/CorpseReborn-Add-ons
Public stats page (Not working ATM):
http://web2.golde.org/files/spigot/CorpseReborn/stats/
I really appreciate any donations that you can give! It is much appreciated as I am just a student doing this for fun and to help the Spigot community. (However, please note that donating does not mean that I will implement your request.)
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta
