enum PrivateParlorXT::CommandPermissions
Overview
Commands and command types which can be given to a Rank
to permit using certain commands
Commands permitted for each type:
Users
: View the exact number of joined, left, and blacklisted users
Upvote
: Upvote messages
Downvote
: Downvote messages
Promote
: Promote users to the same rank AND/OR lower ranks (Mutually exclusive with PromoteSame
and PromoteLower
)
PromoteLower
: Promote users to lower ranks ONLY (Mutually exclusive with Promote
and PromoteSame
)
PromoteSame
: Promote users to the same rank ONLY (Mutually exclusive with Promote
and PromoteLower
)
Demote
: Demote users of lower rank
Sign
: Sign a message with the user's username
TSign
: Sign a message with a tripcode
Reveal
: Privately reveal username to another user
Spoiler
: Add or remove a spoiler from a media message using SpoilerCommand
Pin
: Pin a message to the chat
Unpin
: Unpin the a message or the recent message
Ranksay
: Sign a message with rank name (Mutually exclusive with RanksayLower
)
RanksayLower
: Sign a message with rank name OR name of a lower rank IF that rank can ranksay (Mutually exclusive with Ranksay
)
Warn
: Warn a message and give the user a cooldown
Delete
: Delete a message and give the user a cooldown
Uncooldown
: Remove a cooldown from a user
Remove
: Delete message without giving the user a cooldown
Purge
: Delete all messages from recently blacklisted users
Blacklist
: Ban a user from the chat
Whitelist
: Invite a user to the chat (Applicable only if registration is closed)
MotdSet
: Modify and set the MOTD/rules
RankedInfo
: Get info (OID, karma, cooldown duration) of a another user
Unblacklist
: Unban a user from the chat
Defined in:
private-parlor-xt/ranks/command_permissions.crEnum Members
-
Users =
0
-
Upvote =
1
-
Downvote =
2
-
Promote =
3
-
PromoteLower =
4
-
PromoteSame =
5
-
Demote =
6
-
Sign =
7
-
TSign =
8
-
Reveal =
9
-
Spoiler =
10
-
Pin =
11
-
Unpin =
12
-
Ranksay =
13
-
RanksayLower =
14
-
Warn =
15
-
Delete =
16
-
Uncooldown =
17
-
Remove =
18
-
Purge =
19
-
Blacklist =
20
-
Whitelist =
21
-
MotdSet =
22
-
RankedInfo =
23
-
Unblacklist =
24
Instance Method Summary
- #blacklist?
- #delete?
- #demote?
- #downvote?
- #motd_set?
- #pin?
- #promote?
- #promote_lower?
- #promote_same?
- #purge?
- #ranked_info?
- #ranksay?
- #ranksay_lower?
- #remove?
- #reveal?
- #sign?
- #spoiler?
- #t_sign?
- #unblacklist?
- #uncooldown?
- #unpin?
- #upvote?
- #users?
- #warn?
- #whitelist?