Commit graph

1050 commits

Author SHA1 Message Date
Lucas Nicodemus
319f369799 Added example for how all additional endpoints should respond in regards to success and failure.
Added example endpoint that demonstrates rest verbs.
2011-09-04 23:59:44 -06:00
high
332fe805a9 != should be == 2011-09-05 01:44:46 -04:00
high
7cfc219794 RestApi back to Rest, added separate RestManager field. 2011-09-05 01:17:54 -04:00
high
595efa4d41 Merge branch 'general-devel-rest' of github.com:TShock/TShock into general-devel-rest
Conflicts:
	TShockAPI/TShock.cs
2011-09-05 01:14:24 -04:00
high
f087ae5c83 IP/Port can now be changed before started.
RestVerbs added instead of Dictionary<string,string>
2011-09-05 01:11:08 -04:00
Lucas Nicodemus
d7012bd094 Reworked a lot of how REST works 2011-09-04 23:06:43 -06:00
high
d824e71507 Added rest {verb} support 2011-09-05 00:48:05 -04:00
high
fea3be69f5 Fixed serializing wrong object.
Error is now serialized too.
2011-09-05 00:02:01 -04:00
high
e9c3363313 Now instead outputs json serialized objects. 2011-09-04 23:50:35 -04:00
high
59a2fcd62e Added Rest example 2011-09-04 23:43:39 -04:00
Lucas Nicodemus
a14299ee32 Fixing RCOn 2011-09-04 20:20:52 -06:00
Lucas Nicodemus
5939c3256a Enabled RCON. 2011-09-04 17:05:01 -06:00
high
7b23669e2f Do not enable RconHandler unless you fix it up. Remember, general-devel is not for incomplete features.
Also you were late on that PostInit fix.

Revert "RCONNNNNN"

This reverts commit 10167df4ef.
2011-09-04 11:50:18 -04:00
Lucas Nicodemus
ceec0be924 Merge branch 'general-devel' of github.com:TShock/TShock into general-devel 2011-09-03 22:38:09 -06:00
Lucas Nicodemus
10167df4ef RCONNNNNN 2011-09-03 22:37:47 -06:00
darkunderdog
4a1f944caf Added /sendwarp command - You are now able to send people to a specific warp. 2011-09-03 20:03:23 -05:00
high
920fabaa7e Fixed TSDEV-117
Conflicts:

	TShockAPI/Properties/AssemblyInfo.cs
2011-09-03 15:16:36 -04:00
Lucas Nicodemus
c31eeb1c6c VERSION TICK 3.3
Preparing to launch, need to merge to master.
2011-09-03 00:24:25 -06:00
Zack Piispanen
7a57a8073c Added method for region SINCE THE FUCKING UNIT TESTS RELIED ON IT AND NO ONE FUCKING FIXED IT
Region unit tests work again.
2011-09-03 02:13:19 -04:00
Lucas Nicodemus
301a6dfadd Attempting to fix UnitTests/RegionManagerTest.orderedtest 2011-09-02 23:59:04 -06:00
Lucas Nicodemus
1547a06ed6 Fixed everything 2011-09-02 23:44:04 -06:00
Deathmax
d5943c94d8 Project file was missing a file from merge. 2011-09-03 13:30:43 +08:00
Lucas Nicodemus
b31a84cdd2 Merge remote-tracking branch 'remotes/origin/general-devel-mono' into general-devel
Conflicts:
	TShockAPI/Properties/AssemblyInfo.cs
	TShockAPI/TShockAPI.csproj
2011-09-02 23:23:23 -06:00
Lucas Nicodemus
442a5b4202 Stuff 2011-09-02 23:21:01 -06:00
Deathmax
b0f5a49ec2 Spawn plants at ground level (thanks RogerPaladin) 2011-09-03 09:32:13 +08:00
Deathmax
eab82a2cb1 Fix projectile exploit detection (please test for false positives when using Harpoon) 2011-09-03 09:31:41 +08:00
Deathmax
65b323f004 Don't force Hardcore players to spawn, they are supposed to be ghosts. 2011-09-03 08:01:58 +08:00
Deathmax
44e4199dcb Attempt to satisfy some of the requirements of growing things 2011-09-02 20:44:02 +08:00
Deathmax
9ed5f7a2f5 Added geoip support.
(grab the database from http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz and dump it in the tshock folder)
2011-09-02 12:28:19 +08:00
Deathmax
3f40437d4b Added /grow 2011-09-02 11:35:35 +08:00
Deathmax
903c9b4154 /buff commands now take seconds instead of number of frames (60 in 1 second)
Fix buff commands not using time argument when using numerical IDs.
2011-09-02 09:03:42 +08:00
high
c6e62a2225 update api version attribute 2011-08-30 08:44:28 -04:00
high
21ac8a4a0e Removed XNA dependencies 2011-08-30 08:36:34 -04:00
high
8bb8114223 Fixed not setting kill when disconnecting a client. Handling the disconnect packet makes Terraria not set ServSocket.kill. 2011-08-24 22:22:57 -04:00
darkunderdog
6b8dea306c Updated /additem and /delitem to work if name isn't an exact match 2011-08-24 23:50:54 -05:00
darkunderdog
ecb57f15c9 Add Console Info For Bans and Kicks 2011-08-24 21:48:27 -05:00
darkunderdog
01e6f32734 Added Showing Kicked Info In Console. 2011-08-23 23:36:10 -05:00
Deathmax
cf9157bc94 Changed how abuse of TileGetSection is handled.
(2nd request will cause a kick) - Thanks Lycaonj and UndeadMiner.
2011-08-22 19:16:27 +08:00
Deathmax
a6132a31a2 Allow users to ban custom items 2011-08-22 18:47:28 +08:00
Deathmax
9fed5338a4 Merge commit '48ef0ee1a5' into general-devel 2011-08-21 22:38:04 +08:00
Deathmax
00c2023c15 Changed /annoy to use a simpler method than whoopie cushions. 2011-08-21 22:36:42 +08:00
darkunderdog
48ef0ee1a5 Updated /region name to tell you if region is not protected 2011-08-21 02:36:18 -05:00
Deathmax
1c394c9037 Limit buff time to short's maximum value. 2011-08-21 12:19:34 +08:00
Deathmax
8ec358d99f Added /gbuff - buff other players 2011-08-21 12:15:15 +08:00
Deathmax
c776f2c06e add time argument to /buff 2011-08-21 11:48:25 +08:00
high
a9a153ddb6 Fixed AddRegion returning false when the region does not exist. 2011-08-20 18:16:33 -04:00
high
d1fe086124 Missing another null check. 2011-08-20 13:07:58 -04:00
high
625bab753b Fixed getRegion not returning null (functions using it were expecting null too)
Disabled noclip check. (general-devel is not general-test)
Added null check to /region info (Don't commit shit that you know is broken)
2011-08-20 13:04:24 -04:00
Deathmax
05f0e9d717 bounds check for noclip detection 2011-08-21 00:47:39 +08:00
Deathmax
96ea583264 Noclip detection now uses the tile blacklist. 2011-08-21 00:27:07 +08:00