ChanceSD/PvPManager-Issues

SERVER CRASHER PLUGIN!

Closed this issue · 9 comments

In short, this plugin crashes the servo and copies items

To Reproduce
Steps to reproduce the behavior:

  1. Open chest
  2. Keep putting it in and putting it out
  3. Get killed
  4. Boom server crash

Expected behavior
A clear and concise description of what you expected to happen.

Plugin and Server version
Use '/ver PvPManager' and '/ver' to get both versions

That's very unlikely, pretty sure something else crashed your server.
However, I can't test it since you didn't provide plugin version and server version.
And the console log with the crash error would be nice as well.

I can send a video (version lastest and paper 1.17.1)

There are 440+ servers running the plugin currently and nobody ever reported any crashes like this.
Also on my 1.17.1 server it never happened but if you can send the video it would be helpful sure.

First I show that my friend have nothing in inventory, I give him 1 block and when he enter a block that have gui like crafting, furnance, beacon etc. and i kill him he dies 700 time

test.mp4

s

Send me your pvpmanager config and do "/version pvpmanager" please, need to know the exact version
I still think this is caused by another plugin of yours (or everyone using pvpmanager would complain) but I will test it here

Also check if there are any errors in console when that happens

No errors in console
image

# <                     PvPManager Configuration File                        > #
# <--------------------------------------------------------------------------> #
# <               For help understanding a config option go to               > #
# <            https://www.spigotmc.org/threads/pvpmanager.25420/            > #
# <                  or Discord https://discord.gg/w7gyBuw                   > #
# +--------------------------------------------------------------------------+ #

# Locale -> Changes messages language, options are - en ru zh zhtw es it de br
# Default PvP -> Leave it at true unless you want no PvP for new players
# PvP Blood -> Enable blood particles on PvP
# Player Drop Mode -> What happens to a player's drops and exp on death
# The options are 'ALWAYS' - (PvPManager does nothing, so feature is disabled),
# mode 'DROP' - (Players drop items when killed in PvP but not in PvE),
# mode 'KEEP' - (Players keep items when killed in PvP but not in PvE) and
# mode 'TRANSFER' - (Same as 'DROP' but transfer items(not exp) directly to killer's inventory without drops)
# mode 'CLEAR' - (Clear all drops and exp on death, this deletes everything on death so make sure it is what you want)
# Ignore No Damage Hits -> Ignore hits from snowballs, eggs, fishing rod and others
# This prevents players from doing a hit and run between zone borders
# Auto Soup Health -> How much health does soup heal, use 0 to disable
# Bowl Disappear -> Should empty bowls just be deleted
# World Exclusions -> List of worlds where PvPManager will have no effect
General:
  Locale: en
  Default PvP: true
  PvP Blood: true
  Player Drop Mode: ALWAYS
  Ignore No Damage Hits: false
  Auto Soup:
     Health: 0
     Bowl Disappear: false
  World Exclusions:
    - 'example'
    
# Here you can choose which methods to use to stop 'border hopping' while players are tagged
# Border hopping is when a player gets in PvP and tries to run into a safe zone to escape
# Vulnerable -> Makes players still vulnerable to PvP in safe zones
# Push Back -> Players will be launched back when trying to enter a safe zone (Disabling this might improve performance)  
# Reset Combat Tag -> Only meant for when Vulnerable is true. Toggles whether combat tagging resets while fighting in a safe zone. Works for WorldGuard Only
Anti Border Hopping:
  Vulnerable: true
  Push Back: true
  Reset Combat Tag: true

# What should be disabled when a player(except operators) enters PvP
# Fly -> Disable any kind of fly mode
# GameMode -> Anything not Survival gets disabled
# Disguise -> Disguises from LibsDisguises
# GodMode -> GodMode from Essentials or CommandBook
# Invisibility -> Invisibility potions, defaults to false as it's a vanilla feature
Disable:
  Fly: false
  GameMode: false
  Disguise: false
  GodMode: false
  Invisibility: false

