Open Kris-Driv opened 7 years ago
Make sure to tell me if I can help with anything.
MySQL support is kinda useless at this point. Kinda same issue when you try to push a commit without fetching repository. No idea how to explain it correctly :smile:
I made MySQL support in lazy style, saving arrays (permissions, members, flags etc.) as json strings instead of new tables. Saying in case you feel like correcting it
well you can put it in projects todo a new tab for people who have too many time on hands to fix it
it would also be nice to document more things this pugin seems quite big and promising so API docs for other devs to build compatibility will be nice
@Thunder33345 working on commenting stuff and creating API docs along with wiki.
I'm just gonna go ahead and make a Gitter chat room for the organization. That'll make talking a bit easier.
@Sandertv sure, and add the link with gitter badge to readme.
Plugin will be v1.0.0 when this list is complete.
actually doing a pre release would be nice a dev build using poggit would be nice too
Grab the latest .phar file from release section and insert into your server's plugin folder
but there's no phar or releases!
@Chris-Prime I'll take a look and see if I can improve the MySQL implementation.
Added info command to the TODO list..
@Sandertv @Chris-Prime Maybe add DTR?
What's that? @akaSnapy
Oh, if you're speaking about relationships then it's already implemented. /f relation
DTR=Deaths To Raidable. 1member means x/1 DTR 2 members = x/2 DTR etc.. If you're on 1 DTR and you/other member die this means you went "Raidable" so everyone can bypass your claim until the dtr regens back.
Or each value from 0.01-1DTR
Sounds good, but I don't think I will be implementing this into core. I could make it into separate plugin. But I still don't get the mechanics could you elaborate more by creating new issue?
Here's how it would work. You would calculate how much DTR a faction gets by dividing its players by 2, for example, a 15 man faction would get a maximum of 7.5 DTR. That means when 8 people die, the faction goes raidable.
When a faction is raidable, enemy factions can edit terrain, open chests, kill mobs, etc on there claimed land.
DTR regenerates slowly, so if a faction got to 1 DTR, they could safely wait it out and they would get back up to their max DTR. A faction that goes raidable could do this too, but when they go raidable, there is a "DTR Freeze" where they stop regenerating, this should last about 2.5 hours.
@Chris-Prime
The DTR freezing can be configurated also
That's quite an interesting concept.
If your faction's DTR goes below 0, you are raidable. The DTR freeze is the time after a death until you will be able to regenerate DTR. If you are raidable, your DTR will still regenerate after the DTR freeze time (configurable) and once it goes above 0, you will no longer be raidable.
this can be also selected if its on or no. factions-dtr=false/true