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
Deathmax
08295343d7
Re-add prefix name support to /item and /give
2011-12-16 17:07:17 +08:00
Deathmax
b23b6789f2
Update to 1.1.1
...
Switch to v2 of the sqlite lib. v4 has a bug when run under .Net.
2011-12-16 09:02:59 +08:00
Deathmax
a2a1486ea1
Add support for prefixes in /item and /give
2011-12-15 21:28:46 +08:00
Deathmax
e539080625
Fixy fix
...
-/item now works
2011-12-02 15:12:27 +08:00
Lucas Nicodemus
8514140ca7
As per High's complaining, holocaust against the Tools class (now Utils)
...
Plugin developers: You really need to change to reference this.
2011-12-01 23:24:02 -07:00