Commit graph

2364 commits

Author SHA1 Message Date
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
Lucas Nicodemus
7649718530 Some people really like uneven spacing 2015-02-24 19:12:22 -07:00
Lucas Nicodemus
183084d60f Minor changes pertaining to spacing & some unclear messages 2015-02-24 19:08:30 -07:00
Lucas Nicodemus
9e2ff2e2a2 Make logfile a public getter 2015-02-22 20:16:03 -07:00
PhoenixICE
10de490c86 Tab formatting issue 2015-02-23 09:30:05 +11:00
PhoenixICE
6bb3a2f2ab Godmode Other Permission 2015-02-23 09:26:51 +11:00
Zack
17ea9e0875 Use the NetItem max inventory when seeding the database. 2015-02-22 17:14:57 -05:00
Zack
63231c73f2 Utilize new account hooks to insert and delete from the SSC table, since this is what the feature was intended for. 2015-02-22 16:17:05 -05:00
Zack
68afd6fcc6 Make sure to write the correct number of bytes, as UTF8 can and most likely will be more than one byte per char.
Fixes #863
2015-02-22 16:07:59 -05:00
Lucas Nicodemus
d82851faf3 EnsureExists now calls EnsureTableStructure directly
It occurs to me that copypasting code is bad
2015-02-22 12:03:05 -07:00
Lucas Nicodemus
f4564b88e9 Version tick: 4.2.6 2015-02-22 08:47:40 -07:00
Lucas Nicodemus
04145a4aca Re-add EnsureExists signature to fix compat with old plugins
Fixes #862
2015-02-22 08:43:12 -07:00
Lucas Nicodemus
12a39f4e9a Revert "Use Sublime Text's "Convert all open views to tabs" option"
This reverts commit b35a02d379.
2015-02-21 23:00:30 -07:00
Lucas Nicodemus
b35a02d379 Use Sublime Text's "Convert all open views to tabs" option 2015-02-21 22:57:14 -07:00
Lucas Nicodemus
6a41c34380 isn't this ruby 2015-02-21 22:53:56 -07:00
Lucas Nicodemus
817479ea70 Add Getuser calls to delete user 2015-02-21 22:51:38 -07:00
Lucas Nicodemus
91d5fab27d Add account create & delete hooks 2015-02-21 22:35:05 -07:00
Lucas Nicodemus
bd066589b8 UpdateManager no longer silently shuts down after failure 2015-02-21 18:46:12 -07:00
Lucas Nicodemus
deb4113c73 /user group has proper error handling
This blast of commits fixes #543
2015-02-21 17:50:19 -07:00
Lucas Nicodemus
70104f795c /user password now returns correct message if user does not exist 2015-02-21 17:40:58 -07:00
Lucas Nicodemus
32c7645795 /user del now responds appropriately if the user doesn't exist 2015-02-21 17:36:32 -07:00
Lucas Nicodemus
964115dbb5 /user add now returns sensible errors 2015-02-21 17:34:39 -07:00
Lucas Nicodemus
d3ed04c947 Merge branch 'group-mgr-ee' into general-devel 2015-02-21 17:14:29 -07:00
Lucas Nicodemus
484ebd6d81 Do not auto-recreate the default groups on startup 2015-02-21 17:13:01 -07:00
Zack
f8a513d9da Change output of REST to UTF8, which is what Terraria uses behind the scenes. Also changed content type to include the encoding. Fixes #858 2015-02-21 19:00:57 -05:00
Lucas Nicodemus
3104e76d21 Version tick: 4.2.5
Changed versioning system to remove the date from the version
string.

Fixes #836
2015-02-21 15:27:04 -07:00
Lucas Nicodemus
e93d4c9741 Switch UpdateManager to use mimic server 2015-02-21 15:21:44 -07:00
Zack
f9bf470b1d Tick version and update copyright 2015-01-28 15:29:13 -05:00
Zack
f188bd743c Remove StatTracker 2015-01-28 15:24:50 -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
Lucas Nicodemus
fa88f2ecc9 Merge pull request #848 from Nuluvius/general-devel
Added npcStreamSpeed configuration parameter.
2014-11-08 15:40:55 -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
Rodrigo
b688a31fd5 Fix HandleProjectileNew for banned projectiles 2014-10-26 15:22:51 +00:00
Lucas Nicodemus
5ffd373083 Removed two semicolons at the end of a line 2014-09-23 22:23:02 -06:00
Zack Piispanen
de4868a45d Merge branch 'general-devel' of https://github.com/NyxStudios/TShock into general-devel 2014-09-15 09:05:45 -04:00
Zack Piispanen
d5527ade42 Add length to database primary keys.
Tweak some of the itembans code to be less inefficient.
Removed a chunk of code from the buff code that prevented users from being buffed with a buff that comes from an item.  This code seemed to cause max cpu usage when being disabled.  I don't think this code is useful, but I leave that to people who own servers.  IMO all buff code should be removed.
2014-09-15 09:05:28 -04:00
Zack
03cf2487ad Merge pull request #837 from WhiteXZ/general-devel
Suppresses the SocketException warnings
2014-09-10 04:47:59 -04:00
White
70a9fc04c5 Suppress those pesky warnings 2014-09-10 14:31:20 +09:30
Zack Piispanen
c29f01b959 Add new rest endpoint /v3/players/read to read the players inventory, armor, and dyes. Armor contains both armor and accessories, as well as vanity. Dyes contain all 8 dye slots. Closes #835 2014-09-09 04:03:31 -04:00
Zack Piispanen
444af6cf57 Update to latest TSAPI. Changed update manager to use same code as stat tracker, which hopefully doesnt break on mono. Also changed it to not check every update to see if time has passed. Made packetbufferer async for windows and if specified for mono. Fixed maxspawns error message to explain range. Ticked version. 2014-09-09 03:49:57 -04:00
Zack Piispanen
1421c23df7 Remove crappy spaces in this file. 2014-09-03 02:48:57 -04:00
Zack Piispanen
1c7fe908b6 Delete a bunch of cruft that has gone unmaintained for too long.
Fix warps to have an auto-increment primary key column, and unique on name/WorldID
Same for regions.
Changed SqliteTableCreator to do proper unique syntax.
2014-09-03 02:41:53 -04:00
Brian Ricketts
e2258c84d7 Fixed invalid default value for max spawns 2014-08-31 03:34:42 -05:00
Zack
62108ecd63 Allow rest request handlers access to the request object itself, to allow the plugin more information on who is making the request. Refactored the args for Rest commands to just one delegate, that takes a RestRequestArgs which has verbs, params, request, and tokenData. 2014-08-23 16:08:18 -04:00
Zack
18138afd1d Update ServerAPI to latest. Added command to reset the completed angler quests. Verified that angler quests are working as intended. Set value in db to 9, completed quest, received fuzzy carrot, shut down server, set to saw it was set to 10, set to 19, started server, completed quest, received his hat. Please stop reporting this as broken. 2014-08-02 10:18:47 -04:00
MarioE
55a00c208d Fix HP/MP checks 2014-07-31 23:48:54 -04: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
7a8422de5c Add tile banning, because such whine, much desire (doge).
I am sure this will result in someone whining for wall banning as well, but that can wait another couple of months.
2014-07-27 20:57:17 -04:00