Zack Piispanen
b22457382e
remove unused using statements
2013-09-17 02:24:02 -04:00
Lucas Nicodemus
ae7ab5f234
Updated copyright information to point to 2013.
2013-08-22 21:51:17 -06:00
Lucas Nicodemus
9470e20423
Line ending normalization to CRLF (Windows)
2013-08-22 21:17:32 -06:00
CoderCow
0ea83746cf
-Added REST per-endpoint permissions.
...
-Added REST endpoint "/v2/server/restart".
-Added REST endpoint "/v2/server/reload".
-Added REST endpoint "/v3/server/rawcmd", will output all returned lines as an array instead.
-Added "uptime", "serverpassword", "rules/ServerSideInventory" fields to REST endpoint "/v2/server/status".
-REST requests are now logged.
-Endpoint "/v2/server/rawcmd" does now check whether the user has the sufficient permission to execute the command.
-Fixed Config.EnableTokenEndpointAuthentication not working properly before.
-Removed obsolete "api" permission (only "restapi" now).
2013-07-25 19:52:12 +02:00
CoderCow
d1f1e422a0
-Ingame log messages are no longer shown to the player who caused them.
...
-Changed ingame log message color to something more unique for better identification.
2013-07-22 12:22:39 +02:00
CoderCow
33b1ca969b
-Added "-d" parameter to "/region info". Use to display the given region's boundaries as wires.
2013-07-01 20:06:17 +02:00
Lucas Nicodemus
778f0b4f77
Fixed #457
2012-09-23 01:00:53 -06:00
MarioE
fda287d78d
More fixes
2012-09-01 15:22:34 -04:00
MarioE
c8dde957f9
Fix a bug
2012-09-01 15:15:19 -04:00
MarioE
98875e16ac
No need for a duplicate method.
2012-08-21 10:32:47 -04:00
MarioE
8c8ca02d88
fsdfgsg
2012-08-20 11:19:18 -04:00
MarioE
500fc6b211
Optimize some GetBy* methods, also fix up the project file.
2012-08-20 11:16:00 -04:00
MarioE
76c7b3fe8e
Chest + boulder exploit
2012-08-15 20:17:34 -04:00
MarioE
2c769410f8
Fixed ban messages
2012-06-03 09:12:27 -04:00
Zack Piispanen
be45fb762b
Removed some deprecation messages. Added some more docs.
2012-06-01 13:08:53 -04:00
Lucas Nicodemus
9dcd58435e
Replaced half of like all the messages to players with the new methods
...
Deprecated use of Utils.Broadcast; Use TSPlayer.All instead.
Removed some really freaking odd capitalization issues.
2012-05-30 02:12:51 -06:00
Lucas Nicodemus
7f5ee044c9
Removed dumb comment by developer regarding the method Utils.ShowFileToUser not working because it works fine ffs
2012-05-29 20:21:06 -06:00
Lucas Nicodemus
52aa90ff9a
Thoreatically, /who should be paginated now
...
Version is now its own command with a different permission.
2012-05-29 00:26:09 -06:00
Lucas Nicodemus
8bcc24da7e
Added some code to enable chat above heads
2012-05-27 10:19:52 -06:00
Lucas Nicodemus
d9a53cda30
REST & console window title report port correctly
...
Fixes #443
2012-05-26 11:59:31 -06:00
Lucas Nicodemus
8ea0b40214
Removed some old code
2012-05-26 11:52:05 -06:00
Lucas Nicodemus
8ecabb7f2e
All TShock methods calling the obsolete ForceKick function now use the new one
...
Subnote: fixes an issue where players would be reported as kicked to the
ingame console.
2012-05-26 09:50:15 -06:00
Lucas Nicodemus
ca5d68b838
Second upstart hold on
2012-05-26 05:12:59 -06:00
Lucas Nicodemus
98ea8cfd8f
Upgrade project file to round trip upgrade VS11-2010
...
According to the Microsoft website and various other places, we can
safely upgrade to this format and still allow people who are a version
behind to keep that. This should change virtually nothing.
2012-05-26 05:05:51 -06:00
Lucas Nicodemus
b8c2c1aded
Fixed SaveSSI on kick potentially breaking
...
Added method to save an inventory in SSI to TSPlayer
2012-05-25 20:03:27 -06:00
Lucas Nicodemus
576a1d97fe
Kick & ForceKick are now defaulting don't save SSI
2012-05-25 19:32:14 -06:00
Lucas Nicodemus
73ff9145c1
Test
2012-05-24 10:46:05 -06:00
Lucas Nicodemus
0452d4f0ac
Added dontSaveSSI to Kick & ForceKick
...
Allows for preventing SSI to save in the event of an inventory related
issue that might diverge from SSI's preventions.
2012-05-24 10:27:33 -06:00
Lucas Nicodemus
2169d455af
Fixed a potential issue surrounding silent kicks
...
This should resolve any issues where a player being kicked prior to join
has a mesasge sent to chat. If not, then the method calling the
ForceKick function isn't specifying that it should be silent.
2012-05-24 10:20:41 -06:00
Lucas Nicodemus
9e1d707c06
Implemented kicking by player index.
...
/who now displays player index as (IX: ) if you have the correct permission.
FindPlayer now finds by ID & name
2012-04-24 13:35:30 -06:00
Lucas Nicodemus
8d5cdf04a8
Update copyright to reflect actual year date.
2012-04-24 12:45:46 -06:00
Zack Piispanen
f48056357b
Make sure the user is logged in when we save inventory on kick.
2012-04-16 12:32:23 -04:00
Zack Piispanen
f672f50783
Forcekick now saves the users inventory.
2012-04-15 15:46:07 -04:00
stevenh
dbda83b8e7
Corrected compat ForceKick method signature
2012-02-28 11:38:30 +00:00
stevenh
b6b5a2f1ca
Added compatibiliy shims for old method signatures without which existing compiled plugins will error with missing method ...
...
This fixes #410
2012-02-24 11:37:43 +00:00
stevenh
41dbd31aac
Converted all files to LF line endings
2012-02-21 15:56:34 +00:00
stevenh
988bc4198b
Server either console can now kick and ban players regardless of the players immune permissions which fixes #391
...
Refactored Utils ForceKick to call Kick so we have one core method with all the logic in
Added missing params to docs for Kick and Ban
2012-02-21 01:07:41 +00:00
stevenh
aeab6d9e45
Fix for getting Mythical prefix by name fixes #374
...
Also optimised processing so it only does one pass instead of two as well as minimising string manipulation functions
2012-02-21 00:19:50 +00:00
stevenh
d34199b17d
Refactored server stop and world save operations fixing race conditions so as to ensure operations always happen in a predicable order. This fixes output not appearing in the console / log for example. This adds TShock.Utils.StopServer method used by IGA, rcon and the RestAPI.
...
Fixed console title set not working
Optimised command line parsing
Made Utils a singleton to enforce the fact that only one copy should ever exist
Added name to /v2/user/read output as users can be found by id
2012-02-20 22:31:16 +00:00
stevenh
c5497acae7
Check for null in FindPlayer to avoid errors on null object
2012-02-13 22:23:01 +00:00
Zack Piispanen
1306043c00
Added permission for seeing ids when using /who
...
Also added in the ability to see ids when using /who. Good for quickly adding ids to a region.
2012-01-26 19:41:12 -05:00
Lucas Nicodemus
b5c4eb8e21
More XML documentation!
2012-01-21 23:52:17 -07:00
Deathmax
672d360e9d
Merge fail
2012-01-20 14:35:59 +08:00
Deathmax
e879135d21
Remove valid string checks, Terraria seems to check and replace invalid chars by default
2012-01-18 20:55:30 +08:00
Zack Piispanen
38011f6364
added a bool to the world save mechanism. This should prevent it from saving 3 times at once. Hopefully thats what was causing server crashes
2012-01-15 17:46:38 -05:00
Deathmax
51058c5060
Return 1001 instead of 1000 if we can't locate the projectile associated with specified identity.
2012-01-13 17:36:43 +08:00
Deathmax
19aec7ffec
Re-add saveworld hook & broadcast
2012-01-13 16:50:09 +08:00
Zack Piispanen
4c4cd4027d
Removed lua, because it shouldnt be here.
...
Attempted hotfix of trashcan abuse. User's inventory shouldn't be saved if they are being nagged about logging out.
2012-01-12 18:00:05 -05:00
Deathmax
22b3cfc86e
Default HashAlgo to sha512, which is config's default.
...
Workaround for MD5/SHA512 hashing mixups.
2012-01-07 21:39:38 +08:00
Steven French
a1d4328ec4
Added Some Functions. _lua looks good!
2012-01-05 01:49:49 +13:00