GithubHelp home page GithubHelp logo

egold555 / corpsereborn Goto Github PK

View Code? Open in Web Editor NEW
27.0 5.0 22.0 352 KB

Port of spigot Corpses plugin that I ported to version 1.7.10-1.16.4

Home Page: https://www.spigotmc.org/resources/corpsereborn.29875/

Java 99.78% Batchfile 0.22%

corpsereborn's Introduction

CorpseReborn

This is a port of the plugin Corpses by Virizion (https://www.spigotmc.org/resources/corpses.1817/) that myself and others have ported to Spigot 1.7.10-1.16.4

Link to my plugin: https://www.spigotmc.org/resources/corpsereborn.29875/

Premade addons that I have made for people: https://github.com/egold555/CorpseReborn-Add-ons

Stats page: http://web2.golde.org/files/spigot/CorpseReborn/stats/

Credit to Virizion for making the original 1.8 - 1.8.8 plugin. All I did was add and modify his code. Without his amazing work this would not have been possable!

corpsereborn's People

Contributors

egold555 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

corpsereborn's Issues

Items get lost when server restarts?

Hello developer, I've recently ran across your plugin CorseReborn and thought it was useful for using it as a sleeper body where players go offline and it spawns a body on them. I've asked my developer to help me and made me an addon for that. (preventing players from going offline with their important loot). But I came accross one problem with that addon is that CorpseReborn doesn't save the data after the server is shut down. Would you mind doing some changes to that?

so apparently the invisible cow (the one that stores items) disappears when server restarts. is there a way to not let that happen?

Here's the localhosted server log: **************

i think the issue could be related to the worldguard/region area. Since the extra worldguard flags picked up the corpse reborn api it had two more options for the region
corpse-spawn and corpse-click. If you have time this might save you some time in the problem.

johnsoncui02 (Spigot)

-- Notes from Eric

  • base64 item meta tag "internal" have something to do with this bug?

Corpses not visable

I am using corpsereborn on minecraft 1.12.2 spigot and am running into a problem. The plugin works fine in every way, config works, commands work, etc. Corpses spawn on death just fine. However, they are invisible. What do you think is going on?

Email: Sean

Make it to Paperspigot...

Hello!

I use paperspigot, and I do not change the serverfile, so please make it to paperspigot. Thanks!

Config.yml = messages.yml

Also , would you like to let us config the message likes " you can't loot other people corpse " in config.yml ? Thankyou~

lanceryy (Spigot)

Corpse Gravity

Heyo

Got a funny for you

When folks get killed in an airship on our server or on a clifff edge the bodies hang in the air

Is there a way of getting them to fall to the next surface

(Not a big issue so not to worry if it's a pain in the backside )

Hmmcrunchy (Spigot)

looting-inventory event problems

Could you change the CorpseClickEvent ,so it is called even when the looting-inventory option is disabled?
In the current build it's only working when this option is enabled.

Love your plugin so far :)
Flayflay (Spigot)

Armor config option

Could you add an option for the the corpses not to spawn with armor?
Yes also with no items displayed in their hands, that would be perfect!

ThePROX0517 (Spigot)

CombatLogX bug?

Spigot -- TheOGHusky

Hello, I'm having a problem with this plugin and combatlogx. If someone leaves while in combat they die, but their items don't spawn in the inventory/gui. I assume they aren't compatible but could you tell me any combat log plugin that is? or perhaps tell me how to fix this?

API Addition

I would find it helpful if there was an API command for a Corpse where it could return the boolean if the supplied player has a line of sight of the corpse.

Example: if (corpse.doesPlayerHaveLineOfSightOf(player))

CorpseClickEvent not getting fired.

I can capture CorpseRemoveEvent but not CorpseClickEvent. I looked at your code, and I might be mistaken, but I don't see where CowHit calls the CorpseClickEvent.

Corpses look strange on slabs

Either add a teleport feature to api to lower corpses down by half a block, or make them check if the block there on is on a slab.

(Reported on skype by - TerZer)

WorldGuard exception 1.8

17.07 18:05:05 [Server] INFO Loading CorpseReborn v2.10.3
17.07 18:05:05 [Server] INFO Worldguard detected. Adding custom spawn flags
17.07 18:05:05 [Server] ERROR com.sk89q.worldguard.bukkit.WorldGuardPlugin.getFlagRegistry()Lcom/sk89q/worldguard/protection/flags/registry/FlagRegistry; initializing CorpseReborn v2.10.3 (Is it up to date?)
17.07 18:05:05 [Server] INFO java.lang.NoSuchMethodError: com.sk89q.worldguard.bukkit.WorldGuardPlugin.getFlagRegistry()Lcom/sk89q/worldguard/protection/flags/registry/FlagRegistry;
17.07 18:05:05 [Server] INFO at org.golde.bukkit.corpsereborn.listeners.WorldguardListener.(WorldguardListener.java:27) ~[?:?]
17.07 18:05:05 [Server] INFO at org.golde.bukkit.corpsereborn.Main.onLoad(Main.java:41) ~[?:?]
17.07 18:05:05 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:297) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
17.07 18:05:05 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
17.07 18:05:05 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [spigot-1.8.8.jar:git-Spigot-db6de12-18fbb24]
17.07 18:05:05 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]

