Trapping abilities affect adjacent foes only
dexsearch: treat NFE as a tier
Merge pull request #1256 from Morfent/trivia

Update trivia plugin
Merge pull request #1258 from Slayer95/triples-trap

Trapping abilities affect adjacent foes only
BattleRoom refactor to support tournaments better

Generalized the BattleRoom constructor function (and the functions that
call it) to pass an arbitrary `options` object instead of a boolean for
`rated` only. Also, removed mention of `parent` or `parentid` in the
constructor and functions because it's no longer needed or used.

Added support to the BattleRoom constructor to let it process tournaments
properly. Now, instead of having the tournament forcefully override the
BattleRoom.win function, the BattleRoom itself can handle the callback for
when a tournament participant wins the battle.

Added a check for tournament battles to prevent users who aren't part of
that specific tournament battle from entering the battle.
/userauth command

Looks up a user's roomauth
Optional 'global' for global promotion/demotion

Adds support for adding the word 'global' in front of global
promotion/demotion commands, for instance /globalmod username
to promote a user to global mod.

Also adds /roomdeauth.
Use null-prototype for roomalias table
Merge pull request #1249 from ascriptmaster/tourney-join-lock

Prevent voices from entering tournament battles as a battler
Misc cleanup

The important fixes from pull request #865
Merge pull request #1259 from Morfent/trivia

Add chat plugin config directory
NEXT: Buff Gossamer Wing

Gossamer Wing now grants 1/16 recovery after using a status move
Add aliases for Sash and Torn-T
Emergency fix to tour refactor
ResourceMonitor: log starting tour over default cap

This was accidentally committed with the emergency fix, but now that
it's there I might as well fix it to use ResourceMonitor like it's
supposed to.
Improvements to report command

This includes a change to the response message, from
"Hello, staff member here to assist with your report" to "hi"

The new message was created after hours of deliberation from
our newly-formed Response Message Committee, and was the only
proposal to reach the required 4-1-0 supermajority.
Fix Assist bug

The noAssist table wasn't working because of a bug in ae6da14ca0
namely that the .moves array wasn't toId'd.

Come to think of it, there's no reason for .moves to exist at
all anymore. We should probably just refactor it out.
Fix code style in previous commit
Allow locked mods to PM mods

The locked PM condition is now changed from 'can PM anyone who
could lock this user' to 'can PM anyone who could unlock this
user'.
Add CAP 19