There was already a plugin to protect the tag of a team or clan 'clantag'
but impossible to download this plugin then here is my plugin to protect the tag teams or clans
TagProtect Plugin v1.2
It protects 2 tags
first tag . exact tag of team
second tag . second tag (for members in test by exemple)
3 commands :
- !listmemberclan or !ltmc For see the list of members of the team who are authorized to wear the tag.
- !addct [name] To make list of members of the team who are authorized to wear the tag.
- !delct [name] For delete a menber from the list.
exmple for my clan 'The Pirate Family'
clan name 'The Pirate Family'
exact tag '-[TPF]-'
second tag '-[TPF-T]-' for members in test
approximate tag 'tpf'
if the player is not registered and connects with as nickname :
-[TPF]-nickname or -[tpf]-nickname -> player banned
nickname-[TPF]- or nickname-[tpf]- -> player banned
-[TPF-T]-nickname or -[tpf-t]-nickname -> player banned
nickname-[TPF-T]- or nickname-[tpf-t]- -> player banned
tpfnickname or TPFnickname -> kicked
nicknametpf or nicknameTPF -> kicked
nicknametpfnickname -> no kicked no banned
nickname-tpf-nickname -> kicked
in tagprotect.xml , possibility to disable or enable the ban for exact tag and second tag
banactived = yes -> if a player is not registered as a member of the team and he wears the exact tag, he is banned
banactived = no ->if a player is not registered as a member of the team and he wears the exact tag, he is kicked with a message inviting him to contact the administrator
useful function when the all members of a team is not registered
1. Place the tagprotect.py in your ../b3/extplugins and the
tagprotect.xml in your ../b3/extplugins/conf folders.
2. Open your B3.xml file (default in b3/conf) and add the next line in the
<plugins> section of the file:
<plugin name="tagprotect" config="@b3/extplugins/conf/tagprotect.xml"/>
3. Open tagprotect.xml
modify clan name (exemple : The Pirate Family )
modify tag exact (exemple : -[TPF]- )
modify second tag (exemple : -[TPF-T]- for test member by exemple)
modify approximate tag (exemple tpf )
modify banactived yes/no
4. Run the contact SQL script (tagprotect.sql) on your B3 database
download -> tagprotect
Sorry for my English