Commit graph

231 commits

Author SHA1 Message Date
Lucas Nicodemus
1e68ac22c7 Remove superadmin customization config options 2017-12-02 14:25:33 -07:00
White
c4a3a9fb67 Updated Copyright for 2017 2017-03-13 12:17:16 +10:30
White
94fb0e18b7 Deprecated the RESTLimitOnlyFailedLoginRequests config option 2017-01-31 11:23:52 +10:30
Lucas Nicodemus
678f6c7cf8
Update to Mintaka (thanks @enerdy) 2016-12-06 17:36:44 -07:00
Lucas Nicodemus
a0c4864567
Removed all obsolete methods from TShock 2016-10-23 06:09:17 -06:00
White
6151c86630 Removed the old REST model.
This includes the following endpoints:
* `/status`
* `/v2/players/read`
* `/v2/server/rawcmd`
2016-10-23 21:52:25 +10:30
Lucas Nicodemus
dce26d6928 Merge pull request #1310 from Simon311/general-devel
Fix for HealOtherPlayer exploit, also fix #1309
2016-10-17 08:51:19 -06:00
Simon
68799d9d20 Fix description 2016-10-17 16:17:44 +03:00
Simon
1460a7ad91 Fix for HealOtherPlayer exploit, also fix #1309 2016-10-17 15:51:49 +03:00
Adilson Carvalho
49b4effe74 Changed year to 2016 on all GPL headers 2016-10-16 17:06:02 -02:00
Zt Wang
c6811c98ed Add protection of gem locks in region 2016-06-21 22:34:15 +08:00
Enerdy
b16ff6efc7 Improve documentation of ConfigFile.cs 2016-06-16 22:16:14 +01:00
White
86e741a3cd Removed obsolete DCU config options 2016-05-27 14:13:15 +09:30
White
9c7d0f08e2 Deprecated PacketBufferer as its function is now fulfilled by SendQ 2015-11-23 11:50:24 +10:30
George
09a8f95a70 Added rate limiting to RESTful API
Added token bucket and timer to degrade token bucket

Modified REST API rate limiting

Changed limiting to only be on token create and v2 token create
Added config options to choose time limits
Passed HttpContext to the execute method of endpoints

Made blocking failed API logins optional

Changed error codes on failed login to be ambiguous
Added config to decide whether all or failed logins are limited

Changed config variable names

Cleaned up duplicate code in REST rate limiting

Fixed my typo

