Closed FrankHeijden closed 7 years ago
If you change it in config.yml, you need to flush it out to all the islands using /asadmin settingsreset pvp. Config.yml is for new islands only.
The PvP button in the GUI from /is settings doesn’t work. Thats the problem here
Please take me through a step by step to replicate because I just tested and it works for me. i.e.:
If you mean about a standard player's island - make sure they have the right permission, e.g. askyblock.settings.*
At step 9 does "broken pvp" mean that it doesn't toggle back? In my testing, the text "PvP allowed" comes up and the settings change. Apart from the cool down, I can toggle the setting. Is that the issue or something else? This is with a completely fresh install, only plugins are PermissionsEx, WorldEdit, Vault, ASkyBlock, Essentials.
version [15:27:46 INFO]: This server is running CraftBukkit version git-Spigot-65e8124-357b573 (MC: 1.12.1) (Implementing API version 1.12.1-R0.1-SNAPSHOT) [15:27:46 INFO]: Checking version, please wait... [15:27:48 INFO]: You are running the latest version
(By the way, there shouldn't be a 60 seconds cool down for Ops, so I'll fix that).
The toggle setting doesnt work indeed.
Are you Op?
Yes
Then I can't replicate, weird. Are there any other plugins on the server?
No, its completely empty
I sent you a zip file in a spigot conversation. This contains my whole test server (no worries, its just 6MB) for you to test out.
1) OP yourself
2) tp to X:0 Y:101 Z:0
3) try changing the PvP (arrow) setting in /is settings
It works. Here's what I did (which is different to what you have above)
Hmm.
The toggle works, but did you try to slap an alt? That didnt work for me when the setting was toggled off. I tried pvping at 0 101 0 and 16 blocks further (to see if spawnprotection was messing), but it wasn’t.
Works okay for me. If PVP is not allowed, I see the "Target is in a no-PVP area" error, and if PVP is allowed you can hit the other player. You do need to remember to switch off creative mode otherwise the player cannot be hit.
I did xD so i dont see what im doing wrong, you can join my testserver if you want 91.121.145.119:30000
Can you give me an FTP password so I can upload a debug version of the plugin?
Issue was invincible visitors was set. Bug is that PVP should override invincible visitors at spawn.
askyblock.jar.zip @FrankHeijden Can you try this build and see if it works correctly? It should allow PVP at spawn even if invincible visitors entity damage is on. Also, if visitors are being protected and they go to an island where PVP is allowed (normal island), attackers should see a "Visitors protected" error if they try to hit them or shoot them.
Just tested myself. It is fixed. The only odd thing is that if PVP is allowed on an island but visitors are protected, visitors can hit island members, but cannot be damaged. To fix the admin will have to allow Entity Attack.
PvP setting in
/is settings
at an/asadmin setspawn
does not work. Tested on a clean paperspigot server, Paper version git-Paper-1188 (MC: 1.12.1) (Implementing API version 1.12.1-R0.1-SNAPSHOT), Vault 1.5.6-b49, ASkyBlock 3.0.7. PvP does work at players' islands.Config settings tested with: