thankyou
Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here

NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Author Topic: ExtraAdmin plugin for UrT  (Read 6911 times)

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
ExtraAdmin plugin for UrT
« on: October 29, 2010, 10:22:41 PM »
This plugin as been made to add new function to the bot.
- !change (change teams betweens 2 peoples or 1 people and the person that tell the command)
- !afk (nuke an afk player and if he's kill with nuke, he's kick)
- !pm (when you are spectator you can send a pm to 1 player)

Many feature will be add later

AFK command need parser iourt41 v1.6.0 or above

http://forum.bigbrotherbot.net/downloads/?sa=downfile&id=45
« Last Edit: December 12, 2011, 05:15:04 PM by Beber888 »
Python, Php, UrT SourceCode

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: ExtraAdmin plugin for UrT
« Reply #1 on: November 01, 2010, 11:24:24 AM »
New version of extra admin for UrT with this :
- !change (change teams betweens 2 peoples or 1 people and the person that tell the command)
- !afk (speak to afk player and if he don't reply, he's forced spectator)
- !kafk (speak to afk player and if he don't reply, he's kicked)
- !pm (when you are spectator you can send a pm to 1 player)
- !salut (To say hello in bigtext)
- !sniperonly (Call vote for sniper only mode)
- !moonmode (Call vote for sniper only mode)
- !pistolonly (Call vote for pistol only mode)
- !autonuke (To be nuked until death)
- Configure Server in a definite map, gametype if nobody or few people
- !Exit (Tell the name of the last player disconnect)
- Show IP of player connecting

New fonctions can be added on demand.

http://forum.bigbrotherbot.net/plugins-by-beber888/extraadmin-plugin-for-urt/


If any problem explain it here

Want more functions?? Ask in this topic...
« Last Edit: December 12, 2011, 05:20:22 PM by Beber888 »
Python, Php, UrT SourceCode

Offline BlumentopfErde

  • Jr. Member
  • **
  • Posts: 12
    • Bleilust
Re: ExtraAdmin plugin for UrT
« Reply #2 on: May 07, 2011, 04:02:22 PM »
Hi!

Two suggestions for this plugin:

1.
I added two parameters named "time_afk" and "time_kafk" for the time in seconds the player have to answer before he will get kicked / forced in spec

2.
Due to compatibility the parameter "RAZ_server" should be have the value "0" by default.

Greetz
BlumentopfErde

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: ExtraAdmin plugin for UrT
« Reply #3 on: May 08, 2011, 09:37:51 AM »
Ok thanks
Python, Php, UrT SourceCode

Offline berseker

  • Newbie
  • *
  • Posts: 2
Re: ExtraAdmin plugin for UrT
« Reply #4 on: May 10, 2011, 02:03:32 AM »
Hi! I just registered to submit exactly the same modif as BlumentopfErde submitted 3 days ago... luck

Hi!

Two suggestions for this plugin:

1.
I added two parameters named "time_afk" and "time_kafk" for the time in seconds the player have to answer before he will get kicked / forced in spec

2.
Due to compatibility the parameter "RAZ_server" should be have the value "0" by default.

Greetz
BlumentopfErde

Offline beepbeep

  • Full Member
  • ***
  • Posts: 71
Re: ExtraAdmin plugin for UrT
« Reply #5 on: September 20, 2011, 08:00:13 PM »
Quote
1.
I added two parameters named "time_afk" and "time_kafk" for the time in seconds the player have to answer before he will get kicked / forced in spec


id like this. how do i add it?

because it kicks/forces wayy too fast

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: ExtraAdmin plugin for UrT
« Reply #6 on: September 22, 2011, 05:44:36 PM »
I have done a version for my server where all the votes are deleted in the plugins.
So I've modified the voting plugins with the votes (and time_afk" and "time_kafk) from extraadmin plugin.

With my versions now you will have :

