Commit Graph

49 Commits

Author SHA1 Message Date
Salanto
f604e9c8de Split discord configuration into different file
The current config.ini is both long and full of text.
This reduces readability and combines essential configuration with non-essential configuration.
Splitting optional features like Discord into its own config helps the readability issue by not beating the users to death with information.
2021-08-11 23:52:53 +02:00
Salanto
2fd9dd9288 Add uptime url to sample configuration 2021-08-11 08:04:23 +02:00
Salanto
aaccf8e605 Implement Uptime Webhook
This commit implements a functional uptime webhook which posts a message to the config defined webhook URL. The interval is configurable, but not updatable.
2021-08-11 07:56:08 +02:00
Rose Witchaven
21a8f95a20
Merge pull request #185 from Salanto/more-hook-urls
Add ban webhook url option
2021-08-10 16:47:25 -05:00
Salanto
058b5cef63 Update ban webhook to utilize different url
+ Update sample config
+ Clarify webhook urls in the config and configmanager.
2021-08-10 22:16:09 +02:00
Salanto
a9c8cf7248 Add missing afk timeout configuration to sample config 2021-08-10 19:04:07 +02:00
Salanto
9e824e1256 Implement Webhook for Ban Information
Co-Authored-By: Rose Witchaven <32779090+in1tiate@users.noreply.github.com>
2021-08-02 23:49:37 +02:00
Rebecca
2a1ce15403
Update config.ini
Update sample config to reflect webhook_enabled not being reloadable.
2021-07-28 01:44:37 -05:00
Salanto
ca8c3105f0
Update config.ini 2021-07-27 12:06:13 +02:00
Salanto
edaa42b0f4
Correct straight up incorrect information
Discord, why thou curse the?
2021-07-27 12:05:47 +02:00
Salanto
8994ba2626 Implement new advertiser
I want to die.
2021-07-08 23:18:49 +02:00
MangosArentLiterature
624202beba Add comments to the sample config 2021-06-19 23:41:56 -05:00
MangosArentLiterature
65467df4ba Merge branch 'master' into password-requirements 2021-06-03 11:56:27 -05:00
Rebecca
93de5d3860
Update bin/config_sample/config.ini
Co-authored-by: Rose <32779090+in1tiate@users.noreply.github.com>
2021-05-11 18:17:13 -05:00
Salanto
d55f4b58cf Somehow this got not commited 2021-05-12 00:13:22 +02:00
MangosArentLiterature
7c09ce6b5c Add password requirements
* Adds several configurable options for server owners to set requirements for passwords.
* This system can be enabled/disabled with the password_requirements option.
* Checks new and updated passwords against these requirements.
2021-05-08 21:15:16 -05:00
Salanto
ea741f07a6 Update sample config.ini 2021-05-05 00:13:19 +02:00
MangosArentLiterature
4dabc723ac Add message_floodguard to default config.ini 2021-05-01 23:06:11 -05:00
Salanto
32e88d6be1 Merge remote-tracking branch 'upstream/master' into discord 2021-04-27 23:42:14 +02:00
Salanto
8aed2989f2 Add file upload if modcall logging is used
+ Configurable option if no log should be send
+ Fix  logger not flushing to file if modcall is used
+ Update sample\config.ini
2021-04-27 23:28:45 +02:00
MangosArentLiterature
e75b80aaae Add modcall webhook support
This is the worst code I have ever contributed to this project. This commit is the result of several days of attempting to decipher Qt's documentation. This is the best I can write. Qt has broken me. God help us all.

- Allows sending modcalls to a discord webhook, containing the name of the sender, the area, and the reason.
- Adds configurable options to config.ini for enabling/disabling webhooks and specifying the webhook url.
2021-04-25 15:49:47 -05:00
MangosArentLiterature
9c3cd12202 Add a size limit to packets and a configurable maximum character limit for messages
- Limits packets to under 16KB
- Adds a configurable option to config.ini for setting the maximum amount of characters in an IC/OOC message
- Limits the size of OOC names to 30 chars
   - The client already limits this, but this is an added precaution.
- Limits the length of shownames to 30 chars
- Implements shownames_allowed for areas, for toggling whether shownames are allowed for messages in that area
2021-04-19 19:44:46 -05:00
scatterflower
e252ed04e9 make it configurable 2021-04-19 02:09:24 -05:00
Salanto
3c5659af22 Add testimony loading and saving 2021-04-18 03:59:12 +02:00
in1tiate
6ed4909088 add ability to force immediate text processing 2021-04-14 16:32:24 -05:00
scatterflower
853e6e3ff4
Merge pull request #60 from Salanto/Testimony-Playback
Add testimony playback
2021-04-14 14:11:10 -05:00
MangosArentLiterature
a6d602e32e Add config/text/gimp.txt 2021-04-14 02:17:47 -05:00
Salanto
0a001141cf Increase the amount of allowed messages 2021-04-13 21:25:24 +02:00
Salanto
c61f578b40 Add some documentation + add sample config
Also removes some redundant functions and adds the respective commands.
2021-04-13 21:15:33 +02:00
Salanto
c841f74196 Add allow_blankposting-command
+ update sample config
2021-04-05 23:18:08 +02:00
MangosArentLiterature
a54772234d
fix dumb typo 2021-04-05 13:09:03 -05:00
MangosArentLiterature
b1c00cb46f Add /8ball 2021-04-04 16:16:37 -05:00
MangosArentLiterature
d51203e634 Add configurable logging options 2021-04-04 02:47:36 -05:00
in1tiate
7e28cb0bdf add config sample files 2021-03-23 20:44:13 -05:00
Salanto
06864e115a Make MODT editable - Part 1 2021-03-12 00:44:27 +01:00
Salanto
3e1f9825ca motd. Can't get simpler than that. 2021-03-11 22:42:47 +01:00
scatterflower
eba21d9108
Merge pull request #22 from AttorneyOnline/fix/area-sort
Fix areas being sorted lexicographically by storing a numerical position in the area name and sorting numerically
2021-03-11 13:42:58 -06:00
in1tiate
9d10431da7 store a position in area config and sort areas numerically 2021-03-11 09:57:41 -06:00
scatterflower
1d4c1b8cda add all evidence mods EXCEPT hiddencm 2021-03-11 02:05:38 -06:00
in1tiate
1b3b710ace update config sample 2021-03-09 13:24:11 -06:00
Salanto
778153c94c Update sample config to include sample dice values 2021-03-03 17:30:51 +01:00
scatterflower
83751d025a add logging to ooc, modcalls, and clean up default config.ini 2020-10-06 14:23:01 -05:00
scatterflower
288e8ffa49 add modcall and IC logging 2020-10-04 14:35:45 -05:00
scatterflower
7c6b892fb9 add background changing 2020-09-29 04:49:16 -05:00
scatterflower
d4c52e9b65 implement advanced permissions system 2020-09-29 01:16:38 -05:00
scatterflower
594782d19c begin working on bans 2020-09-27 16:53:03 -05:00
scatterflower
b37410fa1a implement command handler, getarea(s), and mod login 2020-09-26 14:55:57 -05:00
scatterflower
63e1ddf36a change config to user-neutral name 2020-09-02 08:37:25 -05:00
scatterflower
002136ac63 add default config files 2020-09-02 08:31:27 -05:00