My worldguard version: 6.1
My spigot jar: 1.8.8

Dump: https://pastebin.com/89wykb6B

ninomato (Spigot)

Worldguard 6.1 error

[CorpseReborn] Loading CorpseReborn v2.12.1
[15:13:19] [Server thread/INFO]: [CorpseReborn] Worldguard detected. Adding custom spawn flags
[15:13:19] [Server thread/ERROR]: com.sk89q.worldguard.bukkit.WorldGuardPlugin.getFlagRegistry()Lcom/sk89q/worldguard/protection/flags/registry/FlagRegistry; initializing CorpseReborn v2.12.1 (Is it up to date?)
java.lang.NoSuchMethodError: com.sk89q.worldguard.bukkit.WorldGuardPlugin.getFlagRegistry()Lcom/sk89q/worldguard/protection/flags/registry/FlagRegistry;
at org.golde.bukkit.corpsereborn.listeners.WorldguardListener.(WorldguardListener.java:25) ~[?:?]
at org.golde.bukkit.corpsereborn.Main.onLoad(Main.java:64) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:297) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [Spigot.jar:git-Spigot-21fe707-e1ebe52]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]

Matrix003 SpigotMC

Protocol Support

@ericgolde555

Hello, could you fix compability with ProtocolSupport?
Players from 1.8.x versions do not see the corpses. They are displayed somewhere below the blocks below.
Players from 1.12.x see everything perfectly

Toshka, Jan 25, 2018 Spigot

Hello.It still spawn slime on spigot 1.10.2

I am using this plugin lastest version on the lastest version of spigot 1.10.2.But I found that it still spawn slime in the center of body.I really like this plugin.Can you fix it?:)

Idea

Just a few suggestions: The ability for player corpses to turn into skeleton corpses and then nothing for despawning (or just into skeleton corpses after x amount of time and not despawn). And the ability for corpses to be pushed around or movable in some sense, would be funny to have a grave yard XD

DrHorter (Spigot)

Corpse is Unclickable when killer is facing NORTH and defender is killed next to wall.

If a defender runs NORTH towards a wall and stays there, when he's killed, his corpse is unclickable. It's an exploit my players are taking advantage of.

The invisible cow is spawned in the wall and can't be clicked.

To fix this I just changed the HitBox to a PolarBear. Works like a charm! This only fixes this bug for later versions, however. Maybe you can adjust your rotation method for earlier versions.

(This is for Spigot 1.12.2)

Bugged Cow? Can be killed by the Wither, unlootable corpses

Is the bugged cow kill able? It seems that on occasion the corpse cannot be interacted with, I'm guessing its because the 'cow' that spawns to which you've got to interact has died?

The wither recently attacked some players corpses and left the bodies unlootable similar to other unlootable overworld corpses.

I assume thats because the cow died.

