Good job Noviets!
Is there a way to put "Friendly Fire" in it ?
[DOUBLEPOST=1500799636][/DOUBLEPOST]we need a option to /toggle /untoggle friendly fire in this plugin.
HW Clans [Unmaintained]
Discussion in 'Plugin Support' started by SouZa, Feb 18, 2016.
-
-
@Wulf or @Noviets
Could one of you two please fix this plugin because while using the commands /clan promote or /clan admin promote and then the playername its says that I'm doing it worng but I'm not and even the showabovename while makeing an cland for the first time you're able to see the clan name above someone head but while relogging from the game the clan name isn't showing anymore above someone his had,
if one of you two can fix this that will be nice because this plugin is bugging as hell -
Hello
Everytime i write in chat it doubles it up with my clan name and local.
Its really annoying -
-
Do you know if I can disable players to change the colors? So only me as server owner that can do that? -
"AllowClanOwnerChangeColor": false,
so false means its off,
and true is on
so be sure its on false and use inside of the game
/reload HWClans.use -
Trux replied to you on how to disable players from changing chat colors. -
The /reload HWClans.use dont work though so i just restrt server
Yes thank you so much -
/reload HWClans.use or /HWclans.use
You can use the/reload command with every plugin that you've on your server.
Ofcourse you've to use this only.
When you change the json file. -
-
Update
Code:Failed to call hook 'OnPlayerTakeDamage' on plugin 'HWClans v1.3.4' (NullReferenceException: Object reference not set to an instance of an object)
-
Wolf,please add OnPlayerTakeDamage i use Clan FF for hurtworld please add OnPlayerTakeDamage for oxide
-
You use it on V2 or V1 ?
It doesnt need a hook update. You did something wrong. -
But I had everything normal before the oxide was updated -
You need to ask Wulf about maybe he removed that hook from the current V1 Build.
-
-
Wulf Community Admin
-
Code:
void OnPlayerTakeDamage(PlayerSession session, EntityEffectSourceData dataSource) { EntityStats stats = session.WorldPlayerEntity.GetComponent<EntityStats>(); string name = session.Name; string tmpName = GetNameOfObject(dataSource.EntitySource); if (tmpName!="" && !tmpName.Contains("Creatures")){ string KillerName = tmpName.Remove(tmpName.Length - 3); Clan myClan = getClan(session); if (myClan != null && myClan.clanff==0) { List<PlayerSession> clanSessions = getMembersOnline_byClan(myClan); foreach (PlayerSession ses in clanSessions) { if(ses.Name==KillerName && ses.Name!=session.Name){ dataSource.Value = 0; Singleton<AlertManager>.Instance.GenericTextNotificationServer("Не обижай соклановца!",getSession(KillerName).Player); return; } } } return; } return; }
-
It doesn't even start