PVP enable/disable
Opened this issue ยท 11 comments
I am having an issue when trying to enable pvp and disable in certain worlds.
The default pvp setting is set to true and I have added my spawn world into the exclusions list and when a player joins the server, pvp is disabled and when they join another world it gets enabled (which is what I want) but then when they go from that world back to the spawn, pvp doesn't get disabled.
I have tried adding the permissions "pvpmanager.nopvp" to the spawn world but this still doesn't work.
Note: I don't want players to have access to the /pvp command.
Is this a bug with the plugin or have I done something wrong?
Sure, here is my config: http://pastebin.com/qTKmE2m3
The version is 3.0-SNAPSHOT-b196
So, any player in your server should have pvp on when he enters. Also when changing world it will force pvp to on if player has it disabled. That's how it should be working.
To disable pvp in one world maybe you should use worldguard global region.
No, when players join the server (in the spawn world), their nametag goes red and /pvpstatus says their PvP is disabled (which is what should happen), then if they go to the other world they get a message saying PvP enabled, their name tag goes green and /pvpstatus says pvp enabled (which should also happen). But when they go from the other world then back to the spawn, their name tag doesn't go green it stays red and /pvp status says pvp enabled and I don't want this to happen.
You could add the spawnworld, where you want to have pvp disabled at all except from the worlds PvPManager is active and disable pvp there by gamerule, WorldGuard, whatever.
You have "Default PvP: true" so your players should start with pvp enabled. If they don't, then i guess it's a bug on the plugin.
Maybe you could use some plugin that executes commands when players change world. Then you could disable or enable PvP easily.
have you ever tried a plugin like RedProtect? it works in hook with PvPManager and has a ForcePvP flag. If u use it on a global worldflags (all world where PvP is Forced to be on - and the player enter the world their PVP got forced enabled (also the tags) if they leave to a region/wolrd where forcedPVP flag is false then the PVPState goes forced disabled...
This region plugin works together with PVPManager like u wished it..
PVP-Manager default: PvP-Disabled
WorldSpawn Flag - ForcePvP: false - all other Worlds Flag - ForcePVP: true
Result:
PVP is enabled (also in TAB...the color thing u mean ^^) in all worlds. Only on the Spwnworld its disbaled. If they login in Spawnworld their PvP got disabled and if they login in the other worlds their PVP gets enabled...
Tada...thats what u wanted right?...
its inglish - i just translated it so dont wonder about the textes ๐