panpawn
30050d6c91
Roomsettings: Use 'button' class in UI ( #2767 )
2016-09-24 12:34:50 -07:00
Ben Davies
fec6e75f1d
Do not send rename messages when nicking to the user's current username ( #2776 )
...
This presents ghost guest nicks from appearing when logging out and renaming to
the user's guest nick and prevents being able to spam rename messages when
renaming to the user's current username.
2016-09-24 12:19:05 -07:00
Ben Davies
a88825e55f
CommandParser: register global command aliases, optimize TestPattern registration ( #2777 )
...
Aliases like /j used to not work when called from the global room while not in
lobby.
Using rest parameters for TestPattern#register instead of a
single array came out to be faster.
/roomtopic also isn't a command.
2016-09-23 19:50:56 -05:00
The Immortal
0dba5831e2
Add RU suspect test
2016-09-23 12:04:56 +04:00
panpawn
eaadd1fd44
Fix broken permission with /htmlbox ( #2766 )
...
This now makes it so that if a user can broadcast but cannot declare in that room, and they attempt to broadcast it, it will now send them the error reply themselves instead of broadcasting the error reply to the room.
Credits to Slayer95 for this fix!
2016-09-22 20:56:07 -07:00
panpawn
abcec6e363
Don't allow users to PM broadcast themselves cmds ( #2770 )
...
When this happens, the command acts like it gets sent twice... there's also no purpose when PMing yourself to have to broadcast the command.
2016-09-21 22:26:27 -05:00
Guangcong Luo
792866e74a
Fix Gen 3 Surf
...
It was previously hitting all adjacent Pokémon instead of just foes.
Closes #2761
2016-09-21 05:09:01 -07:00
panpawn
56da7a8d6d
Make Messages submodule of CommandParser ( #2754 )
...
I don't think this should have it's own global... Besides, this makes it hotpatchable with /hotpatch chat
2016-09-20 09:42:02 -07:00
panpawn
c0ab0cf22b
Add alias of 'globalunban' to unglobalban command ( #2760 )
2016-09-20 09:02:14 -07:00
czn-PS
585d7422fd
/htmlboxhelp: Update requirements ( #2759 )
2016-09-20 09:02:04 -07:00
XpRienzo
a04385fb1a
Fix globalban help ( #2755 )
...
Since the help lists /gb as an alias of globalban rather than /gban being the short alias..
2016-09-20 09:00:48 -07:00
Ivo Julca
5bacd55a91
Drop messages sent to non-existent rooms
2016-09-19 20:09:08 -05:00
The Immortal
c9968866f1
Roomban: Prevent groupchats from triggering CrisisMonitor
2016-09-20 03:43:02 +04:00
Quinton Lee
55b210e5eb
Add Battle Factory alias
2016-09-19 13:38:26 -05:00
Ivo Julca
22dc7befc0
Refactor validator to use template strings
2016-09-19 12:05:40 -05:00
Ivo Julca
8623276dbf
Improve command recognition in PMs
2016-09-19 11:18:32 -05:00
panpawn
6534f0965e
Fix typo in roomunban message ( #2756 )
...
It had the same message as a global unban; there was no way to tell the difference...
2016-09-19 05:24:45 -07:00
Guangcong Luo
1b348dabd5
Fix crash in command-parser
2016-09-18 11:45:46 -07:00
Guangcong Luo
b53ca62d8d
Sync datacenters.csv
2016-09-18 13:13:26 -04:00
Guangcong Luo
e9865056f0
Fix some typoes in ban/blacklist
2016-09-18 13:13:09 -04:00
The Immortal
c7ecac6ec8
Random Battle: Remove Stone Edge from Giratina-O
2016-09-18 19:22:27 +04:00
Guangcong Luo
270db5d1c0
Update login server public key
2016-09-18 08:13:48 -07:00
Ivo Julca
039404d62e
Fix commands sent to global room with empty target
2016-09-18 02:42:54 -05:00
Ivo Julca
8713026c8b
Fix several crashes due to missing room properties
2016-09-18 01:05:26 -05:00
Ivo Julca
1907e36fd1
Remove bogus argument from parser call
2016-09-17 23:43:41 -05:00
Ivo Julca
ce9cdecafd
Drop commands sent to rooms from outside
2016-09-17 19:42:15 -05:00
Ivo Julca
b684db5a81
Gen 1: Improve comments and refactor out volatile data for trap PP rollover
2016-09-17 15:51:05 -05:00
Bär Halberkamp
0e13baa9ab
Wifi: Make giveaway bans persist
2016-09-17 21:31:41 +02:00
The Immortal
67d15f69f8
Scavengers: Allow mods to check uptime and finished users
2016-09-17 20:46:44 +04:00
Guangcong Luo
82c041b09a
Don't leak abilities for allied Skill Swap
2016-09-17 08:33:21 -07:00
Guangcong Luo
31768c40c9
Fix /ignore message in PMs
2016-09-17 08:13:59 -07:00
Guangcong Luo
a41493a887
Rephrase roomban message
...
The roomban message was previously the same as the old globalban
message. This rephrasing makes it clearer.
2016-09-17 08:13:13 -07:00
Guangcong Luo
2deac04593
Add timestamps to mod commands
...
Messages noting warns, locks, etc now have timestamps, and can notify
and be highlighed on and all that.
2016-09-17 08:12:06 -07:00
Marty-D
cd9fd01d18
Fix weather-starting mechanics
...
Permanent weather from Abilities overrides current weather unless it's already permanent.
2016-09-17 10:27:48 -04:00
The Immortal
f197eb8f98
Add UU suspect test
2016-09-17 17:46:02 +04:00
The Immortal
ff09fc86dc
Random Battle: Give Reuniclus Magic Guard
...
Regenerator is generally a good ability, but Reuniclus always prefers
Magic Guard.
2016-09-17 17:45:50 +04:00
Guangcong Luo
fc5dc319c1
Better feedback for /inviteonly
...
It once again displays a big red message, but this time, the big red
message is clearer.
2016-09-17 02:13:24 -07:00
Guangcong Luo
50d12f6fdf
Fix permissions in /help blacklist
2016-09-17 01:57:27 -07:00
Guangcong Luo
0fa6220e60
Alias /COMMANDhelp to /help COMMAND
2016-09-17 01:56:45 -07:00
Guangcong Luo
54c86bf616
Make !help broadcastable
2016-09-17 01:45:19 -07:00
Guangcong Luo
affa4c48f4
Introduce /inviteonly
...
/inviteonly is a simplified interface for /modjoin, with only two
options:
- /inviteonly on = /modjoin +
- /inviteonly off = /modjoin off
This should make it clearer exactly what modjoin is used for.
There's also a new shortcut command:
- /ioo = /inviteonly on
which should be useful to players who frequently need maximum security.
Modjoin also no longer triggers modchat, if you use modjoin settings
other than sync.
2016-09-17 01:42:39 -07:00
Guangcong Luo
ca8b6008d2
Fix typo in blacklist help
2016-09-17 01:39:37 -07:00
Guangcong Luo
4f00aa0113
Sync datacenters.csv
2016-09-17 04:32:08 -04:00
Guangcong Luo
816dd3380d
Suppress crashes with roomgame handling
...
In theory, this code shouldn't crash, but I don't really have the
time to track down exactly what the problem is right now.
2016-09-17 04:31:11 -04:00
Guangcong Luo
86224e99ac
Fix crashes in Permissions refactor
2016-09-17 04:30:21 -04:00
Guangcong Luo
ad7301f838
Allow /modjoin + in battles
2016-09-17 04:29:45 -04:00
Guangcong Luo
6b4eaf9422
REALLY support commands in PMs
...
These changes were supposed to be in de524c1a26 but got lost in my
Git stash...
Once again, this is very experimental code; please don't base any
serious changes on it.
2016-09-17 01:16:56 -07:00
Guangcong Luo
b9e5fda591
Add [reason] to roomban/blacklist documentation
2016-09-16 22:41:43 -07:00
Guangcong Luo
8e478f5a4c
Implement /showblacklist
...
Also fix up some surrounding code.
2016-09-16 22:39:54 -07:00
Guangcong Luo
8367425694
Fix bugs in roomban/blacklist refactor
...
- /ip would display "undefined" for rooms a user isn't banned/muted in
- CrisisMonitor would report private roombans/blacklists
- Roombans/blacklists would alert for rooms you're not in
- There were crashes in /mute and /hidetext
2016-09-16 20:20:32 -07:00