Thanks in advance (:

Y height Corpses

Set Y height where corpses will not spawn at

Like if you die in the void, corpses should not spawn

[Bug] Head faces backwards if the player is OPd

Players who are OP'd and die with the plugin active have their corpses' head facing the ground,

Non-OP'd normal players have a normal corpse upon death.

(Our server doesn't use a permissions plugin so it's just default/OP players.

Plugin Version: 2.10.2
Java 8
Spigot 1.12 R0.1

Better world option in config

#Here you can enable or disable Per-world feature in general!
per-world using: true #true/false Disabled by default
#On this worlds you select here will plugin handle and full work, on all other will be disabled!
worlds:

  • SPAWN_nether
  • SPAWN_the_end
  • world
  • Sg-1
  • Sg-2
  • Sg-3
  • Sg-4
  • Sg-5
  • Sg-7
  • Sg-8

Spigot -- SomeonePIX

java.util.NoSuchElementException: packet_handler

Date: 08/05/2017 03:10:20
CorpseReborn Version: 2.10.3

Server Version: git-Spigot-3fb9445-6e3cec8 (MC: 1.11.2)
Server Type: SPIGOT
Folder Version: v1_11_R1

Exception:
java.util.NoSuchElementException: packet_handler
at io.netty.channel.DefaultChannelPipeline.getContextOrDie(DefaultChannelPipeline.java:907)
at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:157)
at io.netty.channel.DefaultChannelPipeline.addBefore(DefaultChannelPipeline.java:150)
at com.comphenix.protocol.injector.netty.PipelineProxy.addBefore(PipelineProxy.java:66)
at com.comphenix.protocol.injector.netty.ChannelInjector$5$1.addBefore(ChannelInjector.java:287)
at org.golde.bukkit.corpsereborn.nms.nmsclasses.packetlisteners.PcktIn_v1_11_R1.registerListener(PcktIn_v1_11_R1.java:80)
at org.golde.bukkit.corpsereborn.nms.nmsclasses.NMSCorpses_v1_11_R1.registerPacketListener(NMSCorpses_v1_11_R1.java:640)
at org.golde.bukkit.corpsereborn.listeners.PlayerJoin.onPlayerJoin(PlayerJoin.java:15)
at sun.reflect.GeneratedMethodAccessor890.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at us.Myles.PWP.TransparentListeners.PerWorldPluginLoader$1.execute(PerWorldPluginLoader.java:120)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at us.Myles.PWP.TransparentListeners.PWPRegisteredListener.callEvent(PWPRegisteredListener.java:30)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)
at net.minecraft.server.v1_11_R1.PlayerList.onPlayerJoin(PlayerList.java:327)
at net.minecraft.server.v1_11_R1.PlayerList.a(PlayerList.java:160)
at net.minecraft.server.v1_11_R1.LoginListener.b(LoginListener.java:147)
at net.minecraft.server.v1_11_R1.LoginListener.F_(LoginListener.java:57)
at net.minecraft.server.v1_11_R1.NetworkManager.a(NetworkManager.java:233)
at net.minecraft.server.v1_11_R1.ServerConnection.c(ServerConnection.java:140)
at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:842)
at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399)
at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678)
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576)
at java.lang.Thread.run(Thread.java:745)

