TfT-02 / Duel

Bukkit plugin which allows players to duel each other in a intuitive way - without using any commands.
5 stars 8 forks source link

PVP and GM #44

Closed Konsider closed 9 years ago

Konsider commented 9 years ago

I have the config set to override WorldGuard's PVP setting but I still can't pvp (Latest spigot 1.8).

Also, can you stop people from going into GM 1 while duelling?

Thanks.

ghost commented 9 years ago

Block the command?

TfT-02 commented 9 years ago

As @Foreme suggests, you can add the command to this setting https://github.com/TfT-02/Duel/blob/master/src/main/resources/config.yml#L41 in config.yml

Konsider commented 9 years ago

Ok I should have said I need it to force people OUT of gamemode 1

Also, this doesn't solve the "no pvp" issue, which is pretty vital.

TfT-02 commented 9 years ago

Player's cannot duel when in creative mode https://github.com/TfT-02/Duel/blob/master/src/main/java/com/me/tft_02/duel/util/player/DuelManager.java#L40

Konsider commented 9 years ago

They can on my server.

You keep avoiding the issue of the actual PVP not working either, which is kind of the point of your plugin.

No need to reply, I just won't be using it.

TfT-02 commented 9 years ago

I'm not avoiding the issue, must've missed it. Normally a ticket is creating for one issue, not for two.

Anyways, as for this issue. When you enable the PVP override setting in duel, Duel will un-cancel any cancelled PVP event. E.g. some plugin prevents PVP, Duel allows it anyway. Though there are some cases where plugins do not use the proper way to handle PVP events, which makes it so that Duel cannot override them. Please check if you are not using any other plugins which prevent PVP, or if you have PVP disabled in the global server config (I believe this is still a thing, right?). I do know that WorldGuard handles the PVP events properly and that Duel is able to override them.

ghost commented 9 years ago

I have pvp enabled in server properties and in Multiverse config but disabled in WorldGuard and it works fine.

Konsider commented 9 years ago

@TfT-02

Many thanks for the reply. I have quite a complicated server setup, and upon moving things around, changing settings etc I was finally able to get it all working :) I appreciate your help in this matter, and hopefully my players will enjoy using your plugin! Thanks,

Kon.

TfT-02 commented 9 years ago

You're welcome, let me know if something else comes up. I will try to help as much as I can. ;)