Minecraft version: 1.19 Suggested name: LifeChain What I want: A plugin that makes it so that you are linked to 1 other player (this can be random or assigned it doesn't really matter for me) that means that you have the same effects has that person and if you lose hp the other 1 does 2. I hope it isn't that hard to make and have a nice day. If its possible i would like both systems tho. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I feel like this should have an invitation or something because it would be highly annoying if you got assigned with a random person that might troll you.
Like its random but ops can change it with commands like /link axj_mc Linus1234Btw and like /unlink axj_mc
Okay but what do you mean by random? Once you join a server a server you get linked with an unliked person. Does this link persist until changed by an admin? Does death or sever leave sever the link?
Well yes you get linked with an unlinked player and can be changed by an admin and remains till broken by an admin
This is the plugin Might (most probably) be bugs so test it and just post here if you find any. Commands - permission: /lc [player1] [player2] /lc reload Both commands use lifechain.admin
It's a plugin error, it's not because of permissions. A big error must've appeared in your console, paste it here.
Try this one: https://drive.google.com/file/d/1yfhI7BjfrFthCh7gg89rF6hc8nQGCTji/view?usp=sharing Remember to delete the old file first. Also you cannot link one player to himself, it makes no sense and you can't even test it. You need two accounts or a friend to test this
i found a bug when i ate a lot of enchanted golden appels i got hearts but they didn't go away we both were drinking milk and still didn't disepear. when i died it also didn't dissepair when i relogged also didn't dissepair. also when i try do /lc name name it servers and then loads again and it seems to delink and you can't link again
It doesn't throw that error because of that, it has it's own message that can be modified in the config. The problem was that the plugin was disabled because I messed something up in onEnable and it wasn't enabling in 1.19. The error was because he tried to use the command while the plugin was disabled and should work fine now. Alright I'll fix that later today, tell me if you find any more bugs EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I see Btw what do you mean here, I can't really understand what you are trying to say. Do you mean that the server crashed? I tested the command a few times and it should work fine, could you try to explain better?
when i do /lc player1 player2 it delinks and then says it links in the same message and then when i hit my link it doesn't dmg me so the thing that needs to be fixed is that it only unlinks or delinks not both at the same time and that linking after delinking works And also the hearts
This is the plugin It is very important that you remember to remove the old file. It should work fine now but if you find any other bugs just post them here.
Hey yeah the issue is still there that if you do /lc player player it delinks but also says it links but it only delinks when you try it again to link again then it says it delinks and then links but it doesn't link and idk what lc reload does i think you can maybe make linking and delinking a seperate command cause now its bugged
Okay so I really cannot understand what you mean. The command works fine and here is a demonstration: If the result that you want is like the video above then maybe you haven't installed the right version and I will upload it again and make sure you delete the old files otherwise there's not much more I can do because it works as intended: https://drive.google.com/file/d/1rBD44ByvDyCYAp7SpIiRMHloHM18wHtM/view?usp=sharing If the result that you want is NOT like in the video than you must phrase what you want better, get a friend to help you or something because I really cannot understand what you mean.
ill try to get 2 friends to get the smae effect as you cause now i understand what you mean with the command
So does the command in the video works like you want? Also /lc reload is used to reload the config in case you wish to change the messages.