Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STR Gaining #58

Open
ManiakMCPE opened this issue Oct 18, 2018 · 16 comments
Open

STR Gaining #58

ManiakMCPE opened this issue Oct 18, 2018 · 16 comments

Comments

@ManiakMCPE
Copy link

Can there please be another way to gain STR?
For example: pvping, overclaiming, allying factions.

@Kris-Driv
Copy link
Contributor

If you could describe in details how all of these work together with each other, then I could think about this option.

@Sandertv
Copy link
Member

Just because every other faction plugin has it, doesn't mean you don't have to describe it. If you make a feature request with this motivation you might as well not.

@Thunder33345
Copy link

if you cant be bothered to even do the most basic form of describing it why developers should bother doing anything?
well since OP cant be bothered, lets do my take on it, you can gain poin by typing /getfacstr, and loose it by typing /loosesfacstr
shouldnt be hard right?
you want a str system but dont want to describe how you want it, so let me do it for you, you are welcome

@xDanub
Copy link

xDanub commented Oct 22, 2018

I would like to take the time to describe it to you lol. Maybe add a way to gain strength when you ally another faction. Also maybe a way to gain strength for your faction when killing another player. And maybe a way to add strength using a command. The third way is an important one for integrations, for example maybe buy strength from a shop, win strength when winning a koth, etc. Thanks!

@Thunder33345
Copy link

there's now a "strength" variable for each faction
now what to do with it?
a number is kinda useless when there's nothing it can be spent on

@Kris-Driv
Copy link
Contributor

I guess he means power instead of strength. If so, then look at /f power command. Third way already exists, and you can actually gain power when you kill other players, if certain requirements are met (by your configuration). Haven't seen any server where allying with others merges your total power level... But I can do this, however I have suspicious that this is abuse-able. What else.... Oh, if you are programmer/developer, you can use the API to add power yourself

example:

Members::get("Steve")->addPower(10);

@Thunder33345
Copy link

i am pretty sure most will be very abusable.
like just get an alt and str boost very easily..

maybe some non abusable implementation???
not sure how tho??

we can have kill based str (abusable)
maybe we can have killstreak combo for str? and ignoring the same member if they killed more than once?
like only gain str when it's > "3", and all killed users only counts "twice" against the counter, and system remembers the user for "3 hours", after killer's cooldown phase ended", also this is possible to be replaced with a str gain decay graph function against the user killed times+fac str.
which the streak also ends after "1 hour"
each kill that counts as "(kills*0.5)+5" str, maybe even graph function. so there could be a decay graph,
optionally only gain str when user has a fac, and gain none when fac is at "100"< str.

this renders it impossible to farm without spawning tons of alts to keep your streak going, or having to wait for your streak to reset to use the same alts, the fac and fac str means they actually have to keep a second faction with sufficient str to even try to boost, which now u also have to boost your boosting fac which makes it even less desirable and more work to even attempt to exploit.
incremental str gain decay means you are less likely to want to keep playing a "legit but non stop dule" against the same person, or to nerf boosting with the same acc and means you rather have duels with different peoples.

you lost str everytime you die when you are in combat log regardless if they "earn" any str.

str also decays "every hour", by very "small decay"(since we are counting by hours) in a graph function bases of how much str they got, and hours the fac didnt gain any str.
this means that facs can loose str quickly if they dont "upkeep" it, and catch it before exponential growth takes over if that's the owner intent, graph function allow owner to fine tune everything to their intention.

all values in "" can be customised
this is probably over complicated due to all the graph functions needed to be available to be configured
graph function is just a simplified way to say, you input numbers in it, and it return different numbers by doing math with the numbers given.

probably should be like a str plugin
you should just turn str into "customizable faction metadata" since that is what str exactly was but only serves one value
allowing external metadata would be more flexible

@Kris-Driv
Copy link
Contributor

Just to clarify, are we talking about member power or new value strength?

@Thunder33345
Copy link

i thought faction str is shared across faction?
sorry i have a habit of saying more than i needed to, please quote which part you are questioning

@Kris-Driv
Copy link
Contributor

$factionPower    = Members::get("Steve")->getFaction()->getPower();
$memberPower  = Members::get("Steve")->getPower();

// Idea inside Faction::getPower()
foreach($this->members as $m) {
   $total += $m->getPower();
}
return $total

@Thunder33345
Copy link

Thunder33345 commented Oct 22, 2018

you should just turn str into "customizable faction metadata" since that is what str exactly was but only serves one value
allowing external metadata would be more flexible

for example
faction.getMedata which return a class that allows 3rd party plugin to store values that is suppose to be associated to the fac, like who knows?

maybe a plugin which allow others to join faction by secret code?
the code has to be stored somewhere right?

maybe a simple plugin that stores the faction kills and deaths,
it would also allow plugins to work with each other without some sort of weird dependency bridge, and let factionspe be the bridge to mundane data

EDIT: maybe even per member meta but seems overkill ¯\_(ツ)_/¯

@Thunder33345
Copy link

Thunder33345 commented Oct 22, 2018

ahh well what i said like above was assuming str is combined
and the str is only stored as total str without links to who earn how many
it might get tricky when negating str, say someone who didnt earn str get killed
not sure how to handle complications
maybe just allow negatives IF the total fac str isnt at < "100"
players may kick players who have negative str so somehow it also needs to stay even after they left, same case for positive str when member left
i have to go now tho so maybe ill edit and fill in like some time latter

@Kris-Driv
Copy link
Contributor

This is actually pretty cool idea. So example usage would be like so

$faction->getMetadata("Deaths");
// or
$faction->getMetadata()->get("Deaths");

// Just like a Config inside Faction class

That would open bunch of possebilities. By the way this plugin can handle and was designed to handle negative power levels.

@Thunder33345
Copy link

i guess owner can also allow them to lose str below 0?
depend how hardcore your server is.

the minimum threshold is there,
so the new facs have to gain str, before they can be abused to boost
and if you want to boost you also have to maintain the power of the fac you boosted off

tho if the str is graph increase, and the str loose is static we may or may not have a problem

there's also kinda a chicken and egg problem for when everyone was in new factions when the server started...

@yxkev
Copy link

yxkev commented Jun 7, 2019

Obviously yall cant write Straight to the point reviews.
Whats needed is “/f membervalue , where this will show the amount of str a member of the faction has in “Value” From pvp, dying, Etc.

More ways to get STR can be Farming, When you break a certain amount of a block (much like a quest, but not one) youll get Say “+2 Str For breaking (64) Carrot- In a F claim”

Or, you can get str when Raiding for example “+5 STR per block broken by explosion in a Enemy territory, (but to not over power this, there should be a cap or certain blocks broken)

^ Ofcourse the server owner would be able to change amounts if STR gained or Lost for balance reasons.

@Kris-Driv Kris-Driv pinned this issue Sep 8, 2020
@Kris-Driv
Copy link
Contributor

Soon to be worked on!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants