Hot Summer Deals are Here!
Celebrate with up to 99% off on 17,700 resources
01
Days
13
Hours
51
Mins
55
Secs

[$2] Combat Fix - (HCF)

Status
This thread has been locked.

Taleeko

Server Owner | Developer
Banned
Feedback score
10
Posts
446
Reactions
264
Resources
0
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

PTech

Feedback score
6
Posts
422
Reactions
261
Resources
0
Why aren't you using something like.a hook interface so users can automatically have this plugin hooked with supported combattag ones?
 

Sam

C++ Developer
Supreme
Feedback score
17
Posts
429
Reactions
227
Resources
0
Why aren't you using something like.a hook interface so users can automatically have this plugin hooked with supported combattag ones?
There's too many though, just modify the amount of time you can't place blocks for and make it match the combat tag to support it. Honestly this is an extremely simple plugin so I'll most likely recreate this on my GitHub/Spigot and support most versions because I've seen an increasing demand for this so I'll make it. My Spigot is becoming dead so that's another teason to recreate it. I have no hate twords the creator if anyone thinks this is just to sabotage his sales.
 

qIooIp

Supreme
Feedback score
3
Posts
14
Reactions
149
Resources
0
What would suggest is making a configurable delay = combat timer and simply listening if event was cancelled else to put in somewhat map and check onBlockPlace.
If you get what I mean.

When you don't know what you are talking about because your Timers come already done with iHCF Kappa
 

qIooIp

Supreme
Feedback score
3
Posts
14
Reactions
149
Resources
0
No you are just too stupid to understand.

Are you mad again because I made more than your core in a month?
Or because you came crying into teamspeak of owner to remove reputation like some bitch HAHAHAHHAHAHAH

Just like you whenever you get negative reputation.
 

Ambrosia

Premium
Feedback score
22
Posts
2,340
Reactions
1,384
Resources
0
Not the point to post code lmfao that might be his code.
If that was exactly his code than, than, please go buy a lottery ticket right now.

No you are just too stupid to understand.

Are you mad again because I made more than your core in a month?
Or because you came crying into teamspeak of owner to remove reputation like some bitch HAHAHAHHAHAHAH
*clap* you made money on iHCF, you're a real marketing god.
 

PTech

Feedback score
6
Posts
422
Reactions
261
Resources
0
There's too many though, just modify the amount of time you can't place blocks for and make it match the combat tag to support it. Honestly this is an extremely simple plugin so I'll most likely recreate this on my GitHub/Spigot and support most versions because I've seen an increasing demand for this so I'll make it. My Spigot is becoming dead so that's another teason to recreate it. I have no hate twords the creator if anyone thinks this is just to sabotage his sales.
Listen, this is how I would do it:

> Make a CombatTagPluginHook interface with two methods, a getTimeLeft, and isTagged function.
> In an implementation package, create hooks for individual plugins you want support for.
> In the main class, declare a CombatTagPluginHook field, don't initialize it just yet, have perhaps a map containing a string which is the plugin's name in that said plugin's plugin.yml, and the hook as the value,
> In a setup function, loop through said map, check if the server contains a plugin of that name, and then return the method, and initialize the above said field.

In the listeners, via dependency injection, access the hook, check if they're in a tag, and placeholder the getTime function from that hook with something like {time} for the configuration file, oh and just check if the in the config file the boolean of "enabled" to make sure that the plugin is enabled, if it is, stop placing the block if isTagged(player) returns true.

Done and done. Not a big deal, I did it myself, and it was a really easy thing to do.
 

Sam

C++ Developer
Supreme
Feedback score
17
Posts
429
Reactions
227
Resources
0
Listen, this is how I would do it:

> Make a CombatTagPluginHook interface with two methods, a getTimeLeft, and isTagged function.
> In an implementation package, create hooks for individual plugins you want support for.
> In the main class, declare a CombatTagPluginHook field, don't initialize it just yet, have perhaps a map containing a string which is the plugin's name in that said plugin's plugin.yml, and the hook as the value,
> In a setup function, loop through said map, check if the server contains a plugin of that name, and then return the method, and initialize the above said field.

In the listeners, via dependency injection, access the hook, check if they're in a tag, and placeholder the getTime function from that hook with something like {time} for the configuration file, oh and just check if the in the config file the boolean of "enabled" to make sure that the plugin is enabled, if it is, stop placing the block if isTagged(player) returns true.

Done and done. Not a big deal, I did it myself, and it was a really easy thing to do.
That would work, problem is I cannot support EVERY CombatTag plugins so I will most-likely make a "time sync" option for the unsupported plugins. But honestly it's about time for CombatTag plugins to just implement this insanely simple feature, might just be better off contacting the developers to the said CombatTag plugin and request the feature and GIVE them the code for it so they have to do little to no work.
 

PTech

Feedback score
6
Posts
422
Reactions
261
Resources
0
That would work, problem is I cannot support EVERY CombatTag plugins so I will most-likely make a "time sync" option for the unsupported plugins. But honestly it's about time for CombatTag plugins to just implement this insanely simple feature, might just be better off contacting the developers to the said CombatTag plugin and request the feature and GIVE them the code for it so they have to do little to no work.
Github. You're making an open source piece of software, yes? Okay, great, if people want support on it, they write the hook themselves, if they don't, they make a request for someone to, and someone comes to the rescue.
 

Taleeko

Server Owner | Developer
Banned
Feedback score
10
Posts
446
Reactions
264
Resources
0
There's too many though, just modify the amount of time you can't place blocks for and make it match the combat tag to support it. Honestly this is an extremely simple plugin so I'll most likely recreate this on my GitHub/Spigot and support most versions because I've seen an increasing demand for this so I'll make it. My Spigot is becoming dead so that's another teason to recreate it. I have no hate twords the creator if anyone thinks this is just to sabotage his sales.
I mean I saw a demand for a plugin made it and selling it for very cheap actually little to nothing, don't continue to ruin this community by handing plugins to them cause they will just continue to ask for free shit or say OMG 2$?!?! WTF I will just get it free some xyzdevfaggot321 like pls no sam lmfao
 
Banned forever. Reason: Scamming (https://builtbybit.com/threads/taleeko-scam-report.684526/)

Nerm

Deactivated
Feedback score
21
Posts
851
Reactions
714
Resources
0
I mean I saw a demand for a plugin made it and selling it for very cheap actually little to nothing, don't continue to ruin this community by handing plugins to them cause they will just continue to ask for free shit or say OMG 2$?!?! WTF I will just get it free some xyzdevfaggot321 like pls no sam lmfao
I like your signature. :tup:
 
Status
This thread has been locked.
Top