- Extraadmin with :
Quote
- !change (change teams betweens 2 peoples or 1 people and the person that tell the command)
- !afk (speak to afk player and if he don't reply, he's forced spectator)
- !kafk (speak to afk player and if he don't reply, he's kicked)
- !pm (when you are spectator you can send a pm to 1 player)
- !salut (To say hello in bigtext)
- !autonuke (To be nuked until death)
- Configure Server in a definite map, gametype if nobody or few people
- !Exit (Tell the name of the last player disconnect)
- Show IP of player connecting

- Voting plugin with :
Quote
- !sniperonly (Call vote for sniper only mode)
- !moonmode (Call vote for sniper only mode)
- !knifeonly (Call vote for knife only mode)
- !pistolonly (Call vote for pistol only mode)
- And the other from voting plugin

I have increase functionnality of voting plugin because on windows the UrT server can allways be hacked if votes are allowed...
« Last Edit: September 22, 2011, 05:54:06 PM by Beber888 »
Python, Php, UrT SourceCode

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: ExtraAdmin plugin for UrT
« Reply #7 on: September 22, 2011, 05:52:29 PM »
If you want modify your version of plugins :

Edit extraadmin.py (notepad) and change the value (by default : 5 seconds) by another value.

Line 245 and 265

self.TempoAvantForce = threading.Timer(5, self.Force)
self.TempoAvantKick = threading.Timer(5, self.Kick)
Python, Php, UrT SourceCode

Offline Father Goose

  • Jr. Member
  • **
  • Posts: 16
Re: ExtraAdmin plugin for UrT
« Reply #8 on: October 13, 2011, 08:38:12 PM »
Two suggestions for this plugin:

2.
Due to compatibility the parameter "RAZ_server" should be have the value "0" by default.

Yes, we just unhid extraadmin on all our UrT servers and I overlooked this note to our detriment even though I had a quick scan of this thread. I guess it was too quick. Careful!

Offline BlumentopfErde

  • Jr. Member
  • **
  • Posts: 12
    • Bleilust
Re: ExtraAdmin plugin for UrT
« Reply #9 on: January 15, 2012, 02:14:10 PM »
Hi!

We have a UrT-Server with 26 slots.
It seems that the Array "Tableau"(extraadmin.py, Line 58) is too small. So we get Errors when a player with a higher Slot than 20 connects / deconnects.

I there a possibility to get the real Slotcount of the server and fill this array dynamically?

Regards
BlumentopfErde

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: ExtraAdmin plugin for UrT
« Reply #10 on: January 17, 2012, 03:24:03 PM »
Hello, I will look for this feature.
Python, Php, UrT SourceCode

Offline Need

  • Jr. Member
  • **
  • Posts: 11
Re: ExtraAdmin plugin for UrT
« Reply #11 on: January 21, 2012, 04:44:12 PM »
Thank you very much for the plugin
I have a doubt

If I am sniperonly or pistolonly mode, as you exit this mode before the scheduled time?
Thank you ...

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: ExtraAdmin plugin for UrT
« Reply #12 on: January 21, 2012, 11:34:11 PM »
Sorry I don't understand your question !
Before call a sniperonly (f.eg) vote I remember the gear setting of the server.
When time it over I re-write de gear to the default value of the server.
Python, Php, UrT SourceCode

Offline Beber888

  • Moderator
  • Sr. Member
  • *
  • Posts: 179
Re: ExtraAdmin plugin for UrT
« Reply #13 on: January 23, 2012, 01:18:06 AM »
Hello, all the modification that are written on the posts have been released.
All voting function have been deleted to be append to the Voting plugin by ismael.
I've released also this new version of voting
Python, Php, UrT SourceCode

Offline Need

  • Jr. Member
  • **
  • Posts: 11
Re: ExtraAdmin plugin for UrT
« Reply #14 on: January 26, 2012, 04:40:13 PM »
Thanks for answering ..

  Do not know if I explain it, do not drive this language.

What I meant is that for example:
If I configure the plugin to sniperonly mode once accepted the vote last 2 hours, how do I exit this mode without having to wait for 2 hours that are scheduled?

I hope you understand me

Anyway thank you very much

regards

 


Rate this page +1 at Google Search