PvPManager

PvPManager

3M Downloads

Command after kill and gamemode issues.

G3ometri opened this issue · 6 comments

commented

I have two issues:
The first one is that I can't get commands to run after getting a kill. I am currently using this command:
Commands On Kill:
- 'minecraft:effect give {player} minecraft:saturation 5'

It just returns this error:
[15:08:29 INFO]: Invalid name or UUID
...fect give {player} minecraft:saturation 5<--[HERE]

The second one if that it switches a player from adventure mode to survival mode they get combat tagged and then doesn't switch them back after someone wins.

Thanks.

commented

Ok this might be record time to fix an issue but I fixed the gamemode one 😭.

Commands still dont work though

commented

Should be <player> instead of {player}

commented

Oh ok thank you. It works now. Weird because it came with {player} as the default in that section.

commented

Depends, did you use v4.0 before? It's still in beta but in that new one it will be {player} so that could be it

commented

This is my first time using the plugin, I downloaded it from my server's link to either modrinth or spigotmc (I can't remember but I think it was modrinth). I downloaded the latest version available which appears to have been v4.0 (I just checked the latest version available). So that would make sense.

commented

Oh so you're still using v4 and that didn't work, If thats the case should definitely be a bug.
Basically v4 is an alpha version and its only posted on modrinth, so that I could get some users testing it.
If you find something is very broken, and dont want to deal with it then you should go to latest v3.