Difference between revisions of "Raid.php"

From Bebot Wiki 2
Jump to navigationJump to search
Line 53: Line 53:
 
==== Settings ====
 
==== Settings ====
  
AnnounceDelay: 120
+
AlertDisc:
Description: Specify the delay between raid announces.
+
Description: Do we alert Discord of raid activity ?
Change to: [ 30 | 60 | 120 | 180 | 340 | 400 | 600 | 900 ]
 
  
AutoEnd: 8
+
AlertIrc:  
Description: After how many hours a running raid is assumed forgotten and ended automatically?
+
Description: Do we alert Irc of raid activity ?
Change to: [ 4 | 8 | 12 ]
 
  
Cformat:  Raid Command from :  
+
AnnounceDelay:
Description: How Should the Raid Command be Output, Use  and  to place name and message where you want. also  for new line
+
Description: Specify the delay between raid announces.
/tell Uprof !set raid Cformat <new value>
 
  
Command: LEADER
+
AutoEnd:
Description: Who should be able to access the higher level raid commands (all commands except join/leave)?
+
Description: After how many hours a running raid is assumed forgotten and ended automatically?
Change to: [ ADMIN | LEADER | MEMBER | GUEST | ANONYMOUS ]
 
  
inPG: On
+
Cformat:
Description: Do users have to be in the PG to join a Raid?
+
Description: How Should the Raid Command be Output, Use  and to place name and message where you want. also  for new line
  Change to: [ On | Off ]
 
  
minlevel: 1
+
Command:
Description: Whats the Default min level to join Raid.
+
Description: Who should be able to access the higher level raid commands (all commands except join/leave)?
/tell Uprof !set raid minlevel <new value>
+
 
 +
DiscChanId: 
 +
Description: What Discord ChannelId in case we separate raid alerts from main Discord channel (leave empty for all in main channel)
 +
 
 +
inPG:
 +
Description: Do users have to be in the PG to join a Raid?
 +
 
 +
minlevel:
 +
Description: Whats the Default min level to join Raid.
  
 
MoreBots:   
 
MoreBots:   
Description: Anymore bots (sharing same DB) that should be included in the raid stats? This has to be a comma-separated list.
+
Description: Anymore bots (sharing same DB) that should be included in the raid stats? This has to be a comma-separated list.
/tell Uprof !set raid MoreBots <new value>
 
  
Points: 0.1
+
Points:
Description: How Many points should a User get Every minute while in Raid
+
Description: How Many points should a User get Every minute while in Raid
/tell Uprof !set raid Points <new value>
 
  
 
raidtypes:   
 
raidtypes:   
Description: List of Raid Types to show in raid control, use ; to seperate
+
Description: List of Raid Types to show in raid control, use ; to seperate
/tell Uprof !set raid raidtypes <new value>
 
  
showcallers: Off
+
showcallers:
Description: Whats the Default for Show Callers.
+
Description: Whats the Default for Show Callers.
Change to: [ On | Off ]
 
  
showlft: On
+
showlft:
Description: show LFT link next to raid join
+
Description: show LFT link next to raid join
Change to: [ On | Off ]
 
  
showtank: Off
+
showtank:
Description: Whats the Default for Show Tank.
+
Description: Whats the Default for Show Tank.
Change to: [ On | Off ]
 
  
AddOnRejoin: On
+
AddOnRejoin:
Description: Automatically add players to the raid if they where in the raid but left and rejoin Uprof's channel?
+
Description: Automatically add players to the raid if they where in the raid but left and rejoin Uprof's channel?
Change to: [ On | Off ]
 
  
Remonleave: On
+
Remonleave:
Description: Automatically remove players from the raid if they leave Uprof's channel?
+
Description: Automatically remove players from the raid if they leave Uprof's channel?
Change to: [ On | Off ]
 

Revision as of 16:31, 26 September 2021

Raid.php

Description

Handles raid functions and awards raid points


Features

 * List of features the module provides


