Clan x86

Technical (Development, Security, etc.) => JavaOp Board => JavaOp Support Archive => Topic started by: O)Matt_Burch on April 24, 2007, 09:42:35 AM

Title: JavaOp in detail.
Post by: O)Matt_Burch on April 24, 2007, 09:42:35 AM
I saw someone wanted the javaop to be posted everything.. I've done that at my old clan forum a very long time ago.  But the code is a little messed up here..

JavaOp2

PluginsIf there is anything in those plugin description saying I, Me, or myself. it wasn't actually me, but the person who made the plugin.

Flags[/b]
Quote
The concept of flags is pretty simple. Every user has zero or more flags, each of which are represented by a single alphabetic character. Each flag represents something different. Although the role of the flags are entirely up to the plugins, some conventions include:

  • A -- user Administration
  • B -- Autobanned
  • C -- Connection related
  • D -- Designate
  • E -- auto dEsignate
  • F -- Friend
  • L -- Low level commands
  • M -- Master
  • N -- uNrestricted access
  • O -- channel Ops
  • P -- Permenant
  • Q -- Quit
  • S -- Safe
  • T -- Talk
  • U -- Universal (or User-level)
  • Z -- Zapped
Some flags give the user access to bot commands (A gives .setuser, O gives .ban, etc.), some flags mark the user as somebody special (S is safelisted, and B is autobanned), and some flags have a special effect (E users are automatically generated when the user enters the channel). What a flag does is really up to the plugins that use it.

Friends/Autoban/Safe/Zapped

There are four flags that control, to some extent, the user's presence in the channel. Ordered from the least powerful to the most powerful:

  • Friend -- This indicates that the user is a welcomed guest in the channel. They won't be affected by certain automatic bans.
  • Autoban -- If a user has the B flag, they will be banned as soon as they enter the channel provided they don't have the S flag.
  • Safe -- This is for users who are in the clan or are friends with the bot creator. Most commands won't work on them, they can only be banned by a leader with the .banz command. The only negative flag that affects them is...
  • Zapped -- A user with Z will be banned when they enter the channel, no matter what other flags they have.

Ban/Kick Commands

There are 3 levels of ban/kick commands. It can be customized who can use which, but by default to use the "z" level, you require N or M flags, and to use the normal or "f" level, you need O or N. Here are the default moderation commands:


  • banf/kickf -- Bans or kicks all users specified that don't have F or S flag.
  • ban/kick -- Bans or kicks all users specified that don't have S.
  • banz/kickz -- Bans or kicks all users.

User Management Flags
A can change BFLS
G can change BFJLST
N can change ABCDEFGHIJKLNOPQRSTVWXYZ
P can be modified by MN

Commands[/b]
Title: Re: JavaOp in detail.
Post by: Ajan on April 24, 2007, 03:18:41 PM
Great job! :) I guess some ppl might find this very handy but it'd be far easier to put it on bot's site imho.

BTW isn't the indentation a little messed up?
Title: Re: JavaOp in detail.
Post by: Hdx on April 24, 2007, 04:18:46 PM
What I ment was I wanted all the MODIFICATIONS, or addons that you guys wanted made to be listed, not all the current features.
And this would e best listed in a text document, AE the readmes for the plugins.
~Hdx
Title: Re: JavaOp in detail.
Post by: trust on April 24, 2007, 06:07:49 PM
Didn't I write an automoderation plugin? Where is that?!
Title: Re: JavaOp in detail.
Post by: iago on April 24, 2007, 06:15:45 PM
Quote from: OG Trust on April 24, 2007, 06:07:49 PM
Didn't I write an automoderation plugin? Where is that?!
That was for JavaOp1, loser! :P
Title: Re: JavaOp in detail.
Post by: Warrior on April 24, 2007, 08:21:45 PM
How hard would it be to port it? :P
Title: Re: JavaOp in detail.
Post by: iago on April 24, 2007, 09:39:26 PM
You'd be better off writing it from scratch, since it's not all that complex.
Title: Re: JavaOp in detail.
Post by: trust on April 24, 2007, 09:40:26 PM
Quote from: iago on April 24, 2007, 06:15:45 PM
Quote from: OG Trust on April 24, 2007, 06:07:49 PM
Didn't I write an automoderation plugin? Where is that?!
That was for JavaOp1, loser! :P


oh. Maybe I'll write a new one.
Title: Re: JavaOp in detail.
Post by: Newby on April 24, 2007, 09:50:29 PM
Intense list. Haha.
Title: Re: JavaOp in detail.
Post by: trust on April 24, 2007, 10:39:05 PM
do you have any of my plugins still iago?
Title: Re: JavaOp in detail.
Post by: iago on April 24, 2007, 10:54:00 PM
Probably, I don't normally delete stuff.
Title: Re: JavaOp in detail.
Post by: O)Matt_Burch on April 24, 2007, 10:55:56 PM
I was just bored one day, and just copied the info in the plugin spot, then did help and usage for all the current commands.  copied it.  then found the flags thing somewhere..

Is my anti flood numbers in the new bot?
Title: Re: JavaOp in detail.
Post by: Chavo on April 25, 2007, 10:03:07 AM
You should find the plugins I wrote some time ago and uploaded somewhere around here.  They have some pretty unique features.
Title: Re: JavaOp in detail.
Post by: Joe on April 25, 2007, 12:53:45 PM
I haven't upgraded anything except for iago's old code.

EDIT -
Well, anything he tossed on the CVS. I think a few of Ryan's projects made it there.
Title: Re: JavaOp in detail.
Post by: Ergot on May 06, 2007, 05:18:40 PM
Why is this not stickied yet?
Title: Re: JavaOp in detail.
Post by: Joe on May 06, 2007, 05:35:40 PM
It is! :D
Title: Re: JavaOp in detail.
Post by: O)Matt_Burch on May 11, 2007, 06:13:26 PM
My teachers are so wrong..  being bored will not get you anywhere.. LIES!!!
Title: Re: JavaOp in detail.
Post by: Joe on May 11, 2007, 07:07:30 PM
Heh.