Coder Social home page Coder Social logo

Comments (9)

ChanceSD avatar ChanceSD commented on July 23, 2024

Well, if you can send me the PvPManager config it would help.
So, it has always PvP on right? (In '/pvp status' it shows pvp enabled)

from pvpmanager.

albatrossen avatar albatrossen commented on July 23, 2024

Yea if I type /pop status it shows enabled.
Typing /pop then toggles it to disabled, but after logging out and in it is enabled again.
I looked a bit on the code, and noticed players listed in the users.yml by name and uuid due the upgrade. This would naturally toggle old players on pvp once, but does not explain my reconnect example.

I'll post the config later when I'm not using a tablet.
I'll also try to disable pvp log off and check user file for my guid tomorrow

from pvpmanager.

albatrossen avatar albatrossen commented on July 23, 2024

ok did some testing. I copied users.yml, toggled pvp status off with /pvp, and diffed the file.
There was indeed a line added but it did not match the UUID of my user...not sure if it mangles it in some way.

from pvpmanager.

albatrossen avatar albatrossen commented on July 23, 2024

hmm it is the UUID of a player on the server...perhaps I did the test in a bad way...I'll just try again

from pvpmanager.

albatrossen avatar albatrossen commented on July 23, 2024

I tried this.

  1. /pvpmanager reload (I assume this would force a write of the users.yml)
  2. copied user.yml
  3. /pvp to turn off pvp
  4. another reload
  5. Compared user.yml to copy (my uuid was added)
  6. /pvp again but it still turned my flag off

I'm tempted just to add some debug logging to your plugin and compile a local version xD

[18:57:21] [Server thread/INFO]: Faua issued server command: /pvp
[18:57:21] [Server thread/INFO]: [PvP] Faua turned PvP Off!
[18:57:24] [Server thread/INFO]: Faua issued server command: /pvpmanager reload
[18:57:24] [Server thread/INFO]: [PvPManager] Disabling PvPManager v2.1
[18:57:24] [Server thread/INFO]: [PvPManager] Enabling PvPManager v2.1
[18:57:24] [Server thread/INFO]: [PvPManager] Vault Found! Using it for fines punishment
[18:57:24] [Server thread/INFO]: [PvPManager] WorldGuard Found! Enabling WorldGuard Support
[18:57:24] [Craft Scheduler Thread - 10920/INFO]: [PvPManager] Checking for updates...
[18:57:25] [Craft Scheduler Thread - 10920/INFO]: [PvPManager] Update Available: PvPManager v2.1.0
[18:57:25] [Craft Scheduler Thread - 10920/INFO]: [PvPManager] Link: http://dev.bukkit.org/bukkit-plugins/pvpmanager
/
[18:57:26] [Server thread/INFO]: Faua issued server command: /pvp
[18:57:26] [Server thread/INFO]: [PvP] Faua turned PvP Off!

from pvpmanager.

ChanceSD avatar ChanceSD commented on July 23, 2024

I haven't really took a look at it yet. Will do some debugging soon.

from pvpmanager.

albatrossen avatar albatrossen commented on July 23, 2024

and (most of) the config: http://pastebin.com/wamvX0dA
while a bug it is not too urgent...noone have abused the bug on our server yet, so we still have pvpmanager enabled =)
let me know if you need a hand with any testing/debugging ;)

from pvpmanager.

ChanceSD avatar ChanceSD commented on July 23, 2024

Turns out i just forgot to convert UUID to string when checking if it was in the file xD
Should work fine now.

from pvpmanager.

albatrossen avatar albatrossen commented on July 23, 2024

Awesome...thanks for that ;)

from pvpmanager.

Related Issues (20)

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.