Commands provided
^Command  ^ Keyword  ^Argument(s)   ^Description                          ^Tell      ^Guild     ^Priv      ^
|!raid    |start     |<word(s)>     |Starts named raid                    |Leader    |N/A       |Leader    |
|!raid   |description|<word(s)>     |Renames raid                         |Leader    |N/A       |Leader    |
|!raid    |note      |<word(s)>     |Adds raid a note                     |Leader    |N/A       |Leader    |
|!raid    |end       |              |Ends a raid                          |Leader    |N/A       |Leader    |
|!raid    |cancel    |              |Cancels a raid                       |Leader    |N/A       |Leader    |
|!raid    |tank      |<name>        |Sets raid tank                       |Leader    |N/A       |Leader    |
|!raid    |move      |<number>      |Adds move in X seconds to announce   |Leader    |N/A       |Leader    |
|!raid   |showcallers|<on|off>      |Adds callers to announce             |Leader    |N/A       |Leader    |
|!raid    |showtank  |<on|off>      |Adds tank to announce                |Leader    |N/A       |Leader    |
|!raid    |check     |              |Check presence of raid participants  |Leader    |N/A       |Leader    |
|!raid    |list      |              |Shows info about raid participants   |Leader    |N/A       |Leader    |
|!raid    |reward    |<pts>         |Rewards a raid                       |Leader    |N/A       |Leader    |
|!raid    |punish    |<pts>         |Punishes a raid                      |Leader    |N/A       |Leader    |
|!raid    |pause     |              |Pauses points over time              |Leader    |N/A       |Leader    |
|!raid    |unpause   |              |Unpauses points over time            |Leader    |N/A       |Leader    |
|!raid    |join      |              |Join a raid                          |Guest     |N/A       |Guest     |
|!raid    |leave     |              |Leaves a raid                        |Guest     |N/A       |Guest     |
|!raid    |add       |<name>        |Adds player <name> to the raid       |Leader    |N/A       |Leader    |
|!raid    |kick      |<name>        |Kicks player <name> from the raid    |Leader    |N/A       |Leader    |
|!raid    |lock      |              |Locks the raid from further joins    |Leader    |N/A       |Leader    |
|!raid    |unlock    |              |Opens the raid for joins after a lock|Leader    |N/A       |Leader    |
|!raid    |notin     |              |Warns not joined to do so            |Leader    |N/A       |Leader    |
|!raid    |notinkick |              |Kicked not joined                    |Leader    |N/A       |Leader    |
|!raid    |top       |              |Shows Leaders/Raiders Top #5         |Leader    |N/A       |Leader    |
|!s       |          |<text>        |Shouts the text on channel           |Leader    |N/A       |Leader    |

Notes to table:\\ You also can check !raidhistory with linked details about each ended raid.

Related commands

 * **!points** - Manage raid points. See Points.php
 * **!caller** - Manage callers for raids and events. See Callers.php


Settings

AlertDisc: Description: Do we alert Discord of raid activity ?

AlertIrc: Description: Do we alert Irc of raid activity ?

AnnounceDelay: Description: Specify the delay between raid announces.

AutoEnd: Description: After how many hours a running raid is assumed forgotten and ended automatically?

Cformat: Description: How Should the Raid Command be Output, Use and to place name and message where you want. also for new line

Command: Description: Who should be able to access the higher level raid commands (all commands except join/leave)?

DiscChanId: Description: What Discord ChannelId in case we separate raid alerts from main Discord channel (leave empty for all in main channel)

inPG: Description: Do users have to be in the PG to join a Raid?

minlevel: Description: Whats the Default min level to join Raid.

MoreBots: Description: Anymore bots (sharing same DB) that should be included in the raid stats? This has to be a comma-separated list.

Points: Description: How Many points should a User get Every minute while in Raid

raidtypes: Description: List of Raid Types to show in raid control, use ; to seperate

showcallers: Description: Whats the Default for Show Callers.

showlft: Description: show LFT link next to raid join

showtank: Description: Whats the Default for Show Tank.

AddOnRejoin: Description: Automatically add players to the raid if they where in the raid but left and rejoin Uprof's channel?

Remonleave: Description: Automatically remove players from the raid if they leave Uprof's channel?