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
Lucas Nicodemus
4b77ca549e
Users shouldn't "leave" when they enter an incorrect password anymore. Just as soon as someone reimplements the OnLeave hook.
2012-01-01 18:46:06 -07:00
Lucas Nicodemus
bf9d0137f1
Added any missing license headers to all files
2012-01-01 03:06:48 -07:00
Lucas Nicodemus
c6abbfe4d2
ReSharper code reformat to match naming conventions and stuff
2011-12-30 14:38:04 -07:00
Lucas Nicodemus
1147788154
ReSharper redundant code cleanup
2011-12-30 14:32:05 -07:00
Zidonuke
1247b8760d
Merge branch 'general-devel' of github.com:TShock/TShock
...
Conflicts:
TShockAPI/Properties/AssemblyInfo.cs
TShockAPI/Utils.cs
2011-12-29 13:51:14 -05:00
Zidonuke
2e5155e1c0
Oops forgot some things.
2011-12-29 00:41:02 -05:00
Deathmax
8d84514128
Fix MOTD
2011-12-24 10:27:50 +08:00
Deathmax
877de10cba
Sanitize string read from file before sending to player.
2011-12-23 16:54:01 +08:00
Lucas Nicodemus
b22534efd3
Merge branch 'general-devel'
...
Conflicts:
TShockAPI/Properties/AssemblyInfo.cs
TShockAPI/Utils.cs
2011-12-21 11:40:18 -07:00
Zidonuke
c06bf2fe2e
Break off from older commands and systems, move to more recent configurations.
...
Cheating detection no longer kicks, instead uses new system to block actions, and notifies user to fix the issue instead.
2011-12-20 22:41:49 -05:00
Zidonuke
8a62df9ebb
Renamed Solution... I'm picky and its easier to track what VS Solution is open in the taskbar.
...
Removed old kick/ban system for griefing and hacks.
Cheating detection redone to stop inventory editors going above the normal limits.
Revamped KillTile abuse detection to be always on.
Removed old hacks/exploit detection for exploits fixed by Redigit properly.
Removed some permissions and added one for killtile abuse detection.
Removed old configurations that are not used anymore.
AntiHack/Protection System COMPLETELY revamped to properly block and revert all actions that are abusive.
Item Ban List is now the primary method to control various griefing items. To block Explosives or Sandguns or other items, use the Item Ban List.
Banned items are able to exist in your inventory but the server will ignore all attempts to use those items.
To protect against hack clients doing world edit type actions, use regions and spawn protection.
2011-12-19 23:52:26 -05:00
Deathmax
383633a823
Fix items and NPCs not being searched for properly.
2011-12-18 23:23:07 +08:00
Deathmax
045eddfcdc
Fix explosives not being disabled
2011-12-17 22:27:14 +08:00