ResPwn
When a player dies and respawns, set their heath & hunger levels, give them a set of armor and a weapon or tools, add a shield of invulnerability, prevent them from teleporting or using commands for a duration of time, apply potion effects and much more. Currently looking for more suggestions and ideas of things to do when players respawn!
Perfect plugin for servers that feature random spawn points or spawn at home settings, also great for servers that don't spawn players into pvp safe zones, helps prevent spawn camping. Use health/hunger settings to inflict a death penalty for dying for those hardcore servers. Many great uses!
Current Features
- Respawn shield: A timed shield granted to players after they respawn in which they are invulnerable to attack by mobs and other players.
- Respawn tp shield: A timed shield that blocks players from teleporting after they respawn.
- Respawn command shield: A timed shield the blocks players from using commands after they respawn.
- Length of time configurable on shields.
- Set whether to block player from being able to attack during shield, or remove shield if player attacks.
- Set player health on respawn.
- Set player hunger on respawn.
- Give player armor and item in hand when they respawn.
- Totally configurable for item type, enchants, lore and even dye color on leather armor. Item in hand can be any bukkit item.
- Respawn potion effects: Add potion effects to players when they respawn. Either as boosts or as penalties.
Expected Features
- Respawn kits & inventory: Players get equipped with fresh goods when they respawn. (Armor and weapon added already added)
- Respawn effects: Add cool respawn effects to players like lightning.
Installation
- Stop your server.
- Place the ResPwn.jar in your /plugins directory.
- Start your server, note that the /plugins/ResPwn/config.yml file has been created.
- Stop your server.
- Edit the /plugins/ResPwn/config.yml to your liking.
- Start your server.
Note: It is important to always test ANY plugin you install prior to deploying it for production, you as a server admin, should always consider this to be Rule #1 of running a server.
Configuration
- Edit the configuration file in /plugins/ResPwn/config.yml
- Currently the config is fairly simple and should be self explanatory, if you need more help with configuration, here is the Configuration Page
Commands
- There are currently no commands available, but there will be in future versions.
Permissions
- respwn.shield - Players with this permission node will get respawn shield if it is enabled.
- respwn.tpshield - Players with this permission node will have teleport blocked after respawn.
- respwn.cmdshield - Players with this permission node will have commands blocked after respawn.
- respwn.hunger - Turns on the respawn hunger settings
- respwn.health - Turns on the respawn health settings
- respwn.armor - Lets player spawn with configured equipped armor
- respwn.wield - Lets player spawn with an item held in their hand
- respwn.potions - Lets player spawn with configured potion effects
- respwn.nodelay - Bypasses thedelays for players with this permission.
Links & Info
- PwnFilter - Absolutely the best and most powerful chat and command filtering plugin available. Also does aliases, scripting, sign and anvil text filtering and so much more.
- PwnPlantGrowth - Take control over plant growth, per biome configuration on all growables.
- PwnChickenLay - Configure or block how fast chickens can lay eggs, and change the egg to any possible item.
- Pwn9.com - Visit the Pwn9 Gaming Community, the place we call home. Check out our Minecraft servers, other game servers and fun gaming community.
- IRC Channel: Join #pwn9 on irc.esper.net - feel free to ask plugins questions on the channel or just come hang out with us.
Plugin Metrics
This plugin utilizes bStats plugin metrics system, which means that some information is collected and sent to bstats.org.
If you don't want that your server sends data to bStats you can disable it by setting enabled to false in the bStats config file. The config can be found in the /plugins/bStats/config.yml file. bStats has nearly no effect on your server's performance and the sent data is completely anonymous so please consider twice if you really want to disable it.
hi i like this plugin but i get error when use bonemeal on bambo.
[00:21:44] [Server thread/ERROR]: Error whilst processing packet net.minecraft.server.v1_16_R3.PacketPlayInUseItem@3c863022 for G3force[/127.0.0.1:59644]
java.lang.IllegalArgumentException: Cannot get property BlockStateInteger{name=stage, clazz=class java.lang.Integer, values=[0, 1]} as it does not exist in Block{minecraft:air}
at net.minecraft.server.v1_16_R3.IBlockDataHolder.get(IBlockDataHolder.java:95) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.BlockBamboo.a(BlockBamboo.java:152) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.ItemBoneMeal.a(ItemBoneMeal.java:56) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.ItemBoneMeal.applyBonemeal(ItemBoneMeal.java:25) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.ItemBoneMeal.a(ItemBoneMeal.java:16) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.ItemStack.placeItem(ItemStack.java:234) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.PlayerInteractManager.a(PlayerInteractManager.java:530) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1536) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.PacketPlayInUseItem.a(PacketPlayInUseItem.java:27) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.PacketPlayInUseItem.a(PacketPlayInUseItem.java:5) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1133) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1126) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeAll(IAsyncTaskHandler.java:95) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1262) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:997) ~[patched_1.16.4.jar:git-Paper-312]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:177) ~[patched_1.16.4.jar:git-Paper-312]
at java.lang.Thread.run(Thread.java:834) [?:?]
@smokeymcjay
Ya, actually that sounds like a great idea.. I will look into adding it after the new year when I get some free time to code again.
Thanks for this. It works great on 1.8 so far.
Would you be able to add a keep xp lvls feature?
@tremor77
Disregard that last post.
In light of recent events - It is likely I will no longer be updating my plugins...
@Templari0n
It's very possible random spawn is cancelling and taking over the respawn event entirely and doing it at a very low priority, thus never letting any other plugins catch the respawn event. (also I haven't testing on 1.7.10 yet). Thanks for the heads up.. I will look into it. I was actually thinking about adding spawn location as part of this plugin at some point.
Server: 1.7.10 Cauldron
Problem: Plugin doesn't seem to work.
I've added my worlds in "enabled_worlds" list. However, I haven't added anything in "players.yml" and the plugin doesn't seem to generate anything there itself.
It can be also a compatibility problem with Random Spawn. That plugin does work work as intended.
@suliman101 Potion effects are go: latest version.
@WackyWocky I think I can do that. Not sure if it is something I should add to this plugin or if a "login options" plugin should be something that stands by itself?
@suliman101 Thanks for the reminder.. been meaning to add this feature... hopefully before end of July I'll get at it.
Any possibility you could add a shield upon logging in?
awesome, love the plugin.. my servers gotten hard, which i enjoy but respawning can be tough without at least one weapon.
please update with potion effects. I need a plugin that will apply invisibility to a player after respawn for a period of time.
@coolyoyo64 Someday, pretty busy right now.. it's on my to-do list though. That and maybe random respawn items.. like a sword one time and maybe a fish another.. that would be kind of fun.
When will the update come out where you spawn with more than one wield.
@smokeymcjay
Nice ideas, I'll work on those both, sounds like fun options to add!
You should add a grave where they can go and retrieve their items or be allowed to respawn at the location
New feature in v0.7 - added command blocker shield. Update your configs and check for new permissions to block players form using commands for X seconds after a respawn.
@15987632 Respawn armor feature will be complete in v0.6 including enchantments, lore and even dye color for leather armors.
@15987632
Thanks, ya I'm working on that feature next maybe I'll even have it ready in a day or two.