Changed error 431 to 403
2015-09-24 15:47:46 +01:00
White
33739c4f07 Added a new Disable method with flags to determine where the message is logged to.
Obsoleted the old disable method
Added a config option to disable OnSecondUpdate logs (disable message is written only to console if set to true)
Updated all instances of the obsolete Disable method to the new Disable method
2015-09-12 11:33:17 +09:30
Lucas Nicodemus
b922d8722e Deprecate DCU disable; default to on 2015-07-14 04:21:12 -06:00
Lucas Nicodemus
7cc463d886 Update max projectile damage to 1,175. 2015-07-10 01:11:30 -06:00
Lucas Nicodemus
3db238c2fc Add config option to disable autosave messages 2015-07-05 18:36:05 -06:00
Lucas Nicodemus
828ee0fde5 Add config option to enable DCU 2015-07-05 14:30:49 -06:00
Lucas Nicodemus
6cc097fda0 Use int arrays, not float arrays in config
Fixes #914
2015-04-30 15:04:22 -06:00
Lucas Nicodemus
ab3262d971 Document some config file methods
I suppose this is really redundant, ...
2015-04-22 23:32:01 -06:00
Lucas Nicodemus
b91f0ff7b7 Add missing "of."
Through Knowledge, Victory. Through Unity, Peace.
Honor, Valor, Allegiance.
Today. Tomorrow. Forever.
Together We Rise. Together We Prevail.
Forward Unto Dawn.
From Earth, For Earth.
Honor, Valor, Allegiance, Excellence.
Today. Tomorrow. Forever.
Together We Rise. Together We Prevail.
Forward Unto Dawn.
From Earth, For Earth.
Honor, Valor, Allegiance, Excellence.
From Earth, For Earth.
Today. Tomorrow. Forever.
Together We Rise. Together We Prevail.
Forward Unto Dawn.
2015-04-13 19:00:25 -06:00
Lucas Nicodemus
ea18ca4455 Add slight warning about bcrypt to the config file 2015-04-13 18:50:40 -06:00
Lucas Nicodemus
12f893e0cb Require minimum password length of 4, and trim new passwords for whitespace.
Fixes problems reported by @MarioE and @Simon311:
- Users can no longer register with whitespace for a password.
- Users can no longer register with 4 whitespaces for a password.
2015-04-13 14:26:12 -06:00
Lucas Nicodemus
e55c37728f Change config to refer to BCryptWorkFactor instead of WorkFactor.
Change default work factor to 7.
2015-04-13 11:33:04 -06:00
Lucas Nicodemus
a5aa31376a Add password verification for BCrypt 2015-04-13 10:06:58 -06:00
Lucas Nicodemus
6e0de64f18 Remove more broken/obsolete/dead code 2015-02-28 19:15:19 -07:00
Lucas Nicodemus
c5625aa896 Merge pull request #870 from NyxStudios/whitexz-general-devel
Adds SQL logging from WhiteX's fork; closes #869
2015-02-28 01:21:54 -07:00
Lucas Nicodemus
7d9c960b0f Add config option for saving the world when last player exists 2015-02-27 00:38:47 -07:00
Lucas Nicodemus
0459dfca11 Adds SQL logging from WhiteX's fork; closes #869 2015-02-25 15:33:35 -07:00
Lucas Nicodemus
f2b2da90d7 Added silent commands & other stuff (see below)
1. Removed old code.
2. Added silent command prefix & supporting code
3. Region ban & spawnmob support silence
2015-02-24 20:55:59 -07:00
Zack
f9bf470b1d Tick version and update copyright 2015-01-28 15:29:13 -05:00
PhoenixICE
0dcbbc9f18 Added Kicking for Damage Threshold 2014-12-18 21:54:12 +08:00
Lucas Nicodemus
05b29081bd Revert "Added npcStreamSpeed configuration parameter." 2014-11-08 17:28:28 -07:00
Sam Eaton
4ac6e70cc5 Attempt at correcting indentation. 2014-11-08 22:36:16 +00:00
Sam Eaton
2a8d3dd09a Added npcStreamSpeed configuration parameter. 2014-11-08 22:18:27 +00:00
MarioE
fd5c696656 Add permission to ignore max HP/MP, add config option for max HP/MP, possibly fix SSC
Fixing SSC is done by sending packet 39 (item disown) to the client.
Until a response, which is packet 22, is received from the client, all
SSC-related packets are completely ignored. This ensures that the SSC
data which is sent is not dirtied due to packets which are processed
during RestoreCharacter or slightly afterwards.
2014-07-28 23:40:27 -04:00
Zack
fb451c6d49 Update license header for 2014 2014-07-10 21:48:33 -04:00
Zack
915e791406 Initial work to move all Server Side Character code to its own module. 2014-07-10 21:09:32 -04:00
MarioE
afffa46ef2 Add config option for anonymous boss/invasion messages 2014-07-10 19:21:22 -04:00
Stealownz
3748789110 Adds kick/ban on hardcore death. 2014-07-05 00:08:21 +08:00
MarioE
e2d826a157 Add config option "RespawnBossSeconds"
Fixes #813
2014-07-01 14:43:56 -04:00
MarioE
97252dfe93 Add /forcehalloween, fix /hardmode to actually send changes, clamp tile positions in /tppos, remove extra permissions 2014-06-28 19:30:23 -04:00
Zack Piispanen
0f3156b4ac Added config to allow the choice for what string starts a command, ie '/login' can become '.login'. Changing this from default will introduce inconsistencies with plugins and help text, you have been warned. 2014-03-02 19:49:59 -05:00
MarioE
6a4e7584a0 Add AllowCrimsonCreep config option 2013-11-10 15:55:09 -05:00
Zack Piispanen
55f969f250 Add config option to allow cutable and breakable tiles to be cut or broken by users with no permissions etc. 2013-11-07 05:43:31 -05:00
Zack Piispanen
c54f7bd850 Remove config hotpatch because real fix is in. 2013-10-26 21:57:47 -04:00
Zack Piispanen
ace810c8b3 Add toggles for pumpkin moon 2013-10-26 05:37:51 -04:00
Zack Piispanen
83a813e4f5 Implement halloween check, like xmas
Update binary
Add new "invasion" to GetDataHandlers.cs
2013-10-25 08:20:43 -04:00