Plugins:
ScoreboardHotfix - 1.0
MBanProxyVPN - 1.6.2
CustomOreGen - 1.2.2
GroupManager - 2.0.1-b332
PlaceholderAPI - 2.8.2
Vehicles - 8.6
PerWorldPlugins - 1.2.4
PlugMan - 2.1.3
WorldResourcepacks - 1.6.13-SNAPSHOT (build #177)
FastCraftPlus - 0.27.2
AntiWorldFly - 2.3.1
ConsoleSpamFix - 1.4.0
CommandSpy - 1.8
SuperTrails - 9.6.7
Tablist - 1.3.2.9
AntiBot-Ultra - 7.9
icJukeBox - 1.6.4
Essentials_WarpGUI - 1.6.1
PerWorldChatPlus - 5.1.1
CreativeNbtControl - 1.8
CrackShot - 0.98.5
AdvancedBan - 2.0.6
Votifier - 1.9
BannerBoard - 1.9.6
ProtocolLib - 4.3.0
NoCheatPlus - 3.15.1-RC-sMD5NET-b1084
LibsDisguises - 9.4.0
AdvancedPortals - 0.0.31
FastAsyncWorldEdit - 17.08.04-1186ca8-791-14.1.22
HubThat - 7.0
FeatherBoard - 3.18.1
mcMMO - 1.5.07-SNAPSHOT
InstantRespawn - 1.0.7
GAListener - 1.3.2
HideAndSeek - 2.3
Vault - 1.5.6-b49
PerWorldTablist - 1.0.0
MassiveCore - 2.13.0-SNAPSHOT
Smelter - 2.2.1.1
Rankup - 2.6d
EpicRename - 3.1.2
PerWorldInventory - 1.10.0
LWC - 1.8.2
AuctionHouse - 3.3
SignColors - 1.1.1
ASkyBlock - 3.0.6.11
PlayerVaults - 3.5.7-b${BUILD_NUMBER}
WorldEdit - 6.1.5;4651611
Essentials - 2.0.1-b488
SimpleFreeze - 3.1.0
MarriageMaster - 1.31.3
PermissionTimer - 5.1.0
SafeTrade - 1.0.15
DeluxeChat - 1.12.3
Citizens - 2.0.21-SNAPSHOT (build 1473)
BossMessenger - 3.2.7
CrazyAuctions - 1.2.3
EnjinMinecraftPlugin - 3.3.3
PlotSquared - 3.5.0-SNAPSHOT-95f8aaa
WorldGuard - 6.1.3-SNAPSHOT;c904242
WizardlyMagic - 2.0
CommandNPC - 1.7.2
Multiverse-Core - 2.5-b719
DiscordSRV - 14.8
React - 5.2.1
AuthMe - 5.2-b1542
HolographicDisplays - 2.2.6
SignShop - 2.11.0
SkinsRestorer - 13.1.2
Factions - 2.13.0-SNAPSHOT
PrisonCells - 2.2.3
GangsPlus - 2.0.22
PhatLoots - 4.2.3
Multiverse-NetherPortals - 2.5.0-SNAPSHOT-b714
CombatLogX - 1.1.6 Release
CratesPlus - 4.4.3
Eggwars - 2.8
RandomCoords - 0.6.2-RELEASE
MyPet - 2.3.0
PrisonMines - 3.0.2
MultiWorldMoney - 2.2
CorpseReborn - 2.10.3
MobHunting - 5.0.3
TNTRun - Beta-1.2.1
PremiumTurrets - 2.2.4
SilkSpawners - 4.0.0
ShopGUIPlus - 1.6.5
CrazyEnchantments - 1.7.9.2.4

Config:
enable-update-checker: true
corpse-time: 60
on-death: true
looting-inventory: false
despawn-after-looted: false
show-tags: true
world: all
gui-title: %corpse%'s Items
username-format: %corpse%
finish-looting-message: *bYou have finished looting %corpse%'s corpse.
new-hitboxes: true

sd_captain Spigot

Language translation for permissions

Only players can run this command. Sorry about that.
You do not have enough permissions!
Corpse of yourself spawned!
Resending corpse:
Successfully removed all corpse(s) in the world.
Successfully removed
Config reloaded.
Creating dump...
This server is running CorpseReborn version
Update checker failed to check for updates!
Running latest stable version.
An update for CorpseReborn has been found!
Current version:
You seem to have a version of the plugin that is not on spigot...
Expect bugs!
/corpsereborn reload|dump
Correct Usage:
is not online!

/togglecorpses

Also is it possible to make it so that a player can do a command for example /togglecorpses so the corpses won't appear for just this person, but other people can see it? Just because I own a KitPVP server and some people lag when they a lot of these corpses.

ThePROX0517 (Spigot)

Issue with corpses.

I decided as my title will be annoying corpses because there is big issue with them. I did already inform you about it but you say paperspigot is not supported and so on so i switched to spigot and quest what same issue with is:

Players can't pickup items I have to explain to each player to open the corpse on head it don't really work on body and players need to click 20 times or to open it that's one issue, Other issue is that after picking up items the corpse dispiriting but not the visible cow with means players can't place block.

Full info:

spigot 1.11.2 February 26, 2017
Console: There is no error on the console :(
All my plugins:
AAC
AACAdditionPro_1.3.1
AsyncWorldEdit
AuthMe-5.2-spigot
citizens-2.0.21-SNAPSHOT
CoreProtect_2.14.2
CorpseReborn
CustomGUI
DeathLogPlus
EditableSign
Essentials
eZProtector
GlobalChestShop
HolographicDisplays
MobArena
Multiverse-Core-2.5
MyPreciousStone
orebfuscator-4.2.1
PermissionsEx-1.23.4
PluginManager
PreciousStones-1.11
ProtocolLib
PvPManager
RandomTeleport
sexymotd-1.4.3
SkinsRestorer-v12.9.7
StaffFacilities
Statistics
TreeAssist
Vault
WorldBorder
worldedit-bukkit-6.1.5
worldguard-6.2
WorldResetPlus
ChatControl

Worldguard broken again?

om.sk89q.worldguard.bukkit.WorldGuardPlugin.getFlagRegistry()Lcom/sk89q/worldguard/protection/flags/registry/FlagRegistry; initializing CorpseReborn v2.12.1 (Is it up to date?)
java.lang.NoSuchMethodError: com.sk89q.worldguard.bukkit.WorldGuardPlugin.getFlagRegistry()Lcom/sk89q/worldguard/protection/flags/registry/FlagRegistry;
at org.golde.bukkit.corpsereborn.listeners.WorldguardListener.(WorldguardListener.java:25) ~[?:?]
at org.golde.bukkit.corpsereborn.Main.onLoad(Main.java:64) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R3.CraftServer.loadPlugins(CraftServer.java:297) [murder.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.DedicatedServer.init(DedicatedServer.java:198) [murder.jar:git-Spigot-21fe707-e1ebe52]
at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:525) [murder.jar:git-Spigot-21fe707-e1ebe52]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_131]

-- Spigot josecuervo2016

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.