Clans

Approved Clans 1.2.0

No permission to download

tarynkelley

Moderator
Moderator
Nov 14, 2015
559
107
28
Parts Unknown
I noticed a small mistake:

In the "ckick" section

Line 766

name = Player.Name.replace('[' + clan + ']', '').strip(' ')

has to be

name = playerr.Name.replace('[' + clan + ']', '').strip(' ')

Otherwise the player who got kicked out of a clan will get the name of the person who kicked him.
 
  • Informative
Reactions: DreTaX

gintaras

Plugin Developer
Plugin Developer
Jan 10, 2017
68
15
8
I noticed a small mistake:

In the "ckick" section

Line 766

name = Player.Name.replace('[' + clan + ']', '').strip(' ')

has to be

name = playerr.Name.replace('[' + clan + ']', '').strip(' ')

Otherwise the player who got kicked out of a clan will get the name of the person who kicked him.
lol forgot to fix this...
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
3,979
1,292
113
At your house.
github.com
I noticed a small mistake:

In the "ckick" section

Line 766

name = Player.Name.replace('[' + clan + ']', '').strip(' ')

has to be

name = playerr.Name.replace('[' + clan + ']', '').strip(' ')

Otherwise the player who got kicked out of a clan will get the name of the person who kicked him.
Oh. xD
 

McRustReloaded

Moderator
Moderator
Mar 20, 2016
140
17
18
39
Parts Unknown
Hey Dre !
The Option "Cost" in config does not work. If i set Cost=1000 and i do ./ccreate test ingame, i can create a clan without pay. How can i use clans with iConomy ? BTW is it possible to set money to HomeSystem ?
 

Assassin

Plugin Developer
Plugin Developer
Apr 9, 2017
192
40
28
19
Iran
Can you add setting for max players can be in a clan?
for example
if
MaxClanMembers=6
every clan can have only 6 members not 7 or etc
 
  • Informative
  • Winner
Reactions: armand and DreTaX

Pompeyo

Plugin Developer
Plugin Developer
Jan 6, 2018
69
30
18
37
Cuba
Hiiii

I am having this error after updating Clan, could you explain to me what is wrong ??
[2/11/2018 12:44:48 AM] [Error] [IronPython] Error in plugin Clans:
[2/11/2018 12:44:48 AM] [Error] Traceback (most recent call last):
File "<string>", line 451, in On_PlayerHurt
KeyError: CAHOS


Thank you !!
 

Robert

Member
Trusted Member
Member
Aug 1, 2014
32
3
8
[Error] Failed to invoke: Clans<Python>.On_PlayerHurt()
TSK
System.Object GetItem(System.Object)
at IronPython.Runtime.PythonDictionary.GetItem (object) <0x00041>
at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00013>
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x00089>
at (wrapper dynamic-method) object.On_PlayerHurt$130 (System.Runtime.CompilerServices.Closure,IronPython.Runtime.PythonFunction,object,object) <0x00c9e>

Traceback (most recent call last):
File "<string>", line 451, in On_PlayerHurt
KeyError: TSK
 

Revezunds

Moderator
Moderator
Dec 1, 2017
131
44
28
[Error] Failed to invoke: Clans<Python>.On_PlayerHurt()
TSK
System.Object GetItem(System.Object)
at IronPython.Runtime.PythonDictionary.GetItem (object) <0x00041>
at IronPython.Runtime.PythonDictionary.get_Item (object) <0x00013>
at (wrapper dynamic-method) object.CallSite.Target (System.Runtime.CompilerServices.Closure,System.Runtime.CompilerServices.CallSite,object,object) <0x00089>
at (wrapper dynamic-method) object.On_PlayerHurt$130 (System.Runtime.CompilerServices.Closure,IronPython.Runtime.PythonFunction,object,object) <0x00c9e>

Traceback (most recent call last):
File "<string>", line 451, in On_PlayerHurt
KeyError: TSK
Waoo, how are you getting all these errors, i bet there is a problem with server config or a file. are you on the latest version of fougerite and Rutbuster Build?