Disable homes if they become in enemy territory

Status
This thread has been locked.
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Habin_Is_Cool

#YunoGang's pedo
Supreme
Feedback score
70
Posts
674
Reactions
1,150
Resources
0
Factions?
I'm sure he is referring to regular homes, not /f home. So say they claim over your base, you can't do /home and be teleported to it.
 

Habin_Is_Cool

#YunoGang's pedo
Supreme
Feedback score
70
Posts
674
Reactions
1,150
Resources
0
enemy territory
Same thing applies, if an enemy claims over where you have your set, you can't teleport to it, that's what he wants
 

Hassan R.

Hassan#2565
Premium
Feedback score
4
Posts
284
Reactions
77
Resources
0
I'm sure he is referring to regular homes, not /f home. So say they claim over your base, you can't do /home and be teleported to it.
Yes, you're correct.[DOUBLEPOST=1472266478][/DOUBLEPOST]
Same thing applies, if an enemy claims over where you have your set, you can't teleport to it, that's what he wants
Well.. you have to be in your own territory to even set /f sethome.
 

Hassan R.

Hassan#2565
Premium
Feedback score
4
Posts
284
Reactions
77
Resources
0
conf.json

"territoryEnemyDenyCommands": [
"home",
"sethome",
"spawn",
"tpahere",
"tpaccept",
"tpa"
],

Yeah I know about that but that only applies that you're already in enemy territory. Like I explained, if you have a /home set in your own territory and someone claims over it and you still have your home there, it will allow you to teleport there.
 

Tyler

Developer
Supreme
Feedback score
14
Posts
2,589
Reactions
2,238
Resources
0
conf.json

"territoryEnemyDenyCommands": [
"home",
"sethome",
"spawn",
"tpahere",
"tpaccept",
"tpa"
],
You call him an idiot yet still don't understand what he is saying.

Those commands set in the config cannot be used while IN ENEMY TERRITORY. If your base is claimed over by faction a, and you have a private essentials home set there, and you go fiddle around with your buddies in action b's base, he doesn't want you to be able to use /home to get back to your essentials home that was claimed over by enemies. Not faction home, and this is teleporting INTO enemy territory, not using a home command while in it.
 

Hassan R.

Hassan#2565
Premium
Feedback score
4
Posts
284
Reactions
77
Resources
0
You call him an idiot yet still don't understand what he is saying.

Those commands set in the config cannot be used while IN ENEMY TERRITORY. If your base is claimed over by faction a, and you have a private essentials home set there, and you go fiddle around with your buddies in action b's base, he doesn't want you to be able to use /home to get back to your essentials home that was claimed over by enemies. Not faction home, and this is teleporting INTO enemy territory, not using a home command while in it.
Yeah exactly. I don't think its that hard of a plugin to make with Java, but with Skript.. I'll have to remake /home and /tpa commands :/
 

Hassan R.

Hassan#2565
Premium
Feedback score
4
Posts
284
Reactions
77
Resources
0
There isn't a plugin for what you want.
Then I'm looking to purchase a custom one.[DOUBLEPOST=1472267892][/DOUBLEPOST]
Tbh I can't see how can plugin check player home and check who claims that coords.

To me this seems impossible..?
I don't know anything about Java but I'm sure there is and every big factions server has it :)
 

Hassan R.

Hassan#2565
Premium
Feedback score
4
Posts
284
Reactions
77
Resources
0
It wouldn't cause lag unless you used made it lag. It would be easy to cache it on load up, and then re-cache when they use home-type commands.[DOUBLEPOST=1472268154][/DOUBLEPOST]
I'll look into that.
Alright man.
 

Hassan R.

Hassan#2565
Premium
Feedback score
4
Posts
284
Reactions
77
Resources
0
And look first line of the API Post.
"Unfortunately, the latest Factions and FactionsUUID don't provide a common API so I would have to provide separate code for each version. "
What's your point?
 
Status
This thread has been locked.
Top