Commit Graph

12 Commits

Author SHA1 Message Date
Leo
1b75e13b11 Adds a new button for admins, the SMITE BUTTON (#23767)
* Adds a new button for admins, the SMITE BUTTON

* Adds a check after input
2017-02-07 08:26:08 -06:00
Kyle Spier-Swenson
e78185c968 Adds a topic limiter. (#23478)
* Adds a topic limiter.

This appiles to all non-admins, the rate is configurable but defaults to 10 in any second and 100 in any minute.

Hitting the minute limit causes a notification to go to admins (once per minute)

The user is always notifed when a topic is ignored so they know whats going on. If they trigger a notification to admins they are told about this as well.

* This makes more sense
2017-01-30 09:20:08 +01:00
AnturK
2d4355ca97 Fixes ADMIN_COORDJMP define 2016-09-02 11:21:46 +02:00
Shadowlight213
0fb4757512 Fixes
Appearance_PERMABAN type removed. now a jobban
Added needed updating to the sql changelog
2016-08-19 13:31:15 -07:00
Joan Lung
88324510ed Merge pull request #19149 from coiax/turn-both-keys
Nuclear bombs use TGUI and world.time
2016-07-09 08:39:03 -04:00
Jack Edge
6a1e144d7e Spacing and removing double brackets 2016-07-08 09:22:33 +01:00
Jack Edge
4fbc1475fe Added (SETCODE) button for nuclear code request
🆑
add: When a player uses a communication console to ask for the codes to
the self destruct, for better or for worse, the admins can set them with
a single click. Whether the admins a) click the button b) actually give
the random person the codes, is another thing entirely.
/🆑

- Also tidied up prayer code to use some new admin defines
- Adds the random_nukecode() proc, which returns a random numeric string
between "00000" and "99999". No more requiring it to be at least 10000,
we have the power of ZERO PADDING.
2016-07-08 09:10:33 +01:00
Jack Edge
3ebb4a4cf6 Fully functional nuclear system 2016-07-05 21:38:08 +01:00
coiax
c23c4ab5eb Adds macros for common admin messages (#19070) 2016-07-04 14:04:20 +12:00
Shadowlight213
6a2f02fa47 Allows Database based jobbans to be lifted via the jobban panel.
Jobbans lifted this way take into effect the same round.
2015-11-07 14:57:08 -08:00
Mloc-Hibernia
8af8a43d6f Initial pass to convert LF to CRLF
Signed-off-by: Mloc-Hibernia <colmohici@gmail.com>
2014-03-24 08:53:40 +00:00
supersayu
711654c15e Moved #defines
Moves the constants from defines and compile_options files into the __DEFINES directory.  The compile options in the latter file that are actually tweakable remain in their existing file in the code directory.
Constants from DEFINES.dm, globals.dm, names.dm, and global_lists.dm have been moved into the _globalvars subdirectory.
stylesheet.dm has been moved into the interface directory since that's a better place for it.

This move contains no code changes for stock TG.  It is purely an organizational move meant to clean up hard to read code.
Some global constants that appear to be unused have been put into unused.dm, but not unticked.  This list is by no means exhaustive.

Branches should be aware that they need to move any additional defines and global constants manually.
2013-10-23 16:11:45 -04:00