# Section about the tag system
# Time -> How long should the tag last in seconds
# NameTag Prefix -> Choose the player's nametag prefix while tagged, '&c' would just color his name red
# while 'none' or empty quotes '' will disable this feature completely
# Color -> Necessary on 1.13+, changes name color and glowing color, leave empty '' for no color
# Glowing -> For 1.9+ only, sets the player glowing while tagged
# Action Bar -> Symbol to use for the bar and how many times to repeat it. Leave message empty to disable. Other symbols â–Š,â–®,â–Ż,|
# Self Tag -> Allow players to tag themselves with a bow
# Untag Enemy -> When the player kills the enemy he was fighting he gets untagged
# Block -> Section is self-explanatory, what to block in combat
# Command whitelist is recursive, allowing 'tell' will allow 'tell' with any number of arguments
# Punish On Kick -> Punish the player even if he gets kicked by other plugin while tagged
# Money Penalty -> Money lost on combat log, use less or equal to 1 for percentage like 0.05 for 5%, 1 for 100% (0 to disable)
# Log To File -> Logs all combat loggers to a file that you can read later
# Kill on Logout -> Should the player be killed and, if so, what will he drop
# Commands On PvPLog -> List of commands to execute on combat log, use '%p' for player name
# And use the 'announce' command to broadcast, to disable just delete the command
Tagged In Combat:
  Enabled: true
  Time: 20
  NameTag Prefix: '&4&lCombat '
  Color: '&c'
  Glowing: true
  Action Bar:
    Message: '&b&lCombat &a<barsLeft>&c<barsPassed> &e&l<time> &b[sec]'
    Symbol: 'â–Š'
    Total Bars: 20
  Self Tag: false
  Untag Enemy: false
  Block:
    EnderPearls: true
    Teleport: true
    Place Blocks: false
    Interact: false
    Elytra: false
    Eat: false
    Commands:
      Enabled: true
      Whitelist: true
      Command List:
        - 'tell'
        - 'tag'
  Punishments:
    Punish On Kick: true
    Money Penalty: 0
    Log To File: true
    Kill on Logout:
      Enabled: true
      Player Drops:
        Inventory: true
        Experience: true
        Armor: true
    Commands On PvPLog:
      - 'announce &6[&8PvPManager&6]&c %p tried to escape combat and died!'

# Should new players on your server be protected from PvP (If they want to PvP anyway they can use /newbie disable)
# Time - How many minutes should newbie protection last, persists through restarts
# Block Pick Items - Block players from picking up items while they have protection
# Protect From Everything - Protect newbies from all types of damage including PvE
Newbie Protection:
  Enabled: true
  Time(minutes): 5
  Block Pick Items: false
  Protect From Everything: false
  Command Blacklist:
    - 'examplecommand'

# Prevent player abuse by killing the same player several times to rise in rank or even just grief
# Example - If a player X kills player Y more than 5 times, it executes the commands defined(kick, jail, etc)
# In this case, it would check every 60 seconds for abusers
# Respawn Protection - After respawn, how many seconds should players be protected (0 to disable)
Kill Abuse:
  Enabled: true
  Max Kills: 5
  Time Limit: 60
  Commands on Abuse:
    - 'kick <player> Kill Abuse Is Not Allowed!'
  Respawn Protection: 3

# Section with settings triggered when a player kills another player
# Money Reward - Money won as reward, use less or equal to 1 for percentage like 0.05 for 5%, 1 for 100% (0 to disable)
# Money Penalty - Money lost on PvP death, use less or equal to 1 for percentage like 0.1 for 10%, 1 for 100% (0 to disable)
# Money Steal - Should the amount won from money reward be stolen from the dead player
# Commands On Kill - Commands to execute on kill (<player> is the killer, <victim> is the victim)
# WorldGuard Exclusions - WorldGuard regions where rewards, penalties and commands will not be executed
Player Kills:
  Money Reward: 0
  Money Penalty: 0
  Money Steal: false
  Commands On Kill:
    - 'examplecommand <player> killed <victim>'
  WorldGuard Exclusions:
    - 'exampleregion'

# Section for PvP Toggle command - /pvp
# Players can't use the command unless they have permission
# Cooldown - How many seconds until players can use the command again
# NameTags - What should the player's prefix be when pvp is on/off
# You can write 'none' to disable one of the nametags, or set 'Enabled' to false to disable both
# Commands -> Command list to execute on PvP toggle, use '%p' for player name
# Force On Change World -> Force player PvP to default when changing world, useful if there are worlds
# where players don't have permission to use /pvp
# WorldGuard Overrides -> Players can still be damaged in PvP in areas with WG's pvp flag set to allow
# WorldGuard Overrides Region List -> If instead of using the pvp flag, you want to define which regions get pvp force enabled
# If you want to force enable pvp in all regions with pvp flag ALLOW then just leave the list empty or with example
PvP Toggle:
  Cooldown: 15
  NameTags:
    Enabled: false
    Prefix On: '&1'
    Prefix Off: '&2'
  Commands PvP On:
    - 'examplecommand %p turned pvp on'
  Commands PvP Off:
    - 'examplecommand %p turned pvp off'
  Force On Change World: false
  WorldGuard Overrides: true
  WorldGuard Overrides Region List:
    - 'example'

# Section to configure interactions with other plugins
Plugin Hooks:
  SimpleClans:
    # Disable PvP protection if the players are in a SimpleClans war
    No Protection In War: true

# Should PvPManager be allowed to check for updates and tell you about them
# Auto Update - After checking should we download it automatically for you?
Update Check:
  Enabled: true
  Auto Update: true

Metrics:
  Opt-out: false

# Informs PvPManager if the config is updated, do not touch it unless you want to reset the config
Config Version: 58

image
Plugins

If you have "Player Drop Mode: ALWAYS" in config then it's not pvpmanager transferring the bedrock to your inventory, it should just drop on the ground
I also tried doing the same as in your video in my server and there was no issue

Maybe I should also say that we have a lite version
Well, no, because even when it wasn't there, it happened.